W.A.R. Links Checker Premium

detects live, dead and premium links.

目前為 2018-02-15 提交的版本,檢視 最新版本

  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/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAY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LiPqdBF46DtMIKSM4n4LxKUip/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-3.0+; http://www.gnu.org/licenses/gpl-3.0.txt
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @exclude https://www.google.*
  15. // @exclude https://www.express-scripts.com/*
  16. // @include http://*
  17. // @include https://*
  18. // @include file:///*
  19. // @grant GM_setValue
  20. // @grant GM_getValue
  21. // @grant GM_xmlhttpRequest
  22. // @grant GM_log
  23. // @grant GM_addStyle
  24. // @grant GM_registerMenuCommand
  25. // @grant GM_getResourceText
  26. // @grant GM_info
  27. // @grant GM_setClipboard
  28. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  29. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  30. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  31. // @homepage http://usa.x10host.com/mybb
  32. // @namespace war premium
  33. // @noframes
  34. // @version 1.4.5.0
  35. // ==/UserScript==
  36.  
  37. var War_version = "1.4.5.0 Feburary 15, 2018";
  38.  
  39. //separate alternative domains with "|" char (first name is considered being main)
  40. var allHostNames = [
  41. "1fichier.com|dl4free.com",
  42. "k-upload.com|k-upload.fr",
  43. "vshare.io",
  44. "anonfile.com",
  45. "douploads.com",
  46. "coolbytez.com",
  47. "dir50.net",
  48. "gfycat.com",
  49. "indishare.me",
  50. "4downfiles.org",
  51. "drop.me",
  52. "bittfox.com",
  53. "cloudyfiles.com|cloudyfiles.org",
  54. "backin.net",
  55. "bitshare.com",
  56. "filefox.cc",
  57. "sendit.cloud",
  58. "9xupload.me",
  59. "zapfile.net",
  60. "avatarshare.com",
  61. "uploadbank.com",
  62. "up-4ever.com",
  63. "owndrives.com",
  64. "fileshd.net",
  65. "media4up.com",
  66. "700files.com",
  67. "megafiles.us",
  68. "flexydrive.com",
  69. "hotlink.cc",
  70. "fileshark.pl",
  71. "pobierz.to",
  72. "kingfile.pl",
  73. "oload.tv",
  74. "uploads.to",
  75. "uploadify.net",
  76. "temp-share.com",
  77. "ausfile.com",
  78. "filesha.com",
  79. "upfiles.net",
  80. "dailyfiles.net",
  81. "upfile.mobi",
  82. "share.az",
  83. "crazyshare.cc",
  84. "uploadocean.com",
  85. "drive.google.com",
  86. "suprafiles.net",
  87. "suprafiles.co",
  88. "suprafiles.org",
  89. "erafile.com",
  90. "mystore.to",
  91. "littlebyte.net",
  92. "exbit.net",
  93. "bdupload.info",
  94. "workupload.com",
  95. "wayupload.com",
  96. "cloud.mail.ru",
  97. "fileshareup.com",
  98. "usercloud.net",
  99. "daofile.com",
  100. "subyshare.com",
  101. "mexashare.com",
  102. "uploadgig.com",
  103. "upload.af",
  104. "alltu.eu",
  105. "filesin.space",
  106. "imagenetz.de",
  107. "katfile.com",
  108. "bankupload.com",
  109. "dl.free.fr|getfile.pl",
  110. "keepshare.net",
  111. "filescdn.com",
  112. "myfiles.onl",
  113. "uploadserv.com",
  114. "uploading.site",
  115. "filedwon.info",
  116. "jeodrive.com",
  117. "ncrypt.in",
  118. "yandex.com",
  119. "down4files.com",
  120. 'filespace.com',
  121. "uplod.it",
  122. "rapidu.net",
  123. "uploads.ws|upl.me",
  124. "file.up09.com",
  125. "lunaticfiles.com",
  126. "filecad.com",
  127. "filesupload.org",
  128. "bytewhale.com",
  129. "rapidrar.com",
  130. "download.cz.hellshare.com",
  131. "pornfile.cz",
  132. "dinoshare.cz",
  133. "kb.simple-aja.info",
  134. "bitster.cz",
  135. "file-share.top",
  136. "pornoid.cz",
  137. "dailyuploads.net",
  138. "sharehost.eu",
  139. "tezfiles.com",
  140. "devilshare.net",
  141. "alfafile.net",
  142. "openload.co",
  143. "multiup.org",
  144. "filenuke.com",
  145. "file.al|1f.al",
  146. "vidto.me",
  147. "filehost.pw",
  148. "turbobit.ru",
  149. "sharesix.com|sharesix.net",
  150. "movpod.in",
  151. "thefile.me",
  152. "vidzi.tv",
  153. "videoweed.es",
  154. "nowvideo.sx",
  155. "cloudtime.to",
  156. "thevideo.me",
  157. "vidbull.com",
  158. "novamov.com",
  159. "filehoot.com",
  160. "stagevu.com",
  161. "gorillavid.in",
  162. "streamin.to",
  163. "4upld.com|expressleech.com",
  164. "cloudshares.net",
  165. "swoopshare.com",
  166. "2shared.com",
  167. "fileupload.pw",
  168. "zxcfiles.com",
  169. "up07.net",
  170. "4shared.com",
  171. "adrive.com",
  172. "aisfile.com",
  173. "bezvadata.cz",
  174. "usersfiles.com",
  175. "pan.baidu.com",
  176. "datei.to",
  177. "daten-hoster.de|filehosting.org|xtraupload.de",
  178. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  179. "divshare.com",
  180. "easy-share.com|crocko.com",
  181. "easybytez.com",
  182. "edisk.cz",
  183. "euroshare.eu",
  184. "file-upload.net",
  185. "file-upload.com",
  186. "yadi.sk",
  187. "wizupload.com",
  188. "fastshare.cz",
  189. "filefactory.com",
  190. "share.vnn.vn",
  191. "yunpan.cn",
  192. "tropicshare.com",
  193. "inclouddrive.com",
  194. "fileflyer.com",
  195. "filerio.com|filekeen.com",
  196. "up.4share.vn",
  197. "upfile.vn",
  198. "datafilehost.com",
  199. "worldbytez.com",
  200. "files.mail.ru",
  201. "filesflash.com",
  202. "box.com",
  203. "uptobox.com",
  204. "box.net",
  205. "sdilej.cz",
  206. "ex-load.com",
  207. "filesmonster.com",
  208. "filestore.to",
  209. "hulkload.com",
  210. "filedropper.com",
  211. "free-uploading.com",
  212. "gamefront.com|filefront.com",
  213. "gettyfile.ru",
  214. "gigapeta.com",
  215. "gigasize.com",
  216. "hellshare.com",
  217. "hellspy.com",
  218. "hitfile.net",
  219. "hostuje.net",
  220. "freefilehosting.net",
  221. "free.fr",
  222. "hyperfileshare.com",
  223. "filecloud.io|ifile.it",
  224. "ifolder.ru",
  225. "lafiles.com",
  226. "leteckaposta.cz|sharegadget.com",
  227. "load.to",
  228. "mediafire.com",
  229. "megafileupload.com",
  230. "movshare.net",
  231. "narod.ru|narod.yandex.ru",
  232. "fboom.me|fileboom.me",
  233. "partage-facile.com",
  234. "sharerapid.cz",
  235. "exclusiveloader.com",
  236. "acefile.net",
  237. "queenshare.com",
  238. "rapidgator.net",
  239. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  240. "oboom.com",
  241. "filepi.com",
  242. "rarefile.net",
  243. "rayfile.com",
  244. "rghost.net",
  245. "sendmyway.com",
  246. "clicknupload.com",
  247. "clicknupload.me",
  248. "clicknupload.link",
  249. "clicknupload.org",
  250. "sharemods.com",
  251. "hostr.co",
  252. "sendspace.com",
  253. "sharecash.org",
  254. "share-links.biz",
  255. "share-online.biz|egoshare.com",
  256. "megarapid.cz",
  257. "shareflare.net",
  258. "solidfiles.com",
  259. "led.wf",
  260. "lan.wf",
  261. "adlink.wf",
  262. "click.tf",
  263. "kyc.pm",
  264. "ssh.tf",
  265. "ssh.yt",
  266. "yep.pm",
  267. "stahovanizasms.cz",
  268. "turbobit.net",
  269. "tikfile.com",
  270. "cloudsix.me",
  271. "turboupload.com",
  272. "uloz.to",
  273. "ulozto.net",
  274. "ulozto.sk",
  275. "ulozto.cz",
  276. "ulozisko.sk",
  277. "uloziste.com",
  278. "unibytes.com",
  279. "upload-il.net|przeslij.net",
  280. "uploaded.to|uploaded.net|ul.to",
  281. "chayfile.com",
  282. "rockfile.co",
  283. "usaupload.net",
  284. "veehd.com",
  285. "videobb.com",
  286. "vip-file.com",
  287. "webshare.cz",
  288. "xdisk.cz",
  289. "yunfile.com|filemarkets.com",
  290. "ziddu.com",
  291. "zippyshare.com",
  292. "rodfile.com",
  293. "wikiupload.com",
  294. "uploadstube.de",
  295. "faststore.org",
  296. "flyfiles.net",
  297. "prefiles.com",
  298. "hackerbox.org",
  299. "amonshare.com",
  300. "data.hu",
  301. "brupload.net",
  302. "kingfiles.net",
  303. "userscloud.com",
  304. "kumpulbagi.com|kumpulbagi.id",
  305. "uppit.com|up.ht|upx.nz",
  306. "downloadani.me",
  307. "filesabc.com",
  308. "extmatrix.com",
  309. "sendfiles.nl",
  310. "yourfilestore.com",
  311. "filebig.net",
  312. "file4safe.com",
  313. "tusfiles.net|tusfiles.com",
  314. "filemac.com",
  315. "ozofiles.com",
  316. "nosupload.com",
  317. "gboxes.com",
  318. "myvdrive.com|fileserving.com",
  319. "novafile.com",
  320. "longfiles.com",
  321. "bitupload.com",
  322. "indowebster.com",
  323. "superload.cz",
  324. "mafiastorage.com",
  325. "hellupload.com",
  326. "stiahni.si",
  327. "sendspace.pl",
  328. "fastshare.org",
  329. "filejoker.net",
  330. "filestore.com.ua",
  331. "rapidfileshare.net",
  332. "stiahnito.sk",
  333. "rusfolder.com",
  334. "catshare.net",
  335. "mixturecloud.com",
  336. "filedais.com",
  337. // "imdb.com",
  338. "nitroflare.com",
  339. "akafile.com",
  340. "up.top4top.net",
  341. "upload.ee",
  342. "shareplace.org",
  343. "uploadc.com",
  344. "uploadc.ch",
  345. "exoshare.com",
  346. "borncash.org",
  347. "2downloadz.com",
  348. "mightyupload.com",
  349. "anysend.com",
  350. "datafile.com",
  351. "upstore.net",
  352. "upsto.re",
  353. "speedy.sh",
  354. "ge.tt",
  355. "filesflash.net",
  356. "salefiles.com",
  357. "datoid.cz",
  358. "cloudstor.es",
  359. "streamfile.com",
  360. "eyesfile.ca",
  361. "filemoney.com",
  362. "uploadboy.com",
  363. "uploadboy.me",
  364. "speedshare.eu",
  365. "google.com|google.be",
  366. "unlimitzone.com",
  367. "rioupload.com",
  368. "rg.to",
  369. "jumbofiles.org",
  370. "fshare.vn",
  371. "spaceforfiles.com",
  372. "up.media1fire.com",
  373. "depfile.com",
  374. "depfile.us",
  375. "dipfile.com",
  376. "go4up.com",
  377. "dropbox.com",
  378. "redbunker.net",
  379. "divxpress.com",
  380. "mega.nz|mega.co.nz",
  381. "storageserver.co.uk",
  382. "anafile.com",
  383. "bigfile.to",
  384. "arabloads.net",
  385. "sharerepo.com",
  386. "sfshare.se",
  387. "files.fm",
  388. "koofile.com",
  389. "doraupload.com",
  390. "openload.io",
  391. "upnito.sk",
  392. "oload.net",
  393. "minhateca.com.br",
  394. "fileflares.com",
  395. "vidoza.net",
  396. ];
  397.  
  398. try
  399. {
  400. //iframes excluded
  401. if (window.top != window.self)
  402. {
  403. return;
  404. }
  405. //allHostNames sites excluded
  406. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  407. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  408. ")"))
  409. {
  410. return;
  411. }
  412. }
  413. catch (e)
  414. {
  415. return;
  416. }
  417.  
  418. //separate alternative domains with "|" char (first name is considered being main)
  419. var allContainerNames = [
  420. "adf.ly",
  421. "linkcrypt.ws",
  422. "linksafe.me",
  423. // "linksave.in",
  424. "linkto.net",
  425. "madlink.sk",
  426. "multiload.cz",
  427. "mirrorcreator.com",
  428. // "ncrypt.in",
  429. "redi.re",
  430. "relink.us",
  431. "safelinking.net",
  432. "theloo.katt.it",
  433. "bit.ly",
  434.  
  435. ];
  436.  
  437. //separate alternative domains with "|" char (first name is considered being main)
  438. var allObsoleteNames = [
  439. "black-label.pro",
  440. "4up.me",
  441. "anonfiles.com",
  442. "axifile.com",
  443. "creafile.net",
  444. "cloudzilla.to",
  445. "uploadrocket.net",
  446. "uplea.com",
  447. "datoteke.com",
  448. "uploadable.ch",
  449. "neodrive.co",
  450. "demo.ovh.eu",
  451. "filesin.com",
  452. "fileswap.com",
  453. "junocloud.me",
  454. "gulfup.com",
  455. "hexupload.com",
  456. "secureupload.eu",
  457. "hugefiles.net",
  458. "jumbofiles.com",
  459. "letitbit.net",
  460. "lolabits.es",
  461. "nowdownload.ch",
  462. "openfile.ru",
  463. "radicalshare.com",
  464. "remixshare.com",
  465. "storefiles.co",
  466. "toutbox.fr",
  467. "uploadbaz.com",
  468. "uploadingit.com",
  469. "uploading.com",
  470. "verzend.be",
  471. "vidplay.net",
  472. "vidxden.com",
  473. "xfileload.com",
  474. "warped.co",
  475. "xkeepfile.com",
  476. "abelhas.pt",
  477. "uploadspace.pl",
  478. "allmyvideos.net",
  479. "uploads.xxx",
  480. "netkups.com",
  481. "nekaka.com",
  482. "vidspot.net",
  483. "myupload.dk",
  484. "muchshare.net",
  485. "loudupload.net",
  486. "idup.in",
  487. "hulkshare.com",
  488. "goldbytez.com",
  489. "filesmelt.com",
  490. "fileband.com",
  491. "uloz.cz",
  492. "secured.in",
  493. "rapidfilehost.com",
  494. "fileover.net",
  495. "fileinz.com",
  496. "linksave.in",
  497. "seenupload.com",
  498. "sangfile.com",
  499. "filepost.com|fp.io",
  500. "sharingmaster.com ",
  501. "24uploading.com",
  502. "storagon.com",
  503. "sanshare.com",
  504. "filestorm.to",
  505. "uploadnet.co",
  506. "180upload.com",
  507. "rapidsonic.com",
  508. "fileparadox.com",
  509. "4upfiles.com",
  510. "geupload.com",
  511. "lenfile.com",
  512. "fileparadox.in",
  513. "uploadhero.co",
  514. "uploadhero.com",
  515. "newfileland.com",
  516. "quickshare.cz",
  517. "elffiles.com",
  518. "netload.in",
  519. "netload.me",
  520. "movreel.com",
  521. "migahost.com",
  522. "krotix.net",
  523. "jumbofile.net",
  524. "edoc.com",
  525. "cramit.in|cramitin.net",
  526. "freakshare.com",
  527. "burnupload.com|burnupload.ihiphop.com",
  528. "freakshare.net",
  529. "daj.to",
  530. "bl.st",
  531. "2drive.net",
  532. "ryushare.com",
  533. "crisshare.com",
  534. "tufiles.ru",
  535. "uncapped-downloads.com",
  536. "sockshare.com",
  537. "ddlstorage.com",
  538. "dataport.cz",
  539. "dizzcloud.com",
  540. "sharebeast.com",
  541. "stahovadlo.cz",
  542. "shared.com",
  543. "storage.to",
  544. "putlocker.com",
  545. "lumfile.com",
  546. "lumfile.se",
  547. "lumfile.eu",
  548. "firedrive.com",
  549. "fileshare.in.ua",
  550. "filecore.co.nz",
  551. "filecore.co",
  552. "iskladka.cz",
  553. "file-rack.com",
  554. "fast-load.net",
  555. "subory.sk",
  556. "bigandfree.com",
  557. "fileop.com",
  558. "mujsoubor.cz",
  559. "sendfile.to",
  560. "superfastfile.com",
  561. "quickyshare.com",
  562. "duckload.com",
  563. "uploadstore.net",
  564. "meinupload.com",
  565. "dualshare.com",
  566. "2xupload.to|2xupload.de",
  567. "oxedion.com",
  568. "uploadline.com",
  569. "dll.bz",
  570. "movieshare.in",
  571. "milledrive.com",
  572. "quickupload.net",
  573. "safelink.in",
  574. "metadivx.com",
  575. "divxlink.com",
  576. "uploadrack.com",
  577. "teradepot.com",
  578. "dataup.to",
  579. "upit.to",
  580. "driveway.com",
  581. "eatlime.com",
  582. "a2zuploads.com",
  583. "friendlyfiles.net",
  584. "flyfile.us",
  585. "speedyshare.com",
  586. "uploadspace.eu",
  587. "keepfile.com",
  588. "piggyshare.com",
  589. "uplly.com",
  590. "filecrown.com",
  591. "6giga.com",
  592. "uploadjockey.com",
  593. "bluehost.to",
  594. "filegu.ru",
  595. "filebase.to",
  596. "up-file.com",
  597. "xvideos.com",
  598. "ufox.com",
  599. "filebling.com",
  600. "loaded.it",
  601. "uploadcell.com",
  602. "uploadshare.cz",
  603. "mangoshare.com",
  604. "filestab.com",
  605. "crazyupload.com",
  606. "gaiafile.com",
  607. "sharejunky.com",
  608. "fileho.com",
  609. "bigandfree.com",
  610. "bigfile.in",
  611. "bigshare.eu",
  612. "dahosting.org",
  613. "digisofts.net",
  614. "file4save.com",
  615. "filechip.com",
  616. "filescloud.com",
  617. "saveqube.com",
  618. "turboshare.de",
  619. "z-upload.com",
  620. "youshare.com",
  621. "jiffyupload.com",
  622. "gigeshare.com",
  623. "datenklo.net",
  624. "upload.dj",
  625. "loadfiles.in",
  626. "upit.to",
  627. "dsfileshare.com",
  628. "sharesimple.net",
  629. "4files.net",
  630. "wooupload.com",
  631. "odsiebie.com",
  632. "filenavi.com",
  633. "3oof.com",
  634. "meshwaar.com",
  635. "maxupload.com",
  636. "share.cx",
  637. "atserver.eu",
  638. "hotfiles.ws",
  639. "esnips.com",
  640. "tuxfile.com",
  641. "file2upload.net",
  642. "filebling.com",
  643. "turboshare.com",
  644. "rarhost.com",
  645. "isharehd.com",
  646. "i741.com",
  647. "dataup.de",
  648. "fofly.com",
  649. "shareonall.com",
  650. "sexuploader.com",
  651. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  652. "uploadhyper.com",
  653. "filespawn.com",
  654. "caizzii.com",
  655. "volnyweb.cz",
  656. "usershare.net",
  657. "filescash.net",
  658. "metahyper.com",
  659. "combozip.com",
  660. "x7.to",
  661. "uploadbox.com",
  662. "enterupload.com|flyupload.com",
  663. "filepoint.de",
  664. "mystream.to",
  665. "x-fs.com",
  666. "shareator.com",
  667. "srapid.eu",
  668. "sosame.cz",
  669. "filesdump.com",
  670. "2-klicks.de",
  671. "uploking.com",
  672. "silofiles.com",
  673. "upfile.in",
  674. "filehook.com",
  675. "uploadking.com",
  676. "uploadhere.com",
  677. "kewlshare.com",
  678. "rapidable.com",
  679. "uploadwaste.com",
  680. "filemup.com",
  681. "filesonic.com|sharingmatrix.com",
  682. "fileserve.com",
  683. "wupload.com",
  684. "skipfile.com",
  685. "smartuploader.com",
  686. "dualshare.com",
  687. "storeandserve.com",
  688. "mountfile.com",
  689. "transitfiles.com",
  690. "uploadstation.com",
  691. "filejungle.com",
  692. "shareshared.com",
  693. "quickyshare.com",
  694. "save.am",
  695. "petandrive.com",
  696. "file2box.com",
  697. "flyshare.cz",
  698. "yabadaba.ru",
  699. "cloudcache.cc",
  700. "yourfilehost.com",
  701. "jakfile.com",
  702. "kickload.com",
  703. "pyramidfiles.com",
  704. "refile.net",
  705. "zshare.net",
  706. "ddlani.me|ddlanime.com",
  707. "ftp2share.com",
  708. "fooget.com",
  709. "rapidhide.com",
  710. "gotupload.com",
  711. "mooload.com",
  712. "zupload.com",
  713. "mytempdir.com",
  714. "onionshare.com",
  715. "stahnu.to",
  716. "oron.com",
  717. "badongo.com",
  718. "filereactor.com",
  719. "filegaze.com",
  720. "4bytez.com",
  721. "1hostclick.com",
  722. "anonstream.com",
  723. "batshare.com",
  724. "bitroad.net",
  725. "brontofile.com",
  726. "cloudnxt.net",
  727. "cloudnator.com|shragle.com",
  728. "filesfrog.net",
  729. "coolshare.cz",
  730. "dotavi.com",
  731. "ezyfile.net",
  732. "file-bit.net",
  733. "filecosy.com",
  734. "fileduct.com|fileduct.net",
  735. "filefat.com",
  736. "filelaser.com",
  737. "filemashine.com",
  738. "fileserver.cc",
  739. "filetechnology.com",
  740. "fireuploads.net",
  741. "gigfiles.net",
  742. "holderfile.com",
  743. "ihostia.com",
  744. "k2files.com",
  745. "mojofile.com",
  746. "ovfile.com",
  747. "qshare.com",
  748. "shafiles.me",
  749. "sharefilehost.com",
  750. "shareupload.com",
  751. "stahuj.to",
  752. "ugotfile.com",
  753. "uploadboost.com",
  754. "fileom.com",
  755. "vidhog.com",
  756. "xfileshare.eu",
  757. "bzlink.us",
  758. "bulletupload.com",
  759. "bloggerarticles.com",
  760. "mojedata.sk",
  761. "sharpfile.com",
  762. "upgrand.com",
  763. "nasdilej.cz",
  764. "mediatack.cz",
  765. "share-it.to",
  766. "primeupload.com",
  767. "filebeer.info",
  768. "baberepublic",
  769. "xtu.me",
  770. "sharebase.de",
  771. "luckyshare.net",
  772. "filerobo.com",
  773. "filevelocity.com",
  774. "filezpro.com",
  775. "file4sharing.com",
  776. "cing.be",
  777. "ufile.eu",
  778. "pigsonic.com",
  779. "fileupped.com",
  780. "sharerun.com",
  781. "filesaur.com",
  782. "rapidslnare.com",
  783. "bestsharing.com",
  784. "savefiles.net",
  785. "file2share.biz",
  786. "filecache.de",
  787. "monsteruploads.eu",
  788. "b9bb.com",
  789. "aiotool.net",
  790. "jamber.info",
  791. "megaftp.com",
  792. "desiupload.net",
  793. "file27.com",
  794. "yastorage.com",
  795. "filehost.ws",
  796. "copyload.com",
  797. "venusfile.com",
  798. "aieshare.com",
  799. "terafile.co",
  800. "terafile.com",
  801. "fileza.net",
  802. "filerose.com",
  803. "squillion.com",
  804. "fileprohost.com",
  805. "bitbonus.com",
  806. "warserver.cz",
  807. "uload.to",
  808. "sharedbit.net",
  809. "megaload.it",
  810. "filewinds.com",
  811. "uploadcore.com",
  812. "syfiles.com",
  813. "eyesfile.com",
  814. "hotfile.com",
  815. "superupl.com",
  816. "oteupload.com",
  817. "henchfile.com",
  818. "filegag.com",
  819. "HenchFile.com",
  820. "filedefend.com",
  821. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  822. "megabitshare.com",
  823. "cloudzer.com",
  824. "asfile.com",
  825. "cloudzer.net",
  826. "clz.to",
  827. "extabit.com",
  828. "247upload.com",
  829. "2download.de",
  830. "4fastfile.com",
  831. "asixfiles.com",
  832. "berofile.com",
  833. "bigupload.com",
  834. "cepzo.com",
  835. "clouds.to",
  836. "cobrashare.sk",
  837. "coraldrive.net",
  838. "cyberlocker.ch",
  839. "czshare.com",
  840. "darkport.org",
  841. "dark-uploads.com",
  842. "davvas.com",
  843. "enigmashare.com",
  844. "erofly.cz",
  845. "fastsonic.net",
  846. "filebox.com",
  847. "filecity.net",
  848. "filedap.com",
  849. "filedino.com",
  850. "filedownloads.org",
  851. "filefolks.com",
  852. "fileking.co",
  853. "filemates.com",
  854. "files.to",
  855. "files2k.eu",
  856. "filesector.cc",
  857. "filesega.com",
  858. "filesend.net",
  859. "filestay.com",
  860. "filestrum.com",
  861. "fileuplo.de",
  862. "fileupup.com",
  863. "forunesia.com",
  864. "freeuploads.fr",
  865. "uploa.dk",
  866. "getthebit.com",
  867. "getzilla.net",
  868. "goldfile.eu",
  869. "good.com",
  870. "grupload.com",
  871. "hellfile.com",
  872. "hipfile.com",
  873. "hitfile.com",
  874. "hulkfile.eu|duckfile.net",
  875. "i-filez.com",
  876. "ifile.ws",
  877. "kupload.org",
  878. "packupload.com",
  879. "lemuploads.com",
  880. "limelinx.com",
  881. "maxshare.pl",
  882. "megarelease.org",
  883. "megashares.com",
  884. "megashare.com",
  885. "minus.com",
  886. "mlfat4arab.com",
  887. "multishare.cz",
  888. "nirafile.com",
  889. "ok2upload.com",
  890. "peejeshare.com",
  891. "premiuns.org",
  892. "przeklej.net",
  893. "qkup.net",
  894. "rapidupload.sk",
  895. "rockdizfile.com",
  896. "rocketfile.net",
  897. "share-now.net",
  898. "share76.com",
  899. "sharebees.com",
  900. "sharefiles.co",
  901. "slingfile.com",
  902. "sms4file.com",
  903. "space4file.com",
  904. "tigershare.net",
  905. "toucansharing.com",
  906. "ubuntuone.com",
  907. "unextfiles.com",
  908. "upaj.pl",
  909. "upfile.biz",
  910. "uploadbin.net",
  911. "uploadic.com",
  912. "uploadinc.com",
  913. "uploading4u.eu",
  914. "uploadjet.net",
  915. "uploadorb.com",
  916. "upthe.net",
  917. "uptorch.com",
  918. "vidbox.yt",
  919. "videozer.com",
  920. "vreer.com",
  921. "wallobit.com",
  922. "zooupload.com",
  923. "privatefiles.com",
  924. "xerver.co",
  925. "BillionUploads.com",
  926. "rapidshare.com",
  927. "rapidshare.ru",
  928. "4savefile.com",
  929. "bayfiles.com",
  930. "bayfiles.net",
  931. "dodane.pl",
  932. "dotsemper.com",
  933. "egofiles.com",
  934. "epicshare.net",
  935. "fiberupload.net",
  936. "filemonkey.in",
  937. "filemonster.net",
  938. "filepom.com",
  939. "filesbb.com",
  940. "filevice.com",
  941. "gigaup.fr",
  942. "isavelink.com",
  943. "loombo.com",
  944. "megafiles.se",
  945. "migupload.com",
  946. "mydisc.net",
  947. "nitrobits.com",
  948. "potload.com",
  949. "redload.net",
  950. "shareprofi.com",
  951. "sharesuper.info",
  952. "sinhro.net",
  953. "speedfile.cz",
  954. "speedshare.org",
  955. "storage.novoro.net",
  956. "swankshare.com",
  957. "swatupload.com",
  958. "upafile.com",
  959. "uploadmachine.com",
  960. "uploadsat.com",
  961. "upshared.com",
  962. "usefile.com",
  963. "yourfiles.to",
  964. "zomgupload.com",
  965. "ultramegabit.com",
  966. "uploadto.us",
  967. "inafile.com",
  968. "vodlocker.com",
  969. "megairon.net",
  970.  
  971. ];
  972. ///////////////////////////////////////////////////////////////////////////////////////
  973. var firstRun = GM_getValue("First_run", true);
  974.  
  975. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  976. //////////////////////////////////////////////////////////////////////////////////////
  977. try
  978. {
  979. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  980. var last_known_version = GM_getValue("last_known_version", "");
  981. if (!last_known_version)
  982. {
  983. last_known_version = thisVersion;
  984. GM_setValue("last_known_version", last_known_version);
  985. }
  986. //var newVersion = !(thisVersion == last_known_version);
  987. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  988. GM_setValue("last_known_version", thisVersion);
  989. }
  990. catch (err)
  991. {
  992. var newVersion = false;
  993. }
  994.  
  995. var now = (new Date()).getTime();
  996. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  997. if (!last_custom_rules_nag)
  998. {
  999. last_custom_rules_nag = now;
  1000. GM_setValue('last_custom_rules_nag', ''+now);
  1001. }
  1002.  
  1003.  
  1004. allHostNames.sort();
  1005. allContainerNames.sort();
  1006. allObsoleteNames.sort();
  1007.  
  1008. var RAND_STRING = "8QyvpOSsRG3QWq";
  1009. var DEBUG_MODE = false;
  1010.  
  1011. var TOOLTIP_MAXWIDTH = 600; //in pixels
  1012. var TOOLTIP_THUMBWIDTH = 200;
  1013. var containers_processed = false;
  1014.  
  1015. //settings for keyboard functions start
  1016. var CHECK_ALL_LINKS_KEY = "A";
  1017. var CONFIGURATION_KEY = "C";
  1018. var copy_to_dead_key = "D";
  1019. var copy_to_live_key = "L";
  1020. var toggle_autocheck_key = "W";
  1021. var toggle_Enable_Anonymizer_key = "Z";
  1022. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  1023. var first_key_keycodename = 'CTRL';
  1024. var second_key_keycode = '18';
  1025. var second_key_keycodename = 'ALT';
  1026. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  1027. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  1028. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  1029. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  1030. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  1031. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1032. //settings for keyboard functions end
  1033.  
  1034. //global settings start
  1035. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1036. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1037. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1038. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1039. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1040. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1041. var Progress_box_refresh_rate;
  1042. var Obsolete_file_hosts;
  1043. var Custom_rules, Custom_rules_text;
  1044. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1045.  
  1046. var messageBox = document.createElement('b'); // top-left message box
  1047.  
  1048. var cLinksTotal = 0;
  1049. var cLinksDead = 0;
  1050. var cLinksAlive = 0;
  1051. var cLinksUnava = 0;
  1052. var cLinksprem = 0;
  1053. var cLinksProcessed = 0;
  1054.  
  1055. var intervalId; //for updateProgress()
  1056.  
  1057. //icon resources
  1058. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6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pfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1069. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1070. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAIC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haW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1072.  
  1073. //global settings end
  1074. if (window.opera && !window.console)
  1075. {
  1076. window.console = {};
  1077.  
  1078. function fn()
  1079. {
  1080. opera.postError(arguments);
  1081. };
  1082. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1083. {
  1084. window.console[name] = fn;
  1085. });
  1086. }
  1087.  
  1088. //displays colored text in message box
  1089. function sendMessage(text, color)
  1090. {
  1091. var msgDiv = document.createElement('div');
  1092. msgDiv.style.color = color;
  1093. msgDiv.innerHTML = text;
  1094. messageBox.appendChild(msgDiv);
  1095. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1096. }
  1097.  
  1098. function linkify(totalourls)
  1099. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1100. var ikkeTilladteTags;
  1101. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1102. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1103. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1104. allLinksRegex = new RegExp(allLinksRegex, "g");
  1105. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1106.  
  1107. if (Do_not_linkify_DL_links)
  1108. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1109. else
  1110. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1111.  
  1112. var regex = new RegExp(regexy);
  1113. var textNode, muligtLink;
  1114.  
  1115. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1116. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1117.  
  1118. var i = textNodes.snapshotLength;
  1119. while (i--)
  1120. {
  1121. textNode = textNodes.snapshotItem(i);
  1122.  
  1123. muligtLink = textNode.nodeValue; //all links on page
  1124.  
  1125. var myArray = null;
  1126. var span = null;
  1127. var lastLastIndex = 0;
  1128. allLinksRegex.lastIndex = 0;
  1129. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1130. {
  1131. if (textNode.parentNode.className == "adead_link") continue;
  1132. var censoredLink = muligtLink;
  1133. var span = document.createElement('span');
  1134. span.className = "adead_link";
  1135. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1136. $(span).html(censoredLink);
  1137. span.addEventListener("mouseover", displayTooltipError, false);
  1138. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1139. textNode.parentNode.replaceChild(span, textNode);
  1140. continue;
  1141. alert(censoredLink);
  1142. }
  1143. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1144. {
  1145. if (!regex.test(myArray[0])) //this link is not recognized
  1146. {
  1147.  
  1148. continue;
  1149. }
  1150. if (!span)
  1151. span = document.createElement('span');
  1152.  
  1153. var link = myArray[0];
  1154. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1155.  
  1156. var $a = $("<a>" + link + "</a>")
  1157. if (!link.match(/https?:\/\//))
  1158. {
  1159. link = 'http://' + link;
  1160. }
  1161.  
  1162. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1163. .addClass("processing_link")
  1164. .appendTo(span);
  1165. lastLastIndex = allLinksRegex.lastIndex;
  1166. }
  1167. if (span)
  1168. {
  1169. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1170. textNode.parentNode.replaceChild(span, textNode);
  1171. }
  1172. }
  1173. }
  1174.  
  1175. function add_WARLC_style()
  1176. {
  1177. if (!(document.getElementsByTagName('WARLC')[0]))
  1178. {
  1179. var meta_not_to_add_more_style = document.createElement("WARLC");
  1180. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1181. meta_not_to_add_more_style.setAttribute('name', 'description');
  1182. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1183. alive_link_png = "";
  1184. adead_link_png = "";
  1185. unava_link_png = "";
  1186. prem_link_png = "";
  1187. switch(Icon_set)
  1188. {
  1189. //no icons
  1190. case 0: break;
  1191. // cat paws
  1192. case 1: alive_link_png = PAW_ICON_GREEN;
  1193. adead_link_png = PAW_ICON_RED;
  1194. unava_link_png = PAW_ICON_YELLOW;
  1195. prem_link_png = PAW_ICON_PINK;
  1196. break;
  1197. // classic RSLC look
  1198. case 2: alive_link_png = RSLC_ICON_GREEN;
  1199. adead_link_png = RSLC_ICON_RED;
  1200. unava_link_png = RSLC_ICON_YELLOW;
  1201. prem_link_png = RSLC_ICON_PINK;
  1202. break;
  1203. // New Icons
  1204. case 3: alive_link_png = NEW_ICON_GREEN;
  1205. adead_link_png = NEW_ICON_RED;
  1206. unava_link_png = NEW_ICON_YELLOW;
  1207. prem_link_png = NEW_ICON_PINK;
  1208. break;
  1209. // cat paws
  1210. default:alive_link_png = PAW_ICON_GREEN;
  1211. adead_link_png = PAW_ICON_RED;
  1212. unava_link_png = PAW_ICON_YELLOW;
  1213. prem_link_png = PAW_ICON_PINK;
  1214. break;
  1215. }
  1216. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1217. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1218.  
  1219. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1220.  
  1221. if (Color_DL_links)
  1222. {
  1223. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1224. live_color_css = 'color:' + Live_links_color + ' !important;';
  1225. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1226. container_color_css = 'color:' + Container_links_color + ' !important;';
  1227. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1228. }
  1229. else
  1230. {
  1231. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1232. }
  1233.  
  1234. if (Show_black_background_in_DL_links)
  1235. {
  1236. black_background_css = 'background-color: black !important;';
  1237. }
  1238. else
  1239. {
  1240. black_background_css = '';
  1241. }
  1242.  
  1243. if (Show_line_through_in_dead_links)
  1244. {
  1245. line_through_css = 'text-decoration: line-through !important;';
  1246. }
  1247. else
  1248. {
  1249. line_through_css = '';
  1250. }
  1251.  
  1252. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1253. 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 + "}");
  1254. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1255. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1256. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1257. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1258. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1259. }
  1260. }
  1261.  
  1262. var warlcTooltip = null;
  1263. var mouseoverLink = null; //link href with mouse cursor over it
  1264.  
  1265. var lastX = 0;
  1266. var lastY = 0;
  1267.  
  1268. $(document).ready(initTooltip);
  1269. //inits tooltip
  1270. function initTooltip()
  1271. { warlcTooltip = document.createElement("div");
  1272. 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;");
  1273. warlcTooltip.style.visibility = "hidden";
  1274. document.body.appendChild(warlcTooltip);
  1275. }
  1276.  
  1277. //"mousemove" event handler for all links
  1278. function moveTooltip(event)
  1279. {
  1280. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1281. { //no need to reflow if the cursor moved just a little
  1282. return;
  1283. }
  1284. else
  1285. {
  1286. lastX = event.clientX;
  1287. lastY = event.clientY;
  1288. }
  1289.  
  1290. posX = event.clientX + window.pageXOffset + 10;
  1291. posY = event.clientY + window.pageYOffset;
  1292. var ttHeight = warlcTooltip.offsetHeight;
  1293. var ttFreeSpace = window.innerHeight - event.clientY;
  1294. if (ttHeight > ttFreeSpace)
  1295. { //prevents tooltip from getting out of the window
  1296. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1297. }
  1298. else
  1299. {
  1300. posY += 7;
  1301. }
  1302. warlcTooltip.style.top = posY + "px";
  1303. warlcTooltip.style.left = posX + "px";
  1304. }
  1305.  
  1306. //"mouseout" event handler for all links
  1307. function hideTooltip(){
  1308. warlcTooltip.style.visibility = "hidden";
  1309. mouseoverLink = null;
  1310. }
  1311.  
  1312.  
  1313. //"mouseover" event handler for dead links
  1314. //displays tooltip error message on dead links
  1315. function displayTooltipError()
  1316. {
  1317. mouseoverLink = this.href;
  1318. this.addEventListener("mouseout", hideTooltip);
  1319. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1320. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1321. warlcTooltip.style.minWidth = 0;
  1322. warlcTooltip.style.visibility = "visible";
  1323. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1324. {
  1325. warlcTooltip.innerHTML = this.warlc_error;
  1326. }
  1327. else
  1328. {
  1329. loadErrorInfo(this);
  1330. }
  1331. function loadErrorInfo(link)
  1332. {
  1333. var href = link.href;
  1334. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1335. GM_xmlhttpRequest({
  1336. method: 'GET',
  1337. url: href.replace(Ref_anonymize_service, ""),
  1338. headers: {
  1339. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1340. 'Accept': 'text/xml',
  1341. 'Referer': ""
  1342. },
  1343. onload: function(result) {
  1344. var res = result.responseText;
  1345. //TODO: errorRegexs -
  1346. var errorRegexs = [ //generic error messages follow
  1347. /(empty directory)/i,
  1348. /(soubor nebyl nalezen)/i,
  1349. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1350. //server specific error messages follow
  1351. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1352. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1353. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1354. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1355. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1356. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1357. /class="red">(.+?)<(?:span|br)>/, //czshare
  1358. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1359. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1360. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1361. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1362. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1363. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1364. /(File has been removed due to Copyright Claim)/, //filerio
  1365. ];
  1366. var errorIdx = errorRegexs.length;
  1367. var error = "Cause of error: <b>unknown</b>";
  1368. var errorCandidate = "";
  1369. while(errorIdx--)
  1370. {
  1371. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1372. if (errorCandidate != null)
  1373. {
  1374. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1375. break;
  1376. }
  1377. }
  1378. //link attributes
  1379. link.warlc_error = error;
  1380. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1381. {
  1382. warlcTooltip.innerHTML = error;
  1383. }
  1384. }
  1385. });
  1386. }
  1387. }
  1388.  
  1389. //"mouseover" event handler for alive links
  1390. //displays tooltip info (file size, file name,...) on alive links
  1391. function displayTooltipInfo()
  1392. {
  1393. mouseoverLink = this.href;
  1394. //exclude direct download filehostings
  1395. 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)/))
  1396. {
  1397. return;
  1398. }
  1399. this.addEventListener("mouseout", hideTooltip);
  1400. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1401. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1402. warlcTooltip.style.minWidth = 0;
  1403. warlcTooltip.style.visibility = "visible";
  1404. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1405. {
  1406. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1407. }
  1408. else
  1409. {
  1410. loadInfo(this);
  1411. }
  1412. function loadInfo(link)
  1413. {
  1414. var href = link.href;
  1415. GM_xmlhttpRequest({
  1416. method: 'GET',
  1417. url: href.replace(Ref_anonymize_service, ""),
  1418. headers: {
  1419. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1420. 'Accept': 'text/xml',
  1421. 'Referer': ""
  1422. },
  1423. onload: function(result) {
  1424. var res = result.responseText;
  1425. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1426. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1427. /fl" title="(.+?)">/, //edisk
  1428. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1429. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1430. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1431. /title="download (.+?)">/, //sendspace
  1432. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1433. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1434. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1435. /d0FileName = "(.+?)";/, //letitbit
  1436. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1437. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1438. /fname" value="(.+?)">/, //syfiles, grupload,
  1439. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1440. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1441. /Complete name : (.+?)<br \/>/, //bezvadata
  1442. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1443. ];
  1444. var nameIdx = nameRegexs.length;
  1445. // [sizeRegexs]
  1446. // / \ \?
  1447. // prefix (size) postfix
  1448. // / \
  1449. // val quant
  1450. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1451. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1452. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1453. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1454. var postSizeRegex = '(?:\\))?';
  1455. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1456. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1457. ];
  1458. var sizeIdx = sizeRegexs.length;
  1459. //
  1460. //
  1461. var tooltip = "File Name: <b>";
  1462. var fileName = "unknown";
  1463. var nameCandidate = "";
  1464. while(nameIdx--)
  1465. {
  1466. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1467. if (nameCandidate != null)
  1468. {
  1469. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1470. break;
  1471. }
  1472. }
  1473. tooltip += fileName + "</b><br>File Size: <b>";
  1474. var fileSize = "unknown";
  1475. var sizeCandidate = "";
  1476. while(sizeIdx--)
  1477. {
  1478. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1479. if (sizeCandidate != null)
  1480. {
  1481. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1482. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1483. {
  1484. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1485. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1486. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1487. }
  1488. break;
  1489. }
  1490. }
  1491. tooltip += fileSize + "</b>";
  1492. // PROTOTYPE
  1493. // video thumbnails
  1494. if (href.match('hellshare'))
  1495. {
  1496. var thumbs;
  1497. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1498. if (thumbs)
  1499. {
  1500. tooltip += '<br>';
  1501. var j = Math.min(thumbs.length, 9);
  1502. for (var i = 0; i < j; i++)
  1503. {
  1504. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1505. }
  1506. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1507. }
  1508. }
  1509. if (href.match('czshare'))
  1510. {
  1511. var thumbs;
  1512. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1513. if (thumbs)
  1514. {
  1515. var thumbsServer = thumbs[1];
  1516. var thumbsId = thumbs[2];
  1517. tooltip += '<br>';
  1518. for (var i = 1; i < 9; i++)
  1519. {
  1520. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1521. }
  1522. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1523. }
  1524. }
  1525. if (href.match('bezvadata'))
  1526. {
  1527. var thumbs;
  1528. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1529. if (thumbs)
  1530. {
  1531. tooltip += '<br>';
  1532. var j = Math.min(thumbs.length, 9);
  1533. for (var i = 0; i < j; i++)
  1534. {
  1535. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1536. }
  1537. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1538. }
  1539. }
  1540. link.warlc_tooltipcache = tooltip;
  1541. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1542. {
  1543. warlcTooltip.innerHTML = tooltip;
  1544. }
  1545. }
  1546. });
  1547. }
  1548. }
  1549.  
  1550. function setVariables()
  1551. {
  1552. if (firstRun)
  1553. {
  1554. GM_log('First run, applying default settings...');
  1555. GM_setValue("Icon_set",1);
  1556. GM_setValue("Display_tooltip_info",true);
  1557. GM_setValue("Show_black_background_in_DL_links",false);
  1558. GM_setValue("Show_line_through_in_dead_links",false);
  1559. GM_setValue("Display_full_links_in_link_containers",false);
  1560. GM_setValue("Allow_spaces_in_DL_links",false);
  1561. GM_setValue("Autocheck",true);
  1562. GM_setValue("Enable_Anonymizer",false);
  1563. GM_setValue("Do_not_linkify_DL_links",false);
  1564. GM_setValue("Show_progress_stats",true);
  1565. GM_setValue("Keyboard_functions",true);
  1566. GM_setValue("Obsolete_file_hosts",false);
  1567. GM_setValue("Color_DL_links",true);
  1568. GM_setValue("Live_links_color","Green");
  1569. GM_setValue("Dead_links_color","#FF3300");
  1570. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1571. GM_setValue("Container_links_color","DarkKhaki");
  1572. GM_setValue("Premium_links_color","DeepPink");
  1573. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1574. GM_setValue("Custom_rules",false);
  1575. GM_setValue("Custom_rules_text","");
  1576. GM_setValue("Processbox_Pos_Y", 0);
  1577. GM_setValue("Processbox_Pos_X", 88);
  1578. GM_setValue("Progressbox_Scaling", 100);
  1579. GM_setValue("First_run", false);
  1580. }
  1581. //hidden settings
  1582. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1583. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1584. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1585. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1586. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1587. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1588. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1589. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1590. //hidden settings end
  1591.  
  1592. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1593. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1594. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1595. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1596. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1597. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1598. Autocheck = GM_getValue("Autocheck", true);
  1599. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1600. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1601. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1602. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1603. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1604. Color_DL_links = GM_getValue("Color_DL_links", true);
  1605. Live_links_color = GM_getValue("Live_links_color", "Green");
  1606. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1607. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1608. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1609. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1610. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1611. Custom_rules = GM_getValue("Custom_rules", false);
  1612. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1613. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1614. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1615. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1616. }
  1617.  
  1618.  
  1619. // Delinkifies the links
  1620. // params:
  1621. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1622. // e.g. 'uloz.to/xs68skxl8')
  1623. function delinkifySnapshot(snapshot)
  1624. {
  1625. var n = snapshot.snapshotLength;
  1626.  
  1627. while (n--)
  1628. {
  1629. thisLink = snapshot.snapshotItem(n);
  1630.  
  1631. var spanElm = document.createElement("span");
  1632. spanElm.className = thisLink.className;
  1633. spanElm.innerHTML = thisLink.innerHTML;
  1634.  
  1635. if (Display_tooltip_info)
  1636. {
  1637. spanElm.href = thisLink.href;
  1638. switch (thisLink.className){
  1639. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1640. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1641. case "unava_link": //reserved
  1642. default:
  1643. }
  1644. }
  1645. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1646. }
  1647. }
  1648.  
  1649. function processContainers()
  1650. {
  1651. var redirectorTypes = { "HTTP_302": 0,
  1652. "INNER_LINK": 1,
  1653. "THELOO_KATT_IT": 2,
  1654. "CING_BE": 3,
  1655. "ADF_LY": 4};
  1656. var cMultiloadTotal = 0;
  1657. var cMultiloadProcessed = 0;
  1658.  
  1659. var cMirrorcreatorComTotal = 0;
  1660. var cMirrorcreatorComProcessed = 0;
  1661.  
  1662. var hostRestrictionRegex = "";
  1663. var multiloadComRestriction = "";
  1664. var multiloadComRestrictionRegex;
  1665.  
  1666. //
  1667. //HANDLING REDIRECTORS START
  1668. //
  1669.  
  1670. var redirectors = new Array();
  1671. initRedirectors();
  1672.  
  1673. var redirectorsCount = redirectors.length;
  1674.  
  1675. if (redirectorsCount > 0)
  1676. {
  1677. var allRedirectorsRegex = "";
  1678.  
  1679. //linkify redirector links
  1680. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1681. {
  1682. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1683. }
  1684. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1685. linkify(allRedirectorsRegex);
  1686. //
  1687. //process redirector links
  1688. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1689. {
  1690. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1691. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1692.  
  1693. cLinksTotal += redirectors[redirIdx].cTotal;
  1694. var linkIdx = redirectors[redirIdx].cTotal;
  1695.  
  1696. while(linkIdx--)
  1697. {
  1698. switch(redirectors[redirIdx].type)
  1699. {
  1700. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1701. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1702. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1703. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1704. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1705. default:
  1706. }
  1707. }
  1708. }
  1709. //
  1710. }
  1711.  
  1712. //HTTP_302
  1713. function processRedirectorLink(link, redirectorId)
  1714. {
  1715. link.className = 'container_link';
  1716.  
  1717. GM_xmlhttpRequest({
  1718. method: 'HEAD',
  1719. url: link.href,
  1720. headers: {
  1721. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1722. 'Accept': 'text/xml',
  1723. 'Referer': ""
  1724. },
  1725. onload: function(result) {
  1726. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1727. {
  1728. processRedirectorLink(link, redirectorId);
  1729. }
  1730. else
  1731. {
  1732. redirectors[redirectorId].cProcessed++;
  1733. link.href = result.finalUrl;
  1734. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1735. checkLinks('container_link');
  1736. }
  1737. },
  1738. onerror: function(result) { //probably caused by unresponsive filehosting
  1739. redirectors[redirectorId].cProcessed++;
  1740. link.className = 'unava_link';
  1741. cLinksProcessed++;
  1742. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1743. checkLinks('container_link');
  1744. }
  1745. });
  1746. }
  1747. //INNER_LINK
  1748. function processRedirectorLinkEx(link, redirectorId)
  1749. {
  1750. link.className = 'container_link';
  1751. GM_xmlhttpRequest({
  1752. method: 'GET',
  1753. url: link.href,
  1754. headers: {
  1755. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1756. 'Accept': 'text/xml',
  1757. 'Referer': ""
  1758. },
  1759. onload: function(result) {
  1760. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1761. redirectors[redirectorId].cProcessed++;
  1762. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1763. checkLinks('container_link');
  1764. }
  1765. });
  1766. }
  1767. //theloo.katt.it (wrapped safelinking.net)
  1768. function processThelooKattItLink(link, redirectorId)
  1769. {
  1770. link.className = 'container_link';
  1771. GM_xmlhttpRequest({
  1772. method: 'GET',
  1773. url: link.href,
  1774. headers: {
  1775. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1776. 'Accept': 'text/xml',
  1777. 'Referer': ""
  1778. },
  1779. onload: function(result) {
  1780. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1781. redirectors[redirectorId].cProcessed++;
  1782. //the inner links are safelinking.net links, so lets proceed with it
  1783. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1784. {
  1785. processRedirectorLink(link, 0);
  1786. }
  1787. }
  1788. });
  1789. }
  1790. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1791. function processAdfLyLink(link, redirectorId)
  1792. {
  1793. link.className = 'container_link';
  1794. GM_xmlhttpRequest({
  1795. method: 'GET',
  1796. url: link.href,
  1797. headers: {
  1798. 'User-agent': 'Mozilla/4.0',
  1799. 'Accept': 'text/xml',
  1800. 'Referer': ""
  1801. },
  1802. onload: function(result) {
  1803. if (result.finalUrl.match('/locked/'))
  1804. {
  1805. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1806. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1807. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1808. }
  1809. else
  1810. {
  1811. // GM_log('Processing... ' + link.href);
  1812. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1813. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1814. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1815. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1816. //confirm advert
  1817. GM_xmlhttpRequest(
  1818. {
  1819. method: 'POST',
  1820. url: 'http://adf.ly/l.php',
  1821. headers: {
  1822. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1823. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1824. 'Referer': link.href
  1825. },
  1826. data: users + '&lt=' + logToken,
  1827. onload: function(result) {
  1828. //retrieve final url from .../go/... link
  1829. GM_xmlhttpRequest({
  1830. method: 'GET',
  1831. url: directLink,
  1832. headers: {
  1833. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1834. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1835. 'Referer': link.href
  1836. },
  1837. onload: function(result) {
  1838. link.href = result.finalUrl;
  1839. redirectors[redirectorId].cProcessed++;
  1840. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1841. checkLinks('container_link');
  1842. }
  1843. });
  1844. }
  1845. });
  1846. }
  1847. }
  1848. });
  1849. function proceedOK()
  1850. {
  1851. }
  1852. }
  1853. //MULTILOAD.CZ START
  1854. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1855. {
  1856. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1857. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1858.  
  1859. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1860.  
  1861. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1862. hostRestrictionRegex += 'hellshare|';
  1863. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1864. hostRestrictionRegex += 'downloadhellshare|';
  1865. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1866. hostRestrictionRegex += 'share-rapid\\.com|';
  1867. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1868. hostRestrictionRegex += 'quickshare\\.cz|';
  1869. if (GM_getValue("Check_czshare_dot_com_links", false))
  1870. hostRestrictionRegex += 'czshare\\.com|';
  1871. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1872. hostRestrictionRegex += 'hellspy|';
  1873. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1874. hostRestrictionRegex += 'multishare\\.cz|';
  1875.  
  1876. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1877.  
  1878. linkify(mlRegex);
  1879.  
  1880. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1881. var mlCount = mlSnapshot.snapshotLength;
  1882.  
  1883. if (mlCount > 0)
  1884. {
  1885. cMultiloadTotal += mlCount;
  1886.  
  1887. mlIdx = mlCount - 1;
  1888. do
  1889. {
  1890. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1891. }
  1892. while(mlIdx--)
  1893. }
  1894. }
  1895. //MULTILOAD.CZ END
  1896.  
  1897.  
  1898.  
  1899. function processMultiloadLink(mlLink)
  1900. {
  1901. GM_xmlhttpRequest({
  1902. method: 'GET',
  1903. url: mlLink.href,
  1904. headers: {
  1905. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1906. 'Accept': 'text/xml',
  1907. 'Referer': ""
  1908. },
  1909. onload: function(result) {
  1910. var res = result.responseText;
  1911.  
  1912. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1913. 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;
  1914. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1915. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1916.  
  1917. var blocks; // blocks of links
  1918. var blockIdx;
  1919.  
  1920. mlLink.className = '';
  1921.  
  1922. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1923. {
  1924. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1925. return;
  1926. }
  1927.  
  1928. blocks = res.match(innerBlockRegex);
  1929.  
  1930. if (blocks == null) //no links found, cancel further processing
  1931. {
  1932. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1933. cMultiloadProcessed++;
  1934. if (cMultiloadTotal <= cMultiloadProcessed)
  1935. {
  1936. startBulkCheck('container_link');
  1937. start('container_link');
  1938. }
  1939. return;
  1940. }
  1941.  
  1942. blockIdx = blocks.length;
  1943.  
  1944. if (Display_full_links_in_link_containers)
  1945. {
  1946. var ulElm = document.createElement('ul');
  1947. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1948.  
  1949. while(blockIdx--)
  1950. {
  1951. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1952. {
  1953. continue;
  1954. }
  1955.  
  1956. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1957.  
  1958. var linkIdx = innerLinks.length;
  1959. while (linkIdx--)
  1960. {
  1961. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1962.  
  1963. var liElm = document.createElement('li');
  1964.  
  1965. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1966. {
  1967. liElm.appendChild(document.createTextNode(innerLink));
  1968. }
  1969. else
  1970. {
  1971. var aElm = document.createElement('a');
  1972. aElm.innerHTML = innerLink;
  1973. aElm.href = innerLink;
  1974. aElm.className = 'container_link';
  1975.  
  1976. liElm.appendChild(aElm);
  1977. }
  1978.  
  1979. ulElm.appendChild(liElm);
  1980. cLinksTotal++;
  1981. }
  1982. }
  1983.  
  1984. mlLink.parentNode.appendChild(ulElm);
  1985. }
  1986. else //compact view
  1987. {
  1988. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1989.  
  1990. while(blockIdx--)
  1991. {
  1992. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1993. {
  1994. continue;
  1995. }
  1996.  
  1997. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1998.  
  1999. var linkIdx = innerLinks.length;
  2000. while (linkIdx--)
  2001. {
  2002. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  2003.  
  2004. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  2005. {
  2006. mlLink.parentNode.appendChild(document.createTextNode("----"));
  2007. }
  2008. else
  2009. {
  2010. var aElm = document.createElement('a');
  2011.  
  2012. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  2013.  
  2014. //abbreviate host name
  2015. switch(hostName + ""){
  2016.  
  2017. case 'quickshare': aElm.innerHTML = 'QS'; break;
  2018. case 'hellshare': aElm.innerHTML = 'HS'; break;
  2019. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  2020. case 'multishare': aElm.innerHTML = 'MS'; break;
  2021. case 'hellspy': aElm.innerHTML = 'hs'; break;
  2022. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  2023. case 'czshare': aElm.innerHTML = 'CS'; break;
  2024. default: aElm.innerHTML = 'xx';
  2025.  
  2026. }
  2027.  
  2028. aElm.href = innerLink;
  2029. aElm.className = 'container_link';
  2030.  
  2031. mlLink.parentNode.appendChild(aElm);
  2032. cLinksTotal++;
  2033. }
  2034. }
  2035.  
  2036. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2037.  
  2038. }
  2039. }
  2040.  
  2041. cMultiloadProcessed++;
  2042. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2043. {
  2044. if (Do_not_linkify_DL_links)
  2045. {
  2046. delinkifySnapshot(mlSnapshot);
  2047. }
  2048. startBulkCheck('container_link');
  2049. start('container_link');
  2050. }
  2051. }
  2052. });
  2053. }
  2054.  
  2055.  
  2056. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2057. {
  2058. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2059. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2060. var mcShortHostNames =
  2061. '?? 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';
  2062. // 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
  2063. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2064. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2065. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2066. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2067.  
  2068. linkify(mcRegex);
  2069.  
  2070. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2071. var mcCount = mcSnapshot.snapshotLength;
  2072.  
  2073. cMirrorcreatorComTotal = mcCount;
  2074.  
  2075. if (mcCount > 0)
  2076. {
  2077. mcShortHostNames = mcShortHostNames.split(' ');
  2078. mcIdx = mcCount;
  2079. while(mcIdx--)
  2080. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2081. }
  2082.  
  2083. }
  2084. //MIRRORCREATOR.CZ END
  2085.  
  2086.  
  2087. //mirrorcreator.com checking works like this:
  2088. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2089. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2090. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2091. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2092. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2093. function processMirrorcreatorLink(mcLink)
  2094. {
  2095. var mcURL = mcLink.href.match(mcRegex);
  2096. if(!mcURL || !mcURL[1]) return;
  2097. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2098. GM_xmlhttpRequest({
  2099. method: 'GET',
  2100. url: mcURL,
  2101. headers: {
  2102. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2103. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2104. 'Referer': ""
  2105. },
  2106. onload: function(mcLinkResult) {
  2107. var mcLinkRes = mcLinkResult.responseText;
  2108.  
  2109. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2110. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2111.  
  2112. var mcRedirectors;
  2113. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2114. var m = mcLinkRes.match(mcLinkBlockRegex);
  2115. if (m)
  2116. mcHostsFound = m.length;
  2117. else
  2118. { //no files inside container
  2119. processMirrorcreatorFoundHosts(mcLink, []);
  2120. return;
  2121. }
  2122.  
  2123. var mcRedirectorURL, idx, timedOut = false;
  2124.  
  2125. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2126. GM_xmlhttpRequest({
  2127. method: 'GET',
  2128. url: mcRedirectorURL,
  2129. headers: {
  2130. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2131. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2132. 'Referer': ""
  2133. },
  2134. onload: function(mcHostResult) {
  2135. if (timedOut) return; //too late, the list is already displayed
  2136. var mcHostRes = mcHostResult.responseText;
  2137. var mcHost = mcHostRes.match(mcHostRegex);
  2138. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2139. if (mcHost && idx!=-1)
  2140. {
  2141. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2142. mcHostsRetrieved++;
  2143. mcHostsToProcess++;
  2144. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2145. {
  2146. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2147. mcHostsToProcess = 0;
  2148. }
  2149. }
  2150. } //end of onload: function
  2151. }); //end of GM_xmlhttpRequest call
  2152. };//end of var gmxhrFunc
  2153.  
  2154. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2155. { //load individual redirector pages
  2156. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2157. mcHostURLs.push(mcRedirectorURL);
  2158. mcRedirectorIDs.push(mcRedirectors[2]);
  2159. gmxhrFunc(mcRedirectorURL);
  2160. } //end of while block
  2161.  
  2162. setTimeout(function(){ //in case the last page fails to load and call the function
  2163. timedOut = true;
  2164. if (mcHostsToProcess)
  2165. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2166. }, 60000);
  2167.  
  2168. } //end of onload function
  2169. }); //end of GM_xmlhttpRequest call
  2170. } //end of function processMirrorcreatorLink
  2171.  
  2172.  
  2173. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2174. {
  2175. var aEl, liEl, docFrag;
  2176. var hostName, mcRedirectorID, trimFilename = false;
  2177. var i = mcHostURLs.length;
  2178. if (i == 0)
  2179. {
  2180. trimFilename = true;
  2181. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2182. }
  2183. else
  2184. {
  2185. if (Display_full_links_in_link_containers)
  2186. { //full view
  2187. var wrapperEl = document.createElement('span');
  2188. wrapperEl.style.display = 'block';
  2189. var ulistEl = document.createElement('ul');
  2190. ulistEl.className = 'container_list';
  2191. while (i--)
  2192. {
  2193. liEl = document.createElement('li');
  2194. aEl = document.createElement('a');
  2195. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2196. aEl.href = mcHostURLs[i];
  2197. aEl.className = 'container_link';
  2198. liEl.appendChild(aEl);
  2199. ulistEl.appendChild(liEl);
  2200. }
  2201. wrapperEl.appendChild(ulistEl);
  2202. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2203. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2204. }
  2205. else
  2206. { //compact view
  2207. trimFilename = true;
  2208. docFrag = document.createDocumentFragment();
  2209. docFrag.appendChild(document.createTextNode(' |'));
  2210. while (i--)
  2211. {
  2212. mcRedirectorID = mcRedirectorIDs[i];
  2213. hostName = mcHostURLs[i];
  2214. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2215. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2216. else
  2217. hostName = mcShortHostNames[mcRedirectorID];
  2218. aEl = document.createElement('a');
  2219. aEl.href = mcHostURLs[i];
  2220. aEl.className = 'container_link';
  2221. aEl.appendChild(document.createTextNode(hostName));
  2222. docFrag.appendChild(aEl);
  2223. docFrag.appendChild(document.createTextNode('|'));
  2224. }
  2225. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2226. } //end of else block
  2227. } //end of else block
  2228. mcLink.className = '';
  2229. if (trimFilename)
  2230. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2231. cMirrorcreatorComProcessed++;
  2232. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2233. {
  2234. if (Do_not_linkify_DL_links)
  2235. delinkifySnapshot(mcSnapshot);
  2236. startBulkCheck('container_link');
  2237. start('container_link');
  2238. }
  2239. } //end of function processMirrorcreatorFoundHosts
  2240.  
  2241. containers_processed = true;
  2242.  
  2243.  
  2244. function initRedirectors()
  2245. {
  2246. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2247. {
  2248. var redirector = new Object();
  2249. redirector.linkRegex = linkRegex;
  2250. redirector.xpath = xpathEx; //xpath expression
  2251. redirector.cProcessed = 0; //processed links count
  2252. redirector.cTotal = 0; //total links count
  2253. redirector.type = redirType; //redirectorTypes enum
  2254. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2255. redirectors.push(redirector);
  2256. }
  2257. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2258. {
  2259. addRedirector(
  2260. 'safelinking\\.net\/d\/\\w+',
  2261. "//a[contains(@href,'safelinking.net/d/')]",
  2262. redirectorTypes.HTTP_302,
  2263. null);
  2264. }
  2265. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2266. {
  2267. addRedirector(
  2268. 'linksafe\\.me\/d\/\\w+',
  2269. "//a[contains(@href,'linksafe.me/d/')]",
  2270. redirectorTypes.HTTP_302,
  2271. null);
  2272. }
  2273. if (GM_getValue("Check_linkto_dot_net_links", false))
  2274. {
  2275. addRedirector(
  2276. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2277. "//a[contains(@href,'linkto.net/?')]",
  2278. redirectorTypes.INNER_LINK,
  2279. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2280. }
  2281. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2282. {
  2283. addRedirector(
  2284. '(?:the)?loo\\.katt\\.it\/\\w+',
  2285. "//a[contains(@href,'loo.katt.it/')]",
  2286. redirectorTypes.THELOO_KATT_IT,
  2287. /Proceed to URL - <a href="(.+?)">/);
  2288. }
  2289. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2290. {
  2291. addRedirector(
  2292. 'madlink\\.sk\/\\w+',
  2293. "//a[contains(@href,'madlink.sk/')]",
  2294. redirectorTypes.INNER_LINK,
  2295. /name="url" value="(.+?)\s*"\/>/);
  2296. }
  2297. if (GM_getValue("Check_adf_dot_ly_links", false))
  2298. {
  2299. addRedirector(
  2300. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2301. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2302. redirectorTypes.ADF_LY,
  2303. null);
  2304. }
  2305. if (GM_getValue("Check_redi_dot_re_links", false))
  2306. {
  2307. addRedirector(
  2308. 'redi\\.re\/\\w+',
  2309. "//a[contains(@href,'redi.re/')]",
  2310. redirectorTypes.HTTP_302,
  2311. null);
  2312. }
  2313. if (GM_getValue("Check_bit_dot_ly_links", false))
  2314. {
  2315. addRedirector(
  2316. 'bit\\.ly\/\\w+',
  2317. "//a[contains(@href,'bit.ly/')]",
  2318. redirectorTypes.HTTP_302,
  2319. null);
  2320. }
  2321. }
  2322.  
  2323. }
  2324.  
  2325. var bulkHosts = new Array();
  2326. var bulkHostNames = new Array();
  2327. function initBulkCheck()
  2328. {
  2329. /////////////////////////////
  2330. // Inits filehost object
  2331. /////////////////////////////
  2332. // params :
  2333. // hostName -- [string] host name (multiple domains separated with coma)
  2334. // linkRegex -- [string] link regex
  2335. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2336. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2337. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2338. // corrReplWhat -- [regex] link correction regex (replace)
  2339. // corrReplWith -- [string]
  2340. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2341. //
  2342. // apiUrl -- [string] web linkchecker or API URL
  2343. // postData -- [string] POSTDATA of xmlhttprequest
  2344. // resLinkRegex -- [regex]
  2345. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2346. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2347. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2348. // func -- [function] bulkcheck handler, genBulkCheck if null
  2349. //
  2350. //////////////////////////////
  2351. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2352. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2353. {
  2354. var fileHost = new Object();
  2355.  
  2356. fileHost.linkRegex = linkRegex;
  2357. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2358. fileHost.xpath = xpath;
  2359. fileHost.cFound = 0; //found links counter
  2360. fileHost.links = new Array(); //found links
  2361. if (blockSize == null)
  2362. {
  2363. fileHost.blockSize = 50;
  2364. }
  2365. else
  2366. {
  2367. fileHost.blockSize = blockSize;
  2368. }
  2369. fileHost.corrMatch = corrMatch;
  2370. fileHost.corrReplWhat = corrReplWhat;
  2371. fileHost.corrReplWith = corrReplWith;
  2372. if (splitSeparator == null)
  2373. {
  2374. fileHost.splitSeparator = "\r\n";
  2375. }
  2376. else
  2377. {
  2378. fileHost.splitSeparator = splitSeparator;
  2379. }
  2380. fileHost.apiUrl = apiUrl;
  2381. fileHost.postData = postData;
  2382. fileHost.resLinkRegex = resLinkRegex;
  2383. fileHost.resLiveRegex = resLiveRegex;
  2384. fileHost.resDeadRegex = resDeadRegex;
  2385. fileHost.resUnavaRegex = resUnavaRegex;
  2386. if (func == null)
  2387. {
  2388. fileHost.func = genBulkCheck;
  2389. }
  2390. else
  2391. {
  2392. fileHost.func = func;
  2393. }
  2394. bulkHosts.push(fileHost);
  2395. var names = hostName.split(',');
  2396. var i = names.length;
  2397. while(i--)
  2398. {
  2399. bulkHostNames[names[i]] = fileHost;
  2400. }
  2401. }
  2402. var genType1 = [
  2403. "rodfile.com", "downloadani.me", //"migahost.com",
  2404. "rarefile.net",
  2405. "filesabc.com",
  2406. // "verzend.be",
  2407. // "movreel.com",
  2408. "file4safe.com", "filemac.com",
  2409. "longfiles.com",
  2410. "bitupload.com", //"4up.me",
  2411. //"uploadbaz.com"
  2412. ];
  2413. var genType2 = [ "queenshare.com",
  2414. "hulkload.com",
  2415. "amonshare.com", //"edoc.com",
  2416. ];
  2417. //xfilesharing 1.0
  2418. function addGenericType1()
  2419. {
  2420. var i = genType1.length;
  2421. while(i--)
  2422. {
  2423. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2424. {
  2425. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2426. addHost(
  2427. genType1[i].match(/[\w-]+/)[0], //hostname
  2428. regexSafe + "\/\\w+", //linkregex
  2429. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2430. null, //blocksize
  2431. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2432. null, //corrreplwhat
  2433. null, //corrreplwith
  2434. null, //separator
  2435. "http://" + genType1[i] + "/checkfiles.html", //api url
  2436. "op=checkfiles&process=Check+URLs&list=", //postdata
  2437. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2438. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2439. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2440. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2441. null //function delegate
  2442. )
  2443. }
  2444. }
  2445. }
  2446. //xfilesharing 2.0
  2447. function addGenericType2()
  2448. {
  2449. var i = genType2.length;
  2450. while(i--)
  2451. {
  2452. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2453. {
  2454. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2455. addHost(
  2456. genType2[i].match(/[\w-]+/)[0], //hostname
  2457. regexSafe + "\/\\w+", //linkregex
  2458. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2459. null, //blocksize
  2460. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2461. null, //corrreplwhat
  2462. null, //corrreplwith
  2463. null, //separator
  2464. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2465. "op=checkfiles&process=Check+URLs&list=", //postdata
  2466. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2467. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2468. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2469. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2470. null //function delegate
  2471. )
  2472. }
  2473. }
  2474. }
  2475. // TEMPLATE
  2476. // if (GM_getValue("Check__dot_com_links", false))
  2477. // {
  2478. // addHost(
  2479. // "", //hostname
  2480. // "", //linkregex
  2481. // "//a[contains(@href,'.com/')]", //xpath
  2482. // null, //blocksize
  2483. // null, //corrmatch
  2484. // null, //corrreplwhat
  2485. // null, //corrreplwith
  2486. // null, //separator
  2487. // "", //api url
  2488. // "", //postdata
  2489. // /()/, //linkregex
  2490. // //liveregex
  2491. // //deadregex
  2492. // //unavaregex
  2493. // null //function delegate
  2494. // )
  2495. // }
  2496. addGenericType1();
  2497. addGenericType2();
  2498.  
  2499. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2500. {
  2501. addHost(
  2502. "myvdrive,fileserving", //hostname
  2503. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2504. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2505. null, //blocksize
  2506. null, //corrmatch
  2507. null, //corrreplwhat
  2508. null, //corrreplwith
  2509. null, //separator
  2510. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2511. "links=", //postdata
  2512. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2513. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2514. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2515. null, //unavaregex
  2516. null //function delegate
  2517. )
  2518. }
  2519. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2520. {
  2521. addHost(
  2522. "hackerbox", //hostname
  2523. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2524. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2525. null, //blocksize
  2526. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2527. null, //corrreplwhat
  2528. null, //corrreplwith
  2529. null, //separator
  2530. "http://host.hackerbox.org/checkfiles.html", //api url
  2531. "op=checkfiles&process=Check+URLs&list=", //postdata
  2532. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2533. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2534. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2535. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2536. null //function delegate
  2537. )
  2538. }
  2539. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2540. {
  2541. addHost(
  2542. "hellshare", //hostname
  2543. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2544. "//a[contains(@href,'hellshare.')]", //xpath
  2545. 48, //blocksize
  2546. null, //corrmatch
  2547. null, //corrreplwhat
  2548. null, //corrreplwith
  2549. null, //separator
  2550. null, //api url
  2551. null, //postdata
  2552. null, //linkregex
  2553. null, //liveregex
  2554. null, //deadregex
  2555. null, //unavaregex
  2556. hellshareBulkCheck //function delegate
  2557. )
  2558. }
  2559. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2560. {
  2561. addHost(
  2562. "uploadrocket", //hostname
  2563. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2564. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2565. null, //blocksize
  2566. null, //corrmatch
  2567. null, //corrreplwhat
  2568. null, //corrreplwith
  2569. "\n", //separator
  2570. 'http://uploadrocket.net/?op=checkfiles',
  2571. 'op=checkfiles&process=Check+URLs&list=',
  2572. /uploadrocket.net\/(\w+)/,
  2573. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2574. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2575. null,
  2576. null //function delegate
  2577. )
  2578. }
  2579. if (GM_getValue("Check_uploading_dot_site_links", false))
  2580. {
  2581. addHost(
  2582. "uploading", //hostname
  2583. "(?:uploading\\.site)\/\\w+", //linkregex
  2584. "//a[contains(@href,'uploading.site/')]", //xpath
  2585. null, //blocksize
  2586. null, //corrmatch
  2587. null, //corrreplwhat
  2588. null, //corrreplwith
  2589. "\n", //separator
  2590. 'http://uploading.site/?op=checkfiles',
  2591. 'op=checkfiles&process=Check+URLs&list=',
  2592. /uploading.site\/(\w+)/,
  2593. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2594. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2595. null,
  2596. null //function delegate
  2597. )
  2598. }
  2599. if (GM_getValue("Check_1f_dot_al_links", false))
  2600. {
  2601. addHost(
  2602. "1f",
  2603. "(?:1f\\.al)\/d\/\\w+",
  2604. "//a[contains(@href,'1f.al/d/')]",
  2605. 100000, //blocksize
  2606. null, //corrmatch
  2607. null, //corrreplwhat
  2608. null, //corrreplwith
  2609. null, //separator
  2610. null,
  2611. null,
  2612. null,
  2613. null,
  2614. null,
  2615. null,
  2616. _1falBulkCheck //function delegate
  2617. )
  2618. }
  2619. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2620. {
  2621. addHost(
  2622. "k2s,keep2s,keep2share",
  2623. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2624. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2625. 100000, //blocksize
  2626. null, //corrmatch
  2627. null, //corrreplwhat
  2628. null, //corrreplwith
  2629. null, //separator
  2630. null,
  2631. null,
  2632. null,
  2633. null,
  2634. null,
  2635. null,
  2636. k2sBulkCheck //function delegate
  2637. )
  2638. }
  2639. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2640. {
  2641. addHost(
  2642. "tezfiles",
  2643. "(?:tezfiles\\.com)\/\\w+",
  2644. "//a[contains(@href,'tezfiles.com')]",
  2645. 100000, //blocksize
  2646. null, //corrmatch
  2647. null, //corrreplwhat
  2648. null, //corrreplwith
  2649. null, //separator
  2650. null,
  2651. null,
  2652. null,
  2653. null,
  2654. null,
  2655. null,
  2656. k2sBulkCheck //function delegate
  2657. )
  2658. }
  2659. if (GM_getValue("Check_fboom_dot_me_links", false))
  2660. {
  2661. addHost(
  2662. "fboom,fileboom",
  2663. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2664. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2665. 100000, //blocksize
  2666. null, //corrmatch
  2667. null, //corrreplwhat
  2668. null, //corrreplwith
  2669. null, //separator
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. null,
  2675. null,
  2676. fboomBulkCheck //function delegate
  2677. )
  2678. }
  2679. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2680. {
  2681. addHost(
  2682. "1fichier,dl4free",
  2683. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2684. "//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/?')]",
  2685. 100000, //blocksize
  2686. null, //corrmatch
  2687. null, //corrreplwhat
  2688. null, //corrreplwith
  2689. null, //separator
  2690. null,
  2691. null,
  2692. null,
  2693. null,
  2694. null,
  2695. null,
  2696. dl4free_1fichier_BulkCheck //function delegate
  2697. )
  2698. }
  2699. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2700. {
  2701. addHost(
  2702. "nitroflare",
  2703. "nitroflare\\.com\/\\w+",
  2704. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2705. 100000, //blocksize
  2706. null, //corrmatch
  2707. null, //corrreplwhat
  2708. null, //corrreplwith
  2709. null, //separator
  2710. null,
  2711. null,
  2712. null,
  2713. null,
  2714. null,
  2715. null,
  2716. nitroflareBulkCheck //function delegate
  2717. )
  2718. }
  2719. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2720. {
  2721. addHost(
  2722. "depositfiles,dfiles",
  2723. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2724. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/de/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/')]",
  2725. 100000, //blocksize
  2726. null, //corrmatch
  2727. null, //corrreplwhat
  2728. null, //corrreplwith
  2729. null, //separator
  2730. null,
  2731. null,
  2732. null,
  2733. null,
  2734. null,
  2735. null,
  2736. depositfilesBulkCheck //function delegate
  2737. )
  2738. }
  2739. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2740. {
  2741. addHost(
  2742. "filesflash", //hostname
  2743. "filesflash\\.com\/\\w+", //linkregex
  2744. "//a[contains(@href,'filesflash.com')]", //xpath
  2745. null, //blocksize
  2746. null, //corrmatch
  2747. /http:\/\//, //corrreplwhat
  2748. '', //corrreplwith
  2749. null, //separator
  2750. 'http://filesflash.com/checklinks.php',
  2751. 'submit=Go&links=',
  2752. /filesflash\.com\/(\w+)/,
  2753. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2754. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2755. null,
  2756. null //function delegate
  2757. )
  2758. }
  2759. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2760. {
  2761. addHost(
  2762. "jumbofiles", //hostname
  2763. "jumbofiles\\.com\/\\w+", //linkregex
  2764. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2765. null, //blocksize
  2766. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2767. null, //corrreplwhat
  2768. null, //corrreplwith
  2769. null, //separator
  2770. "http://jumbofiles.com/checkfiles.html", //api url
  2771. "op=checkfiles&process=Check+URLs&list=", //postdata
  2772. /(jumbofiles\.com\/\w+)/, //linkregex
  2773. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2774. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2775. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2776. null //function delegate
  2777. )
  2778. }*/
  2779. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2780. {
  2781. addHost(
  2782. "edisk", //hostname
  2783. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2784. "//a[contains(@href,'edisk.')]", //xpath
  2785. null, //blocksize
  2786. null, //corrmatch
  2787. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2788. 'edisk.cz/stahni', //corrreplwith
  2789. null, //separator
  2790. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2791. 'submitBtn=Zkontrolovat&checkFiles=',
  2792. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2793. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2794. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2795. null,
  2796. null //function delegate
  2797. )
  2798. }
  2799. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2800. {
  2801. GM_xmlhttpRequest( //age check skip
  2802. {
  2803. method: 'POST',
  2804. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2805. headers: {
  2806. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2807. 'Content-type': 'application/x-www-form-urlencoded',
  2808. 'Referer': ""
  2809. }
  2810. });
  2811. addHost(
  2812. "bezvadata", //hostname
  2813. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2814. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2815. null, //blocksize
  2816. null, //corrmatch
  2817. null, //corrreplwhat
  2818. null, //corrreplwith
  2819. null, //separator
  2820. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2821. 'zkontrolovat=Zkontrolovat&odkazy=',
  2822. /(bezvadata\.cz\/stahnout\/\d+)/,
  2823. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2824. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2825. null,
  2826. null //function delegate
  2827. )
  2828. }
  2829. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2830. {
  2831. addHost(
  2832. "linkcrypt", //hostname
  2833. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2834. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2835. 100000, //blocksize
  2836. null, //corrmatch
  2837. null, //corrreplwhat
  2838. null, //corrreplwith
  2839. null, //separator
  2840. null,
  2841. null,
  2842. null,
  2843. null,
  2844. null,
  2845. null,
  2846. linkcryptBulkCheck //function delegate
  2847. )
  2848. }
  2849. if (GM_getValue("Check_videobb_dot_com_links", false))
  2850. {
  2851. addHost(
  2852. "videobb", //hostname
  2853. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2854. "//a[contains(@href,'videobb.com')]", //xpath
  2855. null, //blocksize
  2856. null, //corrmatch
  2857. /watch_video\.php\?v=/, //corrreplwhat
  2858. 'video/', //corrreplwith
  2859. null, //separator
  2860. 'http://www.videobb.com/link_checker.php',
  2861. 'links=',
  2862. /videobb\.com\/video\/(\w+)/,
  2863. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2864. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2865. null,
  2866. null //function delegate
  2867. )
  2868. }
  2869. if (GM_getValue("Check_filerio_dot_com_links", false))
  2870. {
  2871. addHost(
  2872. "filekeen,filerio", //hostname
  2873. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2874. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2875. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2876. null, //blocksize
  2877. null, //corrmatch
  2878. null, //corrreplwhat
  2879. null, //corrreplwith
  2880. null, //separator
  2881. 'http://filerio.in/checkfiles.html',
  2882. 'op=checkfiles&process=Check+URLs&list=',
  2883. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2884. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2885. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2886. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2887. null //function delegate
  2888. )
  2889. }
  2890. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2891. {
  2892. addHost(
  2893. "share-online,egoshare", //hostname
  2894. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2895. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2896. null, //blocksize
  2897. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2898. null, //corrreplwhat
  2899. null, //corrreplwith
  2900. "\n", //separator
  2901. 'http://api.share-online.biz/linkcheck.php',
  2902. 'links=',
  2903. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2904. /\w+;OK/g,
  2905. /\w+;(?:NOTFOUND|DELETED)/g,
  2906. null,
  2907. null //function delegate
  2908. )
  2909. }
  2910. if (GM_getValue("Check_oboom_dot_com_links", false))
  2911. {
  2912. addHost(
  2913. "oboom", //hostname
  2914. "oboom\\.com\/#?\\w{8}", //linkregex
  2915. "//a[contains(@href,'oboom.com/')]", //xpath
  2916. null, //blocksize
  2917. /oboom\.com\/#?(\w{8})/, //corrmatch
  2918. null, //corrreplwhat
  2919. null, //corrreplwith
  2920. null, //separator
  2921. null,
  2922. null,
  2923. null,
  2924. null, //liveregex
  2925. null, //deadregex
  2926. null,
  2927. oboomBulk //function delegate
  2928. )
  2929. }
  2930. if (GM_getValue("Check_mega_dot_nz_links", false))
  2931. {
  2932. addHost(
  2933. "mega",
  2934. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2935. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2936. 100000, //blocksize
  2937. null, //corrmatch
  2938. null, //corrreplwhat
  2939. null, //corrreplwith
  2940. null, //separator
  2941. null,
  2942. null,
  2943. null,
  2944. null,
  2945. null,
  2946. null,
  2947. megaBulkCheck //function delegate
  2948. )
  2949. }
  2950.  
  2951. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2952.  
  2953. if (GM_getValue("Check_extabit_dot_com_links", false))
  2954. {
  2955. addHost(
  2956. "extabit", //hostname
  2957. "extabit\\.com\/file\/\\w+", //linkregex
  2958. "//a[contains(@href,'extabit.com')]", //xpath
  2959. null, //blocksize
  2960. null, //corrmatch
  2961. null, //corrreplwhat
  2962. null, //corrreplwith
  2963. "\n", //separator
  2964. "http://extabit.com/linkchecker.jsp", //api url
  2965. "url=", //postdata
  2966. /extabit\.com\/(file\/\w+)/, //linkregex
  2967. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2968. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2969. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2970. extabitBulkCheck //function delegate
  2971. )
  2972. }
  2973. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2974. {
  2975. addHost(
  2976. "junocloud", //hostname
  2977. "junocloud\\.me\/\\w+", //linkregex
  2978. "//a[contains(@href,'junocloud.me')]", //xpath
  2979. null, //blocksize
  2980. null, //corrmatch
  2981. null, //corrreplwhat
  2982. null, //corrreplwith
  2983. "\n", //separator
  2984. "http://junocloud.me/checkfiles.html", //api url
  2985. "op=checkfiles&process=Check+URLs&list=", //postdata
  2986. /(junocloud\.me\/\w+)/, //linkregex
  2987. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2988. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2989. null, //unavaregex
  2990. null //function delegate
  2991. )
  2992. } */
  2993. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2994. {
  2995. addHost(
  2996. "webshare", //hostname
  2997. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2998. "//a[contains(@href,'webshare.cz')]", //xpath
  2999. 100000, //blocksize
  3000. null, //corrmatch
  3001. null, //corrreplwhat
  3002. null, //corrreplwith
  3003. null, //separator
  3004. null, //api url
  3005. null, //postdata
  3006. null, //linkregex
  3007. null, //liveregex
  3008. null, //deadregex
  3009. null, //unavaregex
  3010. webshareBulkCheck //function delegate
  3011. )
  3012. }
  3013. /////////////////////////////
  3014. // Common function delegate to send links to get checked by host linkchecker
  3015. /////////////////////////////
  3016. // If you define a new delegate, you may use following properties
  3017. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  3018. // this.apiUrl [string] API or web linkchecker URL
  3019. // this.postData [string] POSTDATA for POST request
  3020. // this.resLiveRegex [regex] matches live substrings in the request response
  3021. // this.resDeadRegex [regex] matches dead substrings in the request response
  3022. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  3023. //
  3024. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  3025. //
  3026. // See the code below for standard bulkcheck handling reference.
  3027. //////////////////////////////
  3028. function genBulkCheck()
  3029. {
  3030. var blockIdx = this.links.length;
  3031. while (blockIdx--)
  3032. {
  3033. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3034. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3035. }
  3036. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3037. {
  3038. GM_xmlhttpRequest(
  3039. {
  3040. method: 'POST',
  3041. url: api,
  3042. headers: {
  3043. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3044. 'Content-type': 'application/x-www-form-urlencoded',
  3045. 'Referer': api,
  3046. 'X-Requested-With': 'XMLHttpRequest'
  3047. },
  3048. data: postData + encodeURIComponent(links),
  3049. onload: function (result)
  3050. {
  3051. var res = result.responseText;
  3052. // GM_log(res);
  3053. var i;
  3054.  
  3055. var livelinks = res.match(liveRegex);
  3056. var deadlinks = res.match(deadRegex);
  3057. // GM_log(livelinks);
  3058. // GM_log(deadlinks);
  3059. if (livelinks != null)
  3060. {
  3061. i = livelinks.length - 1;
  3062. do
  3063. {
  3064. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3065. }
  3066. while (i--);
  3067. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3068. }
  3069.  
  3070. if (deadlinks != null)
  3071. {
  3072. i = deadlinks.length - 1;
  3073. do
  3074. {
  3075. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3076. }
  3077. while (i--);
  3078. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3079. }
  3080.  
  3081. if (unavaRegex != null)
  3082. {
  3083. var unavalinks = res.match(unavaRegex);
  3084. if (unavalinks)
  3085. {
  3086. i = unavalinks.length - 1;
  3087. do
  3088. {
  3089. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3090. }
  3091. while (i--);
  3092. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3093. }
  3094. }
  3095. }
  3096. });
  3097. }
  3098. }
  3099. //specialized bulkchecking handlers follow
  3100. function webshareBulkCheck()
  3101. {
  3102. var arr = this.links[0].split("\r\n");
  3103. var i = arr.length;
  3104. while(i--)
  3105. {
  3106. postRequest(arr[i]);
  3107. }
  3108. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3109. function postRequest(wsLink)
  3110. {
  3111. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3112. GM_xmlhttpRequest(
  3113. {
  3114. method: 'POST',
  3115. url: "http://webshare.cz/api/file_info/",
  3116. headers: {
  3117. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3118. 'Content-type': 'application/x-www-form-urlencoded',
  3119. 'Referer': "",
  3120. },
  3121. data: "wst=&ident=" + id,
  3122. onload: function (result)
  3123. {
  3124. var res = result.responseText;
  3125. if (res.match(/<name>.+?<\/name>/))
  3126. {
  3127. DisplayTheCheckedLinks([id], 'alive_link');
  3128. }
  3129. else
  3130. {
  3131. DisplayTheCheckedLinks([id], 'adead_link');
  3132. }
  3133. }
  3134. });
  3135. }
  3136. }
  3137. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3138. //extabit also doesn't like requests in fast succession, so some delays are added.
  3139. function extabitBulkCheck()
  3140. {
  3141. var timeoutDelay = 0;
  3142. var blockIdx = this.links.length;
  3143. while (blockIdx--)
  3144. {
  3145. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3146. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3147. }
  3148. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3149. {
  3150. GM_xmlhttpRequest(
  3151. {
  3152. method: 'POST',
  3153. url: api,
  3154. headers: {
  3155. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3156. 'Content-type': 'application/x-www-form-urlencoded',
  3157. 'Referer': api,
  3158. 'X-Requested-With': 'XMLHttpRequest'
  3159. },
  3160. data: postData + encodeURIComponent(links),
  3161. onload: function (result)
  3162. {
  3163. var res = result.responseText;
  3164. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3165. {
  3166. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3167. {
  3168. //GM_log(tryID + ': ' + link);
  3169. GM_xmlhttpRequest(
  3170. {
  3171. method: 'GET',
  3172. url: link,
  3173. 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': ""},
  3174. onload: function(result2)
  3175. {
  3176. var res2 = result2.responseText;
  3177. var res2Status = result.status;
  3178. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3179. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3180. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3181. {
  3182. if (tryID < 7)
  3183. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3184. else
  3185. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3186. }
  3187. }
  3188. });
  3189. }
  3190. //split the hrefs and check them one by one
  3191. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3192. links = links.split('\n');
  3193. var i = links.length;
  3194. while (i--)
  3195. {
  3196. if (links[i])
  3197. {
  3198. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3199. timeoutDelay += 500;
  3200. }
  3201. }
  3202. return;
  3203. }
  3204. var i;
  3205.  
  3206. var livelinks = res.match(liveRegex);
  3207. var deadlinks = res.match(deadRegex);
  3208. if (livelinks != null)
  3209. {
  3210. i = livelinks.length - 1;
  3211. do
  3212. {
  3213. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3214. }
  3215. while (i--);
  3216. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3217. }
  3218.  
  3219. if (deadlinks != null)
  3220. {
  3221. i = deadlinks.length - 1;
  3222. do
  3223. {
  3224. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3225. }
  3226. while (i--);
  3227. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3228. }
  3229.  
  3230. if (unavaRegex != null)
  3231. {
  3232. var unavalinks = res.match(unavaRegex);
  3233. if (unavalinks)
  3234. {
  3235. i = unavalinks.length - 1;
  3236. do
  3237. {
  3238. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3239. }
  3240. while (i--);
  3241. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3242. }
  3243. }
  3244. }
  3245. });
  3246. }
  3247. }
  3248. function _1falBulkCheck()
  3249. {
  3250. var arr = this.links[0].split("\r\n");
  3251. var i = arr.length;
  3252. c=0;
  3253. arrIDs=[];
  3254. while(i--)
  3255. {
  3256. id = arr[i].match(/\/d\/(\w+)/)[1];
  3257.  
  3258. _1falalreadyexist=false;
  3259. for (j=0;j<arrIDs.length;j++)
  3260. {
  3261. if (arrIDs[j]==id)
  3262. {
  3263. _1falalreadyexist=g
  3264. break;
  3265. }
  3266. }
  3267. if (_1falalreadyexist) continue;
  3268. arrIDs.push(id);
  3269. c++;
  3270. setTimeout(_1falRequest,c*500,arr[i]);
  3271. }
  3272. }
  3273. function _1falRequest(_1falLink)
  3274. {
  3275. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3276. GM_xmlhttpRequest(
  3277. {
  3278. method: 'GET',
  3279. url: _1falLink,
  3280. headers: {
  3281. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3282. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3283. 'Referer': 'http://www.planetsuzy.org/'
  3284. },
  3285. onload: function (result)
  3286. {
  3287. var res = result.responseText;
  3288. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3289. if (FAarr!=null)
  3290. {
  3291. FALink=FAarr[1];
  3292. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3293. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3294. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3295. GM_xmlhttpRequest(
  3296. {
  3297. method: 'POST',
  3298. url: FALink,
  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. 'Content-Type': 'application/x-www-form-urlencoded',
  3303. 'Referer': _1falLink
  3304. },
  3305. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3306. onload: function (_2ndresult)
  3307. {
  3308. var newres = _2ndresult.responseText;
  3309. FAalivelink=new RegExp("method_free");
  3310. if (FAalivelink.test(newres))
  3311. {
  3312. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3313. return;
  3314. }
  3315. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3316. if (FAdeadlink.test(newres))
  3317. {
  3318. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3319. return;
  3320. }
  3321. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3322. return;
  3323. }
  3324. });
  3325. return;
  3326. }
  3327. else
  3328. {
  3329. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3330. return;
  3331. }
  3332. },
  3333. onerror: function ()
  3334. {
  3335. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3336. return;
  3337. }
  3338. });
  3339. }
  3340. function k2sBulkCheck()
  3341. {
  3342. var arr = this.links[0].split("\r\n");
  3343. var i = arr.length;
  3344. c=0;
  3345. arrIDs=[];
  3346. while(i--)
  3347. {
  3348. id = arr[i].match(/\/file\/(\w+)/)[1];
  3349. if (id=='info')
  3350. {
  3351. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3352. continue;
  3353. }
  3354. k2salreadyexist=false;
  3355. for (j=0;j<arrIDs.length;j++)
  3356. {
  3357. if (arrIDs[j]==id)
  3358. {
  3359. k2salreadyexist=g
  3360. break;
  3361. }
  3362. }
  3363. if (k2salreadyexist) continue;
  3364. arrIDs.push(id);
  3365. c++;
  3366. setTimeout(k2sRequest,c*500,arr[i]);
  3367. }
  3368. }
  3369. function k2sRequest(K2SLink)
  3370. {
  3371. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3372. while (K2SLink.indexOf("?http")>-1)
  3373. {
  3374. K2SLink=K2SLink.substring(K2SLink.indexOf("?http")+1);
  3375. }
  3376. GM_xmlhttpRequest(
  3377. {
  3378. method: 'GET',
  3379. url: K2SLink,
  3380. headers: {
  3381. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3382. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3383. 'Referer': ''
  3384. },
  3385. onload: function (result)
  3386. {
  3387. var res = result.responseText;
  3388. K2Dom='k2s.cc';
  3389. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3390. K2SLink2='https://'+K2Dom+'/file/'+id;
  3391.  
  3392. 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'))
  3393. {
  3394. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3395. return;
  3396. }
  3397. if (res.match('method="post">Displaying'))
  3398. {
  3399. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3400. return;
  3401. }
  3402. if (res.match('Premium only|only for Premium members'))
  3403. {
  3404. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3405. return;
  3406. }
  3407. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3408. {
  3409. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3410. slID=slow_id.exec(res)[1];
  3411. GM_xmlhttpRequest(
  3412. {
  3413. method: 'POST',
  3414. url: K2SLink2,
  3415. headers: {
  3416. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3417. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3418. 'Content-Type': 'application/x-www-form-urlencoded',
  3419. 'Referer': K2SLink
  3420. },
  3421. data: 'slow_id='+slID+'&yt0=',
  3422. onload: function (result)
  3423. {
  3424. var newres = result.responseText;
  3425. newoversizedtest=new RegExp("Free user can't download large files.");
  3426. if (newoversizedtest.test(newres))
  3427. {
  3428. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3429. return;
  3430. }
  3431. else
  3432. {
  3433. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3434. return;
  3435. }
  3436. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3437. return;
  3438. }
  3439. });
  3440. /////////////////////end additional check for oversized links
  3441. return;
  3442. }
  3443. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3444. return;
  3445. },
  3446. onerror: function ()
  3447. {
  3448. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3449. return;
  3450. }
  3451. });
  3452. }
  3453. function fboomBulkCheck()
  3454. {
  3455. var arr = this.links[0].split("\r\n");
  3456. var i = arr.length;
  3457. c=0;
  3458. arrIDs=[];
  3459. while(i--)
  3460. {
  3461. id = arr[i].match(/\/file\/(\w+)/)[1];
  3462. if (id=='info')
  3463. {
  3464. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3465. continue;
  3466. }
  3467. fbalreadyexist=false;
  3468. for (j=0;j<arrIDs.length;j++)
  3469. {
  3470. if (arrIDs[j]==id)
  3471. {
  3472. fbalreadyexist=true;
  3473. break;
  3474. }
  3475. }
  3476. if (fbalreadyexist) continue;
  3477. arrIDs.push(id);
  3478. c++;
  3479. setTimeout(fboomRequest,c*500,arr[i]);
  3480. }
  3481. }
  3482. function fboomRequest(FBoomLink)
  3483. {
  3484. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3485. while (FBoomLink.indexOf("?http")>-1)
  3486. {
  3487. FBoomLink=FBoomLink.substring(FBoomLink.indexOf("?http")+1);
  3488. }
  3489. FBoomLink2='https://fboom.me/file/'+id;
  3490. GM_xmlhttpRequest(
  3491. {
  3492. method: 'GET',
  3493. url: FBoomLink,
  3494. headers: {
  3495. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3496. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3497. 'Referer': ''
  3498. },
  3499. onload: function (result)
  3500. {
  3501. var res = result.responseText;
  3502. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3503. {
  3504. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3505. return;
  3506. }
  3507. if (res.match('method="post">Displaying'))
  3508. {
  3509. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3510. return;
  3511. }
  3512. if (res.match('only for premium members'))
  3513. {
  3514. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3515. return;
  3516. }
  3517. if (res.match('id="download-free" href="#"'))
  3518. {
  3519. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3520. slID=slow_id.exec(res)[1];
  3521. GM_xmlhttpRequest(
  3522. {
  3523. method: 'POST',
  3524. url: FBoomLink2,
  3525. headers: {
  3526. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3527. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3528. 'Content-Type': 'application/x-www-form-urlencoded',
  3529. 'Referer': FBoomLink
  3530. },
  3531. data: 'slow_id='+slID,
  3532. onload: function (result)
  3533. {
  3534. var newres = result.responseText;
  3535. newoversizedtest=new RegExp("Downloading is not possible");
  3536. if (newoversizedtest.test(newres))
  3537. {
  3538. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3539. return;
  3540. }
  3541. else
  3542. {
  3543. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3544. return;
  3545. }
  3546. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3547. return;
  3548. }
  3549. });
  3550. /////////////////////end additional check for oversized links
  3551. return;
  3552. }
  3553. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3554. return;
  3555. },
  3556. onerror: function ()
  3557. {
  3558. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3559. return;
  3560. }
  3561. });
  3562. }
  3563. function dl4free_1fichier_BulkCheck()
  3564. {
  3565. var arr = this.links[0].split("\r\n");
  3566. var i = arr.length;
  3567. while(i--)
  3568. {
  3569. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3570. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3571. gethead_dl4free_1fichier(arr[i]);
  3572. }
  3573. }
  3574. function gethead_dl4free_1fichier(link)
  3575. {
  3576. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3577. GM_xmlhttpRequest(
  3578. {
  3579. method: 'HEAD',
  3580. url: link,
  3581. headers: {
  3582. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3583. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3584. 'Referer': ''
  3585. },
  3586. onload: function (result)
  3587. {
  3588. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3589. {
  3590. DisplayTheCheckedLinks([id], 'alive_link');
  3591. return;
  3592. }
  3593. else
  3594. {
  3595. getlink_dl4free_1fichier(link);
  3596. }
  3597. return;
  3598. },
  3599. onerror: function ()
  3600. {
  3601. DisplayTheCheckedLinks([id], 'unava_link');
  3602. }
  3603. });
  3604. }
  3605. function getlink_dl4free_1fichier(link)
  3606. {
  3607. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3608. GM_xmlhttpRequest(
  3609. {
  3610. method: 'GET',
  3611. url: link,
  3612. headers: {
  3613. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3614. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3615. 'Referer': ''
  3616. },
  3617. onload: function (result)
  3618. {
  3619. var res = result.responseText;
  3620. deadRegex=new RegExp('The requested file has been deleted|Select files to send|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');
  3621. if (deadRegex.test(res))
  3622. {
  3623. DisplayTheCheckedLinks([id], 'adead_link');
  3624. return;
  3625. }
  3626. premiumRegex=new RegExp('only for premium users');
  3627. if (premiumRegex.test(res))
  3628. {
  3629. DisplayTheCheckedLinks([id], 'prem_link');
  3630. return;
  3631. }
  3632. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|value="Access to download"|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3633. if (liveRegex.test(res))
  3634. {
  3635. DisplayTheCheckedLinks([id], 'alive_link');
  3636. return;
  3637. }
  3638. DisplayTheCheckedLinks([id], 'unava_link');
  3639. },
  3640. onerror: function ()
  3641. {
  3642. DisplayTheCheckedLinks([id], 'unava_link');
  3643. }
  3644. });
  3645. }
  3646. function nitroflareBulkCheck()
  3647. {
  3648. var arr = this.links[0].split("\r\n");
  3649. var i = arr.length;
  3650. while(i--)
  3651. {
  3652. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3653. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3654. NitroFlareRequest(arr[i]);
  3655. }
  3656. }
  3657. function NitroFlareRequest(NFLink)
  3658. {
  3659. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3660. GM_xmlhttpRequest(
  3661. {
  3662. method: "GET",
  3663. url: NFLink,
  3664. headers: {
  3665. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3666. 'Content-Type': 'application/x-www-form-urlencoded',
  3667. 'Referer': ""
  3668. },
  3669. onload: function (result)
  3670. {
  3671. var res = result.responseText;
  3672. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3673. {
  3674. DisplayTheCheckedLinks([NFID], 'adead_link');
  3675. return;
  3676. }
  3677. if (res.match('Report this file<\/a>|id="slow-download'))
  3678. {
  3679. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3680. sizearr=measureRegex.exec(res);
  3681. if (sizearr[2]=='GB')
  3682. {
  3683. if (parseFloat(sizearr[1])>1)
  3684. {
  3685. DisplayTheCheckedLinks([NFID], 'prem_link');
  3686. }
  3687. else
  3688. {
  3689. DisplayTheCheckedLinks([NFID], 'alive_link');
  3690. }
  3691. }
  3692. else
  3693. {
  3694. DisplayTheCheckedLinks([NFID], 'alive_link');
  3695. }
  3696. return;
  3697. }
  3698. DisplayTheCheckedLinks([NFID], 'unava_link');
  3699. }
  3700. });
  3701. }
  3702. function depositfilesBulkCheck()
  3703. {
  3704. var arr = this.links[0].split("\r\n");
  3705. var i = arr.length;
  3706. var seqno = Math.floor(Math.random()*1000000000);
  3707. while(i--)
  3708. {
  3709. DFpostRequest(arr[i]);
  3710. }
  3711. }
  3712. function DFpostRequest(DFLink)
  3713. {
  3714. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3715. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3716. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3717. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3718. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3719. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3720. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3721. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3722. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3723. GM_xmlhttpRequest(
  3724. {
  3725. method: "GET",
  3726. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3727. headers: {
  3728. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3729. 'Content-Type': 'application/x-www-form-urlencoded',
  3730. 'Referer': ""
  3731. },
  3732. onload: function (result)
  3733. {
  3734. var res = result.responseText;
  3735. if (res.match('(?:no_file|file_ban)'))
  3736. {
  3737. DisplayTheCheckedLinks([id], 'adead_link');
  3738. return;
  3739. }
  3740. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3741. {
  3742. DisplayTheCheckedLinks([id], 'alive_link');
  3743. return;
  3744. }
  3745. DisplayTheCheckedLinks([id], 'unava_link');
  3746. }
  3747. });
  3748. }
  3749.  
  3750. function megaBulkCheck()
  3751. {
  3752. var arr = this.links[0].split("\r\n");
  3753. var i = arr.length;
  3754. var seqno = Math.floor(Math.random()*1000000000);
  3755. while(i--)
  3756. {
  3757. postRequest(arr[i]);
  3758. }
  3759. function postRequest(megaLink)
  3760. {
  3761. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3762. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3763. if (id=='F')
  3764. {
  3765. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3766. DisplayTheCheckedLinks([id], 'unava_link');
  3767. }
  3768. else
  3769. GM_xmlhttpRequest(
  3770. {
  3771. method: "POST",
  3772. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3773. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3774. headers: {
  3775. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3776. 'Content-Type': 'application/xml',
  3777. 'Referer': "https://mega.co.nz/"
  3778. },
  3779. onload: function (result)
  3780. {
  3781. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3782. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3783. {
  3784.  
  3785. DisplayTheCheckedLinks([id], 'adead_link');
  3786. }
  3787. if (res.at)
  3788. {
  3789. DisplayTheCheckedLinks([id], 'alive_link');
  3790. }
  3791. if (res.e == "ETEMPUNAVAIL")
  3792. {
  3793. DisplayTheCheckedLinks([id], 'unava_link');
  3794. }
  3795. }
  3796. });
  3797. }
  3798.  
  3799. }
  3800.  
  3801. function oboomBulk() {
  3802. var a = [], b = [], c = [];
  3803. var array = this.links;
  3804.  
  3805. GM_xmlhttpRequest({
  3806. method: 'GET',
  3807. url: 'https://www.oboom.com/1/guestsession',
  3808. headers: {
  3809. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3810. 'Content-type': 'application/x-www-form-urlencoded',
  3811. 'Referer': 'https://www.oboom.com',
  3812. 'X-Requested-With': 'XMLHttpRequest'
  3813. },
  3814. onload: function(result) {
  3815. var blockIdx = array.length;
  3816. var token = JSON.parse(result.responseText)[1];
  3817. while (blockIdx--) {
  3818. startCheck(array[blockIdx].split('\r\n'), token);
  3819. }
  3820. }
  3821. });
  3822.  
  3823. function startCheck(links, token) {
  3824. GM_xmlhttpRequest({
  3825. method: 'POST',
  3826. url: "https://api.oboom.com/1/info",
  3827. headers: {
  3828. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3829. 'Content-type': 'application/x-www-form-urlencoded',
  3830. 'Referer': 'https://www.oboom.com/',
  3831. 'X-Requested-With': 'XMLHttpRequest'
  3832. },
  3833. data: "token=" + token + "&items=" + links.join(","),
  3834. onload: function(result) {
  3835. var res = JSON.parse(result.responseText)[1];
  3836. var i = res.length, s;
  3837.  
  3838. while (i--) {
  3839. s = res[i].state;
  3840. if (s == 'online') a.push(res[i].id);
  3841. 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);
  3842. else c.push(res[i].id);
  3843. }
  3844.  
  3845. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3846. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3847. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3848. }
  3849. });
  3850. }
  3851. }
  3852. function linkcryptBulkCheck()
  3853. {
  3854. var arr = this.links[0].split("\r\n");
  3855. var i = arr.length;
  3856. while(i--)
  3857. {
  3858. postRequest(arr[i]);
  3859. }
  3860. function postRequest(lcLink)
  3861. {
  3862. GM_xmlhttpRequest(
  3863. {
  3864. method: "GET",
  3865. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3866. headers: {
  3867. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3868. 'Accept': 'text/xml',
  3869. 'Referer': ""
  3870. },
  3871. onload: function (result)
  3872. {
  3873. var res = result.responseText;
  3874. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3875. {
  3876. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3877. return;
  3878. }
  3879. if (res.match(/folderStatus>1/)) //Online status
  3880. {
  3881. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3882. }
  3883. else
  3884. {
  3885. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3886. }
  3887. }
  3888. });
  3889. }
  3890. }
  3891.  
  3892. /* function megashareBulkCheck()
  3893. {
  3894. var arr = this.links[0].split("\r\n");
  3895. var i = arr.length;
  3896. while(i--)
  3897. {
  3898. postRequest(arr[i]);
  3899. }
  3900. function postRequest(msLink)
  3901. {
  3902. GM_xmlhttpRequest(
  3903. {
  3904. method: "GET",
  3905. url: msLink,
  3906. headers: {
  3907. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3908. 'Content-Type': 'application/x-www-form-urlencoded',
  3909. 'Referer': ""
  3910. },
  3911. onload: function (result)
  3912. {
  3913. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3914. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3915. if ((prZVal == null) || (btn3Name == null))
  3916. {
  3917. return;
  3918. }
  3919. GM_xmlhttpRequest(
  3920. {
  3921. method: "POST",
  3922. url: msLink,
  3923. headers: {
  3924. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3925. 'Content-Type': 'application/x-www-form-urlencoded',
  3926. 'Referer': ""
  3927. },
  3928. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3929. onload: function (result)
  3930. {
  3931. var res = result.responseText;
  3932. if (res.match(/<div id="err">/))
  3933. {
  3934. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3935. }
  3936. else
  3937. {
  3938. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3939. }
  3940. }
  3941. });
  3942. }
  3943. });
  3944. }
  3945. } */
  3946. function hellshareBulkCheck()
  3947. {
  3948. var links = this.links;
  3949. GM_xmlhttpRequest(
  3950. {
  3951. method: "GET",
  3952. url: 'http://www.hellshare.com',
  3953. headers: {
  3954. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3955. 'Accept': 'text/xml',
  3956. 'Referer': ""
  3957. },
  3958. onload: function (result)
  3959. {
  3960. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3961.  
  3962. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3963. if (domain == 'sk')
  3964. loc = 'check=Skontrolova%C5%A5&links=';
  3965. if (domain == 'com')
  3966. loc = 'check=Check+availability&links=';
  3967. if (domain == 'hu')
  3968. loc = 'check=Kontrol%C3%A1lj&links=';
  3969. if (domain == 'pl')
  3970. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3971.  
  3972. genBulkCheck.call({ links: links,
  3973. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3974. postData: loc,
  3975. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3976. 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,
  3977. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3978. resUnavaRegex: null
  3979. });
  3980. }
  3981. });
  3982. }
  3983. /**
  3984. * Displays check result
  3985. * @param {Array} Array of links or link fragments.
  3986. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3987. */
  3988. function DisplayTheCheckedLinks(links, resultStatus)
  3989. {
  3990. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3991. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3992. if (Do_not_linkify_DL_links)
  3993. { //TODO into separate jQuery function
  3994. $links.replaceWith(function(){
  3995. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3996. });
  3997. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3998. }
  3999. $links.removeClass().addClass(resultStatus);
  4000. $links.each(function() {
  4001. this.href = Ref_anonymize_service + $(this).attr("href");
  4002. });
  4003. switch(resultStatus)
  4004. {
  4005. case "alive_link": cLinksAlive += $links.length;
  4006. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  4007. break;
  4008. case "adead_link": cLinksDead += $links.length;
  4009. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4010. break;
  4011. case "prem_link": cLinksprem += $links.length;
  4012. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4013. break;
  4014. case "unava_link": cLinksUnava += $links.length; break;
  4015. default:
  4016. }
  4017. cLinksProcessed += $links.length;
  4018. }
  4019. }
  4020. // starts bulkchecking
  4021. //
  4022. // params
  4023. // filterId [string] restricts link detection with passed id attribute
  4024. function startBulkCheck(filterId)
  4025. {
  4026. var cHosts = bulkHosts.length;
  4027. if (cHosts == 0) //no filehostings selected
  4028. return;
  4029. // STEP 1 linkify the links
  4030. var linkifyRegex = '';
  4031. var hostIdx = cHosts;
  4032. while(hostIdx--)
  4033. {
  4034. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  4035. }
  4036. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  4037. linkify(linkifyRegex);
  4038. //
  4039. //STEP 2 detect link objects
  4040. var xpathAll = '';
  4041. var hostIdx = cHosts;
  4042. while(hostIdx--)
  4043. {
  4044. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4045. }
  4046. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4047. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4048. if (filterId != null) //insert id restriction in the xpath
  4049. {
  4050. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4051. }
  4052. else
  4053. {
  4054. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4055. }
  4056. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4057. if (filterId == null)
  4058. {
  4059. cLinksTotal += links.snapshotLength;
  4060. }
  4061. //
  4062. //STEP 3 bind links with hostings
  4063. var linkIdx = links.snapshotLength;
  4064. var href = null;
  4065. if (linkIdx == 0) // no links found
  4066. return;
  4067. var name;
  4068. while (linkIdx--)
  4069. {
  4070. href = links.snapshotItem(linkIdx).href;
  4071. try // DO NOT REMOVE, filters crap that went through xpath detection
  4072. {
  4073. name = gimmeHostName(href);
  4074. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4075. bulkHostNames[name].links.push(href);
  4076. }
  4077. catch(e)
  4078. {
  4079.  
  4080. }
  4081. }
  4082. //
  4083. //STEP 4 process the links for each filehosting
  4084. var hostIdx = cHosts;
  4085. var host;
  4086. var m,n;
  4087. var arr;
  4088. while (hostIdx--)
  4089. {
  4090. host = bulkHosts[hostIdx];
  4091. arr = host.links;
  4092. if (arr.length == 0) //no links for this hosting, skip
  4093. {
  4094. continue;
  4095. }
  4096. //links match corrections
  4097. if (host.corrMatch != null)
  4098. {
  4099. var idx = arr.length;
  4100. while (idx--)
  4101. {
  4102. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4103. }
  4104. }
  4105. //links replace corrections
  4106. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4107. {
  4108. var idx = arr.length;
  4109. while (idx--)
  4110. {
  4111. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4112. }
  4113. }
  4114. m = arr.length;
  4115. n = host.blockSize;
  4116. if (m > n)
  4117. {
  4118. //insert block separators (RAND_STRING) into the array
  4119. for(var i = n; i < m; i += n + 1)
  4120. {
  4121. arr.splice(i, 0, RAND_STRING);
  4122. }
  4123. }
  4124.  
  4125. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4126. apiUrl: host.apiUrl,
  4127. postData: host.postData,
  4128. resLinkRegex: host.resLinkRegex,
  4129. resLiveRegex: host.resLiveRegex,
  4130. resDeadRegex: host.resDeadRegex,
  4131. resUnavaRegex: host.resUnavaRegex
  4132. });
  4133. //clean up
  4134. arr.length = 0;
  4135. }
  4136. //
  4137.  
  4138. function gimmeHostName(link)
  4139. {
  4140. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4141. }
  4142. }
  4143. function checkLinks(filterId)
  4144. {
  4145. startBulkCheck(filterId);
  4146. start(filterId);
  4147. }
  4148.  
  4149. /**
  4150. * Initialises progress box including event binding and CSS
  4151. */
  4152. function initProgressBox()
  4153. {
  4154. if ($("#warlc-progressbox").length > 0)
  4155. return;
  4156. //progressbox css change size and color of progress box
  4157. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4158. "; opacity:" + (Progress_box_opacity / 100) +
  4159. "; bottom:" + Processbox_Pos_Y +
  4160. "%; left:" + Processbox_Pos_X +
  4161. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4162. \
  4163. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4164. \
  4165. .warlc-progressitem {}\
  4166. \
  4167. .alive {color:#00FF7F; " + Live_links_color +
  4168. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4169. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4170. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4171. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4172. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4173. //
  4174. if (Progressbox_Scaling != 100) {
  4175. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4176. progressboxCss = progressboxCss.replace(new RegExp(el + "(?!" + RAND_STRING + ")"), parseFloat(el) * Progressbox_Scaling/100 + "px" + RAND_STRING); //RAND_STRING to prevent the same value replaced twice
  4177. });
  4178. }
  4179. progressboxCss = progressboxCss.replace(new RegExp(RAND_STRING, "g"), "").replace("ToBeAddedLater", unava_link_png); //inserting the unava_link_png at the end because the function messes up its base64 string
  4180.  
  4181. GM_addStyle(progressboxCss);
  4182. $('body').append(' <div id="warlc-progressbox">\
  4183. <div class="warlc-progressbar"></div>\
  4184. <span class="warlc-progressitem alive"></span> - \
  4185. <span class="warlc-progressitem dead"></span> - \
  4186. <span class="warlc-progressitem unava"></span> - \
  4187. <span class="warlc-progressitem prem"></span> - \
  4188. <span class="warlc-progressitem processing"></span>\
  4189. </div>');
  4190. $('#warlc-progressbox').hide().click(function(){
  4191. clearInterval(intervalId);
  4192. $(this).hide();
  4193. return false;
  4194. });
  4195. $(".warlc-progressbar").progressbar({complete: function(){
  4196. $(this).fadeOut();
  4197. clearInterval(intervalId); //stop refreshing the stats
  4198. }
  4199. })
  4200. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4201. }
  4202. /**
  4203. * Updates progress data in progress box
  4204. */
  4205. function updateProgress()
  4206. {
  4207. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4208. if (cLinksTotal) // some links were detected on page
  4209. {
  4210. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4211. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4212. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4213. if ((cLinksTotal - cLinksProcessed) == 0)
  4214. {
  4215. $progressItems.first().text(cLinksAlive)
  4216. .next().text(cLinksDead)
  4217. .next().text(cLinksUnava)
  4218. .next().text(cLinksprem)
  4219. .next().remove();
  4220. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4221. $('#warlc-progressbox div:first-child').remove();
  4222. }
  4223. else
  4224. {
  4225. $progressItems.first().text(cLinksAlive)
  4226. .next().text(cLinksDead)
  4227. .next().text(cLinksUnava)
  4228. .next().text(cLinksprem)
  4229. .next().text(cLinksTotal - cLinksProcessed);
  4230. }
  4231. }
  4232. }
  4233.  
  4234. function check_all_links()
  4235. {
  4236. add_WARLC_style();
  4237.  
  4238. if (Show_progress_stats)
  4239. {
  4240. initProgressBox();
  4241. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4242. }
  4243.  
  4244. startBulkCheck(null);
  4245. start(null);
  4246.  
  4247. if (!containers_processed)
  4248. {
  4249. processContainers();
  4250. }
  4251. }
  4252.  
  4253. //Copies all found dead links to clipboard - right now for Scriptish only
  4254. function copy_dead_to_clipboard()
  4255. {
  4256. initClipBoardTools();
  4257.  
  4258. var deadlinksxpath = "//.[@class='adead_link']";
  4259.  
  4260. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4261. var foundlinkstext = '';
  4262.  
  4263. var foundlinkIdx = foundlinks.snapshotLength;
  4264.  
  4265. while(foundlinkIdx--)
  4266. {
  4267. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4268. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4269. }
  4270.  
  4271. GM_setClipboard(foundlinkstext);
  4272. }
  4273. //Copies all found live links to clipboard
  4274. function copy_live_to_clipboard()
  4275. {
  4276. initClipBoardTools();
  4277.  
  4278. var livelinksxpath = "//.[@class='alive_link']";
  4279.  
  4280. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4281. var foundlinks2text = '';
  4282.  
  4283. var foundlink2Idx = foundlinks2.snapshotLength;
  4284.  
  4285. while(foundlink2Idx--)
  4286. {
  4287. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4288. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4289. }
  4290.  
  4291. GM_setClipboard(foundlinks2text);
  4292. }
  4293.  
  4294. function toggle_autocheck()
  4295. {
  4296. var currentState = GM_getValue("Autocheck", false);
  4297. GM_setValue("Autocheck", !currentState);
  4298.  
  4299. if (currentState == true)
  4300. {
  4301. sendMessage('Autocheck disabled', 'red');
  4302. }
  4303. else
  4304. {
  4305. sendMessage('Autocheck enabled', 'SpringGreen');
  4306. }
  4307. }
  4308. function toggle_Enable_Anonymizer()
  4309. {
  4310. var currentState = GM_getValue("Enable_Anonymizer", false);
  4311. GM_setValue("Enable_Anonymizer", !currentState);
  4312.  
  4313. if (currentState == true)
  4314. {
  4315. GM_setValue("Ref_anonymize_service", "");
  4316. sendMessage('Anonymizer Disabled', 'red');
  4317. }
  4318. else
  4319. {
  4320. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4321. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4322. }
  4323. }
  4324.  
  4325. function KeyDownHandler(event)
  4326. {
  4327. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4328. if (event.ctrlKey && event.altKey)
  4329. {
  4330. switch(kcode)
  4331. {
  4332. case 65 : check_all_links(); break;
  4333. case 67 : configuration(); break;
  4334. case 68 : copy_dead_to_clipboard(); break;
  4335. case 76 : copy_live_to_clipboard(); break;
  4336. case 87 : toggle_autocheck(); break;
  4337. case 90 : toggle_Enable_Anonymizer(); break;
  4338. }
  4339. }
  4340. }
  4341.  
  4342. //
  4343. //
  4344. // SCRIPT EXECUTION START POINT
  4345. //
  4346. //
  4347. // Safari specific GM_getResourceText override
  4348. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4349. {
  4350. GM_getResourceText = function(res) {
  4351. var $cssText = GM_getValue("jquery_css", "");
  4352. if ($cssText == "")
  4353. {
  4354. GM_xmlhttpRequest(
  4355. {
  4356. method: 'GET',
  4357. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4358. onload: function (result)
  4359. {
  4360. GM_setValue("jquery_css", result.responseText);
  4361. window.location.reload();
  4362. }
  4363. });
  4364. }
  4365. else
  4366. {
  4367. return $cssText;
  4368. }
  4369. }
  4370. }
  4371. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4372. GM_addStyle(jQueryUICSS);
  4373. //init the stuff
  4374. setVariables();
  4375. initBulkCheck();
  4376. //init info boxes
  4377. messageBox.style.position = 'fixed';
  4378. messageBox.style.top = '20px';
  4379. messageBox.style.left = '10px';
  4380. messageBox.style.opacity = '0.85';
  4381. messageBox.style.background = 'DimGray';
  4382. messageBox.style.fontSize = '36px';
  4383. document.body.appendChild(messageBox);
  4384.  
  4385. //register GM menu commands & keyboard shortcut event handler
  4386. if (Keyboard_functions)
  4387. {
  4388. $(document).keydown(KeyDownHandler);
  4389. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4390. 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);
  4391. }
  4392. else
  4393. {
  4394. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4395. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4396. }
  4397.  
  4398. //start linkchecking
  4399. if (Autocheck)
  4400. {
  4401. $(document).ready(check_all_links);
  4402. }
  4403.  
  4404. //
  4405. //
  4406. // SCRIPT EXECUTION END POINT
  4407. //
  4408. //
  4409.  
  4410. //shows configuration box
  4411. function configuration()
  4412. {
  4413.  
  4414. //prevent multiple creating of config window
  4415. if ($("#hideshow").length)
  4416. {
  4417. $("#hideshow").show();
  4418. return;
  4419. }
  4420.  
  4421. var configcss = '\
  4422. .popup_block .popup fieldset{\
  4423. padding: 1%;\
  4424. border-style: solid;\
  4425. border-width: 1px;\
  4426. border-color: gray;\
  4427. margin-bottom: 1px;\
  4428. }\
  4429. #h3hideshowtitle{\
  4430. font-size: 2em;\
  4431. }\
  4432. #h3hideshow{\
  4433. font-size: 1.5em;\
  4434. }\
  4435. #imghideshow {\
  4436. border: none;\
  4437. }\
  4438. #plusimage{\
  4439. display:inline;\
  4440. }\
  4441. #hideshow {\
  4442. position: fixed;\
  4443. width: 100%;\
  4444. height: 100%;\
  4445. top: 0;\
  4446. left: 0;\
  4447. font-size:12px;\
  4448. z-index:2147483645;\
  4449. text-align:left;\
  4450. }\
  4451. #fade {\
  4452. background: #000;\
  4453. position: fixed;\
  4454. width: 100%;\
  4455. height: 100%;\
  4456. opacity: .80;\
  4457. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4458. left: 0;\
  4459. z-index: 10;\
  4460. }\
  4461. .popup_block {\
  4462. font-family:verdana;\
  4463. color:black;\
  4464. background: #ddd;\
  4465. padding: 10px 20px;\
  4466. border: 2px solid DarkOrange;\
  4467. float: left;\
  4468. width: 700px;\
  4469. position: absolute;\
  4470. top: 7%;\
  4471. left: 50%;\
  4472. bottom: 7%;\
  4473. margin: 0 0 0 -350px;\
  4474. -moz-border-radius:10px;\
  4475. z-index: 100;\
  4476. \
  4477. }\
  4478. .popup_block .popup {\
  4479. float: left;\
  4480. width: 100%;\
  4481. background: #fff;\
  4482. margin: 10px 0;\
  4483. padding: 0px 0 0px;\
  4484. border-left: 1px solid #bbb;\
  4485. border-top: 1px solid #bbb;\
  4486. border-right: 1px solid #bbb;\
  4487. }\
  4488. #h3hideshow{\
  4489. margin: 1px 0 0px;\
  4490. padding: 1px 10px;\
  4491. border-bottom: 1px solid #bbb;\
  4492. font-size: 1.5em;\
  4493. font-weight: normal;\
  4494. cursor:pointer;\
  4495. background:#DDDDDD none repeat scroll 0 0;\
  4496. }\
  4497. #h3hideshow:hover{\
  4498. background:#C0BEBE none repeat scroll 0 0;\
  4499. }\
  4500. #h3hideshowtitle{\
  4501. margin: 2px 0 0px;\
  4502. padding: 7px 10px;\
  4503. border-bottom: 1px solid #bbb;\
  4504. font-size: 1.5em;\
  4505. font-weight: normal;\
  4506. }\
  4507. .popup_block .popup a {\
  4508. color:DarkSkyBlue;\
  4509. text-decoration:none;\
  4510. }\
  4511. .popup p {\
  4512. padding: 1px 10px;\
  4513. margin: 0px 0;\
  4514. -x-system-font:none;\
  4515. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4516. font-size:10pt;\
  4517. font-size-adjust:none;\
  4518. font-stretch:normal;\
  4519. font-style:normal;\
  4520. font-variant:normal;\
  4521. font-weight:normal;\
  4522. line-height:normal;\
  4523. }\
  4524. #sites {\
  4525. padding: 1px 10px;\
  4526. margin: 0px 0;display:inline-block;width:16em;\
  4527. }\
  4528. #dev_ver {\
  4529. color: #00FF00;\
  4530. background: Black;\
  4531. text-align: right;\
  4532. }\
  4533. #sites_suspended {\
  4534. padding: 1px 10px;\
  4535. margin: 0px 0;display:inline-block;width:16em;\
  4536. text-decoration: line-through;\
  4537. }\
  4538. .popup img.cntrl {\
  4539. position: absolute;\
  4540. right: -15px;\
  4541. top: -15px;\
  4542. }\
  4543. #bulk {\
  4544. font-size:8pt;\
  4545. color:orange;\
  4546. padding: 1px 10px;\
  4547. margin: 0px 0;\
  4548. display:inline-block;\
  4549. width:100px;\
  4550. }\
  4551. #note {\
  4552. font-size:7pt;\
  4553. color:gray;\
  4554. padding: 1px 10px;\
  4555. margin: 0px 0;display:inline-block;\
  4556. min-width:100px;\
  4557. }\
  4558. #rednote {\
  4559. font-size:7pt;\
  4560. color:red;\
  4561. padding: 1px 10px;\
  4562. margin: 0px 0;display:inline-block;\
  4563. }\
  4564. #configinfo {\
  4565. font-size:8pt;\
  4566. color:gray;\
  4567. padding: 1px 10px;\
  4568. margin: 0px 0;display:inline-block;width:60em;\
  4569. }\
  4570. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4571. color:black;\
  4572. border-style: solid;\
  4573. border-width: 1px;\
  4574. border-color: gray;\
  4575. }\
  4576. #h3hideshowcontent {\
  4577. min-height:220px;\
  4578. max-height:220px;\
  4579. overflow:auto;\
  4580. display: none;\
  4581. padding: 10px 10px;\
  4582. }\
  4583. #specinfo{\
  4584. font-size:14px;\
  4585. }\
  4586. .warlc-ui-tab {\
  4587. height:300px;\
  4588. overflow:auto;\
  4589. }\
  4590. #warlcsitelist2, #warlcsitelist1 {\
  4591. height:220px;\
  4592. border-top: 1px solid #ddd;\
  4593. padding-top: 5px;\
  4594. overflow:auto;\
  4595. }\
  4596. input:hover+label {\
  4597. background:#F1F77C;\
  4598. font-size:110%;\
  4599. }\
  4600. ';
  4601.  
  4602. GM_addStyle(configcss);
  4603.  
  4604. var customRulesRefHTML =
  4605. '\
  4606. <br>\
  4607. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4608. <b>@keyword</b> <i>parameter</i>\
  4609. <br><br>\
  4610. 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. \
  4611. <br><br>\
  4612. 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.\
  4613. 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.\
  4614. 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.\
  4615. 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,\
  4616. but all commands until the next valid @customrule are ignored.<br><br>\
  4617. Available forms and types:\
  4618. <ul>\
  4619. <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.\
  4620. <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.\
  4621. <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.\
  4622. <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.\
  4623. </ul>\
  4624. Other available commands:<br>\
  4625. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4626. <ul>\
  4627. <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.\
  4628. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4629. <ul>examples:<br>\
  4630. <li>good: <i>filehost.com/download/</i><br>\
  4631. <li>good: <i>download.filehost.net/?d=</i><br>\
  4632. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4633. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4634. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4635. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4636. <li>bad: <i>filehost.com</i> - no slash<br>\
  4637. </ul>\
  4638. \
  4639. <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.\
  4640. 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 \
  4641. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4642. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4643. 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.)\
  4644. Two spaces again match any whitespace.\
  4645. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4646. Two spaces again match any whitespace.\
  4647. <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. \
  4648. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4649. </ul>\
  4650. \
  4651. ';
  4652.  
  4653. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4654. var configurationinnerHTML =
  4655. '<div id="fade"></div>\
  4656. <div class="popup_block">\
  4657. <div class="popup">\
  4658. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62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3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4660. <div id="warlc-conf-tabs">\
  4661. <ul>\
  4662. <li><a href="#tabs-1">Filehostings</a></li>\
  4663. <li><a href="#tabs-2">Containers</a></li>\
  4664. <li><a href="#tabs-5">Custom rules</a></li>\
  4665. <li><a href="#tabs-3">Settings</a></li>\
  4666. <li><a href="#tabs-4">About</a></li>\
  4667. </ul>\
  4668. <div id="tabs-1" class="warlc-ui-tab">\
  4669. <div class="warlc-ui-buttonset">\
  4670. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4671. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4672. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4673. </div><br>\
  4674. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4675. <div id="warlcsitelist1"><span>Empty</span></div>\
  4676. </div>\
  4677. <div id="tabs-2" class="warlc-ui-tab">\
  4678. <div class="warlc-ui-buttonset">\
  4679. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4680. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4681. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4682. </div><br>\
  4683. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4684. <div id="warlcsitelist2"><span>Empty</span></div>\
  4685. </div>\
  4686. <div id="tabs-5" class="warlc-ui-tab">\
  4687. <div class="warlcsettings">\
  4688. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4689. <br>\
  4690. <div>Edit custom rules: \
  4691. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4692. <div id="customRulesReference" style="display:none;">'
  4693. + customRulesRefHTML + '\
  4694. </div>\
  4695. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4696. </div>\
  4697. </div>\
  4698. </div>\
  4699. <div id="tabs-3" class="warlc-ui-tab">\
  4700. <div class="warlcsettings">\
  4701. <fieldset>\
  4702. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4703. <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>\
  4704. </fieldset>\
  4705. <fieldset>\
  4706. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4707. <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>\
  4708. <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>\
  4709. <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>\
  4710. <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>\
  4711. <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>\
  4712. <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>\
  4713. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4714. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4715. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4716. <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>\
  4717. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4718. <fieldset>\
  4719. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4720. <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>\
  4721. <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>\
  4722. <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>\
  4723. </fieldset>\
  4724. </fieldset>\
  4725. <fieldset>\
  4726. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4727. </fieldset>\
  4728. <fieldset>\
  4729. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4730. </fieldset>\
  4731. <fieldset>\
  4732. <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>\
  4733. </fieldset>\
  4734. <fieldset>\
  4735. <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>\
  4736. </fieldset>\
  4737. <fieldset>\
  4738. <legend>Progress box settings</legend>\
  4739. <p>Horizontal positioning of the progressbox: <input type="text" id="Processbox_Pos_X"><br><div id="configinfo">Note: Define this value in percentages starting from the left of the screen.</div></p>\
  4740. <p>Vertical positioning of the progressbox: <input type="text" id="Processbox_Pos_Y"><br><div id="configinfo">Note: Define this value in percentages starting from the bottom of the screen.</div></p>\
  4741. <p>Scaling of the progressbox: <input type="text" id="Progressbox_Scaling"><br><div id="configinfo">Resizes the progressbox. Define this value in percentages. 100% = full size, 200% = double size, 0% = Off</div></p>\
  4742. </fieldset>\
  4743. </div>\
  4744. </div>\
  4745. <div id="tabs-4" class="warlc-ui-tab">\
  4746. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4747. <br />\
  4748. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4749. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4750. <br />\
  4751. <p><b>Currently supported:</b><br>\
  4752. Filehostings: ' + allHostNames.length + '<br />\
  4753. Containers: ' + allContainerNames.length + '<br />\
  4754. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4755. <br />\
  4756. <p><b>Based on:</b><br>\
  4757. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4758. <br />\
  4759. <p><b>Uses:</b></p>\
  4760. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4761. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4762. <br />\
  4763. <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>\
  4764. </div>\
  4765. </div>\
  4766. </div>\
  4767. </div>';
  4768. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4769. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4770. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4771. var elmHostList = document.getElementById("warlcsitelist1");
  4772. var elmContainerList = document.getElementById("warlcsitelist2");
  4773. buildSettings();
  4774. buildSitelist("", allHostNames, elmHostList);
  4775. buildSitelist("", allContainerNames, elmContainerList);
  4776. if (DEBUG_MODE)
  4777. {
  4778. //log all sites availability status
  4779. diagSites();
  4780. }
  4781. //handler for checkbox state change
  4782. function changeConfiguration(e)
  4783. {
  4784. var element = e.target;
  4785.  
  4786. if (element.type == 'checkbox')
  4787. {
  4788. if (element.checked == 1)
  4789. {
  4790. GM_setValue(element.id, true);
  4791. }
  4792. else
  4793. {
  4794. GM_setValue(element.id, false);
  4795. }
  4796.  
  4797. }
  4798. setVariables();
  4799. }
  4800.  
  4801. //Selects all filehosting checkboxes
  4802. function selectAll()
  4803. {
  4804. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4805. .each(function(index, element){GM_setValue(this.id, true)});
  4806. }
  4807.  
  4808. //Deselects all filehosting checkboxes
  4809. function selectNone()
  4810. {
  4811. $(":checkbox:visible:checked").prop("checked",false)
  4812. .each(function(index, element){GM_setValue(this.id, false)});
  4813. }
  4814. //Sets Processbox position setting
  4815. function changeProgBox(event) {
  4816. var setting;
  4817. switch(event.data.set) {
  4818. case "X": setting = "Processbox_Pos_X"; break;
  4819. case "Y": setting = "Processbox_Pos_Y"; break;
  4820. case "Scale": setting = "Progressbox_Scaling"; break;
  4821. }
  4822. var $setting = $("#" + setting);
  4823. var newSet = $setting.val().replace("%", "");
  4824. GM_setValue(setting, newSet);
  4825. }
  4826. //Sets value of Processbox position
  4827. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4828. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4829. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4830.  
  4831. //Inverts filehosting checkboxes selection
  4832. function selectInvert()
  4833. {
  4834. var $checked = $(":checkbox:visible:checked");
  4835. var $unchecked = $(":checkbox:visible:not(:checked)");
  4836. $unchecked.prop("checked",true)
  4837. .each(function(index, element){GM_setValue(this.id, true)});
  4838. $checked.prop("checked",false)
  4839. .each(function(index, element){GM_setValue(this.id, false)});
  4840. }
  4841. //toggles anonymizer on off
  4842. function Enable_Anonymizer()
  4843. {
  4844. var $checked = $(":checkbox:visible:checked");
  4845. var $unchecked = $(":checkbox:visible:not(:checked)");
  4846. $unchecked.prop("checked",true)
  4847. .each(function(index, element){GM_setValue(this.id, true)});
  4848. $checked.prop("checked",false)
  4849. .each(function(index, element){GM_setValue(this.id, false)});
  4850. }
  4851.  
  4852. function changeRefAnonymizer(){
  4853. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4854. }
  4855.  
  4856. //Sets live links color
  4857. function changeColorLive()
  4858. {
  4859. var inColorLive = document.getElementById("inputColorLive");
  4860. inColorLive.style.background = inColorLive.value;
  4861. GM_setValue("Live_links_color", inColorLive.value);
  4862. }
  4863.  
  4864. //Sets dead links color
  4865. function changeColorDead()
  4866. {
  4867. var inColorDead = document.getElementById("inputColorDead");
  4868. inColorDead.style.background = inColorDead.value;
  4869. GM_setValue("Dead_links_color", inColorDead.value);
  4870. }
  4871.  
  4872. //Sets temp. unavailable links color
  4873. function changeColorTemp()
  4874. {
  4875. var inColorTemp = document.getElementById("inputColorTemp");
  4876. inColorTemp.style.background = inColorTemp.value;
  4877. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4878. }
  4879.  
  4880. //Sets temp. unavailable links color
  4881. function changeColorCont()
  4882. {
  4883. var inColorCont = document.getElementById("inputColorCont");
  4884. inColorCont.style.background = inColorCont.value;
  4885. GM_setValue("Container_links_color", inColorCont.value);
  4886. }
  4887. //Sets premium. links color
  4888. function changeColorprem()
  4889. {
  4890. var inColorprem = document.getElementById("inputColorprem");
  4891. inColorprem.style.background = inColorprem.value;
  4892. GM_setValue("Premium_links_color", inColorprem.value);
  4893. }
  4894.  
  4895. //Diagnose sites for availability
  4896. function diagSites()
  4897. {
  4898. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4899.  
  4900. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4901. {
  4902. if (boxes[i].type == "checkbox")
  4903. {
  4904. checkAvailability(boxes[i]);
  4905. }
  4906. }
  4907.  
  4908. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4909.  
  4910. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4911. {
  4912. if (boxes[i].type == "checkbox")
  4913. {
  4914. checkAvailability(boxes[i]);
  4915. }
  4916. }
  4917.  
  4918. function checkAvailability(cbElm)
  4919. {
  4920. var cb = cbElm;
  4921. GM_xmlhttpRequest(
  4922. {
  4923. method: 'HEAD',
  4924. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4925. headers: {
  4926. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4927. 'Accept': 'text/xml',
  4928. 'Referer': ""
  4929. },
  4930. onload: function (result)
  4931. {
  4932. if (result.status != 200)
  4933. {
  4934. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4935. }
  4936. },
  4937. onerror: function (result)
  4938. {
  4939. if (result.status != 200)
  4940. {
  4941. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4942. //Sets Progress_box position setting
  4943. function changeProgBox(event) {
  4944. var setting;
  4945. switch(event.data.set) {
  4946. case "X": setting = "Progress_box_Pos_X"; break;
  4947. case "Y": setting = "Progress_box_Pos_Y"; break;
  4948. case "Scale": setting = "Progress_box_Scaling"; break;
  4949. }
  4950.  
  4951. var $setting = $("#" + setting);
  4952. var newSet = $setting.val().replace("%", "");
  4953. lsSetVal("general", setting, newSet);
  4954. }
  4955.  
  4956. //Sets value of Progress_box position
  4957. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4958. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4959. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4960. }
  4961. }
  4962. });
  4963. }
  4964. }
  4965. function buildSettings()
  4966. {
  4967. $(".warlcsettings :checkbox").each(function(){
  4968. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4969. .click(function(e){
  4970. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4971. setVariables();
  4972. });
  4973. })
  4974. }
  4975. //Dynamic build of host list
  4976. //param search [string] searches for hostnames matching search substring
  4977. //param siteNames [array] array of site names
  4978. //param targetNode [DOM Node] where the list should be built
  4979. // first child node is replaced
  4980. function buildSitelist(search, siteNames, targetNode)
  4981. {
  4982. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4983. var $targetNode = $(targetNode).empty();
  4984. var searchedSite = "";
  4985. $.each(siteNames, function(i, site){
  4986. if (searchedSite = site.match(searchRegex))
  4987. {
  4988. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4989. //ensuring backward compatibility with the rest of code, to be refactored later
  4990. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4991. //
  4992. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4993. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4994. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4995. );
  4996. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4997. .change(changeConfiguration);
  4998. $targetNode.append('<br />');
  4999. }
  5000. });
  5001. $targetNode.append("<hr>");
  5002. //obsolete hosts checkbox
  5003. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  5004. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  5005. .change(changeConfiguration);
  5006. $targetNode.append('<br />');
  5007. var foundName = "";
  5008. $.each(allObsoleteNames, function(i, site){
  5009. if (foundName = allObsoleteNames[i].match(searchRegex))
  5010. {
  5011. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  5012. }
  5013. })
  5014. }
  5015. var hostSearchBox = document.getElementById("hostSearchBox");
  5016. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  5017. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  5018. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  5019. $(".warlc-ui-select-all").click(selectAll).button();
  5020. $(".warlc-ui-select-none").click(selectNone).button();
  5021. $(".warlc-ui-select-invert").click(selectInvert).button();
  5022. $(".warlc-ui-buttonset").buttonset();
  5023. var inColorLive = document.getElementById("inputColorLive");
  5024. inColorLive.addEventListener('keyup', changeColorLive, false);
  5025.  
  5026. var inColorDead = document.getElementById("inputColorDead");
  5027. inColorDead.addEventListener('keyup', changeColorDead, false);
  5028.  
  5029. var inColorTemp = document.getElementById("inputColorTemp");
  5030. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  5031.  
  5032. var inColorCont = document.getElementById("inputColorCont");
  5033. inColorCont.addEventListener('keyup', changeColorCont, false);
  5034. var inColorprem = document.getElementById("inputColorprem");
  5035. inColorprem.addEventListener('keyup', changeColorprem, false);
  5036. $("#refAnonymizer").change(changeRefAnonymizer);
  5037. //buttons and edit boxes init end
  5038.  
  5039. //icon sets radio buttons
  5040. var radioButtons = document.getElementsByName("warlciconset");
  5041. radioButtons[Icon_set].checked = "checked";
  5042.  
  5043. radioButtons[0].addEventListener("change", updateIconSet);
  5044. radioButtons[1].addEventListener("change", updateIconSet);
  5045. radioButtons[2].addEventListener("change", updateIconSet);
  5046. radioButtons[3].addEventListener("change", updateIconSet);
  5047. function updateIconSet()
  5048. {
  5049. GM_setValue("Icon_set", this.value * 1);
  5050. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5051. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5052. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5053. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5054. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5055.  
  5056. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5057. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5058.  
  5059. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5060. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5061. }
  5062. //
  5063. $('#showCustomRulesReference').click(function(e){
  5064. e.preventDefault();
  5065. $('#customRulesReference').toggle();
  5066. });
  5067. $('#Custom_rules_text')
  5068. .val(Custom_rules_text)
  5069. .change(saveCustomRules);
  5070. function saveCustomRules(e)
  5071. {
  5072. var cr = parseCustomRules(this.value);
  5073. if (cr.info.length)
  5074. 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, ' '));
  5075. GM_setValue('Custom_rules_text', this.value);
  5076. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5077. }
  5078. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5079. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5080. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5081. }
  5082.  
  5083. //begin standard link checking algorithm
  5084. function start(filterId)
  5085. {
  5086. var doNotLinkify = Do_not_linkify_DL_links;
  5087.  
  5088. // USER SELECTED FILE HOSTS INITIALIZATION START
  5089. var http_file_hosts = new Array(); //standard hostings
  5090. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5091. var http_file_hosts_obsolete = new Array(); //dead hostings
  5092. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5093.  
  5094. initFileHosts();
  5095. initFileHostsHeadersOnly();
  5096. initFileHostsCustom(); //CustomRules
  5097. // USER SELECTED FILE HOSTS INITIALIZATION END
  5098.  
  5099. // LINKIFICATION START
  5100. var totalxpath = '';
  5101. var totalxpathcoded = '';
  5102. var totalxpathobsolete = '';
  5103. var totalxpathheadersonly = '';
  5104. var totalourls = '';
  5105.  
  5106. var filehostLen = http_file_hosts.length;
  5107. var filehostCodedLen = http_file_hosts_coded.length;
  5108. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5109. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5110.  
  5111. var filehostIdx = filehostLen;
  5112. var filehostCodedIdx = filehostCodedLen;
  5113. var filehostObsoleteIdx = filehostObsoleteLen;
  5114. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5115.  
  5116. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5117. return;
  5118.  
  5119. while (filehostIdx--)
  5120. {
  5121. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5122. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5123. }
  5124.  
  5125. while (filehostCodedIdx--)
  5126. {
  5127. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5128. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5129. }
  5130.  
  5131. while (filehostObsoleteIdx--)
  5132. {
  5133. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5134. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5135. }
  5136.  
  5137. while (filehostHeadersOnlyIdx--)
  5138. {
  5139. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5140. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5141. }
  5142.  
  5143. totalourls = totalourls.replace(/\|$/g, "");
  5144. //TODO: further refactoring needed
  5145. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5146. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5147. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5148. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5149. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5150. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5151. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5152. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5153. if (filterId != null) //insert id restriction in the xpath
  5154. {
  5155. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5156. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5157. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5158. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5159. }
  5160. else
  5161. {
  5162. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5163. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5164. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5165. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5166. }
  5167. linkify(totalourls);
  5168. //LINKIFICATION END
  5169. //ENCRYPTED LINKS PROCESSING START
  5170. if (http_file_hosts_coded.length > 0)
  5171. {
  5172. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5173.  
  5174. // decrypt coded links (redirects, link protectors etc.)
  5175. if (linksCoded.snapshotLength > 0)
  5176. {
  5177. var link;
  5178. var reallinkreg;
  5179. var reallinkcorrection;
  5180.  
  5181. if (filterId == null)
  5182. {
  5183. cLinksTotal += linksCoded.snapshotLength;
  5184. }
  5185.  
  5186. var y = linksCoded.snapshotLength - 1;
  5187. do
  5188. {
  5189. // linksCoded.snapshotItem(y).id = 'processing_link';
  5190. link = linksCoded.snapshotItem(y);
  5191. filehostIdx = filehostCodedLen;
  5192. while (filehostIdx--)
  5193. {
  5194. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5195. {
  5196. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5197. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5198. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5199.  
  5200. decurl(link, reallinkreg, reallinkcorrection);
  5201. break;
  5202. }
  5203. }
  5204. }
  5205. while (y--);
  5206. }
  5207. }
  5208. //ENCRYPTED LINKS PROCESSING END
  5209.  
  5210. //STANDARD LINKCHECKING START
  5211. if (http_file_hosts.length > 0)
  5212. {
  5213. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5214.  
  5215. if (filterId == null)
  5216. {
  5217. cLinksTotal += lianks.snapshotLength;
  5218. }
  5219.  
  5220. if (lianks.snapshotLength > 0)
  5221. {
  5222. var link;
  5223.  
  5224. var URL = "";
  5225. var name = "";
  5226. var isAliveRegex = "";
  5227. var isDeadRegex = "";
  5228. var isUnavaRegex = "";
  5229. var ispremRegex = "";
  5230. var tryLoop = false;
  5231.  
  5232. var y = lianks.snapshotLength;
  5233.  
  5234. while (y--)
  5235. {
  5236. link = lianks.snapshotItem(y);
  5237. while (link.href.indexOf('anonym.to/?')>-1)
  5238. {
  5239. link.href=link.href.substring(link.href.indexOf('anonym.to/?')+11);
  5240. }
  5241. while (link.href.indexOf('anonym.to?')>-1)
  5242. {
  5243. link.href=link.href.substring(link.href.indexOf('anonym.to?')+10);
  5244. }
  5245.  
  5246. filehostIdx = filehostLen;
  5247. while (filehostIdx--)
  5248. {
  5249. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5250. {
  5251. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5252. isAliveRegex = http_file_hosts[filehostIdx][1];
  5253. isDeadRegex = http_file_hosts[filehostIdx][2];
  5254. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5255. ispremRegex = http_file_hosts[filehostIdx][6];
  5256. tryLoop = http_file_hosts[filehostIdx][5];
  5257.  
  5258. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5259.  
  5260. break;
  5261. }
  5262. }
  5263. }
  5264. }
  5265. }
  5266. //STANDARD LINKCHECKING END
  5267. //OBSOLETE FILE HOSTS PROCESSING START
  5268. if (filehostObsoleteLen > 0)
  5269. {
  5270. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5271.  
  5272. var obsoleteLink;
  5273.  
  5274. //check links
  5275. if (obsoletelinks.snapshotLength > 0)
  5276. {
  5277. var y = obsoletelinks.snapshotLength;
  5278.  
  5279. if (filterId == null)
  5280. {
  5281. cLinksTotal += y;
  5282. }
  5283.  
  5284. while (y--)
  5285. {
  5286. obsoleteLink = obsoletelinks.snapshotItem(y);
  5287.  
  5288. if (Display_tooltip_info)
  5289. {
  5290. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5291. }
  5292. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5293. }
  5294. }
  5295. }
  5296. //OBSOLETE FILE HOSTS PROCESSING END
  5297.  
  5298. //DIRECT LINKCHECKING START
  5299. if (http_file_hosts_headers_only.length > 0)
  5300. {
  5301. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5302.  
  5303. //check links
  5304. if (links.snapshotLength > 0)
  5305. {
  5306. var link;
  5307. var isAliveRegex;
  5308. var isDeadRegex;
  5309. var ispremRegex;
  5310.  
  5311. var y = links.snapshotLength;
  5312.  
  5313.  
  5314. if (filterId == null)
  5315. {
  5316. cLinksTotal += y;
  5317. }
  5318.  
  5319. while (y--)
  5320. {
  5321. // links.snapshotItem(y).id = 'processing_link';
  5322. link = links.snapshotItem(y);
  5323. filehostIdx = filehostHeadersOnlyLen;
  5324. while (filehostIdx--)
  5325. {
  5326. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5327. {
  5328. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5329. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5330. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5331. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5332.  
  5333. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5334.  
  5335. break;
  5336. }
  5337. }
  5338. }
  5339.  
  5340. }
  5341. }
  5342. //DIRECT LINKCHECKING END
  5343.  
  5344.  
  5345. //finds the real url on the page, replaces link.href with it and calls geturl
  5346. function decurl(link, reallinkreg, reallinkcorrection)
  5347. {
  5348.  
  5349. GM_xmlhttpRequest(
  5350. {
  5351. method: 'GET',
  5352. url: link.href,
  5353. headers: {
  5354. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5355. 'Accept': 'text/xml',
  5356. 'Referer': ""
  5357. },
  5358. onload: function (result)
  5359. {
  5360. // cLinksProcessed++;
  5361.  
  5362. var reallink = result.responseText.match(reallinkreg)[0];
  5363. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5364.  
  5365. link.href = reallink;
  5366.  
  5367. var i = http_file_hosts.length - 1;
  5368. do
  5369. {
  5370. if ((reallink.match(http_file_hosts[i][0])))
  5371. {
  5372. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5373. var isAliveRegex = http_file_hosts[i][1];
  5374. var isDeadRegex = http_file_hosts[i][2];
  5375. var isUnavaRegex = http_file_hosts[i][3];
  5376. var ispremRegex = http_file_hosts[i][4];
  5377.  
  5378. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5379.  
  5380. break;
  5381. }
  5382. }
  5383. while (i--);
  5384. }
  5385. });
  5386. }
  5387.  
  5388. function randUA()
  5389. {
  5390. //TODO
  5391. }
  5392. //Processes link
  5393. //
  5394. // [string] link link URL
  5395. // [string] isAliveRegex alive link regex
  5396. // [string] isDeadRegex dead link regex
  5397. // [string] isUnavaRegex unavailable link regex
  5398. // [string] ispremRegex premium link regex
  5399. // [boolean] tryLoop repeats request until succeeded
  5400. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5401. {
  5402. GM_xmlhttpRequest(
  5403. {
  5404. method: 'GET',
  5405. url: link.href,
  5406. headers: {
  5407. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5408. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5409. 'Referer': ""
  5410. },
  5411. onload: function (result)
  5412. {
  5413. var res = result.responseText;
  5414. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5415. {
  5416. displayTheCheckedLink(link, 'alive_link');
  5417. return;
  5418. }
  5419.  
  5420. if (res.match(isAliveRegex))
  5421. {
  5422. displayTheCheckedLink(link, 'alive_link');
  5423. return;
  5424. }
  5425.  
  5426. if (res.match(isDeadRegex))
  5427. {
  5428. displayTheCheckedLink(link, 'adead_link');
  5429. return;
  5430. }
  5431.  
  5432. if (isUnavaRegex && res.match(isUnavaRegex))
  5433. {
  5434. displayTheCheckedLink(link, 'unava_link');
  5435. return;
  5436. }
  5437. if (res.match(ispremRegex))
  5438. {
  5439. displayTheCheckedLink(link, 'prem_link');
  5440. return;
  5441. }
  5442.  
  5443. var resStatus = result.status;
  5444.  
  5445. if (resStatus == 404)
  5446. {
  5447. displayTheCheckedLink(link, 'adead_link');
  5448. }
  5449. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5450. {
  5451. if (tryLoop)
  5452. {
  5453. //wait 1-5 seconds and repeat the request
  5454. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5455. }
  5456. else
  5457. {
  5458. displayTheCheckedLink(link, 'unava_link');
  5459. }
  5460.  
  5461. return;
  5462. }
  5463. },
  5464. onerror: function ()
  5465. {
  5466. displayTheCheckedLink(link, 'unava_link');
  5467. }
  5468. });
  5469. }
  5470.  
  5471. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5472. {
  5473. GM_xmlhttpRequest(
  5474. {
  5475. method: 'HEAD',
  5476. url: link.href,
  5477. headers: {
  5478. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5479. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5480. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5481. 'Referer': ""
  5482. },
  5483. onload: function (result)
  5484. {
  5485. var resStatus = result.status;
  5486. var resHeaders = "";
  5487. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5488. {
  5489. displayTheCheckedLink(link, 'adead_link');
  5490. return;
  5491. }
  5492.  
  5493. resHeaders = result.responseHeaders;
  5494.  
  5495. if (resHeaders.match(isDeadRegex))
  5496. {
  5497. displayTheCheckedLink(link, 'adead_link');
  5498. return;
  5499. }
  5500.  
  5501. if (resHeaders.match(isAliveRegex))
  5502. {
  5503. displayTheCheckedLink(link, 'alive_link');
  5504. return;
  5505. }
  5506. if (resHeaders.match(ispremRegex))
  5507. {
  5508. displayTheCheckedLink(link, 'prem_link');
  5509. return;
  5510. }
  5511. },
  5512. onerror: function ()
  5513. {
  5514. displayTheCheckedLink(link, 'unava_link');
  5515. }
  5516. });
  5517. }
  5518.  
  5519. //Delinkfifies the <a> element object
  5520. function delinkifyLink(link)
  5521. {
  5522. var spanElm = document.createElement("span");
  5523. spanElm.className = link.className;
  5524. spanElm.innerHTML = link.innerHTML;
  5525.  
  5526. if (Display_tooltip_info)
  5527. {
  5528. spanElm.href = link.href;
  5529. spanElm.warlc_error = link.warlc_error;
  5530. switch (link.className){
  5531. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5532. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5533. case "unava_link": //reserved
  5534. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5535. default:
  5536. }
  5537. }
  5538. link.parentNode.replaceChild(spanElm, link);
  5539. }
  5540.  
  5541. //Assigns result status to the <a> element object and calls delinkifying eventually
  5542. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5543. function displayTheCheckedLink(link, resultStatus)
  5544. {
  5545. link.className = resultStatus;
  5546. link.href = Ref_anonymize_service + link.href;
  5547. if (Display_tooltip_info)
  5548. {
  5549. switch (resultStatus){
  5550. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5551. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5552. case "unava_link": //reserved
  5553. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5554. default:
  5555. }
  5556. }
  5557. if (doNotLinkify)
  5558. {
  5559. delinkifyLink(link);
  5560. }
  5561. cLinksProcessed++;
  5562.  
  5563. if (resultStatus == "alive_link")
  5564. {
  5565. cLinksAlive++;
  5566. return;
  5567. }
  5568.  
  5569. if (resultStatus == "adead_link")
  5570. {
  5571. cLinksDead++;
  5572. return;
  5573. }
  5574.  
  5575. if (resultStatus == "unava_link")
  5576. {
  5577. cLinksUnava++;
  5578. }
  5579. if (resultStatus == "prem_link")
  5580. {
  5581. cLinksprem++;
  5582. return;
  5583. }
  5584. }
  5585.  
  5586.  
  5587. function initFileHosts()
  5588. {
  5589.  
  5590. function addObsoleteHost(linkRegex, xpathEx)
  5591. {
  5592. var host = new Array(2);
  5593. host[0] = linkRegex;
  5594. host[1] = xpathEx;
  5595. http_file_hosts_obsolete.push(host);
  5596. }
  5597.  
  5598. //obsolete file hosts init start
  5599. if (Obsolete_file_hosts)
  5600. {
  5601. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5602. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5603. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5604. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5605. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5606. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5607. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5608. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5609. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5610. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5611. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5612. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5613. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5614. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5615. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5616. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5617. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5618. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5619. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5620. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5621. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5622. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5623. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5624. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5625. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5626. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5627. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5628. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5629. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5630. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5631. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5632. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5633. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5634. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5635. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5636. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5637. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5638. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5639. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5640. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5641. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5642. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5643. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5644. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5645. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5646. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5647. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5648. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5649. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5650. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5651. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5652. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5653. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5654. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5655. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5656. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5657. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5658. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5659. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5660. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5661. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5662. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5663. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5664. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5665. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5666. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5667. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5668. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5669. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5670. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5671. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5672. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5673. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5674. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5675. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5676. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5677. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5678. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5679. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5680. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5681. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5682. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5683. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5684. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5685. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5686. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5687. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5688. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5689. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5690. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5691. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5692. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5693. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5694. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5695. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5696. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5697. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5698. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5699. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5700. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5701. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5702. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5703. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5704. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5705. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5706. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5707. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5708. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5709. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5710. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5711. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5712. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5713. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5714. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5715. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5716. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5717. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5718. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5719. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5720. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5721. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5722. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5723. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5724. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5725. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5726. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5727. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5728. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5729. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5730. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5731. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5732. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5733. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5734. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5735. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5736. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5737. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5738. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5739. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5740. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5741. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5742. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5743. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5744. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5745. 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')]");
  5746. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5747. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5748. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5749. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5750. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5751. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5752. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5753. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5754. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5755. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5756. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5757. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5758. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5759. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5760. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5761. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5762. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5763. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5764. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5765. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5766. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5767. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5768. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5769. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5770. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5771. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5772. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5773. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5774. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5775. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5776. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5777. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5778. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5779. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5780. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5781. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5782. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5783. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5784. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5785. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5786. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5787. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5788. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5789. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5790. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5791. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5792. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5793. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5794. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5795. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5796. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5797. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5798. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5799. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5800. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5801. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5802. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5803. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5804. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5805. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5806. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5807. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5808. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5809. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5810. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5811. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5812. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5813. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5814. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5815. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5816. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5817. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5818. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5819. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5820. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5821. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5822. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5823. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5824. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5825. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5826. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5827. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5828. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5829. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5830. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5831. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5832. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5833. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5834. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5835. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5836. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5837. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5838. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5839. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5840. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5841. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5842. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5843. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5844. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5845. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5846. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5847. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5848. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5849. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5850. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5851. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5852. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5853. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5854. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5855. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5856. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5857. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5858. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5859. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5860. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5861. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5862. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5863. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5864. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5865. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5866. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5867. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5868. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5869. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5870. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5871. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5872. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5873. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5874. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5875. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5876. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5877. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5878. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5879. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5880. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5881. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5882. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5883. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5884. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5885. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5886. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5887. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5888. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5889. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5890. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5891. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5892. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5893. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5894. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5895. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5896. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5897. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5898. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5899. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5900. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5901. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5902. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5903. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5904. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5905. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5906. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5907. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5908. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5909. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5910. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5911. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5912. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5913. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5914. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5915. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5916. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5917. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5918. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5919. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5920. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5921. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5922. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5923. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5924. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5925. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5926. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5927. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5928. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5929. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5930. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5931. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5932. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5933. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5934. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5935. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5936. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5937. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5938. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5939. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5940. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5941. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5942. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5943. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5944. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5945. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5946. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5947. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5948. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5949. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5950. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5951. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5952. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5953. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5954. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5955. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5956. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5957. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5958. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5959. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5960. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5961. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5962. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5963. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5964. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5965. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5966. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5967. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5968. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5969. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5970. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5971. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5972. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5973. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5974. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5975. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5976. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5977. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5978. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5979. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5980. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5981. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5982. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5983. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5984. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5985. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5986. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5987. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5988. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5989. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5990. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5991. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5992. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5993. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5994. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5995. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5996. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5997. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5998. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5999. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  6000. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  6001. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  6002. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  6003. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  6004. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  6005. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  6006. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  6007. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  6008. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  6009. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  6010. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  6011. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  6012. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  6013. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  6014. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  6015. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  6016. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  6017. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  6018. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  6019. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  6020. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  6021. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  6022. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  6023. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  6024. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  6025. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  6026. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  6027. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  6028. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  6029. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  6030. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  6031. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  6032. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  6033. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  6034. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  6035. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  6036. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  6037. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  6038. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  6039. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  6040. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  6041. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  6042. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  6043. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  6044. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  6045. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  6046. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6047. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6048. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6049. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6050. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6051. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6052. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6053. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6054. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6055. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6056. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6057. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6058. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6059. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6060. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6061. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6062. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6063. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6064. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6065. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6066. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6067. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6068. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6069. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6070. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6071. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6072. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6073. addObsoleteHost("fp\\.io\/\\w+","//a[contains(@href,'fp.io/')]");
  6074. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6075. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6076. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6077. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6078. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6079. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6080. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6081. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6082. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6083. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6084. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6085. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6086. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6087. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6088. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6089. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6090. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6091. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6092. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6093. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6094. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6095. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6096. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6097. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6098. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6099. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6100. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6101. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6102. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6103. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6104. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6105. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6106. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6107. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6108. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6109. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6110. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6111. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6112. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6113. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6114. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6115. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6116. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6117. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6118. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6119. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6120. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6121. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6122. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6123. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6124. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6125. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6126. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6127. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6128. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6129. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6130. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6131. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6132. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6133. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6134. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6135. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6136. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6137. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6138. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6139. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6140. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6141. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6142. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6143. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6144. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6145. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6146. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6147. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6148. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6149. addObsoleteHost("uplea\\.com\/\\w+","//a[contains(@href,'uplea.com/')]");
  6150. addObsoleteHost("vodlocker\\.com\/\\w+","//a[contains(@href,'vodlocker.com/')]");
  6151. addObsoleteHost("rockfile\\.eu\/\\w+","//a[contains(@href,'rockfile.eu/')]");
  6152. addObsoleteHost("uploadable\\.ch\/\\w+","//a[contains(@href,'uploadable.ch/')]");
  6153. addObsoleteHost("datoteke\\.com\/\\w+","//a[contains(@href,'datoteke.com/')]");
  6154. addObsoleteHost("uploadrocket\\.net\/\\w+","//a[contains(@href,'uploadrocket.net/')]");
  6155.  
  6156. // obsolete start start2
  6157. }
  6158. //obsolete file hosts init end
  6159. //Add Host Example
  6160. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6161. {
  6162. addFileHost(
  6163. "datafile\.com\/\\w+",
  6164. 'var captchaPanel|<link href="/css/files_download.css"',
  6165. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6166. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6167. '<style type="text/css">',
  6168. "//a[contains(@href,'datafile.com')]",
  6169. true);
  6170. } */
  6171.  
  6172. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6173. {
  6174. var host = new Array(7);
  6175. host[0] = linkRegex;
  6176. host[1] = isAliveRegex;
  6177. host[2] = isDeadRegex;
  6178. host[3] = isUnavaRegex;
  6179. host[6] = ispremRegex;
  6180. host[4] = xpathEx;
  6181. tryLoop ? host[5] = true : host[5] = false;
  6182. http_file_hosts.push(host);
  6183. }
  6184. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6185. {
  6186. addFileHost(
  6187. "megafileupload\.com\/..\/file\/",
  6188. 'downloadbtn',
  6189. 'is not found',
  6190. 'optional--',
  6191. 'optional2--',
  6192. "//a[contains(@href,'megafileupload.com')]");
  6193. }
  6194. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6195. {
  6196. addFileHost(
  6197. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6198. 'download\\.gif"',
  6199. 'p_point">',
  6200. 'optional--',
  6201. 'optional2--',
  6202. "//a[contains(@href,'demo.ovh.eu')]");
  6203. }*/
  6204. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6205. {
  6206. addFileHost(
  6207. "safelinking\\.net\/p\/\\w+",
  6208. 'color:green;"',
  6209. 'color:(?:red|orange);"',
  6210. 'color:(?:grey|brown);"',
  6211. 'optional2--',
  6212. "//a[contains(@href,'safelinking.net/p/')]",
  6213. true);
  6214. }
  6215. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6216. {
  6217. addFileHost(
  6218. "fastshare\\.cz\/\\d+\/\\w*",
  6219. 'dwntable">|speed-low',
  6220. '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',
  6221. 'optional--',
  6222. 'optional2--',
  6223. "//a[contains(@href,'fastshare.cz')]");
  6224. }
  6225. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6226. {
  6227. addFileHost(
  6228. "[fF]ast[sS]hare\\.org\/download",
  6229. 'Download ">',
  6230. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6234. }
  6235. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6236. {
  6237. addFileHost(
  6238. "rapidgator\\.net\/file\/\\w+",
  6239. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|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|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6240. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6241. 'optional--',
  6242. 'can be downloaded by premium only|<div id="table_header" class="table_header">|la taille maximale des fichiers téléchargeables est de 1 GB|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|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|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6243. "//a[contains(@href,'rapidgator.net/file')]",
  6244. true
  6245. );
  6246. }
  6247. if (GM_getValue("Check_rg_dot_to_links", false))
  6248. {
  6249. addFileHost(
  6250. "rg\.to\/\\w+",
  6251. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|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|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6252. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6253. 'optional--',
  6254. 'can be downloaded by premium only|Denne fil kan kun downloades af Premium-brugere|la taille maximale des fichiers téléchargeables est de 1 GB|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito|<div id="table_header" class="table_header">|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|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|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6255. "//a[contains(@href,'rg.to')]");
  6256. }
  6257. if (GM_getValue("Check_relink_dot_us_links", false))
  6258. {
  6259. addFileHost(
  6260. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6261. 'online_detail\\.png" alt="Status',
  6262. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6263. 'unknown_detail\\.png" alt="Status',
  6264. 'optional2--',
  6265. "//a[contains(@href,'relink.us/')]"
  6266. );
  6267. }
  6268. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6269. {
  6270. addFileHost(
  6271. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6272. 'div id="dl"',
  6273. 'Sie haben den Link falsch',
  6274. 'optional--',
  6275. 'optional2--',
  6276. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6277. );
  6278. }
  6279. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6280. {
  6281. addFileHost(
  6282. "flyfiles\\.net\/\\w+",
  6283. 'download_button"|"Download file"',
  6284. 'File not found!|Файл не найден',
  6285. 'optional--',
  6286. 'optional2--',
  6287. "//a[contains(@href,'flyfiles.net/')]"
  6288. );
  6289. }
  6290. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6291. {
  6292. addFileHost(
  6293. "wikiupload\\.com\/\\w+",
  6294. 'download-button">',
  6295. 'Sorry, File not found',
  6296. 'optional--',
  6297. 'optional2--',
  6298. "//a[contains(@href,'wikiupload.com/')]"
  6299. );
  6300. }
  6301. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6302. {
  6303. addFileHost(
  6304. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6305. 'file\\.php">|Pobierz Plik',
  6306. 'Podany plik nie zosta',
  6307. 'optional--',
  6308. 'optional2--',
  6309. "//a[contains(@href,'hostuje.net/file')]"
  6310. );
  6311. }
  6312. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6313. {
  6314. addFileHost(
  6315. "gettyfile\\.ru\/\\d+",
  6316. 'download\\.gif border',
  6317. '<center><font size="3">',
  6318. 'optional--',
  6319. 'optional2--',
  6320. "//a[contains(@href,'gettyfile.ru/')]"
  6321. );
  6322. }
  6323. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6324. {
  6325. addFileHost(
  6326. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6327. 'download\\-file">',
  6328. 'col-1">\\s*<h1>',
  6329. 'optional--',
  6330. 'optional2--',
  6331. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6332. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6333. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6334. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_data_dot_hu_links", false))
  6338. {
  6339. addFileHost(
  6340. "data\\.hu",
  6341. 'download_box_button|Lassú letöltés',
  6342. 'missing\\.php|Az adott fájl nem létezik',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'data.hu')]",
  6346. true
  6347. );
  6348. }
  6349. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6350. {
  6351. addFileHost(
  6352. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6353. 'premiumBtn"',
  6354. 'errorMessage"',
  6355. 'optional--',
  6356. 'optional2--',
  6357. "//a[contains(@href,'indowebster.com/download')]"
  6358. );
  6359. }
  6360. if (GM_getValue("Check_superload_dot_cz_links", false))
  6361. {
  6362. addFileHost(
  6363. "superload\\.cz\/dl\/\\w+",
  6364. 'icon-download">',
  6365. 'soubor nebyl nalezen',
  6366. 'optional--',
  6367. 'optional2--',
  6368. "//a[contains(@href,'superload.cz/dl')]"
  6369. );
  6370. }
  6371. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6372. {
  6373. addFileHost(
  6374. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6375. 'op" value="download',
  6376. 'class="err">|width:500px;text-align:left;">',
  6377. 'optional--',
  6378. 'optional2--',
  6379. "//a[contains(@href,'hulkfile.')]"
  6380. );
  6381. }
  6382. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6383. {
  6384. addFileHost(
  6385. "easybytez\\.com\/\\w+",
  6386. 'op" value="download',
  6387. 'stop_error\\.gif',
  6388. 'optional--',
  6389. 'optional2--',
  6390. "//a[contains(@href,'easybytez.com/')]"
  6391. );
  6392. }
  6393. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6394. {
  6395. addFileHost(
  6396. "filestore\\.com\\.ua\/\\?d=\\w+",
  6397. 'tdrow1>',
  6398. 'class=warn',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6402. );
  6403. }
  6404. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6405. {
  6406. addFileHost(
  6407. "openfile\\.ru\/(?:video\/|)\\d+",
  6408. 'videobox_left">',
  6409. 'blog_title">|not found on this server',
  6410. 'optional--',
  6411. 'optional2--',
  6412. "//a[contains(@href,'openfile.ru/')]"
  6413. );
  6414. }*/
  6415. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6416. {
  6417. addFileHost(
  6418. "extmatrix\\.com\/files\/\\w+",
  6419. 'div class="success"',
  6420. 'div class="error"',
  6421. 'optional--',
  6422. 'optional2--',
  6423. "//a[contains(@href,'extmatrix.com/files')]"
  6424. );
  6425. }
  6426. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6427. {
  6428. addFileHost(
  6429. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6430. 'content_lnkDownload',
  6431. 'error\\.aspx\\?',
  6432. 'optional--',
  6433. 'optional2--',
  6434. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6435. );
  6436. }
  6437. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6438. {
  6439. addFileHost(
  6440. "yourfilestore\\.com\/download\/\\d+\/",
  6441. 'download_data">',
  6442. 'may have been deleted|<h1>Sorry!<\/h1>',
  6443. 'optional--',
  6444. 'optional2--',
  6445. "//a[contains(@href,'yourfilestore.com/download')]"
  6446. );
  6447. }
  6448. if (GM_getValue("Check_filebig_dot_net_links", false))
  6449. {
  6450. addFileHost(
  6451. "filebig\\.net\/files\/\\w+",
  6452. 'downloadFile">',
  6453. '<p>File not found<\/p>',
  6454. 'optional--',
  6455. 'optional2--',
  6456. "//a[contains(@href,'filebig.net/files')]"
  6457. );
  6458. }
  6459. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6460. {
  6461. addFileHost(
  6462. "files\\.filefront\\.com\/\/;\\d+;;",
  6463. 'downloadLink">',
  6464. 'File not found, you',
  6465. 'optional--',
  6466. 'optional2--',
  6467. "//a[contains(@href,'files.filefront.com')]"
  6468. );
  6469.  
  6470. addFileHost(
  6471. "gamefront\\.com\/files\/\\d+",
  6472. 'downloadLink">',
  6473. 'File not found, you',
  6474. 'optional--',
  6475. 'optional2--',
  6476. "//a[contains(@href,'gamefront.com/files')]"
  6477. );
  6478. }
  6479. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6480. {
  6481. addFileHost(
  6482. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6483. 'dnlLnk"',
  6484. 'already been deleted',
  6485. 'optional--',
  6486. 'optional2--',
  6487. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6488. );
  6489. }
  6490. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6491. {
  6492. addFileHost(
  6493. "hellupload\\.com\/\\w+",
  6494. '<h3>Download File<br',
  6495. 'id="podstrona">|AVOID_IE_BUG',
  6496. 'optional--',
  6497. 'optional2--',
  6498. "//a[contains(@href,'hellupload.com/')]"
  6499. );
  6500. }
  6501. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6502. {
  6503. addFileHost(
  6504. "free\\-uploading\\.com\/\\w+",
  6505. 'op" value="download',
  6506. 'class="err">|width:500px;text-align:left;">',
  6507. 'optional--',
  6508. 'optional2--',
  6509. "//a[contains(@href,'free-uploading.com/')]"
  6510. );
  6511. }
  6512. if (GM_getValue("Check_fileape_dot_com_links", false))
  6513. {
  6514. addFileHost(
  6515. "fileape\\.com\/download\\-",
  6516. 'button_dl\\.png',
  6517. 'does not exist\\.',
  6518. 'optional--',
  6519. 'optional2--',
  6520. "//a[contains(@href,'fileape.com/')]"
  6521. );
  6522. }
  6523. if (GM_getValue("Check_uppit_dot_com_links", false))
  6524. {
  6525. addFileHost(
  6526. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6527. 'op" value="download',
  6528. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6529. 'optional--',
  6530. 'optional2--',
  6531. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6532. true
  6533. );
  6534. }
  6535. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6536. {
  6537. addFileHost(
  6538. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6539. 'op" value="download',
  6540. '>File Not Found<',
  6541. 'optional--',
  6542. 'optional2--',
  6543. "//a[contains(@href,'nosupload.com')]",
  6544. true
  6545. );
  6546. }
  6547. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6548. {
  6549. addFileHost(
  6550. "filesin\\.com\/\\w+\/download\\.html",
  6551. 'download_area">',
  6552. 'error_note">',
  6553. 'optional--',
  6554. 'optional2--',
  6555. "//a[contains(@href,'filesin.com/')]",
  6556. true
  6557. );
  6558. }*/
  6559. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6560. {
  6561. addFileHost(
  6562. "nowdownload\\.ch\/dl\/\\w+",
  6563. 'alert-success"',
  6564. 'This file does not exist!',
  6565. 'The file is being transfered',
  6566. 'optional2--',
  6567. "//a[contains(@href,'nowdownload.ch/dl')]"
  6568. );
  6569. }*/
  6570. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6571. {
  6572. addFileHost(
  6573. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6574. 'Dbutton_big"',
  6575. 'download\\-error\\.php',
  6576. 'optional--',
  6577. 'optional2--',
  6578. "//a[contains(@href,'axifile.com/')]"
  6579. );
  6580. }*/
  6581. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6582. {
  6583. addFileHost(
  6584. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6585. 'col-1">\\s*<s',
  6586. 'col-1">\\s*<h',
  6587. 'optional--',
  6588. 'optional2--',
  6589. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6590. );
  6591. }
  6592. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6593. {
  6594. addFileHost(
  6595. "turbobit\\.(?:net|pl)",
  6596. 'id="download-gate-info|id="file-list',
  6597. 'afterWait()|no files in this folder',
  6598. 'optional--',
  6599. 'optional2--',
  6600. "//a[contains(@href,'turbobit.net')]"
  6601. );
  6602. }
  6603. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6604. {
  6605. addFileHost(
  6606. "hitfile\\.net\/download\/folder\/\\d+",
  6607. 'content">\\s*<s',
  6608. 'content">\\s*<h',
  6609. 'optional--',
  6610. 'optional2--',
  6611. "//a[contains(@href,'hitfile.net/download/folder')]"
  6612. );
  6613. }
  6614. if (GM_getValue("Check_movshare_dot_net_links", false))
  6615. {
  6616. addFileHost(
  6617. "movshare\\.net\\/video\\/\\w+",
  6618. 'optional--"',
  6619. 'no longer exists',
  6620. 'optional--',
  6621. 'optional2--',
  6622. "//a[contains(@href,'movshare.net/video')]"
  6623. );
  6624. }
  6625. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6626. {
  6627. addFileHost(
  6628. "mafiastorage\\.com\/\\w+",
  6629. 'op" value="download',
  6630. 'class="err">|style="width:500px;text-align:left;"',
  6631. 'optional--',
  6632. 'optional2--',
  6633. "//a[contains(@href,'mafiastorage.com/')]"
  6634. );
  6635. }
  6636. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6637. {
  6638. addFileHost(
  6639. "uploadingit\\.com\/file\/\\w+",
  6640. 'downloadTitle">',
  6641. 'deleteContent">',
  6642. 'optional--',
  6643. 'optional2--',
  6644. "//a[contains(@href,'uploadingit.com/file')]"
  6645. );
  6646. }*/
  6647. if (GM_getValue("Check_rghost_dot_net_links", false))
  6648. {
  6649. addFileHost(
  6650. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6651. 'download_link|btn large download',
  6652. 'file is restricted|File is deleted|503 Service Unavailable',
  6653. 'optional--',
  6654. 'optional2--',
  6655. "//a[contains(@href,'rghost.')]"
  6656. );
  6657. }
  6658. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6659. {
  6660. addFileHost(
  6661. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6662. '">Staženo:\\s*<\/span>',
  6663. 'Soubor, který hledáte nenalezen',
  6664. 'optional--',
  6665. 'optional2--',
  6666. "//a[contains(@href,'xdisk.cz/')]"
  6667. );
  6668. }
  6669. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6670. {
  6671. addFileHost(
  6672. "2downloadz\.com\/\\w+",
  6673. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6674. 'color="#006DCC|File error',
  6675. 'optional--',
  6676. 'optional2--',
  6677. "//a[contains(@href,'2downloadz.com')]");
  6678. }
  6679. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6680. {
  6681. addFileHost(
  6682. "mightyupload\.com\/\\w+",
  6683. 'background:#ccc;text-align|CONTENT="Download File"',
  6684. 'style="background:#eee|var rr =|File Not Found',
  6685. 'error-code">1010',
  6686. 'optional2--',
  6687. "//a[contains(@href,'mightyupload.com')]");
  6688. }
  6689. if (GM_getValue("Check_anysend_dot_com_links", false))
  6690. {
  6691. addFileHost(
  6692. "anysend\.com\/\\w+",
  6693. 'var openCalled=false;|content="noindex"',
  6694. '_trackPageview',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'anysend.com')]");
  6698. }
  6699. if (GM_getValue("Check_datafile_dot_com_links", false))
  6700. {
  6701. addFileHost(
  6702. "datafile\.com\/\\w+",
  6703. 'var captchaPanel|<link href="/css/files_download.css"',
  6704. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"|ErrorCode 3',
  6705. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6706. '; 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!',
  6707. "//a[contains(@href,'datafile.com')]",
  6708. true);
  6709. }
  6710. if (GM_getValue("Check_upstore_dot_net_links", false))
  6711. {
  6712. addFileHost(
  6713. "upstore\.net\/\\w+",
  6714. 'name="free"',
  6715. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6716. 'optional--',
  6717. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6718. "//a[contains(@href,'upstore.net')]");
  6719. }
  6720. if (GM_getValue("Check_upsto_dot_re_links", false))
  6721. {
  6722. addFileHost(
  6723. "upsto\.re\/\\w+",
  6724. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6725. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6726. 'optional--',
  6727. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6728. "//a[contains(@href,'upsto.re')]");
  6729. }
  6730. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6731. {
  6732. addFileHost(
  6733. "speedy\.sh\/\\w+",
  6734. 'bgcolor=#eeeeee|class="addthis',
  6735. 'File not found|downloadfilenamenotfound>',
  6736. 'optional--',
  6737. 'optional2--',
  6738. "//a[contains(@href,'speedy.sh')]");
  6739. }
  6740. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6741. {
  6742. addFileHost(
  6743. "kingfiles\.net\/\\w+",
  6744. 'method_free|images/loading_small.gif"',
  6745. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6746. 'optional--',
  6747. 'optional2--',
  6748. "//a[contains(@href,'kingfiles.net')]");
  6749. }
  6750. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6751. {
  6752. addFileHost(
  6753. "secureupload\\.eu\/\\w+",
  6754. 'Downloading',
  6755. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6756. 'optional--',
  6757. 'optional2--',
  6758. "//a[contains(@href,'secureupload.eu')]"
  6759. );
  6760. } */
  6761. if (GM_getValue("Check_ge_dot_tt_links", false))
  6762. {
  6763. addFileHost(
  6764. "ge\.tt\/\\w+",
  6765. 'downloads pic',
  6766. 'is NOT the same as',
  6767. 'optional--',
  6768. 'optional2--',
  6769. "//a[contains(@href,'ge.tt')]");
  6770. }
  6771. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6772. {
  6773. addFileHost(
  6774. "filefactory\\.com\/file\/\\w+",
  6775. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6776. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder|class="alert alert-danger">',
  6777. 'Server Maintenance|temporarily overloaded',
  6778. 'Premium Account Required',
  6779. "//a[contains(@href,'filefactory.com/file')]");
  6780. } */
  6781. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6782. {
  6783. addFileHost(
  6784. "filesflash\.net\/\\w+",
  6785. 'align:right">Filename:',
  6786. 'class="msg">',
  6787. 'optional--',
  6788. 'optional2--',
  6789. "//a[contains(@href,'filesflash.net')]");
  6790. }
  6791. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6792. {
  6793. addFileHost(
  6794. "rapidgator\\.net\/folder\/\\w+",
  6795. 'href="/folder/',
  6796. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6797. 'optional--',
  6798. 'optional2--',
  6799. "//a[contains(@href,'rapidgator.net/folder')]",
  6800. true
  6801. );
  6802. }
  6803. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6804. {
  6805. addFileHost(
  6806. "salefiles\.com\/\\w+",
  6807. 'name="method_free',
  6808. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6809. 'optional--',
  6810. 'optional2--',
  6811. "//a[contains(@href,'salefiles.com')]");
  6812. }
  6813. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6814. {
  6815. addFileHost(
  6816. "datoid\.cz\/\\w+",
  6817. 'btn-download|class="icon-download-large"',
  6818. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6819. 'optional--',
  6820. 'optional2--',
  6821. "//a[contains(@href,'datoid.cz')]");
  6822. }
  6823. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6824. {
  6825. addFileHost(
  6826. "stiahni\.si\/\\w+",
  6827. 'report_icon.png"|slow-download-button',
  6828. 'none.png|deleted|<h2>Error 500</h2>',
  6829. 'optional--',
  6830. 'optional2--',
  6831. "//a[contains(@href,'stiahni.si')]");
  6832. }
  6833. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6834. {
  6835. addFileHost(
  6836. "cloudstor\.es\/\\w+",
  6837. '"btn_download"',
  6838. '404: Page Not Found',
  6839. 'optional--',
  6840. 'optional2--',
  6841. "//a[contains(@href,'cloudstor.es')]");
  6842. }
  6843. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6844. {
  6845. addFileHost(
  6846. "streamfile\.com\/\\w+",
  6847. 'class="btn',
  6848. 'class="green-btn',
  6849. 'optional--',
  6850. 'optional2--',
  6851. "//a[contains(@href,'streamfile.com')]");
  6852. }
  6853. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6854. {
  6855. addFileHost(
  6856. "eyesfile\.ca\/\\w+",
  6857. 'value="Get Link',
  6858. 'var rr =',
  6859. 'optional--',
  6860. 'optional2--',
  6861. "//a[contains(@href,'eyesfile.ca')]");
  6862. }
  6863. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6864. {
  6865. addFileHost(
  6866. "filemoney\.com\/\\w+",
  6867. 'og:title',
  6868. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6869. 'error-code">1010',
  6870. 'optional2--',
  6871. "//a[contains(@href,'filemoney.com')]");
  6872. }
  6873. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6874. {
  6875. addFileHost(
  6876. "uploadboy\.com\/\\w+",
  6877. 'width="740">|method_free',
  6878. 'var rr =|background:#ffffff|not be found|file was removed',
  6879. 'optional--',
  6880. 'optional2--',
  6881. "//a[contains(@href,'uploadboy.com')]");
  6882. }
  6883. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6884. {
  6885. addFileHost(
  6886. "uploadboy\.com\/\\w+",
  6887. 'width="740">|method_free',
  6888. 'var rr =|background:#ffffff|not be found|file was removed',
  6889. 'optional--',
  6890. 'optional2--',
  6891. "//a[contains(@href,'uploadboy.me')]");
  6892. }
  6893. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6894. {
  6895. addFileHost(
  6896. "speedshare\.eu\/\\w+",
  6897. 'favicon.png|color:#3d87c0|cross.png"|id="method_free',
  6898. 'var rr =|File Not Found|style="background:#eee',
  6899. 'optional--',
  6900. 'optional2--',
  6901. "//a[contains(@href,'speedshare.eu')]");
  6902. }
  6903. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6904. {
  6905. addFileHost(
  6906. "unlimitzone\.com\/\\w+",
  6907. 'name="method_free',
  6908. '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',
  6909. 'optional--',
  6910. 'optional2--',
  6911. "//a[contains(@href,'unlimitzone.com')]");
  6912. }
  6913. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6914. {
  6915. addFileHost(
  6916. "rioupload\.com\/\\w+",
  6917. 'sell.jpg',
  6918. 'var rr =',
  6919. 'optional--',
  6920. 'optional2--',
  6921. "//a[contains(@href,'rioupload.com')]");
  6922. }
  6923. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6924. {
  6925. addFileHost(
  6926. "jumbofiles\.org\/\\w+",
  6927. 'H71C5.png|class="downloadtitle">',
  6928. 'var swfu|ViewSourceBIN.png',
  6929. 'optional--',
  6930. 'optional2--',
  6931. "//a[contains(@href,'jumbofiles.org')]");
  6932. }
  6933. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6934. {
  6935. addFileHost(
  6936. "fshare\\.vn\/file\/\\w+",
  6937. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6938. 'không tồn tại|class="color_red m_t_50"',
  6939. 'optional--',
  6940. 'optional2--',
  6941. "//a[contains(@href,'fshare.vn/file')]",
  6942. true
  6943. );
  6944. }
  6945. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6946. {
  6947. addFileHost(
  6948. "spaceforfiles\.com\/\\w+",
  6949. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6950. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6951. 'optional--',
  6952. 'optional2--',
  6953. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6954. }
  6955. if (GM_getValue("Check_google_dot_com_links", false))
  6956. {
  6957. addFileHost(
  6958. "google\\.com\/file\/\\w+",
  6959. 'content="!">|color:#2d2d2d',
  6960. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6961. 'optional--',
  6962. 'optional2--',
  6963. "//a[contains(@href,'google.com/file')]",
  6964. true
  6965. );
  6966. }
  6967. if (GM_getValue("Check_google_dot_com_links", false))
  6968. {
  6969. addFileHost(
  6970. "docs.google.com\/\\w+",
  6971. 'content="!">|color:#2d2d2d',
  6972. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6973. 'optional--',
  6974. 'optional2--',
  6975. "//a[contains(@href,'docs.google.com')]",
  6976. true
  6977. );
  6978. }
  6979. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6980. {
  6981. addFileHost(
  6982. "drive.google.com\/\\w+",
  6983. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6984. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6985. 'optional--',
  6986. 'optional2--',
  6987. "//a[contains(@href,'drive.google.com')]",
  6988. true
  6989. );
  6990. }
  6991. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6992. {
  6993. addFileHost(
  6994. "up.media1fire\.com\/\\w+",
  6995. 'class="addthis_|value="download',
  6996. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6997. 'optional--',
  6998. 'optional2--',
  6999. "//a[contains(@href,'up.media1fire.com')]");
  7000. }
  7001. if (GM_getValue("Check_depfile_dot_com_links", false))
  7002. {
  7003. addFileHost(
  7004. "depfile\.com\/\\w+",
  7005. 'logo_0.png|downloads.gif"|verifycode',
  7006. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7007. 'optional--',
  7008. 'available only for Premium users|Premium users can restore files',
  7009. "//a[contains(@href,'depfile.com')or contains(@href,'dipfile.com')]");
  7010. }
  7011. if (GM_getValue("Check_depfile_dot_us_links", false))
  7012. {
  7013. addFileHost(
  7014. "depfile\.us\/\\w+",
  7015. 'logo_0.png|downloads.gif"|verifycode',
  7016. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7017. 'optional--',
  7018. 'available only for Premium users|Premium users can restore files',
  7019. "//a[contains(@href,'depfile.us')]");
  7020. }
  7021. if (GM_getValue("Check_dipfile_dot_com_links", false))
  7022. {
  7023. addFileHost(
  7024. "dipfile\.com\/\\w+",
  7025. 'logo_0.png|downloads.gif"|verifycode',
  7026. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7027. 'optional--',
  7028. 'available only for Premium users|Premium users can restore files',
  7029. "//a[contains(@href,'dipfile.com')or contains(@href,'depfile.com')]");
  7030. }
  7031. if (GM_getValue("Check_go4up_dot_com_links", false))
  7032. {
  7033. addFileHost(
  7034. "go4up\.com\/\\w+",
  7035. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  7036. '<title>GO4UP|dmca',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'go4up.com')]");
  7040. }
  7041. if (GM_getValue("Check_redbunker_dot_net_links", false))
  7042. {
  7043. addFileHost(
  7044. "redbunker\.net\/\\w+",
  7045. 'name="method_free"',
  7046. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  7047. 'optional--',
  7048. '2.3 GB',
  7049. "//a[contains(@href,'redbunker.net')]");
  7050. }
  7051. if (GM_getValue("Check_divxpress_dot_com_links", false))
  7052. {
  7053. addFileHost(
  7054. "divxpress\.com\/\\w+",
  7055. 'btn_download|logo.png"',
  7056. 'AVOID_IE_BUG|var rr =',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'divxpress.com')]");
  7060. }
  7061. if (GM_getValue("Check_anafile_dot_com_links", false))
  7062. {
  7063. addFileHost(
  7064. "anafile\.com\/\\w+",
  7065. 'width="881" valign="top|color="#800080"|name="go"',
  7066. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'anafile.com')]");
  7070. }
  7071. /*if (GM_getValue("Check_uploadable_dot_ch_links", false))
  7072. {
  7073. addFileHost(
  7074. "uploadable\\.ch\/file\/\\w+",
  7075. 'captcha.js"|payment.js"|class="btn_download"',
  7076. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'uploadable.ch/file')]",
  7080. true
  7081. );
  7082. } */
  7083. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7084. {
  7085. addFileHost(
  7086. "bigfile\\.to\/file\/\\w+",
  7087. 'captcha.js"|payment.js"|class="btn_download"',
  7088. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'bigfile.to/file')]",
  7092. true
  7093. );
  7094. }
  7095. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7096. {
  7097. addFileHost(
  7098. "arabloads\.net\/\\w+",
  7099. 'name="method_free"|name="method_premium"',
  7100. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'arabloads.net')]");
  7104. }
  7105. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7106. {
  7107. addFileHost(
  7108. "sharerepo\.com\/\\w+",
  7109. 'name="method_free"',
  7110. 'var public_on=|The file you were looking for could not be found',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'sharerepo.com')]");
  7114. }
  7115. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7116. {
  7117. addFileHost(
  7118. "sfshare\.se\/\\w+",
  7119. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7120. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'sfshare.se')]");
  7124. }
  7125. if (GM_getValue("Check_files_dot_fm_links", false))
  7126. {
  7127. addFileHost(
  7128. "files\.fm\/\\w+",
  7129. 'dl.png"|background-color: transparent',
  7130. 'margin: 40px 40px|background: none;',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'files.fm')]");
  7134. }
  7135. if (GM_getValue("Check_koofile_dot_com_links", false))
  7136. {
  7137. addFileHost(
  7138. "koofile\.com\/\\w+",
  7139. 'value="download1">|name="method_free"',
  7140. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7141. 'optional--',
  7142. 'optional2--',
  7143. "//a[contains(@href,'koofile.com')]");
  7144. }
  7145. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7146. {
  7147. addFileHost(
  7148. "vidxden\\.com\/\\w+",
  7149. 'Continue to Video"',
  7150. 'No such file',
  7151. 'optional--',
  7152. 'optional2--',
  7153. "//a[contains(@href,'vidxden.com')]"
  7154. );
  7155. }*/
  7156. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7157. {
  7158. addFileHost(
  7159. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7160. 'Details zur Datei|Details page',
  7161. 'Jetzt hochladen|upload now',
  7162. 'optional--',
  7163. 'optional2--',
  7164. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7165. );
  7166. }
  7167. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7168. {
  7169. addFileHost(
  7170. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7171. 'downloadbtn"',
  7172. 'DL_FileNotFound',
  7173. 'optional--',
  7174. 'optional2--',
  7175. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7176. );
  7177. }
  7178. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7179. {
  7180. addFileHost(
  7181. "fileflyer\.com\/view\/\\w+",
  7182. '(?:dwl|locked)btn"',
  7183. 'error.gif"|link">Removed|removedlink">',
  7184. 'optional--',
  7185. 'optional2--',
  7186. "//a[contains(@href,'fileflyer.com')]"
  7187. );
  7188. }
  7189. if (GM_getValue("Check_filestore_dot_to_links", false))
  7190. {
  7191. addFileHost(
  7192. "filestore\.to\/\\?d=\\w+",
  7193. '"downloading"',
  7194. 'Datei wurde nicht gefunden',
  7195. 'optional--',
  7196. 'optional2--',
  7197. "//a[contains(@href,'filestore.to')]"
  7198. );
  7199. }
  7200. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7201. {
  7202. addFileHost(
  7203. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7204. 'fz24">Download|class="pl15">',
  7205. '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',
  7206. 'optional--',
  7207. 'optional2--',
  7208. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7209. );
  7210. }
  7211. if (GM_getValue("Check_datei_dot_to_links", false))
  7212. {
  7213. addFileHost(
  7214. "datei\\.to\/\\??\\w+",
  7215. 'icon_downloaden\\.png|>Download starten<',
  7216. 'Datei wurde nicht gefunden|icon_deleted.png',
  7217. 'optional--',
  7218. 'optional2--',
  7219. "//a[contains(@href,'datei.to')]"
  7220. );
  7221. }
  7222. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7223. {
  7224. addFileHost(
  7225. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7226. '<body class="body" id="body">|value="Slow Download"',
  7227. '<body class="body" >',
  7228. 'optional--',
  7229. 'optional2--',
  7230. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7231. );
  7232. }
  7233. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7234. {
  7235. addFileHost(
  7236. "unibytes\\.com\/[\\w\.]+",
  7237. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7238. 'File not found|Файл не найден|',
  7239. 'optional--',
  7240. 'optional2--',
  7241. "//a[contains(@href,'unibytes.com')]"
  7242. );
  7243. }
  7244. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7245. {
  7246. addFileHost(
  7247. "www\\.hellshare\\.com\/\\d+",
  7248. 'tab\\-details"',
  7249. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7250. 'optional--',
  7251. 'optional2--',
  7252. "//a[contains(@href,'www.hellshare.com')]"
  7253. );
  7254. }
  7255. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7256. {
  7257. addFileHost(
  7258. "www\\.download.cz.hellshare\\.com\/\\w+",
  7259. 'tab\\-details"',
  7260. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7261. 'optional--',
  7262. 'optional2--',
  7263. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7264. );
  7265. }
  7266. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7267. {
  7268. addFileHost(
  7269. "filefactory\\.com",
  7270. 'folderFileList">|icon-cloud|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7271. 'table class="items"|このフォルダ内にファイルはありません|This file may have been deleted|Unerwarteter Fehler|Ungültiger Download-Link|Link de Download Inválido|Pointer" class="red">|There are no files in this folder|Dieser Ordner enthält keine Dateien|Não há arquivos nesta pasta|File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder',
  7272. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7273. 'Premium Account Required',
  7274. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7275. );
  7276. }
  7277. if (GM_getValue("Check_load_dot_to_links", false))
  7278. {
  7279. addFileHost(
  7280. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7281. '"download_table_left">Size',
  7282. 'Can\'t find file',
  7283. 'optional--',
  7284. 'optional2--',
  7285. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7286. );
  7287. }
  7288. if (GM_getValue("Check_divshare_dot_com_links", false))
  7289. {
  7290. addFileHost(
  7291. "divshare\\.com\/download\/",
  7292. 'download_new\.png',
  7293. 'have been removed',
  7294. 'optional--',
  7295. 'optional2--',
  7296. "//a[contains(@href,'divshare.com')]"
  7297. );
  7298. }
  7299. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7300. {
  7301. addFileHost(
  7302. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7303. 'download=true"',
  7304. '<div class="background margin-top vlevo" style="width: 600px;">|class="container">Error|File+has+been+removed|<title>Error - EuroShare.eu</title>|class="container">Chyba<|<title>chyba - EuroShare.eu</title>|<title>Fehler - EuroShare.eu</title>|<title>Hiba - EuroShare.eu</title>|<title>Błąd - EuroShare.eu</title>',
  7305. 'optional--',
  7306. 'optional2--',
  7307. "//a[contains(@href,'euroshare.eu/file')]"
  7308. );
  7309. }
  7310. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7311. {
  7312. addFileHost(
  7313. 'files\\.mail\\.ru/(?:\\w*)',
  7314. 'fileList',
  7315. 'errorMessage',
  7316. 'optional--',
  7317. 'optional2--',
  7318. "//a[contains(@href,'files.mail.ru')]"
  7319. );
  7320. }
  7321. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7322. {
  7323. addFileHost(
  7324. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7325. 'Filesize',
  7326. 'Invalid|deleted|Could not download file',
  7327. 'slots|scheduled maintenance',
  7328. 'optional2--',
  7329. "//a[contains(@href,'megashares.com/')]"
  7330. );
  7331. } */
  7332. if (GM_getValue("Check_narod_dot_ru_links", false))
  7333. {
  7334. addFileHost(
  7335. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7336. 'b-submit|action="resource.download"',
  7337. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7338. 'Внутренняя ошибка сервиса',
  7339. 'optional2--',
  7340. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7341. );
  7342. }
  7343. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7344. {
  7345. addFileHost(
  7346. "rayfile\\.com\/",
  7347. 'FILEtitleTXT',
  7348. 'blueRow',
  7349. 'optional--',
  7350. 'optional2--',
  7351. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7352. );
  7353. }
  7354. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7355. {
  7356. addFileHost(
  7357. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7358. 'button_green_body"',
  7359. 'error">',
  7360. 'optional--',
  7361. 'optional2--',
  7362. "//a[contains(@href,'filesmonster.com/download')]"
  7363. );
  7364. }
  7365. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7366. {
  7367. addFileHost(
  7368. 'usaupload\\.net\/d\/(?:\w*)',
  7369. '<strong>File size:</strong>',
  7370. 'is not available',
  7371. 'optional--',
  7372. 'optional2--',
  7373. "//a[contains(@href,'usaupload.net/d/')]"
  7374. );
  7375. }
  7376. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7377. {
  7378. addFileHost(
  7379. 'sendspace\\.com\/file\/\\w+',
  7380. 'file_description',
  7381. 'msg error"',
  7382. 'optional--',
  7383. 'optional2--',
  7384. "//a[contains(@href,'sendspace.com/file')]"
  7385. );
  7386. }
  7387. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7388. {
  7389. addFileHost(
  7390. 'sendspace\\.pl\/file\/\\w+',
  7391. 'download_file"',
  7392. 'Podany plik nie',
  7393. 'optional--',
  7394. 'optional2--',
  7395. "//a[contains(@href,'sendspace.pl/file')]"
  7396. );
  7397. }
  7398. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7399. {
  7400. addFileHost(
  7401. 'uploading\\.com\/(?:files\/)?\\w+',
  7402. 'free_method">',
  7403. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7404. 'optional--',
  7405. 'optional2--',
  7406. "//a[contains(@href,'uploading.com')]"
  7407. );
  7408. } */
  7409. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7410. {
  7411. addFileHost(
  7412. "gigasize\.com\/\\w+",
  7413. 'fileId"|class="estimate">',
  7414. 'error">',
  7415. 'optional--',
  7416. 'optional2--',
  7417. "//a[contains(@href,'gigasize.com/get')]"
  7418. );
  7419. }
  7420. if (GM_getValue("Check_good_dot_com_links", false))
  7421. {
  7422. addFileHost(
  7423. 'good\\.net\/(?:_|dl)',
  7424. 'Free Download',
  7425. 'Not Found',
  7426. 'Forbidden',
  7427. 'optional2--',
  7428. "//a[contains(@href,'good.net')]"
  7429. );
  7430. }
  7431. if (GM_getValue("Check_2shared_dot_com_links", false))
  7432. {
  7433. addFileHost(
  7434. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7435. 'File size',
  7436. 'File not found|is not valid|/images/important.gif',
  7437. 'optional--',
  7438. 'optional2--',
  7439. // "//a[contains(@href,'2shared.com')]"
  7440. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/fadmin/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7441. );
  7442. }
  7443. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7444. {
  7445. addFileHost(
  7446. 'turboupload\\.com\/\\w*',
  7447. 'You have requested',
  7448. 'File Not Found',
  7449. 'optional--',
  7450. 'optional2--',
  7451. "//a[contains(@href,'turboupload.com')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7455. {
  7456. addFileHost(
  7457. 'gigapeta\\.com\/dl\/',
  7458. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7459. '404|page_error',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'gigapeta.com/dl')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_veehd_dot_com_links", false))
  7466. {
  7467. addFileHost(
  7468. 'veehd\.com\/video\/.*?',
  7469. 'No sound|Download video',
  7470. 'Featured Videos',
  7471. 'optional--',
  7472. 'optional2--',
  7473. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7477. {
  7478. addFileHost(
  7479. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7480. 'fast_download_form">|submit_sms_download',
  7481. '<p style="text-align:center">',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'vip-file.com/download')]"
  7485. );
  7486. }
  7487. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7488. {
  7489. addFileHost(
  7490. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7491. 'download\\-pnl ',
  7492. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'letitbit.net/download')]"
  7496. );
  7497. }*/
  7498. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7499. {
  7500. addFileHost(
  7501. 'ifolder\.ru\/\\d+',
  7502. 'file-info',
  7503. 'ui-state-error',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'ifolder.ru')]"
  7507. );
  7508. }
  7509. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7510. {
  7511. addFileHost(
  7512. 'fileswap\\.com\/dl\/\\w+',
  7513. 'bttnDownloadLink"',
  7514. 'rounded_block_error"',
  7515. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7516. 'optional2--',
  7517. "//a[contains(@href,'fileswap.com/dl')]"
  7518. );
  7519. }*/
  7520. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7521. {
  7522. addFileHost(
  7523. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7524. 'var __error = 0|id="recaptchaPanel">',
  7525. 'FILES__DOESNT_EXIST|removed or did not exist',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'filecloud.io/')]"
  7529. );
  7530. addFileHost(
  7531. 'ifile\\.it\/\\w+',
  7532. 'var __error = 0',
  7533. 'FILES__DOESNT_EXIST',
  7534. 'optional--',
  7535. 'optional2--',
  7536. "//a[contains(@href,'ifile.it/')]"
  7537. );
  7538. }
  7539. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7540. {
  7541. addFileHost(
  7542. 'solidfiles\\.com\/\\w+',
  7543. 'id="download"|content="Download',
  7544. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7545. 'optional--',
  7546. 'optional2--',
  7547. "//a[contains(@href,'solidfiles.com/')]"
  7548. );
  7549. }
  7550. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7551. {
  7552. addFileHost(
  7553. "(?:.\\.|)shareflare\\.net",
  7554. 'download-pnl|<div class="premium-block">',
  7555. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7556. 'optional--',
  7557. 'optional2--',
  7558. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7559. );
  7560. }
  7561. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7562. {
  7563. addFileHost(
  7564. "u18116681.shareflare\\.net",
  7565. 'download-pnl|<div class="premium-block">',
  7566. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7567. 'optional--',
  7568. 'optional2--',
  7569. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7570. );
  7571. }
  7572. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7573. {
  7574. addFileHost(
  7575. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7576. 'file\\-list-orderby|section-filedetail">',
  7577. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7578. 'optional--',
  7579. 'optional2--',
  7580. "//a[contains(@href,'hellspy.')]"
  7581. );
  7582. }
  7583. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7584. {
  7585. addFileHost(
  7586. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7587. '<body onload="">',
  7588. 'neexistuje|not exist',
  7589. 'optional--',
  7590. 'optional2--',
  7591. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7592. );
  7593. }
  7594. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7595. {
  7596. addFileHost(
  7597. "stahovanizasms\\.cz\/\\w+",
  7598. 'download\\.png>|font-size:11px><tr>',
  7599. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7600. 'optional--',
  7601. 'optional2--',
  7602. "//a[contains(@href,'stahovanizasms.cz')]"
  7603. );
  7604. }
  7605. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7606. {
  7607. addFileHost(
  7608. "share-links\\.biz\/\\w*",
  7609. 'online\\.gif',
  7610. '(?:offline|parts)\\.gif',
  7611. 'optional--',
  7612. 'optional2--',
  7613. "//a[contains(@href,'share-links.biz')]"
  7614. );
  7615. }
  7616. if (GM_getValue("Check_4shared_dot_com_links", false))
  7617. {
  7618. addFileHost(
  7619. "4shared\\.com\/.+\/",
  7620. '<input type="hidden" class="jsSocialTwDefaultText" value=|class="fileName light-blue f23',
  7621. 'class="warn\"|big red"|GetDataBack',
  7622. 'Service Unavailable',
  7623. 'optional2--',
  7624. "//a[contains(@href,'4shared.com')]"
  7625. );
  7626. }
  7627. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7628. {
  7629. addFileHost(
  7630. "(?:www\\d+\.|)zippyshare\.com\/",
  7631. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7632. 'not exist|Status 404',
  7633. 'optional--',
  7634. 'optional2--',
  7635. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7636. );
  7637. }
  7638. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7639. {
  7640. addFileHost(
  7641. "mediafire\.com\/",
  7642. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7643. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7644. 'set to private',
  7645. 'optional2--',
  7646. "//a[contains(@href,'mediafire.com')]"
  7647. );
  7648. }
  7649. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7650. {
  7651. addFileHost(
  7652. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7653. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7654. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7655. 'We will be back shortly',
  7656. 'GB</small>',
  7657. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7658. );
  7659. }
  7660. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7661. {
  7662. addFileHost(
  7663. "ulozisko\.sk\/",
  7664. 'Detaily',
  7665. 'neexistuje',
  7666. 'optional--',
  7667. 'optional2--',
  7668. "//a[contains(@href,'ulozisko.sk')]"
  7669. );
  7670. }
  7671. if (GM_getValue("Check_box_dot_com_links", false))
  7672. {
  7673. addFileHost(
  7674. "box\.com\/\\w+",
  7675. 'download-file-btn|id="download_button|preview-download',
  7676. 'BIyMin.png| <div class="error_message|link has been removed',
  7677. 'optional--',
  7678. 'optional2--',
  7679. "//a[contains(@href,'app.box.com')]");
  7680. }
  7681. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7682. {
  7683. addFileHost(
  7684. "uptobox\\.com\/\\w+",
  7685. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"|download-btn',
  7686. 'The file expired|<b>404 -|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7687. 'Maintenance',
  7688. 'optional2--',
  7689. "//a[contains(@href,'uptobox.com')]",
  7690. true
  7691. );
  7692. }
  7693. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7694. {
  7695. addFileHost(
  7696. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7697. 'FILE DOWNLOAD<',
  7698. 'File Does Not Exist',
  7699. 'optional--',
  7700. 'optional2--',
  7701. "//a[contains(@href,'sharecash.org/download.php')]"
  7702. );
  7703. }
  7704. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7705. {
  7706. addFileHost(
  7707. "1fichier\\.com\/dir\/\\w+",
  7708. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7709. 'Shared Folder Not Found',
  7710. 'optional--',
  7711. 'optional2--',
  7712. "//a[contains(@href,'1fichier.com/dir')]"
  7713. );
  7714. }
  7715. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7716. {
  7717. addFileHost(
  7718. "depositfiles\\.com\/folders\/\\w+",
  7719. '<div class="progressContainer">',
  7720. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7721. 'optional--',
  7722. 'optional2--',
  7723. "//a[contains(@href,'depositfiles.com/folders')]"
  7724. );
  7725. }
  7726. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7727. {
  7728. addFileHost(
  7729. "rapidfileshare\\.net/\\w+",
  7730. '<div id="upload-header-bg">',
  7731. '<div style="width:500px;text-align:left;">',
  7732. 'optional--',
  7733. 'optional2--',
  7734. "//a[contains(@href,'rapidfileshare.net/')]"
  7735. );
  7736. }
  7737. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7738. {
  7739. addFileHost(
  7740. "stiahnito\\.sk/",
  7741. '<span class="filesize right">',
  7742. '<ol class="list-purp-2">',
  7743. 'optional--',
  7744. 'optional2--',
  7745. "//a[contains(@href,'stiahnito.sk/')]"
  7746. );
  7747. }
  7748. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7749. {
  7750. addFileHost(
  7751. "rusfolder\\.(?:com|net)",
  7752. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7753. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7754. 'optional--',
  7755. 'optional2--',
  7756. "//a[contains(@href,'rusfolder')]"
  7757. );
  7758. }
  7759. if (GM_getValue("Check_catshare_dot_net_links", false))
  7760. {
  7761. addFileHost(
  7762. "catshare\\.net/\\w+",
  7763. '"icon-share|"col-xs-12',
  7764. 'alert alert-error',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'catshare.net/')]"
  7768. );
  7769. }
  7770. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7771. {
  7772. addFileHost(
  7773. "anonfiles\\.com/\\w+",
  7774. '"download_button"',
  7775. '<legend><b>404</b>',
  7776. 'optional--',
  7777. 'optional2--',
  7778. "//a[contains(@href,'anonfiles.com')]"
  7779. );
  7780. }*/
  7781. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7782. {
  7783. addFileHost(
  7784. "mixturecloud\\.com/media/\\w+",
  7785. '"btn icon i_globe gray share_150',
  7786. '"s_cross_close"></span> 404:',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'mixturecloud.com/media/')]"
  7790. );
  7791. }
  7792. if (GM_getValue("Check_akafile_dot_com_links", false))
  7793. {
  7794. addFileHost(
  7795. "akafile\\.com\/\\w+",
  7796. 'download1',
  7797. 'File Not Found',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'akafile.com/')]"
  7801. );
  7802. }
  7803. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7804. {
  7805. addFileHost(
  7806. "creafile\\.net\/\\w+",
  7807. 'downloadblock',
  7808. 'errtitle',
  7809. 'optional--',
  7810. 'optional2--',
  7811. "//a[contains(@href,'creafile.net/')]"
  7812. );
  7813. }*/
  7814. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7815. {
  7816. addFileHost(
  7817. "hugefiles\\.net\/\\w+",
  7818. 'download1|class="btn-create-download" value="Create Download Link">',
  7819. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7820. 'optional--',
  7821. 'optional2--',
  7822. "//a[contains(@href,'hugefiles.net/')]"
  7823. );
  7824. }*/
  7825. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7826. {
  7827. addFileHost(
  7828. "sendmyway\\.com\/\\w+",
  7829. 'id="btn_download"',
  7830. '500px;text-align:left;"|<center><h3>',
  7831. 'optional--',
  7832. 'optional2--',
  7833. "//a[contains(@href,'sendmyway.com/')]"
  7834. );
  7835. }
  7836. if (GM_getValue("Check_upload_dot_ee_links", false))
  7837. {
  7838. addFileHost(
  7839. "upload\\.ee\/\\w+",
  7840. 'onmouseout="document.dllink.src',
  7841. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7842. 'optional--',
  7843. 'optional2--',
  7844. "//a[contains(@href,'upload.ee/')]"
  7845. );
  7846. }
  7847. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7848. {
  7849. addFileHost(
  7850. "shareplace\\.org\/\\?\\w+",
  7851. 'Download-Link',
  7852. 'Your requested file is not found|Select file to send',
  7853. 'optional--',
  7854. 'optional2--',
  7855. "//a[contains(@href,'shareplace.org/?')]"
  7856. );
  7857. }
  7858. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7859. {
  7860. addFileHost(
  7861. "uploadc\\.com\/\\w+",
  7862. 'id="prebut"',
  7863. 'File Not Found|This file has been removed due',
  7864. 'optional--',
  7865. 'optional2--',
  7866. "//a[contains(@href,'uploadc.com/')]"
  7867. );
  7868. }
  7869. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7870. {
  7871. addFileHost(
  7872. "uploadc\\.ch\/\\w+",
  7873. 'id="prebut"',
  7874. 'File Not Found|This file has been removed due',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'uploadc.ch/')]"
  7878. );
  7879. }
  7880. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7881. {
  7882. addFileHost(
  7883. "remixshare\\.com\/\\w+",
  7884. 'id="dl2"',
  7885. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7886. 'optional--',
  7887. 'optional2--',
  7888. "//a[contains(@href,'remixshare.com/')]"
  7889. );
  7890. }*/
  7891. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7895. 'Last Download :',
  7896. 'img src="\\/404.jpg"',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'exoshare.com/download.php')]"
  7900. );
  7901. }
  7902. if (GM_getValue("Check_borncash_dot_org_links", false))
  7903. {
  7904. addFileHost(
  7905. "borncash\\.org\/download\/\\?a=\\w+",
  7906. 'class="knop_1"',
  7907. '\/error\/er00',
  7908. 'optional--',
  7909. 'optional2--',
  7910. "//a[contains(@href,'borncash.org/download/')]"
  7911. );
  7912. }
  7913. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7914. {
  7915. addFileHost(
  7916. "vidplay\.net\/\\w+",
  7917. 'solvemedia puzzle widget',
  7918. 'File not found|AVOID_IE_BUG',
  7919. 'optional--',
  7920. 'optional2--',
  7921. "//a[contains(@href,'vidplay.net')]");
  7922. }*/
  7923. if (GM_getValue("Check_filedais_dot_com_links", false))
  7924. {
  7925. addFileHost(
  7926. "filedais\.com\/\\w+",
  7927. 'class="btn btn-info"|name="method_free"',
  7928. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7929. 'optional--',
  7930. 'optional2--',
  7931. "//a[contains(@href,'filedais.com')]");
  7932. }
  7933. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7934. {
  7935. addFileHost(
  7936. "up.4share\.vn\/\\w+",
  7937. '<font size="2" face="Verdana">',
  7938. 'font: 13px Tahoma; color: Brown',
  7939. 'optional--',
  7940. 'optional2--',
  7941. "//a[contains(@href,'up.4share.vn')]");
  7942. }
  7943. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7944. {
  7945. addFileHost(
  7946. "share.vnn\.vn\/\\w+",
  7947. '"index,follow"|<div class="main" id="download-box">',
  7948. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7949. 'optional--',
  7950. 'optional2--',
  7951. "//a[contains(@href,'share.vnn.vn')]");
  7952. }
  7953. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7954. {
  7955. addFileHost(
  7956. "upfile\.vn\/\\w+",
  7957. 'download-timer',
  7958. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7959. 'optional--',
  7960. 'optional2--',
  7961. "//a[contains(@href,'upfile.vn')]");
  7962. }
  7963. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7964. {
  7965. addFileHost(
  7966. "aisfile\.com\/\\w+",
  7967. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7968. '<div style="width:500px;text-align:left;">|File Not Found',
  7969. 'optional--',
  7970. 'optional2--',
  7971. "//a[contains(@href,'aisfile.com')]");
  7972. }
  7973. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7974. {
  7975. addFileHost(
  7976. "usersfiles\.com\/\\w+",
  7977. 'class="btn btn-success|id="btn_download" class="btn"',
  7978. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7979. 'optional--',
  7980. 'optional2--',
  7981. "//a[contains(@href,'usersfiles.com')]");
  7982. }
  7983. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7984. {
  7985. addFileHost(
  7986. "pan.baidu\.com\/\\w+",
  7987. 'target="_blank" title=|share-personal-info',
  7988. 'share_notfound.png|background:#f9f9f9',
  7989. 'optional--',
  7990. 'optional2--',
  7991. "//a[contains(@href,'pan.baidu.com')]");
  7992. }
  7993. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7994. {
  7995. addFileHost(
  7996. "yunpan\.cn\/\\w+",
  7997. 'class="icon icon-download',
  7998. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7999. 'optional--',
  8000. 'optional2--',
  8001. "//a[contains(@href,'yunpan.cn')]");
  8002. }
  8003. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  8004. {
  8005. addFileHost(
  8006. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  8007. 'getElementById("downbild")|style.display',
  8008. 'hochgeladene Datei nicht gefunden werden|has not been found',
  8009. 'optional--',
  8010. 'optional2--',
  8011. "//a[contains(@href,'file-upload.net')]");
  8012. }
  8013. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  8014. {
  8015. addFileHost(
  8016. "file\\-upload\\.com\/",
  8017. 'name="method_free"',
  8018. 'File Not Found|exclamation-triangle',
  8019. 'optional--',
  8020. 'optional2--',
  8021. "//a[contains(@href,'file-upload.com')]");
  8022. }
  8023. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  8024. {
  8025. addFileHost(
  8026. "gulfup\.com\/",
  8027. '<!-- Downlod template -->|download.gif',
  8028. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  8029. 'optional--',
  8030. 'optional2--',
  8031. "//a[contains(@href,'gulfup.com')]");
  8032. }*/
  8033. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8034. {
  8035. addFileHost(
  8036. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8037. 'dldtable">',
  8038. 'does not exist\\.',
  8039. 'optional--',
  8040. 'optional2--',
  8041. "//a[contains(@href,'datafilehost.com')]");
  8042. }
  8043. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8044. {
  8045. addFileHost(
  8046. "dropbox\.com\/s\/\\w+",
  8047. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8048. '>Nothing Here<|>Error (404)<',
  8049. 'title>Dropbox - 509|Error (403)|Error: 429',
  8050. 'optional2--',
  8051. "//a[contains(@href,'dropbox.com')]");
  8052. }
  8053. if (GM_getValue("Check_box_dot_net_links", false))
  8054. {
  8055. addFileHost(
  8056. "box\.net\/\\w+",
  8057. 'download-file-btn|id="download_button',
  8058. 'BIyMin.png| <div class="error_message',
  8059. 'optional--',
  8060. 'optional2--',
  8061. "//a[contains(@href,'box.net')]");
  8062. }
  8063. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8064. {
  8065. addFileHost(
  8066. "filedropper\.com\/\\w+",
  8067. 'background:#ddd;|width:985px; ',
  8068. 'background-color:#FFFFFF;|margin-left: -400px;',
  8069. 'optional--',
  8070. 'optional2--',
  8071. "//a[contains(@href,'filedropper.com')]");
  8072. }
  8073. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8074. {
  8075. addFileHost(
  8076. "tropicshare\\.com\/files\/\\d+",
  8077. 'MB</span>|GB</span>|KB</span>',
  8078. '>FNF<|size: </span>',
  8079. 'optional--',
  8080. 'optional2--',
  8081. "//a[contains(@href,'tropicshare.com')]");
  8082. }
  8083. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8084. {
  8085. addFileHost(
  8086. "worldbytez\.com",
  8087. '<div class="download_type">|method_free',
  8088. '<div style="width:500px;text-align:left;">',
  8089. 'optional--',
  8090. 'optional2--',
  8091. "//a[contains(@href,'worldbytez.com')]",
  8092. true);
  8093. }
  8094. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8095. {
  8096. addFileHost(
  8097. "freefilehosting\.net\/\\w+",
  8098. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8099. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8100. 'optional--',
  8101. 'optional2--',
  8102. "//a[contains(@href,'freefilehosting.net')]");
  8103. }
  8104. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8105. {
  8106. addFileHost(
  8107. "ziddu\.com\/\\w+",
  8108. 'downloads.ziddu.com|downloadfilelinkicon',
  8109. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8110. 'optional--',
  8111. 'optional2--',
  8112. "//a[contains(@href,'ziddu.com')]");
  8113. }
  8114. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8115. {
  8116. addFileHost(
  8117. "exclusiveloader\.com\/\\w+",
  8118. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8119. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8120. 'optional--',
  8121. 'optional2--',
  8122. "//a[contains(@href,'exclusiveloader.com')]");
  8123. }
  8124. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8125. {
  8126. addFileHost(
  8127. "sharerapid\.cz\/\\w+",
  8128. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8129. 'error_div">|404 - Not Found',
  8130. 'optional--',
  8131. 'optional2--',
  8132. "//a[contains(@href,'sharerapid.cz')]");
  8133. }
  8134. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8135. {
  8136. addFileHost(
  8137. "sdilej\.cz\/\\w+",
  8138. 'class="page-download"',
  8139. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8140. 'optional--',
  8141. 'optional2--',
  8142. "//a[contains(@href,'sdilej.cz')]");
  8143. }
  8144. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8145. {
  8146. addFileHost(
  8147. "lafiles\.com\/\\w+",
  8148. '<div id="pay_modes">',
  8149. '<b class="err"></b>',
  8150. 'optional--',
  8151. 'optional2--',
  8152. "//a[contains(@href,'lafiles.com')]");
  8153. }
  8154. if (GM_getValue("Check_acefile_dot_net_links", false))
  8155. {
  8156. addFileHost(
  8157. "acefile\.net\/\\w+",
  8158. 'align=right nowrap><b>',
  8159. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8160. 'optional--',
  8161. 'optional2--',
  8162. "//a[contains(@href,'acefile.net')]");
  8163. }
  8164. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8165. {
  8166. addFileHost(
  8167. "megarapid\.cz\/\\w+",
  8168. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8169. 'error_div">|404 - Not Found',
  8170. 'optional--',
  8171. 'optional2--',
  8172. "//a[contains(@href,'megarapid.cz')]");
  8173. }
  8174. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8175. {
  8176. addFileHost(
  8177. "yadi\.sk\/\\w+",
  8178. 'nb-button _nb-small-button',
  8179. 'error code|Nothing found',
  8180. 'optional--',
  8181. 'optional2--',
  8182. "//a[contains(@href,'yadi.sk')]");
  8183. }
  8184. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8185. {
  8186. addFileHost(
  8187. "hitfile\.net\/\\w+",
  8188. 'class="download-file',
  8189. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8190. 'optional--',
  8191. 'optional2--',
  8192. "//a[contains(@href,'hitfile.net')]");
  8193. }
  8194. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8195. {
  8196. addFileHost(
  8197. "up.top4top\.net\/\\w+",
  8198. 'start Downlod template',
  8199. 'start err template',
  8200. 'optional--',
  8201. 'optional2--',
  8202. "//a[contains(@href,'up.top4top.net')]");
  8203. }
  8204. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8205. {
  8206. addFileHost(
  8207. "filejoker\.net",
  8208. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8209. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8210. 'optional--',
  8211. 'id="download" class="premium-only">',
  8212. "//a[contains(@href,'filejoker.net')]");
  8213. }
  8214. if (GM_getValue("Check_dl_dot_free_dot_fr_links", false))
  8215. {
  8216. addFileHost(
  8217. "dl(?:\\.free)?\\.fr\/\\w+",
  8218. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8219. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8220. 'optional--',
  8221. 'optional2--',
  8222. "//a[contains(@href,'dl.free.fr')]");
  8223. }
  8224. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8225. {
  8226. addFileHost(
  8227. "gboxes\.com\/\\w+",
  8228. 'You have requested|color="red">http://www.gboxes.com',
  8229. 'File Not Found|<div style="width:500px;text-align:left;">',
  8230. 'optional--',
  8231. 'optional2--',
  8232. "//a[contains(@href,'gboxes.com')]");
  8233. }
  8234. if (GM_getValue("Check_led_dot_wf_links", false))
  8235. {
  8236. addFileHost(
  8237. "led\.wf\/\\w+",
  8238. 'logo_0.png|downloads.gif"|verifycode',
  8239. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8240. 'optional--',
  8241. 'available only for Premium users|Premium users can restore files',
  8242. "//a[contains(@href,'led.wf')]");
  8243. }
  8244. if (GM_getValue("Check_lan_dot_wf_links", false))
  8245. {
  8246. addFileHost(
  8247. "lan\.wf\/\\w+",
  8248. 'logo_0.png|downloads.gif"|verifycode',
  8249. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8250. 'optional--',
  8251. 'available only for Premium users|Premium users can restore files',
  8252. "//a[contains(@href,'lan.wf')]");
  8253. }
  8254. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8255. {
  8256. addFileHost(
  8257. "adlink\.wf\/\\w+",
  8258. 'logo_0.png|downloads.gif"|verifycode',
  8259. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8260. 'optional--',
  8261. 'available only for Premium users|Premium users can restore files',
  8262. "//a[contains(@href,'adlink.wf')]");
  8263. }
  8264. if (GM_getValue("Check_click_dot_tf_links", false))
  8265. {
  8266. addFileHost(
  8267. "click\.tf\/\\w+",
  8268. 'logo_0.png|downloads.gif"|verifycode',
  8269. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8270. 'optional--',
  8271. 'available only for Premium users|Premium users can restore files',
  8272. "//a[contains(@href,'click.tf')]");
  8273. }
  8274. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8275. {
  8276. addFileHost(
  8277. "ssh\.tf\/\\w+",
  8278. 'logo_0.png|downloads.gif"|verifycode',
  8279. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8280. 'optional--',
  8281. 'available only for Premium users|Premium users can restore files',
  8282. "//a[contains(@href,'ssh.tf')]");
  8283. }
  8284. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8285. {
  8286. addFileHost(
  8287. "ssh\.yt\/\\w+",
  8288. 'logo_0.png|downloads.gif"|verifycode',
  8289. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8290. 'optional--',
  8291. 'available only for Premium users|Premium users can restore files',
  8292. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8293. }
  8294. if (GM_getValue("Check_yep_dot_pm_links", false))
  8295. {
  8296. addFileHost(
  8297. "yep\.pm\/\\w+",
  8298. 'logo_0.png|downloads.gif"|verifycode',
  8299. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8300. 'optional--',
  8301. 'available only for Premium users|Premium users can restore files',
  8302. "//a[contains(@href,'yep.pm')]");
  8303. }
  8304. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8305. {
  8306. addFileHost(
  8307. "kyc\.pm\/\\w+",
  8308. 'logo_0.png|downloads.gif"|verifycode',
  8309. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8310. 'optional--',
  8311. 'available only for Premium users|Premium users can restore files',
  8312. "//a[contains(@href,'kyc.pm')]");
  8313. }
  8314. if (GM_getValue("Check_brupload_dot_net_links", false))
  8315. {
  8316. addFileHost(
  8317. "brupload\.net\/\\w+",
  8318. 'Download Gratuito',
  8319. '<div style="width:500px;text-align:left;">',
  8320. 'optional--',
  8321. 'optional2--',
  8322. "//a[contains(@href,'brupload.net')]");
  8323. }
  8324. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8325. {
  8326. addFileHost(
  8327. "cloudzilla\.to\/\\w+",
  8328. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8329. 'File not found|/imgs/broken.png',
  8330. 'optional--',
  8331. 'optional2--',
  8332. "//a[contains(@href,'cloudzilla.to')]");
  8333. } */
  8334. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8335. {
  8336. addFileHost(
  8337. "clicknupload\.com\/\\w+",
  8338. 'name="method_free',
  8339. 'File Not Found',
  8340. 'optional--',
  8341. 'optional2--',
  8342. "//a[contains(@href,'clicknupload.com')]");
  8343. }
  8344. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8345. {
  8346. addFileHost(
  8347. "clicknupload\.me\/\\w+",
  8348. 'name="method_free',
  8349. 'File Not Found',
  8350. 'optional--',
  8351. 'optional2--',
  8352. "//a[contains(@href,'clicknupload.me')]");
  8353. }
  8354. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8355. {
  8356. addFileHost(
  8357. "clicknupload\.link\/\\w+",
  8358. 'name="method_free',
  8359. 'File Not Found',
  8360. 'optional--',
  8361. 'optional2--',
  8362. "//a[contains(@href,'clicknupload.link')]");
  8363. }
  8364. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8365. {
  8366. addFileHost(
  8367. "clicknupload\.org\/\\w+",
  8368. 'name="method_free',
  8369. 'File Not Found',
  8370. 'optional--',
  8371. 'optional2--',
  8372. "//a[contains(@href,'clicknupload.org')]");
  8373. }
  8374. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8375. {
  8376. addFileHost(
  8377. "ex-load\.com\/\\w+",
  8378. 'name="method_free|<p>Download File:</p>',
  8379. 'Folder Not Found|File Not Found|Error 404',
  8380. 'optional--',
  8381. 'class="downprem wow bounceInLeft',
  8382. "//a[contains(@href,'ex-load.com')]");
  8383. }
  8384. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8385. {
  8386. addFileHost(
  8387. "hexupload\.com\/\\w+",
  8388. 'button" value="Free|type="submit" value=""',
  8389. 'File Not Found|<div style="width:500px;text-align:left;">',
  8390. 'optional--',
  8391. 'optional2--',
  8392. "//a[contains(@href,'hexupload.com')]");
  8393. }*/
  8394. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8395. {
  8396. addFileHost(
  8397. "wizupload\.com\/\\w+",
  8398. 'btn_download|class="downloadbtn"',
  8399. '>File Not Found<',
  8400. 'optional--',
  8401. 'optional2--',
  8402. "//a[contains(@href,'wizupload.com')]");
  8403. }
  8404. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8405. {
  8406. addFileHost(
  8407. "inclouddrive\.com\/\\w+",
  8408. 'initfreedownload',
  8409. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8410. 'optional--',
  8411. 'optional2--',
  8412. "//a[contains(@href,'inclouddrive.com')]");
  8413. }
  8414. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8415. {
  8416. addFileHost(
  8417. "radicalshare\.com\/\\w+",
  8418. 'value="download1|name="method_free"',
  8419. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8420. 'optional--',
  8421. 'optional2--',
  8422. "//a[contains(@href,'radicalshare.com')]");
  8423. }*/
  8424. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8425. {
  8426. addFileHost(
  8427. "sharemods\.com\/\\w+",
  8428. 'name="method_free"',
  8429. 'File Not Found<',
  8430. 'optional--',
  8431. 'optional2--',
  8432. "//a[contains(@href,'sharemods.com')]");
  8433. }
  8434. if (GM_getValue("Check_hostr_dot_co_links", false))
  8435. {
  8436. addFileHost(
  8437. "hostr\.co\/\\w+",
  8438. 'method="get"',
  8439. 'File not found<|error-page',
  8440. 'optional--',
  8441. 'optional2--',
  8442. "//a[contains(@href,'hostr.co')]");
  8443. }
  8444. if (GM_getValue("Check_filepi_dot_com_links", false))
  8445. {
  8446. addFileHost(
  8447. "filepi\.com\/\\w+",
  8448. 'id="button_start">',
  8449. 'File not found',
  8450. 'optional--',
  8451. 'optional2--',
  8452. "//a[contains(@href,'filepi.com')]");
  8453. }
  8454. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8455. {
  8456. addFileHost(
  8457. "tikfile\.com\/\\w+",
  8458. 'btn_download',
  8459. 'File Not Found|file was removed|Reason for deletion',
  8460. 'optional--',
  8461. 'optional2--',
  8462. "//a[contains(@href,'tikfile.com')]");
  8463. }
  8464. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8465. {
  8466. addFileHost(
  8467. "cloudsix\.me\/\\w+",
  8468. 'name="method_free"',
  8469. 'File Not Found|width:500px;text-align:left;">',
  8470. 'optional--',
  8471. 'optional2--',
  8472. "//a[contains(@href,'cloudsix.me')]");
  8473. }
  8474. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8475. {
  8476. addFileHost(
  8477. "neodrive\.co\/\\w+",
  8478. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8479. 'File not found|/imgs/broken.png',
  8480. 'optional--',
  8481. 'optional2--',
  8482. "//a[contains(@href,'neodrive.co')]");
  8483. } */
  8484. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8485. {
  8486. addFileHost(
  8487. "chayfile\.com\/\\w+",
  8488. 'name="method_free"',
  8489. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'chayfile.com')]");
  8493. }
  8494. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8495. {
  8496. addFileHost(
  8497. "xfileload\.com\/\\w+",
  8498. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8499. '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..|הקובץ שחיפשת לא נמצא.',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'xfileload.com')]");
  8503. }*/
  8504. if (GM_getValue("Check_rockfile_dot_co_links", false))
  8505. {
  8506. addFileHost(
  8507. "rockfile\.co\/\\w+",
  8508. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8509. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'rockfile.co')]",
  8513. true);
  8514. }
  8515. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8516. {
  8517. addFileHost(
  8518. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8519. 'i/icon/dll.png"|>Start download<br|method_free',
  8520. 'no longer available<|i/ino.png"|File Not Found',
  8521. 'optional--',
  8522. 'optional2--',
  8523. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8524. }
  8525. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8526. {
  8527. addFileHost(
  8528. "ozofiles\.com\/\\w+",
  8529. 'button" value="Free|name="method_free',
  8530. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8531. 'optional--',
  8532. 'optional2--',
  8533. "//a[contains(@href,'ozofiles.com')]");
  8534. }
  8535. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8536. {
  8537. addFileHost(
  8538. "userscloud\.com\/\\w+",
  8539. 'btn_download|class="label label-success">',
  8540. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8541. 'optional--',
  8542. 'optional2--',
  8543. "//a[contains(@href,'userscloud.com')]");
  8544. }
  8545. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8546. {
  8547. addFileHost(
  8548. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8549. 'class="button download',
  8550. 'internal server error',
  8551. 'optional--',
  8552. 'optional2--',
  8553. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8554. }
  8555. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8556. {
  8557. addFileHost(
  8558. "kb.simple-aja\.info\/\\w+",
  8559. 'class="button download',
  8560. 'internal server error|<p>404</p>',
  8561. 'optional--',
  8562. 'optional2--',
  8563. "//a[contains(@href,'kb.simple')]");
  8564. }
  8565. if (GM_getValue("Check_faststore_dot_org_links", false))
  8566. {
  8567. addFileHost(
  8568. "faststore\.org\/\\w+",
  8569. 'name="method_free',
  8570. 'File Not Found',
  8571. 'optional--',
  8572. 'optional2--',
  8573. "//a[contains(@href,'faststore.org')]");
  8574. }
  8575. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8576. {
  8577. addFileHost(
  8578. "prefiles\.com\/\\w+",
  8579. 'id="method_free',
  8580. 'File not Found',
  8581. 'optional--',
  8582. 'optional2--',
  8583. "//a[contains(@href,'prefiles.com')]");
  8584. }
  8585. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8586. {
  8587. addFileHost(
  8588. "doraupload\.com\/\\w+",
  8589. 'btn_download|name="method_free',
  8590. 'class="error-code|Could Not Be Found',
  8591. 'optional--',
  8592. 'optional2--',
  8593. "//a[contains(@href,'doraupload.com')]");
  8594. }
  8595. if (GM_getValue("Check_openload_dot_io_links", false))
  8596. {
  8597. addFileHost(
  8598. "openload\.io\/\\w+",
  8599. 'btn btn-primary|class="count">|secondsleftouter',
  8600. 'class="jumbotron">|We are sorry',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'openload.io')]");
  8604. }
  8605. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8606. {
  8607. addFileHost(
  8608. "zxcfiles\.com\/\\w+",
  8609. 'class="downloadbtn',
  8610. 'File Not Found',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'zxcfiles.com')]");
  8614. }
  8615. if (GM_getValue("Check_up07_dot_net_links", false))
  8616. {
  8617. addFileHost(
  8618. "up07\.net\/\\w+",
  8619. 'name="method_free',
  8620. 'File Not Found',
  8621. 'optional--',
  8622. 'optional2--',
  8623. "//a[contains(@href,'up07.net')]");
  8624. }
  8625. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8626. {
  8627. addFileHost(
  8628. "fileupload\.pw\/\\w+",
  8629. 'value="Free"',
  8630. 'File Not Found',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'fileupload.pw')]");
  8634. }
  8635. if (GM_getValue("Check_4upld_dot_com_links", false))
  8636. {
  8637. addFileHost(
  8638. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8639. 'alt="Download Now"|content="Download file">|btn-free-element',
  8640. '<title>Error|content="error|File not found',
  8641. 'optional--',
  8642. 'optional2--',
  8643. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8644. }
  8645. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8646. {
  8647. addFileHost(
  8648. "(?:.swoopshare)\\.com\/\\w+",
  8649. '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',
  8650. '<input type="file" name="f"',
  8651. 'optional--',
  8652. 'optional2--',
  8653. "//a[contains(@href,'swoopshare.com')]"
  8654. );
  8655. }
  8656. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8657. {
  8658. addFileHost(
  8659. "cloudshares\.net\/\\w+",
  8660. '"method_free|"Low Speed Download|submit" name="go',
  8661. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8662. 'optional--',
  8663. 'optional2--',
  8664. "//a[contains(@href,'cloudshares.net')]"
  8665. );
  8666. }
  8667. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8668. {
  8669. addFileHost(
  8670. "allmyvideos\.net\/\\w+",
  8671. 'Continue to Video',
  8672. 'File Not Found|class="err">Removed for',
  8673. 'optional--',
  8674. 'optional2--',
  8675. "//a[contains(@href,'allmyvideos.net')]"
  8676. );
  8677. } */
  8678. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8679. {
  8680. addFileHost(
  8681. "voFdocker\.com\/\\w+",
  8682. 'Proceed to video',
  8683. 'Not Found',
  8684. 'optional--',
  8685. 'optional2--',
  8686. "//a[contains(@href,'vodlocker.com')]"
  8687. );
  8688. }
  8689. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8690. {
  8691. addFileHost(
  8692. "vidbull\.com\/\\w+",
  8693. 'Verifying Video Request',
  8694. 'File Not Found',
  8695. 'optional--',
  8696. 'optional2--',
  8697. "//a[contains(@href,'vidbull.com')]");
  8698. }
  8699. if (GM_getValue("Check_novamov_dot_com_links", false))
  8700. {
  8701. addFileHost(
  8702. "novamov\.com\/\\w+",
  8703. 'For version detection',
  8704. 'file no longer exists',
  8705. 'optional--',
  8706. 'optional2--',
  8707. "//a[contains(@href,'novamov.com')]"
  8708. );
  8709. }
  8710. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8711. {
  8712. addFileHost(
  8713. "filehoot\.com\/\\w+",
  8714. 'Continue to watch',
  8715. 'File Not Found',
  8716. 'optional--',
  8717. 'optional2--',
  8718. "//a[contains(@href,'filehoot.com')]"
  8719. );
  8720. }
  8721. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8722. {
  8723. addFileHost(
  8724. "stagevu\.com\/\\w+",
  8725. 'Video Info',
  8726. 'No video with the provided',
  8727. 'optional--',
  8728. 'optional2--',
  8729. "//a[contains(@href,'stagevu.com')]"
  8730. );
  8731. }
  8732. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8733. {
  8734. addFileHost(
  8735. "cloudtime\.to\/\\w+",
  8736. 'Download the video',
  8737. 'no longer exists',
  8738. 'optional--',
  8739. 'optional2--',
  8740. "//a[contains(@href,'cloudtime.to')]"
  8741. );
  8742. }
  8743. if (GM_getValue("Check_streamin_dot_to_links", false))
  8744. {
  8745. addFileHost(
  8746. "streamin\.to\/\\w+",
  8747. 'id="btn_download',
  8748. 'Not Found|Copyright Infringement|File Deleted',
  8749. 'optional--',
  8750. 'optional2--',
  8751. "//a[contains(@href,'streamin.to')]"
  8752. );
  8753. }
  8754. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8755. {
  8756. addFileHost(
  8757. "videoweed\.es\/\\w+",
  8758. 'version detection',
  8759. 'no longer exists',
  8760. 'optional--',
  8761. 'optional2--',
  8762. "//a[contains(@href,'videoweed.es')]"
  8763. );
  8764. }
  8765. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8766. {
  8767. addFileHost(
  8768. "nowvideo\.sx\/\\w+",
  8769. 'Download this video|value="submit">Continue',
  8770. 'no longer exists',
  8771. 'optional--',
  8772. 'optional2--',
  8773. "//a[contains(@href,'nowvideo.sx')]"
  8774. );
  8775. }
  8776. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8777. {
  8778. addFileHost(
  8779. "thevideo\.me\/\\w+",
  8780. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8781. 'File Not Found',
  8782. 'optional--',
  8783. 'optional2--',
  8784. "//a[contains(@href,'thevideo.me')]"
  8785. );
  8786. }
  8787. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8788. {
  8789. addFileHost(
  8790. "gorillavid\.in\/\\w+",
  8791. 'Wait 5 seconds',
  8792. 'File Not Found',
  8793. 'optional--',
  8794. 'optional2--',
  8795. "//a[contains(@href,'gorillavid.in')]"
  8796. );
  8797. }
  8798. if (GM_getValue("Check_thefile_dot_me_links", false))
  8799. {
  8800. addFileHost(
  8801. "thefile\.me\/\\w+",
  8802. 'Choose free or',
  8803. '',
  8804. 'optional--',
  8805. 'optional2--',
  8806. "//a[contains(@href,'thefile.me')]"
  8807. );
  8808. }
  8809. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8810. {
  8811. addFileHost(
  8812. "vidzi\.tv\/\\w+",
  8813. 'video-embed-modal row',
  8814. 'File Not Found|file was deleted',
  8815. 'optional--',
  8816. 'optional2--',
  8817. "//a[contains(@href,'vidzi.tv')]"
  8818. );
  8819. }
  8820. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8821. {
  8822. addFileHost(
  8823. "filenuke\.com\/\\w+",
  8824. 'Download File',
  8825. 'Earn with us',
  8826. 'optional--',
  8827. 'optional2--',
  8828. "//a[contains(@href,'filenuke.com')]"
  8829. );
  8830. }
  8831. if (GM_getValue("Check_vidto_dot_me_links", false))
  8832. {
  8833. addFileHost(
  8834. "vidto\.me\/\\w+",
  8835. 'Proceed to video',
  8836. 'Not Found',
  8837. 'optional--',
  8838. 'optional2--',
  8839. "//a[contains(@href,'vidto.me')]"
  8840. );
  8841. }
  8842. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8843. {
  8844. addFileHost(
  8845. "vidspot\.net\/\\w+",
  8846. 'Duration|method_free',
  8847. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8848. 'optional--',
  8849. 'optional2--',
  8850. "//a[contains(@href,'vidspot.net')]"
  8851. );
  8852. } */
  8853. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8854. {
  8855. addFileHost(
  8856. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8857. 'Download File',
  8858. 'File Not Found',
  8859. 'optional--',
  8860. 'optional2--',
  8861. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8862. );
  8863. }
  8864. if (GM_getValue("Check_movpod_dot_in_links", false))
  8865. {
  8866. addFileHost(
  8867. "movpod\.in\/\\w+",
  8868. 'Continue',
  8869. 'File Not Found',
  8870. 'optional--',
  8871. 'optional2--',
  8872. "//a[contains(@href,'movpod.in')]"
  8873. );
  8874. }
  8875. if (GM_getValue("Check_down4files_dot_com_links", false))
  8876. {
  8877. addFileHost(
  8878. "down4files\.com\/\\w+",
  8879. 'down_table.png',
  8880. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8881. 'optional--',
  8882. 'optional2--',
  8883. "//a[contains(@href,'down4files.com')]"
  8884. );
  8885. }
  8886. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8887. {
  8888. addFileHost(
  8889. "storefiles\.co\/\\w+",
  8890. 'btn_download',
  8891. 'No such file|>Error<|mqmaintitle">',
  8892. 'optional--',
  8893. 'optional2--',
  8894. "//a[contains(@href,'storefiles.co')]"
  8895. );
  8896. }*/
  8897. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8898. {
  8899. addFileHost(
  8900. "filehost\.pw\/\\w+",
  8901. 'name="method_free',
  8902. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8903. 'optional--',
  8904. 'optional2--',
  8905. "//a[contains(@href,'filehost.pw')]"
  8906. );
  8907. }
  8908. /* if (GM_getValue("Check_uplea_dot_com_links", false))
  8909. {
  8910. addFileHost(
  8911. "uplea\.com\/\\w+",
  8912. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8913. 'expired link|ou est invalide',
  8914. 'optional--',
  8915. 'optional2--',
  8916. "//a[contains(@href,'uplea.com/dl')]",
  8917. true);
  8918. }
  8919. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8920. {
  8921. addFileHost(
  8922. "toutbox\.fr\/\\w+",
  8923. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8924. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8925. 'Serviço temporariamente indisponível',
  8926. 'optional2--',
  8927. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8928. );
  8929. }*/
  8930. if (GM_getValue("Check_openload_dot_co_links", false))
  8931. {
  8932. addFileHost(
  8933. "openload\.co\/\\w+",
  8934. 'id="downloadTimer">|button dlbutton',
  8935. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8936. 'optional--',
  8937. 'optional2--',
  8938. "//a[contains(@href,'openload.co')]"
  8939. );
  8940. }
  8941. if (GM_getValue("Check_oload_dot_tv_links", false))
  8942. {
  8943. addFileHost(
  8944. "oload\.tv\/\\w+",
  8945. 'id="downloadTimer">|button dlbutton',
  8946. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8947. 'optional--',
  8948. 'optional2--',
  8949. "//a[contains(@href,'oload.tv')]"
  8950. );
  8951. }
  8952. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8953. {
  8954. addFileHost(
  8955. "lolabits\.es\/\\w+",
  8956. 'Descargar:',
  8957. '<title>Archivos de usuario',
  8958. 'Service Unavailable',
  8959. 'optional2--',
  8960. "//a[contains(@href,'lolabits.es')]"
  8961. );
  8962. }*/
  8963. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8964. {
  8965. addFileHost(
  8966. "alfafile\.net\/\\w+",
  8967. 'id="slow_download_btn',
  8968. 'class="error-box">',
  8969. 'optional--',
  8970. 'optional2--',
  8971. "//a[contains(@href,'alfafile.net')]"
  8972. );
  8973. }
  8974. if (GM_getValue("Check_multiup_dot_org_links", false))
  8975. {
  8976. addFileHost(
  8977. "multiup\\.(?:org|eu)\/\\w+",
  8978. '<title>Download|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8979. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable|<title>Télécharger - Multi Upload',
  8980. 'optional--',
  8981. 'optional2--',
  8982. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8983. );
  8984. }
  8985. if (GM_getValue("Check_file_dot_al_links", false))
  8986. {
  8987. addFileHost(
  8988. "file\\.al|1f.al",
  8989. 'method_free',
  8990. 'style="width:500px;text-align:left;">|invalid license_key',
  8991. 'optional--',
  8992. 'optional2--',
  8993. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8994. );
  8995. }
  8996. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8997. {
  8998. addFileHost(
  8999. "devilshare\.net\/\\w+",
  9000. '<div class="large-12" id="download">',
  9001. '(Link: 0 Invalid)|File Not Found',
  9002. 'optional--',
  9003. 'optional2--',
  9004. "//a[contains(@href,'devilshare.net')]"
  9005. );
  9006. }
  9007. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9008. {
  9009. addFileHost(
  9010. "dailyuploads\.net\/\\w+",
  9011. 'id="downloadBtnClickOrignal',
  9012. '<div style="width:500px;text-align:left;">',
  9013. 'optional--',
  9014. 'optional2--',
  9015. "//a[contains(@href,'dailyuploads.net')]"
  9016. );
  9017. }
  9018. /* if (GM_getValue("Check_datoteke_dot_com_links", false))
  9019. {
  9020. addFileHost(
  9021. "datoteke\.com\/\\w+",
  9022. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9023. '&nbsp;File has been removed',
  9024. 'optional--',
  9025. '<title>Error - Datoteke',
  9026. "//a[contains(@href,'datoteke.com')]"
  9027. );
  9028. } */
  9029. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9030. {
  9031. addFileHost(
  9032. "sharehost\.eu\/\\w+",
  9033. '/?v=download_free&',
  9034. 'Errors occured|Wystąpiły błędy',
  9035. 'optional--',
  9036. 'optional2--',
  9037. "//a[contains(@href,'sharehost.eu')]"
  9038. );
  9039. }
  9040. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9041. {
  9042. addFileHost(
  9043. "pornfile\.cz",
  9044. 'Stáhnout soubor|Stáhnout pomalu',
  9045. 'Soubor byl smazán|Stránka nenalezena',
  9046. 'optional--',
  9047. 'optional2--',
  9048. "//a[contains(@href,'pornfile.cz')]"
  9049. );
  9050. }
  9051. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9052. {
  9053. addFileHost(
  9054. "pornoid\.cz\/\\w+",
  9055. 'class="btn btn-large btn-download',
  9056. 'Soubor byl smazán',
  9057. 'optional--',
  9058. 'optional2--',
  9059. "//a[contains(@href,'pornoid.cz')]"
  9060. );
  9061. }
  9062. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9063. {
  9064. addFileHost(
  9065. "file-share\.top\/\\w+",
  9066. 'btn-success btn-lg download',
  9067. 'Stránka neexistuje|404 Not Found',
  9068. 'optional--',
  9069. 'optional2--',
  9070. "//a[contains(@href,'file-share.top')]"
  9071. );
  9072. }
  9073. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9074. {
  9075. addFileHost(
  9076. "bitster\.cz\/",
  9077. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9078. 'section" content=""',
  9079. 'optional--',
  9080. 'optional2--',
  9081. "//a[contains(@href,'bitster.cz')]"
  9082. );
  9083. }
  9084. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9085. {
  9086. addFileHost(
  9087. "rapidu\.net\/\\w+",
  9088. 'onclick="downloadFreeFile',
  9089. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9090. 'optional--',
  9091. 'optional2--',
  9092. "//a[contains(@href,'rapidu.net')]"
  9093. );
  9094. }
  9095. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9096. {
  9097. addFileHost(
  9098. "dinoshare\.cz\/\\w+",
  9099. 'class="download-button"',
  9100. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9101. 'optional--',
  9102. 'optional2--',
  9103. "//a[contains(@href,'dinoshare.cz')]"
  9104. );
  9105. }
  9106. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9107. {
  9108. addFileHost(
  9109. "bytewhale\.com\/\\w+",
  9110. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9111. 'var rawest = "0 MB|Copyrights Claim</div>',
  9112. 'optional--',
  9113. 'This file is available for premium members only',
  9114. "//a[contains(@href,'bytewhale.com')]"
  9115. );
  9116. }
  9117. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9118. {
  9119. addFileHost(
  9120. "rapidrar\.com\/\\w+",
  9121. 'value="Free Download',
  9122. '<div style="width:500px;text-align:left;">',
  9123. 'optional--',
  9124. 'optional--',
  9125. "//a[contains(@href,'rapidrar.com')]"
  9126. );
  9127. }
  9128. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9129. {
  9130. addFileHost(
  9131. "filesupload\.org\/\\w+",
  9132. '<a href="/download-or-watch/',
  9133. 'File not found',
  9134. 'optional--',
  9135. 'optional--',
  9136. "//a[contains(@href,'filesupload.org')]"
  9137. );
  9138. }
  9139. if (GM_getValue("Check_filecad_dot_com_links", false))
  9140. {
  9141. addFileHost(
  9142. "filecad\.com\/\\w+",
  9143. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9144. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9145. 'optional--',
  9146. 'optional--',
  9147. "//a[contains(@href,'filecad.com')]"
  9148. );
  9149. }
  9150. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9151. {
  9152. addFileHost(
  9153. "file.up09\.com\/\\w+",
  9154. 'name="method_free',
  9155. 'style="width:500px;text-align:left;">',
  9156. 'optional--',
  9157. 'optional--',
  9158. "//a[contains(@href,'file.up09.com')]"
  9159. );
  9160. }
  9161. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9162. {
  9163. addFileHost(
  9164. "lunaticfiles\.com\/\\w+",
  9165. 'name="method_free"',
  9166. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9167. 'optional--',
  9168. 'optional--',
  9169. "//a[contains(@href,'lunaticfiles.com')]"
  9170. );
  9171. }
  9172. if (GM_getValue("Check_upload_dot_af_links", false))
  9173. {
  9174. addFileHost(
  9175. "upload\.af\/\\w+",
  9176. 'id="method_free"',
  9177. '<h1>File Not Found</|Les causes possibles de cette erreur seraient|could not be found|est pas disponible|Le fichier que vous recherchez n|Datei konnte nicht gefunden werden|م يتم إيجاد الملف المطلوب , عذراً للإزعاج|nie zostal odnaleziony|ファイルが見つかりません',
  9178. 'optional--',
  9179. 'optional--',
  9180. "//a[contains(@href,'upload.af')]"
  9181. );
  9182. }
  9183. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9184. {
  9185. addFileHost(
  9186. "filedwon\.info\/\\w+",
  9187. 'name="method_free"',
  9188. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9189. 'optional--',
  9190. 'optional--',
  9191. "//a[contains(@href,'filedwon.info')]"
  9192. );
  9193. }
  9194. if (GM_getValue("Check_uplod_dot_it_links", false))
  9195. {
  9196. addFileHost(
  9197. "uplod\.it\/\\w+",
  9198. 'value="download2">|name="method_free',
  9199. '<Title>Download </Title>',
  9200. 'optional--',
  9201. 'optional--',
  9202. "//a[contains(@href,'uplod.it')]"
  9203. );
  9204. }
  9205. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9206. {
  9207. addFileHost(
  9208. "abelhas\.pt\/\\w+",
  9209. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9210. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9211. 'optional--',
  9212. 'optional--',
  9213. "//a[contains(@href,'abelhas.pt')]"
  9214. );
  9215. } */
  9216. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9217. {
  9218. addFileHost(
  9219. "disk.yandex\.com\/\\w+",
  9220. 'nb-button _nb-small-button',
  9221. 'error code|Nothing found',
  9222. 'optional--',
  9223. 'optional2--',
  9224. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9225. }
  9226. if (GM_getValue("Check_filespace_dot_com_links", false))
  9227. {
  9228. addFileHost(
  9229. "filespace\.com\/\\w+",
  9230. '"method_free',
  9231. '<div style="text-align:left;"><ul>|>File not found.<',
  9232. 'optional1--',
  9233. 'optional2--',
  9234. "//a[contains(@href,'filespace.com')]");
  9235. }
  9236. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9237. {
  9238. addFileHost(
  9239. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9240. 'name="downloadFile|id="downloadFile|value="Wait',
  9241. '<title>File not found</title>|>Error:<',
  9242. 'optional1--',
  9243. 'optional2--',
  9244. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9245. }
  9246. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9247. {
  9248. addFileHost(
  9249. "ncrypt\.in\/\\w+",
  9250. 'Sicherheitsabfrage:|Securitycheck:',
  9251. 'does not exist|existiert nicht',
  9252. 'optional1--',
  9253. 'optional2--',
  9254. "//a[contains(@href,'ncrypt.in')]");
  9255. }
  9256. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9257. {
  9258. addFileHost(
  9259. "jeodrive\.com\/\\w+",
  9260. 'btn-lg regular',
  9261. 'Not found',
  9262. 'optional1--',
  9263. 'optional2--',
  9264. "//a[contains(@href,'jeodrive.com')]");
  9265. }
  9266. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9267. {
  9268. addFileHost(
  9269. "myfiles\.onl\/\\w+",
  9270. 'value="Free"',
  9271. '<div style="width:500px;text-align:left;">',
  9272. 'optional1--',
  9273. 'optional2--',
  9274. "//a[contains(@href,'myfiles.onl')]");
  9275. }
  9276. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9277. {
  9278. addFileHost(
  9279. "uploadserv\.com\/\\w+",
  9280. 'color="red">http://uploadserv.com/',
  9281. 'content="Download File ">|<title>Download </title>',
  9282. 'optional1--',
  9283. 'optional2--',
  9284. "//a[contains(@href,'uploadserv.com')]");
  9285. }
  9286. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9287. {
  9288. addFileHost(
  9289. "keepshare\.net\/\\w+",
  9290. 'method_free',
  9291. '<div style="width:500px;text-align:left;">',
  9292. 'optional1--',
  9293. 'optional2--',
  9294. "//a[contains(@href,'keepshare.net')]");
  9295. }
  9296. if (GM_getValue("Check_oload_dot_net_links", false))
  9297. {
  9298. addFileHost(
  9299. "oload\.net\/\\w+",
  9300. '<font color="red">http://oload.net',
  9301. 'class="page-ttl">',
  9302. 'optional1--',
  9303. 'optional2--',
  9304. "//a[contains(@href,'oload.net')]");
  9305. }
  9306. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9307. {
  9308. addFileHost(
  9309. "filescdn\.com\/\\w+",
  9310. 'btn_download',
  9311. 'icon-warning text-danger|no longer available',
  9312. 'optional1--',
  9313. 'optional2--',
  9314. "//a[contains(@href,'filescdn.com')]");
  9315. }
  9316. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9317. {
  9318. addFileHost(
  9319. "bankupload\.com\/\\w+",
  9320. 'id="btn_download"|1.0 GB',
  9321. '<div style="width:500px;text-align:left;">',
  9322. 'optional1--',
  9323. ' GB',
  9324. "//a[contains(@href,'bankupload.com')]");
  9325. }
  9326. if (GM_getValue("Check_katfile_dot_com_links", false))
  9327. {
  9328. addFileHost(
  9329. "katfile\.com\/\\w+",
  9330. 'KB| MB|1.0 GB|id="method_free',
  9331. 'images/file_not_found.png"',
  9332. 'optional1--',
  9333. ' GB',
  9334. "//a[contains(@href,'katfile.com')]");
  9335. }
  9336. if (GM_getValue("Check_filesin_dot_space_links", false))
  9337. {
  9338. addFileHost(
  9339. "filesin\.space\/\\w+",
  9340. 'id="btn_download"',
  9341. 'class="err">',
  9342. 'optional1--',
  9343. 'optional2',
  9344. "//a[contains(@href,'filesin.space')]");
  9345. }
  9346. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9347. {
  9348. addFileHost(
  9349. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9350. 'download.php',
  9351. 'notfound|upload\\-suborov\\.php"',
  9352. 'optional--',
  9353. 'optional2--',
  9354. "//a[contains(@href,'upnito.sk')]"
  9355. );
  9356. }
  9357. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9358. {
  9359. addFileHost(
  9360. "alltu\.eu\/\\w+",
  9361. 'download-timer',
  9362. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9363. 'optional1--',
  9364. 'optional2',
  9365. "//a[contains(@href,'alltu.eu')]");
  9366. }
  9367. if (GM_getValue("Check_novafile_dot_com_links", false))
  9368. {
  9369. addFileHost(
  9370. "novafile\.com\/\\w+",
  9371. 'id="regular-download|download1slow',
  9372. 'id="file-not-found',
  9373. 'optional1--',
  9374. 'id="premium-only',
  9375. "//a[contains(@href,'novafile.com')]");
  9376. }
  9377. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9378. {
  9379. addFileHost(
  9380. "uploadgig\.com",
  9381. 'id="countdownContainer',
  9382. 'File not found',
  9383. 'optional1--',
  9384. 'Premium Member only',
  9385. "//a[contains(@href,'uploadgig.com')]");
  9386. }
  9387. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9388. {
  9389. addFileHost(
  9390. "mexashare\.com\/\\w+",
  9391. 'method_free',
  9392. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9393. 'optional1--',
  9394. 'optional2',
  9395. "//a[contains(@href,'mexashare.com')]");
  9396. }
  9397. if (GM_getValue("Check_daofile_dot_com_links", false))
  9398. {
  9399. addFileHost(
  9400. "daofile\.com\/\\w+",
  9401. 'class="captcha_code',
  9402. 'style="width:500px;text-align:left;">',
  9403. 'optional1--',
  9404. 'optional2',
  9405. "//a[contains(@href,'daofile.com')]");
  9406. }
  9407. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9408. {
  9409. addFileHost(
  9410. "imagenetz\.de\/\\w+",
  9411. 'id="download',
  9412. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9413. 'optional1--',
  9414. 'optional2',
  9415. "//a[contains(@href,'imagenetz.de')]");
  9416. }
  9417. if (GM_getValue("Check_uloz_dot_to_links", false))
  9418. {
  9419. addFileHost(
  9420. "uloz\.to",
  9421. 'limitedDownloadButton|Stáhnout pomalu',
  9422. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9423. 'optional1--',
  9424. 'optional2',
  9425. "//a[contains(@href,'uloz.to')]");
  9426. }
  9427. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9428. {
  9429. addFileHost(
  9430. "ulozto.net",
  9431. 'limitedDownloadButton|Stáhnout pomalu',
  9432. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.|File has been deleted|Soubor byl smazán|Súbor bol zmazaný|Plik został usunięty|c-button deletedFile',
  9433. 'optional1--',
  9434. 'optional2',
  9435. "//a[contains(@href,'ulozto.net')]");
  9436. }
  9437. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9438. {
  9439. addFileHost(
  9440. "ulozto\.sk",
  9441. 'limitedDownloadButton|Stáhnout pomalu',
  9442. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9443. 'optional1--',
  9444. 'optional2',
  9445. "//a[contains(@href,'ulozto.sk')]");
  9446. }
  9447. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9448. {
  9449. addFileHost(
  9450. "ulozto\.cz",
  9451. 'limitedDownloadButton|Stáhnout pomalu',
  9452. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9453. 'optional1--',
  9454. 'optional2',
  9455. "//a[contains(@href,'ulozto.cz')]");
  9456. }
  9457. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9458. {
  9459. addFileHost(
  9460. "subyshare\.com\/\\w+",
  9461. 'id="method_free',
  9462. 'file was removed|class="err">|1s">404',
  9463. 'This server is in maintenance mode|m human"',
  9464. 'optional2',
  9465. "//a[contains(@href,'subyshare.com')]",
  9466. true);
  9467. }
  9468. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9469. {
  9470. addFileHost(
  9471. "fileshareup\.com\/\\w+",
  9472. 'download-timer|btn-free-element|content="Download file',
  9473. 'content="Error"|content="error|heading-1">Error<',
  9474. 'optional1--',
  9475. 'optional2',
  9476. "//a[contains(@href,'fileshareup.com')]");
  9477. }
  9478. if (GM_getValue("Check_mystore_dot_to_links", false))
  9479. {
  9480. addFileHost(
  9481. "mystore\.to\/\\w+",
  9482. 'Download File',
  9483. 'file not found',
  9484. 'optional1--',
  9485. 'optional2',
  9486. "//a[contains(@href,'mystore.to/dl')]");
  9487. }
  9488. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9489. {
  9490. addFileHost(
  9491. "usercloud\.net\/\\w+",
  9492. 'content="download|var seconds = 60|type="password',
  9493. 'content="error|report_file.html">',
  9494. 'optional1--',
  9495. 'optional2',
  9496. "//a[contains(@href,'usercloud.net')]");
  9497. }
  9498. if (GM_getValue("Check_workupload_dot_com_links", false))
  9499. {
  9500. addFileHost(
  9501. "workupload\.com\/\\w+",
  9502. 'content="Download|id="download"',
  9503. 'File not found|img/not-found.jpg|Error message',
  9504. 'optional1--',
  9505. 'optional2',
  9506. "//a[contains(@href,'workupload.com')]");
  9507. }
  9508. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9509. {
  9510. addFileHost(
  9511. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9512. 'class="download">',
  9513. 'class="error center',
  9514. 'optional1--',
  9515. 'optional2',
  9516. "//a[contains(@href,'storageserver.co.uk')]");
  9517. }
  9518. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9519. {
  9520. addFileHost(
  9521. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9522. '"kind": "file"',
  9523. '"error": "not_exists"',
  9524. 'optional1--',
  9525. 'optional2',
  9526. "//a[contains(@href,'cloud.mail.ru')]");
  9527. }
  9528. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9529. {
  9530. addFileHost(
  9531. "bdupload\.info\/\\w+",
  9532. 'class="downloadbtn">|id="downloadbtn"',
  9533. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9534. 'optional1--',
  9535. 'optional2',
  9536. "//a[contains(@href,'bdupload.info')]");
  9537. }
  9538. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9539. {
  9540. addFileHost(
  9541. "wayupload\.com\/\\w+",
  9542. 'class="nopay-btn gray"',
  9543. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9544. 'optional1--',
  9545. 'optional2',
  9546. "//a[contains(@href,'wayupload.com')]");
  9547. }
  9548. if (GM_getValue("Check_exbit_dot_net_links", false))
  9549. {
  9550. addFileHost(
  9551. "exbit\.net\/\\w+",
  9552. 'class="nopay-btn|href="/download/free/',
  9553. 'File not found',
  9554. 'optional1--',
  9555. 'optional2',
  9556. "//a[contains(@href,'exbit.net')]");
  9557. }
  9558. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9559. {
  9560. addFileHost(
  9561. "uploadocean\.com\/\\w+",
  9562. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9563. 'deleted.png"',
  9564. 'optional1--',
  9565. 'optional2',
  9566. "//a[contains(@href,'uploadocean.com')]");
  9567. }
  9568. if (GM_getValue("Check_erafile_dot_com_links", false))
  9569. {
  9570. addFileHost(
  9571. "erafile\.com\/\\w+",
  9572. 'id="method_free',
  9573. '<div style="width:500px;text-align:left;">',
  9574. 'optional1--',
  9575. 'optional2',
  9576. "//a[contains(@href,'erafile.com')]");
  9577. }
  9578. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9579. {
  9580. addFileHost(
  9581. "suprafiles\.net\/\\w+",
  9582. 'name="method_free"',
  9583. 'File Not Found|style="width:1000px; text-align: left;">',
  9584. 'server is in maintenance mode',
  9585. 'optional2',
  9586. "//a[contains(@href,'suprafiles.net') or contains(@href,'suprafiles.org')]");
  9587. }
  9588. if (GM_getValue("Check_suprafiles_dot_co_links", false))
  9589. {
  9590. addFileHost(
  9591. "suprafiles\.co\/\\w+",
  9592. 'name="method_free"',
  9593. 'File Not Found|style="width:1000px; text-align: left;">',
  9594. 'server is in maintenance mode',
  9595. 'optional2',
  9596. "//a[contains(@href,'suprafiles.co')]");
  9597. }
  9598. if (GM_getValue("Check_suprafiles_dot_org_links", false))
  9599. {
  9600. addFileHost(
  9601. "suprafiles\.org\/\\w+",
  9602. 'name="method_free"',
  9603. 'File Not Found|style="width:1000px; text-align: left;">',
  9604. 'server is in maintenance mode',
  9605. 'optional2',
  9606. "//a[contains(@href,'suprafiles.org')]");
  9607. }
  9608. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9609. {
  9610. addFileHost(
  9611. "upfiles\.net\/\\w+",
  9612. 'id="recaptcha2"|snail.png"',
  9613. 'Ten plik został usunięty.|style="margin-top:50px',
  9614. 'optional1--',
  9615. 'optional2',
  9616. "//a[contains(@href,'upfiles.net/f/')]");
  9617. }
  9618. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9619. {
  9620. addFileHost(
  9621. "dailyfiles\.net\/\\w+",
  9622. 'onclick="dwn',
  9623. '<title>Error',
  9624. 'optional1--',
  9625. 'optional2',
  9626. "//a[contains(@href,'dailyfiles.net')]");
  9627. }
  9628. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9629. {
  9630. addFileHost(
  9631. "littlebyte\.net\/\\w+",
  9632. '>Free download<|>Скачать медленно<',
  9633. 'images/dmca.png">',
  9634. 'optional1--',
  9635. 'optional2',
  9636. "//a[contains(@href,'littlebyte.net')]");
  9637. }
  9638. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9639. {
  9640. addFileHost(
  9641. "black\\-label\\.pro\/\\w+",
  9642. 'slow_download_button.png"|td><td title="',
  9643. 'STILL NEED CODE FOR DEAD LINKS',
  9644. 'optional1--',
  9645. 'optional2',
  9646. "//a[contains(@href,'black-label.pro')]");
  9647. } */
  9648. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9649. {
  9650. addFileHost(
  9651. "temp\\-share\\.com\/\\w+",
  9652. 'publickey',
  9653. 'STILL NEED CODE FOR DEAD LINKS',
  9654. 'optional1--',
  9655. 'optional2',
  9656. "//a[contains(@href,'temp-share.com')]");
  9657. }
  9658. if (GM_getValue("Check_filesha_dot_com_links", false))
  9659. {
  9660. addFileHost(
  9661. "filesha\.com\/\\w+",
  9662. '>Download Free<',
  9663. 'STILL NEED CODE FOR DEAD LINKS',
  9664. 'optional1--',
  9665. 'optional2',
  9666. "//a[contains(@href,'filesha.com')]");
  9667. }
  9668. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9669. {
  9670. addFileHost(
  9671. "ausfile\.com\/\\w+",
  9672. 'class="slow-download',
  9673. 'File Not Found',
  9674. 'optional1--',
  9675. 'optional2',
  9676. "//a[contains(@href,'ausfile.com')]");
  9677. }
  9678. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9679. {
  9680. addFileHost(
  9681. "upfile\.mobi\/\\w+",
  9682. 'class="download_button"',
  9683. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9684. 'optional1--',
  9685. 'optional2',
  9686. "//a[contains(@href,'upfile.mobi')]");
  9687. }
  9688. if (GM_getValue("Check_share_dot_az_links", false))
  9689. {
  9690. addFileHost(
  9691. "share\.az\/\\w+",
  9692. 'id="btn_download"',
  9693. 'File Not Found|We are sorry',
  9694. 'optional1--',
  9695. 'optional2',
  9696. "//a[contains(@href,'share.az')]");
  9697. }
  9698. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9699. {
  9700. addFileHost(
  9701. "partage-facile\.com",
  9702. 'class="title"><strong>',
  9703. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9704. 'optional--',
  9705. 'optional2--',
  9706. "//a[contains(@href,'partage-facile.com')]");
  9707. }
  9708. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9709. {
  9710. addFileHost(
  9711. "uploadify\.net\/\\w+",
  9712. 'loading_small.gif"',
  9713. '<title>Error -',
  9714. 'optional1--',
  9715. 'optional2',
  9716. "//a[contains(@href,'uploadify.net')]");
  9717. }
  9718. if (GM_getValue("Check_uploads_dot_to_links", false))
  9719. {
  9720. addFileHost(
  9721. "uploads\.to\/\\w+",
  9722. 'class="g-recaptcha',
  9723. 'File Not Found|FILE NOT FOUND<',
  9724. 'optional1--',
  9725. 'optional2',
  9726. "//a[contains(@href,'uploads.to')]");
  9727. }
  9728. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9729. {
  9730. addFileHost(
  9731. "crazyshare\.cc\/\\w+",
  9732. 'slow_download_button.png',
  9733. 'File Not Found|content="Error"',
  9734. 'optional1--',
  9735. 'optional2',
  9736. "//a[contains(@href,'crazyshare.cc')]");
  9737. }
  9738. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9739. {
  9740. addFileHost(
  9741. "fileshark\.pl\/\\w+",
  9742. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9743. 'Nie znaleziono pliku w serwisie.',
  9744. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9745. 'optional2',
  9746. "//a[contains(@href,'fileshark.pl')]");
  9747. }
  9748. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9749. {
  9750. addFileHost(
  9751. "pobierz\.to\/\\w+",
  9752. 'class="download-timer',
  9753. 'Plik został usunięty.',
  9754. 'optional1--',
  9755. 'optional2',
  9756. "//a[contains(@href,'pobierz.to')]");
  9757. }
  9758. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9759. {
  9760. addFileHost(
  9761. "kingfile\.pl\/\\w+",
  9762. 'id="downloadBox',
  9763. 'Error 404 - File Not Found|Nie znaleziono pliku|Szukany plik nie jest już dostępny|Przykro nam – ale plik który chcesz pobrac zmienil|Przykro nam - ale plik który cholsz pobrać zmienił swój adres lub został usunięty',
  9764. 'optional1--',
  9765. 'optional2',
  9766. "//a[contains(@href,'kingfile.pl')]");
  9767. }
  9768. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9769. {
  9770. addFileHost(
  9771. "hotlink\.cc\/",
  9772. 'id="downloadbtn">|class="free"|id="counttext1"',
  9773. 'Error 404|Page not found',
  9774. 'optional1--',
  9775. 'optional2',
  9776. "//a[contains(@href,'hotlink.cc')]");
  9777. }
  9778. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9779. {
  9780. addFileHost(
  9781. "owndrives\.com\/\\w+",
  9782. 'id="method_free"',
  9783. 'File Not Found',
  9784. 'optional1--',
  9785. 'optional2',
  9786. "//a[contains(@href,'owndrives.com')]");
  9787. }
  9788. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9789. {
  9790. addFileHost(
  9791. "avatarshare\.com\/\\w+",
  9792. 'name="method_free"',
  9793. 'File Not Found',
  9794. 'optional1--',
  9795. 'optional2',
  9796. "//a[contains(@href,'avatarshare.com')]");
  9797. }
  9798. if (GM_getValue("Check_up_dash_4ever_dot_com_links", false))
  9799. {
  9800. addFileHost(
  9801. "up-4ever\.com\/\\w+",
  9802. 'name="method_free"',
  9803. 'File Not Found',
  9804. 'optional1--',
  9805. 'optional2',
  9806. "//a[contains(@href,'up-4ever.com')]");
  9807. }
  9808. if (GM_getValue("Check_zapfile_dot_net_links", false))
  9809. {
  9810. addFileHost(
  9811. "zapfile\.net\/\\w+",
  9812. 'name="method_free"',
  9813. 'File Not Found',
  9814. 'optional1--',
  9815. 'optional2',
  9816. "//a[contains(@href,'zapfile.net')]");
  9817. }
  9818. if (GM_getValue("Check_fileshd_dot_net_links", false))
  9819. {
  9820. addFileHost(
  9821. "fileshd\.net\/\\w+",
  9822. 'name="method_free"',
  9823. 'Reason for deletion:|file was removed|<b class="err">|File Not Found',
  9824. 'optional1--',
  9825. 'optional2',
  9826. "//a[contains(@href,'fileshd.net')]");
  9827. }
  9828. if (GM_getValue("Check_media4up_dot_com_links", false))
  9829. {
  9830. addFileHost(
  9831. "media4up\.com\/\\w+",
  9832. 'Please wait|id="this_count_show|method_free',
  9833. 'File Not Found',
  9834. 'optional1--',
  9835. 'optional2',
  9836. "//a[contains(@href,'media4up.com')]");
  9837. }
  9838. if (GM_getValue("Check_700files_dot_com_links", false))
  9839. {
  9840. addFileHost(
  9841. "700files\.com\/\\w+",
  9842. 'id="countdown">|id="downloadbtn"',
  9843. 'File Not Found',
  9844. 'optional1--',
  9845. 'optional2',
  9846. "//a[contains(@href,'700files.com')]");
  9847. }
  9848. if (GM_getValue("Check_megafiles_dot_us_links", false))
  9849. {
  9850. addFileHost(
  9851. "megafiles\.us\/\\w+",
  9852. 'method_free',
  9853. 'File Not Found',
  9854. 'optional1--',
  9855. 'optional2',
  9856. "//a[contains(@href,'megafiles.us')]");
  9857. }
  9858. if (GM_getValue("Check_flexydrive_dot_com_links", false))
  9859. {
  9860. addFileHost(
  9861. "flexydrive\.com\/\\w+",
  9862. 'value="Free',
  9863. 'File Not Found|file_not_found',
  9864. 'optional1--',
  9865. 'optional2',
  9866. "//a[contains(@href,'flexydrive.com')]");
  9867. }
  9868. if (GM_getValue("Check_backin_dot_net_links", false))
  9869. {
  9870. addFileHost(
  9871. "backin\.net\/\\w+",
  9872. 'id="downloadbtn|id="countdown"',
  9873. 'File Not Found',
  9874. 'optional1--',
  9875. 'optional2',
  9876. "//a[contains(@href,'backin.net')]");
  9877. }
  9878. if (GM_getValue("Check_9xupload_dot_me_links", false))
  9879. {
  9880. addFileHost(
  9881. "9xupload\.me\/\\w+",
  9882. 'id="downloadbtn|mega/download.png',
  9883. 'Not Found|<title>404',
  9884. 'optional1--',
  9885. 'optional2',
  9886. "//a[contains(@href,'9xupload.me')]");
  9887. }
  9888. if (GM_getValue("Check_sendit_dot_cloud_links", false))
  9889. {
  9890. addFileHost(
  9891. "sendit\.cloud\/\\w+",
  9892. 'id="btn_download',
  9893. 'File Not Found',
  9894. 'optional1--',
  9895. 'optional2',
  9896. "//a[contains(@href,'sendit.cloud')]");
  9897. }
  9898. if (GM_getValue("Check_filefox_dot_cc_links", false))
  9899. {
  9900. addFileHost(
  9901. "filefox\.cc",
  9902. 'btn-download1',
  9903. 'File Not Found|Upgrade to premium!',
  9904. 'optional1--',
  9905. 'Premium</a> Members only',
  9906. "//a[contains(@href,'filefox.cc')]");
  9907. }
  9908. if (GM_getValue("Check_bitshare_dot_com_links", false))
  9909. {
  9910. addFileHost(
  9911. "bitshare\\.com",
  9912. 'id="activdownloadbutton',
  9913. '<title>BitShare.com',
  9914. 'optional--',
  9915. 'optional2',
  9916. "//a[contains(@href,'bitshare.com')]",
  9917. true
  9918. );
  9919. }
  9920. if (GM_getValue("Check_uploadbank_dot_com_links", false))
  9921. {
  9922. addFileHost(
  9923. "uploadbank\.com",
  9924. 'id="downloadbtn',
  9925. 'File Not Found',
  9926. 'optional1--',
  9927. 'optional2',
  9928. "//a[contains(@href,'uploadbank.com')]");
  9929. }
  9930. if (GM_getValue("Check_cloudyfiles_dot_com_links", false))
  9931. {
  9932. addFileHost(
  9933. "cloudyfiles\\.(?:org|com)\/\\w+",
  9934. 'name="method_free"',
  9935. 'File Not Found',
  9936. 'optional1--',
  9937. 'optional2',
  9938. "//a[contains(@href,'cloudyfiles.com') or contains(@href,'cloudyfiles.org')]");
  9939. }
  9940. if (GM_getValue("Check_bittfox_dot_com_links", false))
  9941. {
  9942. addFileHost(
  9943. "bittfox\.com",
  9944. 'value="download">',
  9945. 'id="downloadError"',
  9946. 'optional1--',
  9947. 'optional2',
  9948. "//a[contains(@href,'bittfox.com')]");
  9949. }
  9950. if (GM_getValue("Check_drop_dot_me_links", false))
  9951. {
  9952. addFileHost(
  9953. "drop\.me",
  9954. 'btn btn-download',
  9955. 'error-404',
  9956. 'optional1--',
  9957. 'optional2',
  9958. "//a[contains(@href,'drop.me')]");
  9959. }
  9960. if (GM_getValue("Check_k_dash_upload_dot_com_links", false))
  9961. {
  9962. addFileHost(
  9963. "(?:k-upload\\.com|k-upload\\.fr)\/\\w+",
  9964. 'Télécharger le fichier :|>dans 15 secondes.<',
  9965. 'la page à laquelle vous essayez |daccéder est introuvable|>Erreur 404<|Make the choice of simplicity|Faîtes le choix de la simplicité',
  9966. 'optional--',
  9967. 'optional2--',
  9968. "//a[contains(@href,'k-upload.com') or contains(@href,'k-upload.fr/')]"
  9969. );
  9970. }
  9971. if (GM_getValue("Check_anonfile_dot_com_links", false))
  9972. {
  9973. addFileHost(
  9974. "anonfile\\.com",
  9975. 'id="download-url" class="btn btn-primary btn-block" href=',
  9976. '<title>404 -',
  9977. 'optional1--',
  9978. 'optional2',
  9979. "//a[contains(@href,'anonfile.com')]");
  9980. }
  9981. if (GM_getValue("Check_vshare_dot_io_links", false))
  9982. {
  9983. addFileHost(
  9984. "vshare\\.io\/\\w+",
  9985. 'id="download-url"|id="download-link"',
  9986. '<title>404 -',
  9987. 'optional1--',
  9988. 'optional2',
  9989. "//a[contains(@href,'vshare.io')]");
  9990. }
  9991. if (GM_getValue("Check_gfycat_dot_com_links", false))
  9992. {
  9993. addFileHost(
  9994. "gfycat\.com\/\\w+",
  9995. '<head><title>',
  9996. 'title ng-bind',
  9997. 'optional1--',
  9998. 'optional2',
  9999. "//a[contains(@href,'gfycat.com')]");
  10000. }
  10001. if (GM_getValue("Check_4downfiles_dot_org_links", false))
  10002. {
  10003. addFileHost(
  10004. "4downfiles\.org\/\\w+",
  10005. 'Free Download',
  10006. 'Reason for deletion',
  10007. 'optional1--',
  10008. 'optional2',
  10009. "//a[contains(@href,'4downfiles.org')]");
  10010. }
  10011. if (GM_getValue("Check_minhateca_dot_com_dot_br_links", false))
  10012. {
  10013. addFileHost(
  10014. "minhateca(?:\\.com)?\\.br\/\\w+",
  10015. 'class="greenButtonCSS',
  10016. 'file not found|O arquivo ou conta que está à procura foi eliminada',
  10017. 'optional1--',
  10018. 'optional2',
  10019. "//a[contains(@href,'minhateca.com.br')]");
  10020. }
  10021. if (GM_getValue("Check_dir50_dot_net_links", false))
  10022. {
  10023. addFileHost(
  10024. "dir50\\.net",
  10025. 'id="method_free',
  10026. 'File Not Found',
  10027. 'optional1--',
  10028. 'optional2',
  10029. "//a[contains(@href,'dir50.net')]");
  10030. }
  10031. if (GM_getValue("Check_indishare_dot_me_links", false))
  10032. {
  10033. addFileHost(
  10034. "indishare\\.me",
  10035. 'id="btn_download"',
  10036. 'File Not Found|"width:900px;text-align:center;">',
  10037. 'optional1--',
  10038. 'optional2',
  10039. "//a[contains(@href,'indishare.me')]");
  10040. }
  10041. if (GM_getValue("Check_coolbytez_dot_com_links", false))
  10042. {
  10043. addFileHost(
  10044. "coolbytez\\.com",
  10045. 'id="method_free"',
  10046. 'File Not Found',
  10047. 'optional1--',
  10048. 'optional2',
  10049. "//a[contains(@href,'coolbytez.com')]");
  10050. }
  10051. if (GM_getValue("Check_fileflares_dot_com_links", false))
  10052. {
  10053. addFileHost(
  10054. "fileflares\\.com\/\\w+",
  10055. 'id="downloadbtn"|icon_download.png',
  10056. '"width:500px;text-align:left;">',
  10057. 'optional1--',
  10058. 'optional2',
  10059. "//a[contains(@href,'fileflares.com')]");
  10060. }
  10061. if (GM_getValue("Check_vidoza_dot_net_links", false))
  10062. {
  10063. addFileHost(
  10064. "vidoza\.net\/\\w+",
  10065. 'btn btn-success',
  10066. 'File not found',
  10067. 'optional--',
  10068. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  10069. "//a[contains(@href,'vidoza.net')]");
  10070. }
  10071. if (GM_getValue("Check_douploads_dot_com_links", false))
  10072. {
  10073. addFileHost(
  10074. "douploads\\.com",
  10075. 'id="downloadBtnClick"',
  10076. 'id="errorpage">|Not Found',
  10077. 'optional1--',
  10078. 'optional2',
  10079. "//a[contains(@href,'douploads.com')]");
  10080. }
  10081. }
  10082. //start here
  10083.  
  10084. //hosts with direct download, so they must be requested for headers only
  10085. function initFileHostsHeadersOnly()
  10086. {
  10087. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  10088. {
  10089. var host = new Array(5);
  10090. host[0] = linkRegex;
  10091. host[1] = isAliveRegex;
  10092. host[2] = isDeadRegex;
  10093. host[4] = ispremRegex;
  10094. host[3] = xpathEx;
  10095. http_file_hosts_headers_only.push(host);
  10096. }
  10097. if (GM_getValue("Check_uloziste_dot_com_links", false))
  10098. {
  10099. addFileHostHeadersOnly(
  10100. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  10101. 'Connection: Keep-Alive',
  10102. 'Content-Length: 3857',
  10103. 'optional2',
  10104. "//a[contains(@href,'uloziste.com')]"
  10105. )
  10106. }
  10107. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  10108. {
  10109. addFileHostHeadersOnly(
  10110. "filescdn\.com\/\\w+",
  10111. 'Connection: keep-alive',
  10112. 'Company</Title>',
  10113. 'optional2',
  10114. "//a[contains(@href,'filescdn.com')]"
  10115. )
  10116. } */
  10117. if (GM_getValue("Check_adrive_dot_com_links", false))
  10118. {
  10119. addFileHostHeadersOnly(
  10120. "adrive\\.com\/public\/\\w+",
  10121. 'Connection: keep-alive',
  10122. 'orig_ref=deleted',
  10123. 'optional2',
  10124. "//a[contains(@href,'adrive.com')]"
  10125. )
  10126. }
  10127. }
  10128.  
  10129. //CustomRules
  10130. //functions add...Host copied here
  10131. function addObsoleteHost(linkRegex, xpathEx)
  10132. {
  10133. var host = new Array(2);
  10134. host[0] = linkRegex;
  10135. host[1] = xpathEx;
  10136. http_file_hosts_obsolete.push(host);
  10137. }
  10138. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  10139. {
  10140. var host = new Array(7);
  10141. host[0] = linkRegex;
  10142. host[1] = isAliveRegex;
  10143. host[2] = isDeadRegex;
  10144. host[3] = isUnavaRegex;
  10145. host[4] = xpathEx;
  10146. tryLoop ? host[5] = true : host[5] = false;
  10147. host[6] = ispremRegex;
  10148. http_file_hosts.push(host);
  10149. }
  10150. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  10151. {
  10152. var host = new Array(5);
  10153. host[0] = linkRegex;
  10154. host[1] = isAliveRegex;
  10155. host[2] = isDeadRegex;
  10156. host[3] = xpathEx;
  10157. host[4] = ispremRegex;
  10158. http_file_hosts_headers_only.push(host);
  10159. }
  10160. //takes a fully built rules array and adds the rules to WARLC
  10161. function applyCustomRules(customRules)
  10162. {
  10163. if (!customRules) return;
  10164. var rules, r, i;
  10165. rules = customRules.rules;
  10166. for (i = 0 ; i < rules.length ; i++)
  10167. {
  10168. r = rules[i];
  10169. if (r.enabled)
  10170. {
  10171. switch (r.type)
  10172. {
  10173. case 'single':
  10174. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  10175. break;
  10176. case 'headers':
  10177. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  10178. break;
  10179. case 'obsolete':
  10180. addObsoleteHost(r.urlregex, r.xpath)
  10181. break;
  10182. }
  10183. }
  10184. }
  10185. }
  10186.  
  10187.  
  10188. function initFileHostsCustom()
  10189. {
  10190. if (Custom_rules && Custom_rules_text)
  10191. {
  10192. var msg = '';
  10193. if (newVersion)
  10194. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  10195. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  10196. msg = '60 or more days have passed since this notification.\n\n';
  10197. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  10198. {
  10199. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  10200. msg +=
  10201. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  10202. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  10203. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  10204. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  10205. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  10206. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  10207. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  10208. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  10209. setTimeout(function(){alert(msg)},0);
  10210. }
  10211. var customRules = parseCustomRules(Custom_rules_text);
  10212. if (customRules.warning || customRules.error)
  10213. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  10214. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  10215. JSON.stringify(customRules.info, null, ' '));
  10216. applyCustomRules(customRules);
  10217. }
  10218. }
  10219. //end of CustomRules processing
  10220.  
  10221.  
  10222.  
  10223. } //end of function start
  10224.  
  10225.  
  10226.  
  10227. function initClipBoardTools()
  10228. {
  10229. unsafeWindow.copyToClipboard = function(text)
  10230. {
  10231. try
  10232. {
  10233. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  10234.  
  10235. var str = Components.classes["@mozilla.org/supports-string;1"].
  10236. createInstance(Components.interfaces.nsISupportsString);
  10237. if (!str) return false;
  10238.  
  10239. str.data = text;
  10240.  
  10241. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  10242. createInstance(Components.interfaces.nsITransferable);
  10243. if (!trans) return false;
  10244.  
  10245. trans.addDataFlavor("text/unicode");
  10246. trans.setTransferData("text/unicode", str, text.length * 2);
  10247.  
  10248. var clipid = Components.interfaces.nsIClipboard;
  10249. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  10250. if (!clip) return false;
  10251.  
  10252. clip.setData(trans, null, clipid.kGlobalClipboard);
  10253. } catch (e) {
  10254. GM_log("Error copyToClipboard : " + e);
  10255. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  10256. }
  10257. }
  10258. }
  10259.  
  10260.  
  10261.  
  10262. //CustomRules
  10263.  
  10264. function escapeRegex(str)
  10265. {
  10266. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  10267. }
  10268.  
  10269.  
  10270. //called internally from parseCustomRules.
  10271. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  10272. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  10273. function makeCustomRule(rule)
  10274. {
  10275. function makeMatchRegex(arrmatch)
  10276. {
  10277. return escapeRegex(arrmatch.join('\n'))
  10278. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  10279. .replace(/\n/g,'|'); //join together
  10280. }
  10281. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  10282. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  10283. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  10284. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  10285. if (rule.baseurl)
  10286. {
  10287. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  10288. for (i = 0 ; i < len ; i++)
  10289. {
  10290. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  10291. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  10292. {
  10293. 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'])
  10294. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  10295. }
  10296. else //baseurl in the form: example.com/xxx
  10297. {
  10298. xpath.push(m[0]);
  10299. urlregex.push(escapeRegex(m[0]) + '.');
  10300. }
  10301. }
  10302. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  10303. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  10304. }
  10305. return rule;
  10306. } //function makeCustomRule
  10307.  
  10308.  
  10309. /*
  10310. Takes a string containing custom link checking rules.
  10311. Returns an object with fields:
  10312. info - contains notes, warnings and errors found during parsing
  10313. rules - the array of custom rules
  10314. note, warning, error - number of each of them found during parsing
  10315. Format of the input string:
  10316. One command per line. Command format: @keyword parameter
  10317. Keywords:
  10318. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  10319. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  10320. These keywords can be multiple (any of them will work):
  10321. @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...)
  10322. @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+
  10323. @alivelink, @deadlink - example links
  10324. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  10325. Lines starting with // and empty lines are ignored.
  10326. Invalid parameters generate errors and those lines are skipped.
  10327. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  10328. Example:
  10329. @customrule filehost
  10330. @baseurl filehost.com/download/
  10331. @baseurl filehost2. com net /d?=
  10332. @alivematch id="download">
  10333. @deadmatch File not found
  10334. @deadmatch File deleted
  10335. */
  10336. function parseCustomRules(rulesStr)
  10337. {
  10338. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  10339. function addInfo(type, msg, ln){
  10340. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  10341. customRules[type]++;
  10342. }
  10343. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  10344. if (!lines) return null;
  10345. lines.push('@#customrule _'); //to save the last rule
  10346. var m, linecount = lines.length;
  10347. var keyword, param, constr, rule, err;
  10348. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  10349. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  10350. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  10351. var constraints = {
  10352. 'baseurl': {
  10353. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10354. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10355. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  10356. 'alivematch': {
  10357. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10358. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10359. 'deadmatch': {
  10360. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10361. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10362. 'unavamatch': {
  10363. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  10364. 'alivelink': {
  10365. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10366. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10367. 'deadlink': {
  10368. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10369. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10370. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10371. };
  10372. for (linenum = 0 ; linenum < linecount ; linenum++)
  10373. {
  10374. //capturing groups: 1 23 4 5 6
  10375. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10376. if (m)
  10377. {
  10378. if (m[1] || !m[2])
  10379. continue; // ignore empty lines and lines starting with //
  10380. keyword = (m[4] || m[2]).toLowerCase();
  10381. param = m[6];
  10382. if (keyword == 'customrule')
  10383. {
  10384. //save the current rule if all required fields are provided
  10385. if (rule)
  10386. {
  10387. err = false;
  10388. $.each(constraints, function(kw, constraint){
  10389. var l, constr = constraint[rule.type];
  10390. if (constr)
  10391. {
  10392. l = rule[kw] ? rule[kw].length : 0;
  10393. if (l < constr.min || l > constr.max)
  10394. {
  10395. 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);
  10396. err = true;
  10397. }
  10398. }
  10399. });
  10400. if (!err)
  10401. customRules.rules.push(makeCustomRule(rule));
  10402. }
  10403. //start a new rule
  10404. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10405. {
  10406. rule = {
  10407. 'enabled': !m[3],
  10408. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10409. 'name': param
  10410. };
  10411. }
  10412. else
  10413. {
  10414. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10415. rule = null;
  10416. }
  10417. }
  10418. else //good line format, but keyword other than customrule
  10419. {
  10420. if (!rule)
  10421. {
  10422. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10423. continue;
  10424. }
  10425. if (constraints[keyword])
  10426. {
  10427. constr = constraints[keyword][rule.type];
  10428. if (constr)
  10429. {
  10430. if (constr.paramRE && !constr.paramRE.test(param))
  10431. {
  10432. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10433. continue;
  10434. }
  10435. }
  10436. else
  10437. {
  10438. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10439. continue;
  10440. }
  10441. }
  10442. //line OK, save
  10443. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10444. }
  10445. } //if (m)
  10446. else
  10447. addInfo('warning', 'Unknown line format. Line skipped.');
  10448. } //for loop
  10449. return customRules;
  10450. } //function parseCustomRules
  10451.  
  10452.  
  10453. /* ********************UPDATES********************
  10454. Feburary 15, 2018
  10455. Version 1.4.5.0
  10456. fixed uptobox.com
  10457.  
  10458. Feburary 07, 2018
  10459. Version 1.4.4.9
  10460. Fixed crazychare.cc not checking some links
  10461.  
  10462. Feburary 05, 2018
  10463. Version 1.4.4.8
  10464. added uploadrocket.net to obsolete hosts
  10465.  
  10466. January 23, 2018
  10467. Version 1.4.4.7
  10468. added datoteke.com to obsolete hosts
  10469.  
  10470. January 22, 2018
  10471. Version 1.4.4.6
  10472. added douploads.com
  10473.  
  10474. January 19, 2018
  10475. Version 1.4.4.5
  10476. fixed ulozto.net
  10477.  
  10478. January 07, 2018
  10479. Version 1.4.4.4
  10480. added indishare.me
  10481. added coolbytez.com
  10482.  
  10483. January 04, 2018
  10484. Version 1.4.4.3
  10485. added uploadable.ch to obsolete hosts.
  10486.  
  10487. January 01, 2018
  10488. Version 1.4.4.2
  10489. fixed uloz.to
  10490.  
  10491. December 30, 2017
  10492. Version 1.4.4.1
  10493. added dir50.net
  10494.  
  10495. December 27, 2017
  10496. Version 1.4.4.0
  10497. fixed dl.free.fr/getfile.pl
  10498. added dead code for minhateca.com
  10499.  
  10500. December 26, 2017
  10501. Version 1.4.3.9
  10502. added https://minhateca.com.br
  10503.  
  10504. December 25, 2017
  10505. Version 1.4.3.8
  10506. excluded
  10507. https://www.express-scripts.com
  10508.  
  10509. December 23, 2017
  10510. Version 1.4.3.7
  10511. added 4downfiles.org
  10512. fixed rapidgator.net/rg.to premium
  10513. by J0N4S
  10514.  
  10515. December 20, 2017
  10516. Version 1.4.3.6
  10517. added gfycat.com
  10518.  
  10519. December 17, 2017
  10520. Version 1.4.3.5
  10521. added suprafiles.org
  10522. fixed subyshare
  10523.  
  10524. December 16, 2017
  10525. Version 1.4.3.4
  10526. added
  10527. anonfile.com
  10528. vshare.io
  10529.  
  10530. December 16, 2017
  10531. Version 1.4.3.3
  10532. fixed cloudyfiles.com/org
  10533.  
  10534. December 16, 2017
  10535. Version 1.4.3.2
  10536. fixed keep2share not detecting some premium links
  10537.  
  10538.  
  10539. December 15, 2017
  10540. Version 1.4.3.1
  10541. fixed uloz.to
  10542.  
  10543. December 09, 2017
  10544. Version 1.4.3.0
  10545. added temp unavialable to subyshare.com
  10546.  
  10547. November 27, 2017
  10548. Version 1.4.2.9
  10549. added k-upload.fr & k-upload.com
  10550.  
  10551. November 24, 2017
  10552. Version 1.4.2.8
  10553. added rockfile.co
  10554. added rockfile.eu to obsolete hosts
  10555.  
  10556. November 10, 2017
  10557. Version 1.4.2.7
  10558. added drop.me
  10559.  
  10560. November 01, 2017
  10561. Version 1.4.2.6
  10562. added vodlocker.com to obsolete hosts
  10563.  
  10564. October 31, 2017
  10565. Version 1.4.2.5
  10566. fixed suprafiles
  10567.  
  10568. October 25, 2017
  10569. Version 1.4.2.4
  10570. excluded google.*
  10571.  
  10572. October 24, 2017
  10573. Version 1.4.2.3
  10574. added fp.io to obsolete hosts
  10575.  
  10576. October 21, 2017
  10577. Version 1.4.2.2
  10578. excluded https://www.google.de.*
  10579.  
  10580. October 10, 2017
  10581. Version 1.4.2.1
  10582. fixed error
  10583.  
  10584. October 07, 2017
  10585. Version 1.4.2.0
  10586. excluded https://www.google.co.*
  10587.  
  10588. September 20, 2017
  10589. Version 1.4.1.9
  10590. added bittfox.com
  10591.  
  10592. September 18, 2017
  10593. Version 1.4.1.8
  10594. added cloudyfiles.com
  10595.  
  10596. August 22, 2017
  10597. Version 1.4.1.7
  10598. fixed speedshare.eu
  10599.  
  10600. August 08, 2017
  10601. Version 1.4.1.5
  10602. fixed 4share.com
  10603.  
  10604. August 06, 2017
  10605. Version 1.4.1.4
  10606. added depfile.us
  10607.  
  10608. July 24, 2017
  10609. Version 1.4.1.3
  10610. added bitshare.com
  10611.  
  10612. July 22, 2017
  10613. Version 1.4.1.2
  10614. fixed novafile.com
  10615.  
  10616. July 21, 2017
  10617. Version 1.4.1.1
  10618. added premium link detection for filefox.cc
  10619.  
  10620. July 20, 2017
  10621. Version 1.4.1.0
  10622. added filefox.cc
  10623.  
  10624. July 16, 2017
  10625. Version 1.4.0.9
  10626. added
  10627. sendit.cloud
  10628. 9xupload.me
  10629.  
  10630. July 13, 2017
  10631. Version 1.4.0.8
  10632. added backin.net
  10633.  
  10634. July 12, 2017
  10635. Version 1.4.0.7
  10636. added uplea.com to obsolete hosts
  10637.  
  10638. July 11, 2017
  10639. Version 1.4.0.6
  10640. Added
  10641. fileshd.net
  10642. media4up.com
  10643. 700files.com
  10644. megafiles.us
  10645. flexydrive.com
  10646.  
  10647. July 09, 2017
  10648. Version 1.4.0.5
  10649. added dipfile.com
  10650.  
  10651. June 29, 2017
  10652. Version 1.4.0.4
  10653. fixed problem with anonym.to (By yurii)
  10654.  
  10655. June 28, 2017
  10656. Version 1.4.0.3
  10657. fixed fboom & k2s (By yurii)
  10658.  
  10659. June 26, 2017
  10660. Version 1.4.0.2
  10661. fixed filefactory
  10662.  
  10663. June 25, 2017
  10664. Version 1.4.0.1
  10665. added zapfile.net
  10666.  
  10667. June 24, 2017
  10668. Version 1.4.0.0
  10669. added suprafiles.co
  10670.  
  10671. June 24, 2017
  10672. Version 1.3.9.9
  10673. added up-4ever.com
  10674.  
  10675. June 19, 2017
  10676. Version 1.3.9.8
  10677. fixed depfile
  10678.  
  10679. June 16, 2017
  10680. Version 1.3.9.7
  10681. fixed filefactory
  10682.  
  10683. June 06, 2017
  10684. Version 1.3.9.6
  10685. fixed uploads.to
  10686.  
  10687. June 06, 2017
  10688. Version 1.3.9.5
  10689. fixed uploadgig.com
  10690.  
  10691. June 05, 2017
  10692. Version 1.3.9.4
  10693. added clicknupload.org
  10694.  
  10695. May 31, 2017
  10696. Version 1.3.9.3
  10697. fixed tusfiles
  10698.  
  10699. May 25, 2017
  10700. Version 1.3.9.2
  10701. added avatarshare.com
  10702.  
  10703. May 15, 2017
  10704. Version 1.3.9.1
  10705. excluded google.pl
  10706. added code to fileshark.pl
  10707.  
  10708. May 12, 2017
  10709. Version 1.3.9.0
  10710. added owndrives.com
  10711.  
  10712. May 12, 2017
  10713. Version 1.3.8.9
  10714. added hotlink.cc
  10715.  
  10716. May 09, 2017
  10717. Version 1.3.8.8
  10718. added code for kingfile.pl
  10719. added code for catshare.net
  10720.  
  10721. May 08, 2017
  10722. Version 1.3.8.7
  10723. added file-upload.com
  10724.  
  10725. May 04, 2017
  10726. Version 1.3.8.6
  10727. fixed rapidgator
  10728.  
  10729. April 30, 2017
  10730. Version 1.3.8.5
  10731. fixed rapidgator
  10732.  
  10733. April 30, 2017
  10734. Version 1.3.8.4
  10735. added code for kingfile.pl
  10736.  
  10737. April 30, 2017
  10738. Version 1.3.8.3
  10739. changed code for kingfile.pl
  10740.  
  10741. April 29, 2017
  10742. Version 1.3.8.2
  10743. added code to kingfile.pl
  10744.  
  10745. April 29, 2017
  10746. Version 1.3.8.1
  10747. added code to kingfile.pl
  10748.  
  10749. April 28, 2017
  10750. Version 1.3.8.0
  10751. fileshark.pl
  10752. kingfile.pl
  10753. pobierz.to
  10754.  
  10755. April 26, 2017
  10756. Version 1.3.7.9
  10757. fixed 1f.al
  10758.  
  10759. April 16, 2017
  10760. Version 1.3.7.8
  10761. added crazyshare.cc
  10762.  
  10763. April 16, 2017
  10764. Version 1.3.7.7
  10765. fixed uploadgig.com
  10766.  
  10767. April 13, 2017
  10768. Version 1.3.7.6
  10769. added neodrive.co to obsolete hosts
  10770.  
  10771. April 07, 2017
  10772. Version 1.3.7.5
  10773. added french code for rg premium links
  10774.  
  10775. April 05, 2017
  10776. Version 1.3.7.4
  10777. added oload.tv
  10778.  
  10779. March 30, 2017
  10780. Version 1.3.7.3
  10781. added uploads.to
  10782.  
  10783. March 20, 2017
  10784. Version 1.3.7.2
  10785. added black-label.pro to obsolete hosts
  10786.  
  10787. March 13, 2017
  10788. Version 1.3.7.1
  10789. fixed filescdn.com
  10790.  
  10791. February 27, 2017
  10792. Version 1.3.7.0
  10793. fixed openload.co
  10794.  
  10795. February 26, 2017
  10796. Version 1.3.6.9
  10797. fixed drive.google.com
  10798. fixed uptobox.com (by dodoxp)
  10799.  
  10800. February 25, 2017
  10801. Version 1.3.6.8
  10802. added uploading.com to obsolete hosts
  10803.  
  10804. February 24, 2017
  10805. Version 1.3.6.7
  10806. cloudzilla.to added to obsolete hosts
  10807.  
  10808. February 23, 2017
  10809. Version 1.3.6.6
  10810. uploadify.net
  10811.  
  10812. February 22, 2017
  10813. Version 1.3.6.5
  10814. fixed katfile.com
  10815.  
  10816. February 12, 2017
  10817. Version 1.3.6.3
  10818. added junocloud.me to obsolete hosts
  10819.  
  10820. January 12, 2017
  10821. Version 1.3.6.2
  10822. added share.az & upfile.mobi
  10823.  
  10824. January 07, 2017
  10825. Version 1.3.6.1
  10826. added ausfile.com
  10827.  
  10828. January 05, 2017
  10829. Version 1.3.6.0
  10830. removed uploadable.ch from obsolete hosts
  10831.  
  10832. January 04, 2017e
  10833.  
  10834. December 31, 2016
  10835. Version 1.3.5.8
  10836. disabled on pizzaonline.dominos
  10837.  
  10838. December 31, 2016
  10839. Version 1.3.5.7
  10840. added uploadable.ch to obsolete hosts
  10841.  
  10842. December 30, 2016
  10843. Version 1.3.5.6
  10844. restored kingfiles.net
  10845.  
  10846. December 14, 2016
  10847. Version 1.3.5.5
  10848. fixed some 1fichier links not checking (yurii)
  10849.  
  10850. December 01, 2016
  10851. Version 1.3.5.4
  10852. added temp-share.com & filesha.com
  10853.  
  10854. November 30, 2016
  10855. Version 1.3.5.3
  10856. fixed mexashare.com not detecting some dead links
  10857.  
  10858. November 29, 2016
  10859. Version 1.3.5.2
  10860. added black-label.pro (live links only)
  10861.  
  10862. November 27, 2016
  10863. Version 1.3.5.1
  10864. made changes to filefactory
  10865.  
  10866. November 23, 2016
  10867. Version 1.3.5.0
  10868. added megashares.com to obsolete hosts
  10869. fixed letitbit not showing as obsolete
  10870. added littlebyte.net
  10871.  
  10872. November 22, 2016
  10873. Version 1.3.4.9
  10874. added code for live links to rapidgator
  10875. added dailyfiles.net
  10876. added upfiles.net
  10877. added multiup.eu
  10878.  
  10879. November 17, 2016
  10880. Version 1.3.4.8
  10881. fixed filefactory, again
  10882.  
  10883. November 17, 2016
  10884. Version 1.3.4.7
  10885. fixed filefactory folders
  10886.  
  10887. November 15, 2016
  10888. Version 1.3.4.6
  10889. fixed filefactory
  10890.  
  10891. November 14, 2016
  10892. Version 1.3.4.5
  10893. fixed rapidgator
  10894. fixed filefactory folders
  10895.  
  10896.  
  10897. November 13, 2016
  10898. Version 1.3.4.4
  10899. fixed problem with drive.google.com
  10900. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10901.  
  10902. November 06, 2016
  10903. Version 1.3.4.3
  10904. added to obsolete hosts (by love buzz)
  10905. 4up.me
  10906. a nonfiles.com
  10907. axifile.com
  10908. creafile.net
  10909. demo.ovh.eu
  10910. filesin.com
  10911. file swap.com
  10912. gulfup.com
  10913. hexupload.com
  10914. hugefiles.net
  10915. jumbofiles.com
  10916. kingfiles.net
  10917. letitbit.net
  10918. lolabits.es
  10919. nowdownload.ch
  10920. openfile.ru
  10921. radicalshare.com
  10922. remixshare.com
  10923. storefiles.co
  10924. toutbox.fr
  10925. uploadbaz.com
  10926. uploadingit.com
  10927. verzend.be
  10928. vidplay.net
  10929. vidxden.com
  10930. xfileload.com
  10931.  
  10932. November 04, 2016
  10933. Version 1.3.4.2
  10934. added french code for rapidgator premium links
  10935. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10936.  
  10937. November 03, 2016
  10938. Version 1.3.4.1
  10939. added Portuguese code for rapidgator premium links
  10940. added suprafiles.net
  10941.  
  10942. November 02, 2016
  10943. Version 1.3.4.0
  10944. fixed depositfiles not detecting depositfiles.com/de links
  10945.  
  10946. October 27, 2016
  10947. Version 1.3.3.9
  10948. fixed uploaded.net not detecting some dead links
  10949.  
  10950. October 24, 2016
  10951. Version 1.3.3.8
  10952. added more french code for upload.af dead links
  10953.  
  10954. October 23, 2016
  10955. Version 1.3.3.7
  10956. added french for upload.af dead links
  10957.  
  10958. October 17, 2016
  10959. Version 1.3.3.6
  10960. fixed error (by Yurii)
  10961.  
  10962. October 17, 2016
  10963. Version 1.3.3.5
  10964. fixed file.al (by Yurii)
  10965.  
  10966. October 16, 2016
  10967. Version 1.3.3.4
  10968. test
  10969.  
  10970. October 11, 2016
  10971. Version 1.3.3.3
  10972. fixed subyshare.com not detecting some dead links
  10973. fixed mexashare.com
  10974. fixed pornfile.cz
  10975.  
  10976. October 10, 2016
  10977. Version 1.3.3.2
  10978. added fileflares.com
  10979. added erafile.com
  10980. added loop to subyshare.com & rockfile.eu
  10981.  
  10982. September 26, 2016
  10983. Version 1.3.3.1
  10984. added uploadocean.com
  10985.  
  10986. September 25, 2016
  10987. Version 1.3.3.0
  10988. added exbit.net
  10989.  
  10990. September 25, 2016
  10991. Version 1.3.2.9
  10992. fixed uptobox
  10993. fixed google (by kubbbie)
  10994.  
  10995. September 23, 2016
  10996. Version 1.3.2.8
  10997. added danish to rapidgator
  10998.  
  10999. September 22, 2016
  11000. Version 1.3.2.7
  11001. added wayupload.com
  11002.  
  11003. September 18, 2016
  11004. Version 1.3.2.6
  11005. added Portuguese language to rapidgator
  11006.  
  11007. September 15, 2016
  11008. Version 1.3.2.5
  11009. added languages to rapidgator
  11010. french
  11011. german
  11012. spanish
  11013. Italian
  11014. russian
  11015. polish
  11016. dutch
  11017. czech
  11018. chinese
  11019. japanese
  11020.  
  11021. September 14, 2016
  11022. Version 1.3.2.4
  11023. fixed spaceforfiles.com
  11024.  
  11025. September 09, 2016
  11026. Version 1.3.2.3
  11027. added bdupload.info
  11028. added german & deutsch language to workupload.com
  11029.  
  11030. September 08, 2016
  11031. Version 1.3.2.2
  11032. added...
  11033. storageserver.co.uk
  11034. cloud.mail.ru
  11035. fixed depositfiles
  11036.  
  11037. September 08, 2016
  11038. Version 1.3.2.1
  11039. added workupload.com
  11040.  
  11041. September 04, 2016
  11042. Version 1.3.2.0
  11043. made changes to euroshare.eu
  11044.  
  11045. September 03, 2016
  11046. Version 1.3.1.9
  11047. added usercloud.net
  11048. made changes to euroshare.eu
  11049.  
  11050. August 31, 2016
  11051. Version 1.3.1.8
  11052. fixed uptobox.com
  11053.  
  11054. August 30, 2016
  11055. Version 1.3.1.7
  11056. made changes to euroshare.eu
  11057.  
  11058. August 29, 2016
  11059. Version 1.3.1.6
  11060. made changes to data.hu
  11061.  
  11062. August 29, 2016
  11063. Version 1.3.1.5
  11064. fixed euroshare.eu not detecting dead links
  11065.  
  11066. August 23, 2016
  11067. Version 1.3.1.4
  11068. added ulozto.sk
  11069. added ulozto.cz
  11070.  
  11071. August 19, 2016
  11072. Version 1.3.1.3
  11073. fixed euroshare.eu
  11074. fixed 2share.com
  11075.  
  11076. August 17, 2016
  11077. Version 1.3.1.2
  11078. added french code for 1fichier
  11079.  
  11080. August 16, 2016
  11081. Version 1.3.1.1
  11082. fix for 1fichier folder links, by yurii
  11083.  
  11084. August 15, 2016
  11085. Version 1.3.1.0
  11086. another fix for 1fichier
  11087. added mystore.to
  11088.  
  11089. August 12, 2016
  11090. Version 1.3.0.9
  11091. fixed 1fichier
  11092.  
  11093. August 01, 2016
  11094. Version 1.3.0.8
  11095. fixed tezfiles.com not detecting some premium links
  11096.  
  11097. July 24, 2016
  11098. Version 1.3.0.7
  11099. added fileshareup.com
  11100.  
  11101. July 17, 2016
  11102. Version 1.3.0.6
  11103. added subyshare.com
  11104.  
  11105. july 10, 2016
  11106. Version 1.3.0.5
  11107. fixed ulozto.net
  11108.  
  11109. july 07, 2016
  11110. Version 1.3.0.4
  11111. fixed uloz.to
  11112.  
  11113. july 07, 2016
  11114. Version 1.3.0.3
  11115. added imagenetz.de
  11116.  
  11117. June 23, 2016
  11118. Version 1.3.0.2
  11119. excluded nexcess.net
  11120.  
  11121. June 20, 2016
  11122. Version 1.3.0.1
  11123. added daofile.com
  11124.  
  11125. June 16, 2016
  11126. Version 1.3.0.0
  11127. added mexashare.com
  11128.  
  11129. June 16, 2016
  11130. Version 1.2.9.9
  11131. added novafile.com
  11132. added uploadgig.com
  11133.  
  11134. June 15, 2016
  11135. Version 1.2.9.8
  11136. fixed upload.af
  11137.  
  11138. June 10, 2016
  11139. Version 1.2.9.7
  11140. added alltu.eu
  11141.  
  11142. June 09, 2016
  11143. Version 1.2.9.6
  11144. added code for french language to rapidgator.net & rg.to
  11145.  
  11146. June 04, 2016
  11147. Version 1.2.9.5
  11148. added upnito.sk
  11149.  
  11150. May 31, 2016
  11151. Version 1.2.9.4
  11152. fixed mega.co (by yurii)
  11153.  
  11154. May 31, 2016
  11155. Version 1.2.9.3
  11156. code cleanup
  11157.  
  11158. May 27, 2016
  11159. Version 1.2.9.2
  11160. added filesin.space
  11161.  
  11162. May 27, 2016
  11163. Version 1.2.9.1
  11164. added
  11165. filescdn.com
  11166. bankupload.com
  11167. katfile.com
  11168.  
  11169. May 18, 2016
  11170. Version 1.2.9.0
  11171. added warped.co to obsolete hosts
  11172.  
  11173. May 17, 2016
  11174. Version 1.2.8.9
  11175. fixed mega.nz
  11176.  
  11177. May 16, 2016
  11178. Version 1.2.8.8
  11179. added to obsolete hosts
  11180. fileband.com
  11181. filecloud.cc
  11182. filesmelt.com
  11183. goldbytez.com
  11184. hulkshare.com
  11185. idup.in
  11186. loudupload.net
  11187. muchshare.net
  11188. myupload.dk
  11189. nekaka.com
  11190. netkups.com
  11191. plunder.com
  11192. uploads.xxx
  11193. uploadspace.pl
  11194. xkeepfile.com
  11195.  
  11196. May 16, 2016
  11197. Version 1.2.8.7
  11198. added upnito.sk to obsolete hosts
  11199.  
  11200. May 15, 2016
  11201. Version 1.2.8.6
  11202. fixed uploading.site
  11203.  
  11204. May 15, 2016
  11205. Version 1.2.8.5
  11206. added oload.net
  11207.  
  11208. May 14, 2016
  11209. Version 1.2.8.4
  11210. added uploading.site
  11211.  
  11212. May 13, 2016
  11213. Version 1.2.8.3
  11214. added uploadc.ch
  11215. fixed vidspot.net
  11216.  
  11217. May 13, 2016
  11218. Version 1.2.8.2
  11219. added keepshare.net
  11220.  
  11221. May 11, 2016
  11222. Version 1.2.8.1
  11223. added uploadserv.com
  11224.  
  11225. May 09, 2016
  11226. Version 1.2.8.0
  11227. fixed upstore.net & upsto.re
  11228. added 24uploading.com to obsolete hosts
  11229.  
  11230. May 06, 2016
  11231. Version 1.2.7.9
  11232. added storagon.com to obsolete hosts
  11233. fixed worldbytez.com
  11234.  
  11235. May 02, 2016
  11236. Version 1.2.7.8
  11237. added myfiles.onl
  11238.  
  11239. april 28, 2016
  11240. Version 1.2.7.7
  11241. fixed bytewhale.com
  11242.  
  11243. april 27, 2016
  11244. Version 1.2.7.6
  11245. fixed rapidgator not detecting some premium links.
  11246.  
  11247. april 27, 2016
  11248. Version 1.2.7.5
  11249. added jeodrive.com
  11250.  
  11251. april 26, 2016
  11252. Version 1.2.7.4
  11253. added sanshare.com to obsolete hosts
  11254.  
  11255. april 26, 2016
  11256. Version 1.2.7.3
  11257. fixed vidspot.net
  11258.  
  11259. april 26, 2016
  11260. Version 1.2.7.2
  11261. added upx.nz
  11262.  
  11263. april 25, 2016
  11264. Version 1.2.7.1
  11265. added rapidfilehost.com to obsolete hosts
  11266. fixed bitster.cz
  11267.  
  11268. april 12, 2016
  11269. Version 1.2.7.0
  11270. fixed rapidgator not detecting some premium links.
  11271.  
  11272. april 11, 2016
  11273. Version 1.2.6.9
  11274. changed code for ncrypt.in
  11275.  
  11276. april 07, 2016
  11277. Version 1.2.6.8
  11278. added fileinz.com to obsolete hosts.
  11279.  
  11280. april 06, 2016
  11281. Version 1.2.6.7
  11282. added sharingmaster.com to obsolete hosts.
  11283.  
  11284. april 05, 2016
  11285. Version 1.2.6.6
  11286. added 4upfiles.com & elffiles.com to obsolete hosts
  11287.  
  11288. april 03, 2016
  11289. Version 1.2.6.5
  11290. updates to configuration page
  11291.  
  11292. March 31, 2016
  11293. Version 1.2.6.4
  11294. added code for tampermonkey 4.0 compatibility
  11295.  
  11296. March 31, 2016
  11297. Version 1.2.6.3
  11298. fixed uloz.to
  11299. fixed copy dead links to clipboard feature
  11300. added copy live links to clipboard feature.
  11301.  
  11302. March 24, 2016
  11303. Version 1.2.6.2
  11304. changed made to nitroflare. (yurri)
  11305.  
  11306. March 20, 2016
  11307. Version 1.2.6.1
  11308. fixed rapidgator
  11309. fixed dfiles
  11310. fixed dl.free.fr
  11311. fixed nitroflare.com (Fixed by Yurii)
  11312.  
  11313. March 15, 2016
  11314. Version 1.2.6.0
  11315. fixed rapidgator.net
  11316. fixed uploaded.net
  11317.  
  11318. March 13, 2016
  11319. Version 1.2.5.9
  11320. added
  11321. uploads.ws
  11322. upl.me
  11323. clicknupload.link
  11324. added fileover.net to obsolete hosts
  11325. fixed kingfiles.net
  11326.  
  11327. March 09, 2016
  11328. Version 1.2.5.8
  11329. added kingfiles.net to obsolete hosts
  11330. fixed 4upld.com/expressleech.com
  11331.  
  11332. March 08, 2016
  11333. Version 1.2.5.7
  11334. fixed solidfiles.com
  11335.  
  11336. March 01, 2016
  11337. Version 1.2.5.6
  11338. added filespace.com
  11339. fixed depositfiles (by yurii)
  11340.  
  11341. February 29, 2016
  11342. Version 1.2.5.5
  11343. made change to keep2share
  11344.  
  11345. February 28, 2016
  11346. Version 1.2.5.4
  11347. removed down4files.com from obsolete hosts.
  11348.  
  11349. February 26, 2016
  11350. Version 1.2.5.3
  11351. fixed userscloud.com
  11352.  
  11353. February 24, 2016
  11354. Version 1.2.5.2
  11355. added yandex.com
  11356. fixed datafile.com
  11357.  
  11358. February 22, 2016
  11359. Version 1.2.5.1
  11360. added bigfile.to
  11361.  
  11362. February 20, 2016
  11363. Version 1.2.5.0
  11364. added abelhas.pt
  11365.  
  11366. February 18, 2016
  11367. Version 1.2.4.9
  11368. made change to uptobox
  11369.  
  11370. February 17, 2016
  11371. Version 1.2.4.8
  11372. fixed yadi.sk
  11373.  
  11374. February 16, 2016
  11375. Version 1.2.4.7
  11376. fixed datafile.com
  11377. fixed filecad.com
  11378. added filecore.co & filestorm.to to obsolete hosts
  11379. added upload.af, filedwon.in & uplod.it
  11380.  
  11381. February 15, 2016
  11382. Version 1.2.4.6
  11383. fixed kumpulbagi.id
  11384. added sangfile.com to obsolete hosts
  11385.  
  11386. February 14, 2016
  11387. Version 1.2.4.5
  11388. fixed yandex.ru
  11389.  
  11390. February 13, 2016
  11391. Version 1.2.4.4
  11392. added lunaticfiles.com.
  11393.  
  11394. February 09, 2016
  11395. Version 1.2.4.3
  11396. added file.up09.com.
  11397.  
  11398. February 09, 2016
  11399. Version 1.2.4.2
  11400. tezfiles.com premium links now detected.
  11401.  
  11402. February 09, 2016
  11403. Version 1.2.4.1
  11404. added seenupload.com to obsolete hosts
  11405. fixed 180upload.com to show obsolete
  11406.  
  11407. February 08, 2016
  11408. Version 1.2.4.0
  11409. added tusfiles.com
  11410. added filesupload.org
  11411. added gigasize.com
  11412. added filecad.com
  11413. fixed filecloud.io
  11414. added uploadnet.co to obsolete hosts
  11415.  
  11416. February 07,2016
  11417. Vession 1.2.3.9
  11418. fixed depositfiles.com folders
  11419. fixed turbobit.net folders
  11420.  
  11421. February 06, 2016
  11422. Version 1.2.3.8
  11423. fixed 1fichier false dead links
  11424.  
  11425. February 04, 2106
  11426. Version 1.2.3.7
  11427. added geupload and lenfile to obsolete hosts
  11428. fixed kyc.pm/depfile
  11429.  
  11430. February 03, 2016
  11431. Version 1.2.3.6
  11432. fixed some nitroflare.com dead links not being detected
  11433.  
  11434. February 01, 2016
  11435. Version 1.2.3.5
  11436. script moved to new site
  11437.  
  11438. January 20, 2016
  11439. Version 1.2.3.3
  11440. fixed some rapidgator premium link not being detected
  11441.  
  11442. January 17, 2016
  11443. Version 1.2.3.2
  11444. added bytewhale.com
  11445. added rapidrar.com
  11446.  
  11447. Version 1.2.3.1
  11448. added 180upload.com to obsolete hosts
  11449. fixed hellspy.com
  11450. added dinoshare.cz,
  11451.  
  11452. January 13, 2016
  11453. Version 1.2.3.0
  11454. added rapidu.net
  11455. added uploadboy.me
  11456. fixed euroshare.eu
  11457.  
  11458. January 12, 2016
  11459. Version 1.2.2.9
  11460. added kb.simple-aja.info
  11461.  
  11462. January 10, 2016
  11463. Version 1.2.2.8
  11464. made changes to fastshare.cz
  11465.  
  11466. January 10, 2016
  11467. Version 1.2.2.7
  11468. fixed uptobox.com
  11469.  
  11470. January 09, 2016
  11471. Version 1.2.2.6
  11472. datoteke.com now detects premium links
  11473. fixed turbobit.net
  11474. fixed uptobox.com
  11475. added pornfile.cz
  11476. added pornoid.cz
  11477. added file-share.top
  11478. added bitster.cz
  11479.  
  11480. January 05, 2016
  11481. Version 1.2.2.5
  11482. fixed salefiles.com
  11483. fixed ozofile.com
  11484.  
  11485. January 04, 2016
  11486. Version 1.2.2.4
  11487. added sharehost.eu
  11488.  
  11489. December 30, 2015
  11490. Version 1.2.2.3
  11491. added tezfiles.com
  11492.  
  11493. December 28, 2015
  11494. Version 1.2.2.2
  11495. fixed some k2s & fboom dead link not getting detected
  11496. fixed some k2s premium links not getting detected.
  11497. fixed ssh.yt not detecting some dead links
  11498. fixed ncrypt.in dead links showing yellow
  11499.  
  11500. December 20, 2015
  11501. Version 1.2.2.0
  11502. added datoteke.com
  11503.  
  11504. December 19, 2015
  11505. Version 1.2.1.9
  11506. added secured.in & linksave.in to obsolete hosts
  11507.  
  11508. December 17, 2015
  11509. Version 1.2.1.8
  11510. added german for dead links to secureupload.eu.
  11511.  
  11512. December 17, 2015
  11513. Version 1.2.1.7
  11514. added french for dead links to secureupload.eu.
  11515. fixed problem with tooltip display.
  11516.  
  11517. December 13, 2015
  11518. Version 1.2.1.6
  11519. added netload.me & fileparadox.in to obsolete hosts
  11520.  
  11521. December 09, 2015
  11522. Version 1.2.1.5
  11523. added rapidsonic.com & fileparadox.com to obsolete hosts
  11524.  
  11525. December 04, 2015
  11526. Version 1.2.1.4
  11527. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  11528.  
  11529. December 03, 2015
  11530. Version 1.2.1.3
  11531. added dailyuploads.net
  11532.  
  11533. December 02, 2015
  11534. Version 1.2.1.2
  11535. fixed hitfile.net
  11536. fixed kingfiles.net
  11537.  
  11538. November 30, 2015
  11539. Version 1.2.1.1
  11540. added filepost.com to obsolete hosts
  11541. added devilshare.net
  11542.  
  11543. November 28, 2015
  11544. Version 1.2.1.0
  11545. fixed datafile.com not detecting some premium links.
  11546.  
  11547. November 25, 2015
  11548. Version 1.2.0.9
  11549. fixed filejoker.net
  11550. fixed toutbox.fr
  11551. fixed nowvideo.sx
  11552.  
  11553. November 24, 2015
  11554. Version 1.2.0.8
  11555. fixed openload.io
  11556.  
  11557. November 20, 2015
  11558. Version 1.2.0.7
  11559. //added file.al
  11560. //fixed nitroflare.com false live links
  11561. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  11562.  
  11563. November 17, 2015
  11564. Version 1.2.0.6
  11565. added clicknupload.me
  11566.  
  11567. November 09, 2015
  11568. Version 1.2.0.5
  11569. fixed some depfile premium links not being detected
  11570.  
  11571. November 08, 2015
  11572. Version 1.2.0.4
  11573. fixed some rapidgator premium links not being detected
  11574. fixed doraupload.com
  11575.  
  11576. November 08, 2015
  11577. Version 1.2.0.3
  11578. fixed uploaded false premium
  11579.  
  11580. November 07, 2015
  11581. Version 1.2.0.2
  11582. fixed redbunker.net
  11583.  
  11584. November 05, 2015
  11585. Version 1.2.0.1
  11586. fixed app.box.com
  11587. added multiup.org (does not detect all dead links)
  11588.  
  11589. November 01, 2015
  11590. Version 1.2.0.0
  11591. added more languages to rockfile and 1fichier
  11592.  
  11593. November 01, 2015
  11594. Version 1.1.9.9
  11595. fixed rockfile.eu
  11596. changed 1fichier code (Thanks yurri)
  11597. added to obsolete hosts... (Thanks Love Buzz)
  11598. burnupload.com
  11599. cramit.in
  11600. cramitin.net
  11601. down4files.com
  11602. edoc.com
  11603. jumbofile.net
  11604. krotix.net
  11605. migahost.com
  11606. movreel.com
  11607. netload.in
  11608. newfileland.com
  11609. quickshare.cz
  11610.  
  11611. October 30, 2015
  11612. Version 1.1.9.8
  11613. added alfafile.net
  11614.  
  11615. October 26, 2015
  11616. Version 1.1.9.7
  11617. changed datafile.com and uplea.com
  11618. added lolabits.es
  11619.  
  11620. October 26, 2015
  11621. Version 1.1.9.6
  11622. added toutbox.fr
  11623.  
  11624. October 25, 2015
  11625. Version 1.1.9.5
  11626. fixed counter error
  11627.  
  11628. October 25, 2015
  11629. Version 1.1.9.4
  11630. changed uptobox.com code
  11631.  
  11632. October 21, 2015
  11633. Version 1.1.9.3
  11634. fixed uptobox.com
  11635.  
  11636. October 20, 2015
  11637. Version 1.1.9.2
  11638. bug fixes and new method of detecting premium links.
  11639.  
  11640. October 15, 2015
  11641. Version 1.1.9.1
  11642. fixed hugefiles.net false premium
  11643. changed uptobox.com code
  11644.  
  11645. October 06, 2015
  11646. Version 1.1.9.0
  11647. fixed filefactory
  11648. fixed rockfile false premium
  11649. keep2share & fileboom now detect premium links (fixed by yurii)
  11650.  
  11651. October 01, 2015
  11652. Version 1.1.8.9
  11653. fixed free.fr false premium
  11654. fixed thevideo.me false premium
  11655.  
  11656. September 28, 2015
  11657. Version 1.1.8.8
  11658. added uplea.com and openload.co
  11659.  
  11660. September 27, 2015
  11661. Version 1.1.8.7
  11662. fixed fileparadox.in false premium
  11663. added kingfiles.net to obsolete hosts
  11664. removed inafile.com from obsolete hosts
  11665.  
  11666. September 22, 2015
  11667. Version 1.1.8.6
  11668. fixed nitroflare false premium
  11669.  
  11670. September 22, 2015
  11671. Version 1.1.8.5
  11672. fixed userscloud.com false premium
  11673. fixed usersfiles.com false premium
  11674. changed arabloads.com to arabloads.net
  11675. changed nowdownloads.eu to nowdownloads.ch
  11676.  
  11677. September 21, 2015
  11678. Version 1.1.8.3
  11679. added ryushare.com to obsolete hosts.
  11680.  
  11681. September 20, 2015
  11682. Version 1.1.8.2
  11683. fixed nitroflare not showing premium links
  11684. added down4files.com,storfiles.co,filehost.pw
  11685.  
  11686. September 16, 2015
  11687. Version 1.1.8.1
  11688. added crisshare.com to obsolete hosts
  11689. fixed filemoney.com false premium
  11690. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11691.  
  11692. September 14, 2015
  11693. Version 1.1.8.0
  11694. added to obsolete hosts...
  11695. sharebeast.com
  11696. tufiles.ru
  11697.  
  11698. September 12, 2015
  11699. Version 1.1.7.9
  11700. fixed rghost.net false premium
  11701. fixed unlimitzone.com false premium
  11702. fixed turbobit.net false live link
  11703.  
  11704. September 11, 2015
  11705. Version 1.1.7.8
  11706. Fixed filefactory.com false premium.
  11707.  
  11708. September 07, 2015
  11709. Version 1.1.7.7
  11710. fixed "depositfiles.com/en/files" links not checking
  11711.  
  11712. September 06, 2015
  11713. Version 1.1.7.6
  11714. added French code for 1fichier
  11715.  
  11716. August 29, 2015
  11717. Version 1.1.7.5
  11718. fixed depositfiles
  11719. fixed mega.co.nz/mega.nz
  11720. (fixed by yurii)
  11721.  
  11722. August 23, 2015
  11723. Version 1.1.7.4
  11724. Fixed uploadrocket (by yurii)
  11725.  
  11726. August 20, 2015
  11727. Version 1.1.7.3
  11728. fixed depfile.com false premium
  11729. fixed 1fichier false premium
  11730. fixed rapidgator false premium
  11731.  
  11732. August 08, 2015
  11733. Version 1.1.7.1
  11734. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11735.  
  11736. August 07, 2015
  11737. Version 1.1.7.0
  11738. fixed...
  11739. streamin.to
  11740. thefile.me
  11741. vidzi.tv
  11742. added...
  11743. filenuke.com
  11744. vidto.me
  11745. vidspot.net
  11746. sharesix.com
  11747. sharesix.net
  11748. movpod.in,
  11749.  
  11750. August 07, 2015
  11751. Version 1.1.6.9 added...
  11752. thefile.me
  11753. vidzi.tv
  11754. videoweed.es
  11755. vodlocker.com
  11756. nowvideo.sx
  11757. cloudtime.to
  11758. thevideo.me
  11759. vidbull.com
  11760. allmyvideos.net
  11761. novamov.com
  11762. filehoot.com
  11763. stagevu.com
  11764. gorillavid.in
  11765. streamin.to
  11766.  
  11767. August 02, 2015
  11768. Version 1.1.6.8
  11769. added cloudshares.net
  11770.  
  11771. August 01, 2015
  11772. Version 1.1.6.7
  11773. fixed depfile redirectors false premium
  11774.  
  11775. July 31, 2015
  11776. Version 1.1.6.6
  11777. fixed depfile.com false premium
  11778. */