W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2018-03-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL-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.5
  35. // ==/UserScript==
  36.  
  37. var War_version = "1.4.5.5 March 05, 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. "uploadkadeh.com",
  46. "xshare.eu",
  47. "douploads.com",
  48. "coolbytez.com",
  49. "dir50.net",
  50. "gfycat.com",
  51. "indishare.me",
  52. "4downfiles.org",
  53. "drop.me",
  54. "bittfox.com",
  55. "cloudyfiles.com|cloudyfiles.org",
  56. "backin.net",
  57. "bitshare.com",
  58. "filefox.cc",
  59. "sendit.cloud",
  60. "9xupload.me",
  61. "zapfile.net",
  62. "avatarshare.com",
  63. "uploadbank.com",
  64. "up-4ever.com",
  65. "owndrives.com",
  66. "fileshd.net",
  67. "media4up.com",
  68. "700files.com",
  69. "megafiles.us",
  70. "flexydrive.com",
  71. "hotlink.cc",
  72. "fileshark.pl",
  73. "pobierz.to",
  74. "kingfile.pl",
  75. "oload.tv",
  76. "uploads.to",
  77. "uploadify.net",
  78. "temp-share.com",
  79. "ausfile.com",
  80. "filesha.com",
  81. "upfiles.net",
  82. "dailyfiles.net",
  83. "upfile.mobi",
  84. "share.az",
  85. "crazyshare.cc",
  86. "uploadocean.com",
  87. "drive.google.com",
  88. "suprafiles.net",
  89. "suprafiles.co",
  90. "suprafiles.org",
  91. "erafile.com",
  92. "mystore.to",
  93. "littlebyte.net",
  94. "exbit.net",
  95. "bdupload.info",
  96. "workupload.com",
  97. "wayupload.com",
  98. "cloud.mail.ru",
  99. "fileshareup.com",
  100. "usercloud.net",
  101. "daofile.com",
  102. "subyshare.com",
  103. "mexashare.com",
  104. "uploadgig.com",
  105. "upload.af",
  106. "alltu.eu",
  107. "filesin.space",
  108. "imagenetz.de",
  109. "katfile.com",
  110. "bankupload.com",
  111. "dl.free.fr|getfile.pl",
  112. "keepshare.net",
  113. "filescdn.com",
  114. "myfiles.onl",
  115. "uploadserv.com",
  116. "uploading.site",
  117. "filedwon.info",
  118. "jeodrive.com",
  119. "ncrypt.in",
  120. "yandex.com",
  121. "down4files.com",
  122. 'filespace.com',
  123. "uplod.it",
  124. "rapidu.net",
  125. "uploads.ws|upl.me",
  126. "file.up09.com",
  127. "lunaticfiles.com",
  128. "filecad.com",
  129. "filesupload.org",
  130. "bytewhale.com",
  131. "rapidrar.com",
  132. "download.cz.hellshare.com",
  133. "pornfile.cz",
  134. "dinoshare.cz",
  135. "kb.simple-aja.info",
  136. "bitster.cz",
  137. "file-share.top",
  138. "pornoid.cz",
  139. "dailyuploads.net",
  140. "sharehost.eu",
  141. "tezfiles.com",
  142. "devilshare.net",
  143. "alfafile.net",
  144. "openload.co",
  145. "multiup.org",
  146. "filenuke.com",
  147. "file.al|1f.al",
  148. "vidto.me",
  149. "filehost.pw",
  150. "turbobit.ru",
  151. "sharesix.com|sharesix.net",
  152. "movpod.in",
  153. "thefile.me",
  154. "vidzi.tv",
  155. "videoweed.es",
  156. "nowvideo.sx",
  157. "cloudtime.to",
  158. "thevideo.me",
  159. "vidbull.com",
  160. "novamov.com",
  161. "filehoot.com",
  162. "stagevu.com",
  163. "gorillavid.in",
  164. "streamin.to",
  165. "4upld.com|expressleech.com",
  166. "cloudshares.net",
  167. "swoopshare.com",
  168. "2shared.com",
  169. "fileupload.pw",
  170. "zxcfiles.com",
  171. "up07.net",
  172. "4shared.com",
  173. "adrive.com",
  174. "aisfile.com",
  175. "bezvadata.cz",
  176. "pan.baidu.com",
  177. "datei.to",
  178. "daten-hoster.de|filehosting.org|xtraupload.de",
  179. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  180. "divshare.com",
  181. "easy-share.com|crocko.com",
  182. "easybytez.com",
  183. "edisk.cz",
  184. "euroshare.eu",
  185. "file-upload.net",
  186. "file-upload.com",
  187. "yadi.sk",
  188. "wizupload.com",
  189. "fastshare.cz",
  190. "filefactory.com",
  191. "share.vnn.vn",
  192. "yunpan.cn",
  193. "tropicshare.com",
  194. "inclouddrive.com",
  195. "fileflyer.com",
  196. "filerio.com|filekeen.com",
  197. "up.4share.vn",
  198. "upfile.vn",
  199. "datafilehost.com",
  200. "worldbytez.com",
  201. "files.mail.ru",
  202. "filesflash.com",
  203. "box.com",
  204. "uptobox.com",
  205. "box.net",
  206. "sdilej.cz",
  207. "ex-load.com",
  208. "filesmonster.com",
  209. "filestore.to",
  210. "hulkload.com",
  211. "filedropper.com",
  212. "free-uploading.com",
  213. "gamefront.com|filefront.com",
  214. "gettyfile.ru",
  215. "gigapeta.com",
  216. "gigasize.com",
  217. "hellshare.com",
  218. "hellspy.com",
  219. "hitfile.net",
  220. "hostuje.net",
  221. "freefilehosting.net",
  222. "free.fr",
  223. "hyperfileshare.com",
  224. "filecloud.io|ifile.it",
  225. "ifolder.ru",
  226. "lafiles.com",
  227. "leteckaposta.cz|sharegadget.com",
  228. "load.to",
  229. "mediafire.com",
  230. "megafileupload.com",
  231. "movshare.net",
  232. "narod.ru|narod.yandex.ru",
  233. "fboom.me|fileboom.me",
  234. "partage-facile.com",
  235. "sharerapid.cz",
  236. "exclusiveloader.com",
  237. "acefile.net",
  238. "queenshare.com",
  239. "rapidgator.net",
  240. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  241. "oboom.com",
  242. "filepi.com",
  243. "rarefile.net",
  244. "rayfile.com",
  245. "rghost.net",
  246. "sendmyway.com",
  247. "clicknupload.com",
  248. "clicknupload.me",
  249. "clicknupload.link",
  250. "clicknupload.org",
  251. "sharemods.com",
  252. "hostr.co",
  253. "sendspace.com",
  254. "sharecash.org",
  255. "share-links.biz",
  256. "share-online.biz|egoshare.com",
  257. "megarapid.cz",
  258. "shareflare.net",
  259. "solidfiles.com",
  260. "led.wf",
  261. "lan.wf",
  262. "adlink.wf",
  263. "click.tf",
  264. "kyc.pm",
  265. "ssh.tf",
  266. "ssh.yt",
  267. "yep.pm",
  268. "stahovanizasms.cz",
  269. "turbobit.net",
  270. "tikfile.com",
  271. "cloudsix.me",
  272. "turboupload.com",
  273. "uloz.to",
  274. "ulozto.net",
  275. "ulozto.sk",
  276. "ulozto.cz",
  277. "ulozisko.sk",
  278. "uloziste.com",
  279. "unibytes.com",
  280. "upload-il.net|przeslij.net",
  281. "uploaded.to|uploaded.net|ul.to",
  282. "chayfile.com",
  283. "rockfile.co",
  284. "usaupload.net",
  285. "veehd.com",
  286. "videobb.com",
  287. "vip-file.com",
  288. "webshare.cz",
  289. "xdisk.cz",
  290. "yunfile.com|filemarkets.com",
  291. "ziddu.com",
  292. "zippyshare.com",
  293. "rodfile.com",
  294. "wikiupload.com",
  295. "uploadstube.de",
  296. "faststore.org",
  297. "flyfiles.net",
  298. "prefiles.com",
  299. "hackerbox.org",
  300. "amonshare.com",
  301. "data.hu",
  302. "brupload.net",
  303. "kingfiles.net",
  304. "userscloud.com",
  305. "kumpulbagi.com|kumpulbagi.id",
  306. "uppit.com|up.ht|upx.nz",
  307. "downloadani.me",
  308. "filesabc.com",
  309. "extmatrix.com",
  310. "sendfiles.nl",
  311. "yourfilestore.com",
  312. "filebig.net",
  313. "file4safe.com",
  314. "tusfiles.net|tusfiles.com",
  315. "filemac.com",
  316. "ozofiles.com",
  317. "nosupload.com",
  318. "gboxes.com",
  319. "myvdrive.com|fileserving.com",
  320. "novafile.com",
  321. "longfiles.com",
  322. "bitupload.com",
  323. "indowebster.com",
  324. "superload.cz",
  325. "mafiastorage.com",
  326. "hellupload.com",
  327. "stiahni.si",
  328. "sendspace.pl",
  329. "fastshare.org",
  330. "filejoker.net",
  331. "filestore.com.ua",
  332. "rapidfileshare.net",
  333. "stiahnito.sk",
  334. "rusfolder.com",
  335. "catshare.net",
  336. "mixturecloud.com",
  337. "filedais.com",
  338. // "imdb.com",
  339. "nitroflare.com",
  340. "akafile.com",
  341. "up.top4top.net",
  342. "upload.ee",
  343. "shareplace.org",
  344. "uploadc.com",
  345. "uploadc.ch",
  346. "exoshare.com",
  347. "borncash.org",
  348. "2downloadz.com",
  349. "mightyupload.com",
  350. "anysend.com",
  351. "datafile.com",
  352. "upstore.net",
  353. "upsto.re",
  354. "speedy.sh",
  355. "ge.tt",
  356. "filesflash.net",
  357. "salefiles.com",
  358. "datoid.cz",
  359. "cloudstor.es",
  360. "streamfile.com",
  361. "eyesfile.ca",
  362. "filemoney.com",
  363. "uploadboy.com",
  364. "uploadboy.me",
  365. "speedshare.eu",
  366. "google.com|google.be",
  367. "unlimitzone.com",
  368. "rioupload.com",
  369. "rg.to",
  370. "jumbofiles.org",
  371. "fshare.vn",
  372. "spaceforfiles.com",
  373. "up.media1fire.com",
  374. "depfile.com",
  375. "depfile.us",
  376. "dipfile.com",
  377. "go4up.com",
  378. "dropbox.com",
  379. "redbunker.net",
  380. "divxpress.com",
  381. "mega.nz|mega.co.nz",
  382. "storageserver.co.uk",
  383. "anafile.com",
  384. "bigfile.to",
  385. "arabloads.net",
  386. "sharerepo.com",
  387. "sfshare.se",
  388. "files.fm",
  389. "koofile.com",
  390. "doraupload.com",
  391. "openload.io",
  392. "upnito.sk",
  393. "oload.net",
  394. "minhateca.com.br",
  395. "fileflares.com",
  396. "vidoza.net",
  397. ];
  398.  
  399. try
  400. {
  401. //iframes excluded
  402. if (window.top != window.self)
  403. {
  404. return;
  405. }
  406. //allHostNames sites excluded
  407. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  408. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  409. ")"))
  410. {
  411. return;
  412. }
  413. }
  414. catch (e)
  415. {
  416. return;
  417. }
  418.  
  419. //separate alternative domains with "|" char (first name is considered being main)
  420. var allContainerNames = [
  421. "adf.ly",
  422. "linkcrypt.ws",
  423. "linksafe.me",
  424. // "linksave.in",
  425. "linkto.net",
  426. "madlink.sk",
  427. "multiload.cz",
  428. "mirrorcreator.com",
  429. // "ncrypt.in",
  430. "redi.re",
  431. "relink.us",
  432. "safelinking.net",
  433. "theloo.katt.it",
  434. "bit.ly",
  435.  
  436. ];
  437.  
  438. //separate alternative domains with "|" char (first name is considered being main)
  439. var allObsoleteNames = [
  440. "black-label.pro",
  441. "4up.me",
  442. "anonfiles.com",
  443. "axifile.com",
  444. "creafile.net",
  445. "cloudzilla.to",
  446. "uploadrocket.net",
  447. "usersfiles.com",
  448. "uplea.com",
  449. "datoteke.com",
  450. "uploadable.ch",
  451. "neodrive.co",
  452. "demo.ovh.eu",
  453. "filesin.com",
  454. "fileswap.com",
  455. "junocloud.me",
  456. "gulfup.com",
  457. "hexupload.com",
  458. "secureupload.eu",
  459. "hugefiles.net",
  460. "jumbofiles.com",
  461. "letitbit.net",
  462. "lolabits.es",
  463. "nowdownload.ch",
  464. "openfile.ru",
  465. "radicalshare.com",
  466. "remixshare.com",
  467. "storefiles.co",
  468. "toutbox.fr",
  469. "uploadbaz.com",
  470. "uploadingit.com",
  471. "uploading.com",
  472. "verzend.be",
  473. "vidplay.net",
  474. "vidxden.com",
  475. "xfileload.com",
  476. "warped.co",
  477. "xkeepfile.com",
  478. "abelhas.pt",
  479. "uploadspace.pl",
  480. "allmyvideos.net",
  481. "uploads.xxx",
  482. "netkups.com",
  483. "nekaka.com",
  484. "vidspot.net",
  485. "myupload.dk",
  486. "muchshare.net",
  487. "loudupload.net",
  488. "idup.in",
  489. "hulkshare.com",
  490. "goldbytez.com",
  491. "filesmelt.com",
  492. "fileband.com",
  493. "uloz.cz",
  494. "secured.in",
  495. "rapidfilehost.com",
  496. "fileover.net",
  497. "fileinz.com",
  498. "linksave.in",
  499. "seenupload.com",
  500. "sangfile.com",
  501. "filepost.com|fp.io",
  502. "sharingmaster.com ",
  503. "24uploading.com",
  504. "storagon.com",
  505. "sanshare.com",
  506. "filestorm.to",
  507. "uploadnet.co",
  508. "180upload.com",
  509. "rapidsonic.com",
  510. "fileparadox.com",
  511. "4upfiles.com",
  512. "geupload.com",
  513. "lenfile.com",
  514. "fileparadox.in",
  515. "uploadhero.co",
  516. "uploadhero.com",
  517. "newfileland.com",
  518. "quickshare.cz",
  519. "elffiles.com",
  520. "netload.in",
  521. "netload.me",
  522. "movreel.com",
  523. "migahost.com",
  524. "krotix.net",
  525. "jumbofile.net",
  526. "edoc.com",
  527. "cramit.in|cramitin.net",
  528. "freakshare.com",
  529. "burnupload.com|burnupload.ihiphop.com",
  530. "freakshare.net",
  531. "daj.to",
  532. "bl.st",
  533. "2drive.net",
  534. "ryushare.com",
  535. "crisshare.com",
  536. "tufiles.ru",
  537. "uncapped-downloads.com",
  538. "sockshare.com",
  539. "ddlstorage.com",
  540. "dataport.cz",
  541. "dizzcloud.com",
  542. "sharebeast.com",
  543. "stahovadlo.cz",
  544. "shared.com",
  545. "storage.to",
  546. "putlocker.com",
  547. "lumfile.com",
  548. "lumfile.se",
  549. "lumfile.eu",
  550. "firedrive.com",
  551. "fileshare.in.ua",
  552. "filecore.co.nz",
  553. "filecore.co",
  554. "iskladka.cz",
  555. "file-rack.com",
  556. "fast-load.net",
  557. "subory.sk",
  558. "bigandfree.com",
  559. "fileop.com",
  560. "mujsoubor.cz",
  561. "sendfile.to",
  562. "superfastfile.com",
  563. "quickyshare.com",
  564. "duckload.com",
  565. "uploadstore.net",
  566. "meinupload.com",
  567. "dualshare.com",
  568. "2xupload.to|2xupload.de",
  569. "oxedion.com",
  570. "uploadline.com",
  571. "dll.bz",
  572. "movieshare.in",
  573. "milledrive.com",
  574. "quickupload.net",
  575. "safelink.in",
  576. "metadivx.com",
  577. "divxlink.com",
  578. "uploadrack.com",
  579. "teradepot.com",
  580. "dataup.to",
  581. "upit.to",
  582. "driveway.com",
  583. "eatlime.com",
  584. "a2zuploads.com",
  585. "friendlyfiles.net",
  586. "flyfile.us",
  587. "speedyshare.com",
  588. "uploadspace.eu",
  589. "keepfile.com",
  590. "piggyshare.com",
  591. "uplly.com",
  592. "filecrown.com",
  593. "6giga.com",
  594. "uploadjockey.com",
  595. "bluehost.to",
  596. "filegu.ru",
  597. "filebase.to",
  598. "up-file.com",
  599. "xvideos.com",
  600. "ufox.com",
  601. "filebling.com",
  602. "loaded.it",
  603. "uploadcell.com",
  604. "uploadshare.cz",
  605. "mangoshare.com",
  606. "filestab.com",
  607. "crazyupload.com",
  608. "gaiafile.com",
  609. "sharejunky.com",
  610. "fileho.com",
  611. "bigandfree.com",
  612. "bigfile.in",
  613. "bigshare.eu",
  614. "dahosting.org",
  615. "digisofts.net",
  616. "file4save.com",
  617. "filechip.com",
  618. "filescloud.com",
  619. "saveqube.com",
  620. "turboshare.de",
  621. "z-upload.com",
  622. "youshare.com",
  623. "jiffyupload.com",
  624. "gigeshare.com",
  625. "datenklo.net",
  626. "upload.dj",
  627. "loadfiles.in",
  628. "upit.to",
  629. "dsfileshare.com",
  630. "sharesimple.net",
  631. "4files.net",
  632. "wooupload.com",
  633. "odsiebie.com",
  634. "filenavi.com",
  635. "3oof.com",
  636. "meshwaar.com",
  637. "maxupload.com",
  638. "share.cx",
  639. "atserver.eu",
  640. "hotfiles.ws",
  641. "esnips.com",
  642. "tuxfile.com",
  643. "file2upload.net",
  644. "filebling.com",
  645. "turboshare.com",
  646. "rarhost.com",
  647. "isharehd.com",
  648. "i741.com",
  649. "dataup.de",
  650. "fofly.com",
  651. "shareonall.com",
  652. "sexuploader.com",
  653. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  654. "uploadhyper.com",
  655. "filespawn.com",
  656. "caizzii.com",
  657. "volnyweb.cz",
  658. "usershare.net",
  659. "filescash.net",
  660. "metahyper.com",
  661. "combozip.com",
  662. "x7.to",
  663. "uploadbox.com",
  664. "enterupload.com|flyupload.com",
  665. "filepoint.de",
  666. "mystream.to",
  667. "x-fs.com",
  668. "shareator.com",
  669. "srapid.eu",
  670. "sosame.cz",
  671. "filesdump.com",
  672. "2-klicks.de",
  673. "uploking.com",
  674. "silofiles.com",
  675. "upfile.in",
  676. "filehook.com",
  677. "uploadking.com",
  678. "uploadhere.com",
  679. "kewlshare.com",
  680. "rapidable.com",
  681. "uploadwaste.com",
  682. "filemup.com",
  683. "filesonic.com|sharingmatrix.com",
  684. "fileserve.com",
  685. "wupload.com",
  686. "skipfile.com",
  687. "smartuploader.com",
  688. "dualshare.com",
  689. "storeandserve.com",
  690. "mountfile.com",
  691. "transitfiles.com",
  692. "uploadstation.com",
  693. "filejungle.com",
  694. "shareshared.com",
  695. "quickyshare.com",
  696. "save.am",
  697. "petandrive.com",
  698. "file2box.com",
  699. "flyshare.cz",
  700. "yabadaba.ru",
  701. "cloudcache.cc",
  702. "yourfilehost.com",
  703. "jakfile.com",
  704. "kickload.com",
  705. "pyramidfiles.com",
  706. "refile.net",
  707. "zshare.net",
  708. "ddlani.me|ddlanime.com",
  709. "ftp2share.com",
  710. "fooget.com",
  711. "rapidhide.com",
  712. "gotupload.com",
  713. "mooload.com",
  714. "zupload.com",
  715. "mytempdir.com",
  716. "onionshare.com",
  717. "stahnu.to",
  718. "oron.com",
  719. "badongo.com",
  720. "filereactor.com",
  721. "filegaze.com",
  722. "4bytez.com",
  723. "1hostclick.com",
  724. "anonstream.com",
  725. "batshare.com",
  726. "bitroad.net",
  727. "brontofile.com",
  728. "cloudnxt.net",
  729. "cloudnator.com|shragle.com",
  730. "filesfrog.net",
  731. "coolshare.cz",
  732. "dotavi.com",
  733. "ezyfile.net",
  734. "file-bit.net",
  735. "filecosy.com",
  736. "fileduct.com|fileduct.net",
  737. "filefat.com",
  738. "filelaser.com",
  739. "filemashine.com",
  740. "fileserver.cc",
  741. "filetechnology.com",
  742. "fireuploads.net",
  743. "gigfiles.net",
  744. "holderfile.com",
  745. "ihostia.com",
  746. "k2files.com",
  747. "mojofile.com",
  748. "ovfile.com",
  749. "qshare.com",
  750. "shafiles.me",
  751. "sharefilehost.com",
  752. "shareupload.com",
  753. "stahuj.to",
  754. "ugotfile.com",
  755. "uploadboost.com",
  756. "fileom.com",
  757. "vidhog.com",
  758. "xfileshare.eu",
  759. "bzlink.us",
  760. "bulletupload.com",
  761. "bloggerarticles.com",
  762. "mojedata.sk",
  763. "sharpfile.com",
  764. "upgrand.com",
  765. "nasdilej.cz",
  766. "mediatack.cz",
  767. "share-it.to",
  768. "primeupload.com",
  769. "filebeer.info",
  770. "baberepublic",
  771. "xtu.me",
  772. "sharebase.de",
  773. "luckyshare.net",
  774. "filerobo.com",
  775. "filevelocity.com",
  776. "filezpro.com",
  777. "file4sharing.com",
  778. "cing.be",
  779. "ufile.eu",
  780. "pigsonic.com",
  781. "fileupped.com",
  782. "sharerun.com",
  783. "filesaur.com",
  784. "rapidslnare.com",
  785. "bestsharing.com",
  786. "savefiles.net",
  787. "file2share.biz",
  788. "filecache.de",
  789. "monsteruploads.eu",
  790. "b9bb.com",
  791. "aiotool.net",
  792. "jamber.info",
  793. "megaftp.com",
  794. "desiupload.net",
  795. "file27.com",
  796. "yastorage.com",
  797. "filehost.ws",
  798. "copyload.com",
  799. "venusfile.com",
  800. "aieshare.com",
  801. "terafile.co",
  802. "terafile.com",
  803. "fileza.net",
  804. "filerose.com",
  805. "squillion.com",
  806. "fileprohost.com",
  807. "bitbonus.com",
  808. "warserver.cz",
  809. "uload.to",
  810. "sharedbit.net",
  811. "megaload.it",
  812. "filewinds.com",
  813. "uploadcore.com",
  814. "syfiles.com",
  815. "eyesfile.com",
  816. "hotfile.com",
  817. "superupl.com",
  818. "oteupload.com",
  819. "henchfile.com",
  820. "filegag.com",
  821. "HenchFile.com",
  822. "filedefend.com",
  823. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  824. "megabitshare.com",
  825. "cloudzer.com",
  826. "asfile.com",
  827. "cloudzer.net",
  828. "clz.to",
  829. "extabit.com",
  830. "247upload.com",
  831. "2download.de",
  832. "4fastfile.com",
  833. "asixfiles.com",
  834. "berofile.com",
  835. "bigupload.com",
  836. "cepzo.com",
  837. "clouds.to",
  838. "cobrashare.sk",
  839. "coraldrive.net",
  840. "cyberlocker.ch",
  841. "czshare.com",
  842. "darkport.org",
  843. "dark-uploads.com",
  844. "davvas.com",
  845. "enigmashare.com",
  846. "erofly.cz",
  847. "fastsonic.net",
  848. "filebox.com",
  849. "filecity.net",
  850. "filedap.com",
  851. "filedino.com",
  852. "filedownloads.org",
  853. "filefolks.com",
  854. "fileking.co",
  855. "filemates.com",
  856. "files.to",
  857. "files2k.eu",
  858. "filesector.cc",
  859. "filesega.com",
  860. "filesend.net",
  861. "filestay.com",
  862. "filestrum.com",
  863. "fileuplo.de",
  864. "fileupup.com",
  865. "forunesia.com",
  866. "freeuploads.fr",
  867. "uploa.dk",
  868. "getthebit.com",
  869. "getzilla.net",
  870. "goldfile.eu",
  871. "good.com",
  872. "grupload.com",
  873. "hellfile.com",
  874. "hipfile.com",
  875. "hitfile.com",
  876. "hulkfile.eu|duckfile.net",
  877. "i-filez.com",
  878. "ifile.ws",
  879. "kupload.org",
  880. "packupload.com",
  881. "lemuploads.com",
  882. "limelinx.com",
  883. "maxshare.pl",
  884. "megarelease.org",
  885. "megashares.com",
  886. "megashare.com",
  887. "minus.com",
  888. "mlfat4arab.com",
  889. "multishare.cz",
  890. "nirafile.com",
  891. "ok2upload.com",
  892. "peejeshare.com",
  893. "premiuns.org",
  894. "przeklej.net",
  895. "qkup.net",
  896. "rapidupload.sk",
  897. "rockdizfile.com",
  898. "rocketfile.net",
  899. "share-now.net",
  900. "share76.com",
  901. "sharebees.com",
  902. "sharefiles.co",
  903. "slingfile.com",
  904. "sms4file.com",
  905. "space4file.com",
  906. "tigershare.net",
  907. "toucansharing.com",
  908. "ubuntuone.com",
  909. "unextfiles.com",
  910. "upaj.pl",
  911. "upfile.biz",
  912. "uploadbin.net",
  913. "uploadic.com",
  914. "uploadinc.com",
  915. "uploading4u.eu",
  916. "uploadjet.net",
  917. "uploadorb.com",
  918. "upthe.net",
  919. "uptorch.com",
  920. "vidbox.yt",
  921. "videozer.com",
  922. "vreer.com",
  923. "wallobit.com",
  924. "zooupload.com",
  925. "privatefiles.com",
  926. "xerver.co",
  927. "BillionUploads.com",
  928. "rapidshare.com",
  929. "rapidshare.ru",
  930. "4savefile.com",
  931. "bayfiles.com",
  932. "bayfiles.net",
  933. "dodane.pl",
  934. "dotsemper.com",
  935. "egofiles.com",
  936. "epicshare.net",
  937. "fiberupload.net",
  938. "filemonkey.in",
  939. "filemonster.net",
  940. "filepom.com",
  941. "filesbb.com",
  942. "filevice.com",
  943. "gigaup.fr",
  944. "isavelink.com",
  945. "loombo.com",
  946. "megafiles.se",
  947. "migupload.com",
  948. "mydisc.net",
  949. "nitrobits.com",
  950. "potload.com",
  951. "redload.net",
  952. "shareprofi.com",
  953. "sharesuper.info",
  954. "sinhro.net",
  955. "speedfile.cz",
  956. "speedshare.org",
  957. "storage.novoro.net",
  958. "swankshare.com",
  959. "swatupload.com",
  960. "upafile.com",
  961. "uploadmachine.com",
  962. "uploadsat.com",
  963. "upshared.com",
  964. "usefile.com",
  965. "yourfiles.to",
  966. "zomgupload.com",
  967. "ultramegabit.com",
  968. "uploadto.us",
  969. "inafile.com",
  970. "vodlocker.com",
  971. "megairon.net",
  972.  
  973. ];
  974. ///////////////////////////////////////////////////////////////////////////////////////
  975. var firstRun = GM_getValue("First_run", true);
  976.  
  977. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  978. //////////////////////////////////////////////////////////////////////////////////////
  979. try
  980. {
  981. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  982. var last_known_version = GM_getValue("last_known_version", "");
  983. if (!last_known_version)
  984. {
  985. last_known_version = thisVersion;
  986. GM_setValue("last_known_version", last_known_version);
  987. }
  988. //var newVersion = !(thisVersion == last_known_version);
  989. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  990. GM_setValue("last_known_version", thisVersion);
  991. }
  992. catch (err)
  993. {
  994. var newVersion = false;
  995. }
  996.  
  997. var now = (new Date()).getTime();
  998. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  999. if (!last_custom_rules_nag)
  1000. {
  1001. last_custom_rules_nag = now;
  1002. GM_setValue('last_custom_rules_nag', ''+now);
  1003. }
  1004.  
  1005.  
  1006. allHostNames.sort();
  1007. allContainerNames.sort();
  1008. allObsoleteNames.sort();
  1009.  
  1010. var RAND_STRING = "8QyvpOSsRG3QWq";
  1011. var DEBUG_MODE = false;
  1012.  
  1013. var TOOLTIP_MAXWIDTH = 600; //in pixels
  1014. var TOOLTIP_THUMBWIDTH = 200;
  1015. var containers_processed = false;
  1016.  
  1017. //settings for keyboard functions start
  1018. var CHECK_ALL_LINKS_KEY = "A";
  1019. var CONFIGURATION_KEY = "C";
  1020. var copy_to_dead_key = "D";
  1021. var copy_to_live_key = "L";
  1022. var toggle_autocheck_key = "W";
  1023. var toggle_Enable_Anonymizer_key = "Z";
  1024. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  1025. var first_key_keycodename = 'CTRL';
  1026. var second_key_keycode = '18';
  1027. var second_key_keycodename = 'ALT';
  1028. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  1029. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  1030. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  1031. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  1032. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  1033. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1034. //settings for keyboard functions end
  1035.  
  1036. //global settings start
  1037. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1038. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1039. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1040. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1041. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1042. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1043. var Progress_box_refresh_rate;
  1044. var Obsolete_file_hosts;
  1045. var Custom_rules, Custom_rules_text;
  1046. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1047.  
  1048. var messageBox = document.createElement('b'); // top-left message box
  1049.  
  1050. var cLinksTotal = 0;
  1051. var cLinksDead = 0;
  1052. var cLinksAlive = 0;
  1053. var cLinksUnava = 0;
  1054. var cLinksprem = 0;
  1055. var cLinksProcessed = 0;
  1056.  
  1057. var intervalId; //for updateProgress()
  1058.  
  1059. //icon resources
  1060. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/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IHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1071. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1072. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTA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5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1074.  
  1075. //global settings end
  1076. if (window.opera && !window.console)
  1077. {
  1078. window.console = {};
  1079.  
  1080. function fn()
  1081. {
  1082. opera.postError(arguments);
  1083. };
  1084. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1085. {
  1086. window.console[name] = fn;
  1087. });
  1088. }
  1089.  
  1090. //displays colored text in message box
  1091. function sendMessage(text, color)
  1092. {
  1093. var msgDiv = document.createElement('div');
  1094. msgDiv.style.color = color;
  1095. msgDiv.innerHTML = text;
  1096. messageBox.appendChild(msgDiv);
  1097. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1098. }
  1099.  
  1100. function linkify(totalourls)
  1101. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1102. var ikkeTilladteTags;
  1103. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1104. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1105. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1106. allLinksRegex = new RegExp(allLinksRegex, "g");
  1107. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1108.  
  1109. if (Do_not_linkify_DL_links)
  1110. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1111. else
  1112. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1113.  
  1114. var regex = new RegExp(regexy);
  1115. var textNode, muligtLink;
  1116.  
  1117. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1118. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1119.  
  1120. var i = textNodes.snapshotLength;
  1121. while (i--)
  1122. {
  1123. textNode = textNodes.snapshotItem(i);
  1124.  
  1125. muligtLink = textNode.nodeValue; //all links on page
  1126.  
  1127. var myArray = null;
  1128. var span = null;
  1129. var lastLastIndex = 0;
  1130. allLinksRegex.lastIndex = 0;
  1131. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1132. {
  1133. if (textNode.parentNode.className == "adead_link") continue;
  1134. var censoredLink = muligtLink;
  1135. var span = document.createElement('span');
  1136. span.className = "adead_link";
  1137. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1138. $(span).html(censoredLink);
  1139. span.addEventListener("mouseover", displayTooltipError, false);
  1140. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1141. textNode.parentNode.replaceChild(span, textNode);
  1142. continue;
  1143. alert(censoredLink);
  1144. }
  1145. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1146. {
  1147. if (!regex.test(myArray[0])) //this link is not recognized
  1148. {
  1149.  
  1150. continue;
  1151. }
  1152. if (!span)
  1153. span = document.createElement('span');
  1154.  
  1155. var link = myArray[0];
  1156. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1157.  
  1158. var $a = $("<a>" + link + "</a>")
  1159. if (!link.match(/https?:\/\//))
  1160. {
  1161. link = 'http://' + link;
  1162. }
  1163.  
  1164. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1165. .addClass("processing_link")
  1166. .appendTo(span);
  1167. lastLastIndex = allLinksRegex.lastIndex;
  1168. }
  1169. if (span)
  1170. {
  1171. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1172. textNode.parentNode.replaceChild(span, textNode);
  1173. }
  1174. }
  1175. }
  1176.  
  1177. function add_WARLC_style()
  1178. {
  1179. if (!(document.getElementsByTagName('WARLC')[0]))
  1180. {
  1181. var meta_not_to_add_more_style = document.createElement("WARLC");
  1182. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1183. meta_not_to_add_more_style.setAttribute('name', 'description');
  1184. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1185. alive_link_png = "";
  1186. adead_link_png = "";
  1187. unava_link_png = "";
  1188. prem_link_png = "";
  1189. switch(Icon_set)
  1190. {
  1191. //no icons
  1192. case 0: break;
  1193. // cat paws
  1194. case 1: alive_link_png = PAW_ICON_GREEN;
  1195. adead_link_png = PAW_ICON_RED;
  1196. unava_link_png = PAW_ICON_YELLOW;
  1197. prem_link_png = PAW_ICON_PINK;
  1198. break;
  1199. // classic RSLC look
  1200. case 2: alive_link_png = RSLC_ICON_GREEN;
  1201. adead_link_png = RSLC_ICON_RED;
  1202. unava_link_png = RSLC_ICON_YELLOW;
  1203. prem_link_png = RSLC_ICON_PINK;
  1204. break;
  1205. // New Icons
  1206. case 3: alive_link_png = NEW_ICON_GREEN;
  1207. adead_link_png = NEW_ICON_RED;
  1208. unava_link_png = NEW_ICON_YELLOW;
  1209. prem_link_png = NEW_ICON_PINK;
  1210. break;
  1211. // cat paws
  1212. default:alive_link_png = PAW_ICON_GREEN;
  1213. adead_link_png = PAW_ICON_RED;
  1214. unava_link_png = PAW_ICON_YELLOW;
  1215. prem_link_png = PAW_ICON_PINK;
  1216. break;
  1217. }
  1218. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1219. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1220.  
  1221. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1222.  
  1223. if (Color_DL_links)
  1224. {
  1225. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1226. live_color_css = 'color:' + Live_links_color + ' !important;';
  1227. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1228. container_color_css = 'color:' + Container_links_color + ' !important;';
  1229. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1230. }
  1231. else
  1232. {
  1233. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1234. }
  1235.  
  1236. if (Show_black_background_in_DL_links)
  1237. {
  1238. black_background_css = 'background-color: black !important;';
  1239. }
  1240. else
  1241. {
  1242. black_background_css = '';
  1243. }
  1244.  
  1245. if (Show_line_through_in_dead_links)
  1246. {
  1247. line_through_css = 'text-decoration: line-through !important;';
  1248. }
  1249. else
  1250. {
  1251. line_through_css = '';
  1252. }
  1253.  
  1254. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1255. 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 + "}");
  1256. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1257. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1258. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1259. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1260. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1261. }
  1262. }
  1263.  
  1264. var warlcTooltip = null;
  1265. var mouseoverLink = null; //link href with mouse cursor over it
  1266.  
  1267. var lastX = 0;
  1268. var lastY = 0;
  1269.  
  1270. $(document).ready(initTooltip);
  1271. //inits tooltip
  1272. function initTooltip()
  1273. { warlcTooltip = document.createElement("div");
  1274. 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;");
  1275. warlcTooltip.style.visibility = "hidden";
  1276. document.body.appendChild(warlcTooltip);
  1277. }
  1278.  
  1279. //"mousemove" event handler for all links
  1280. function moveTooltip(event)
  1281. {
  1282. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1283. { //no need to reflow if the cursor moved just a little
  1284. return;
  1285. }
  1286. else
  1287. {
  1288. lastX = event.clientX;
  1289. lastY = event.clientY;
  1290. }
  1291.  
  1292. posX = event.clientX + window.pageXOffset + 10;
  1293. posY = event.clientY + window.pageYOffset;
  1294. var ttHeight = warlcTooltip.offsetHeight;
  1295. var ttFreeSpace = window.innerHeight - event.clientY;
  1296. if (ttHeight > ttFreeSpace)
  1297. { //prevents tooltip from getting out of the window
  1298. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1299. }
  1300. else
  1301. {
  1302. posY += 7;
  1303. }
  1304. warlcTooltip.style.top = posY + "px";
  1305. warlcTooltip.style.left = posX + "px";
  1306. }
  1307.  
  1308. //"mouseout" event handler for all links
  1309. function hideTooltip(){
  1310. warlcTooltip.style.visibility = "hidden";
  1311. mouseoverLink = null;
  1312. }
  1313.  
  1314.  
  1315. //"mouseover" event handler for dead links
  1316. //displays tooltip error message on dead links
  1317. function displayTooltipError()
  1318. {
  1319. mouseoverLink = this.href;
  1320. this.addEventListener("mouseout", hideTooltip);
  1321. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1322. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1323. warlcTooltip.style.minWidth = 0;
  1324. warlcTooltip.style.visibility = "visible";
  1325. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1326. {
  1327. warlcTooltip.innerHTML = this.warlc_error;
  1328. }
  1329. else
  1330. {
  1331. loadErrorInfo(this);
  1332. }
  1333. function loadErrorInfo(link)
  1334. {
  1335. var href = link.href;
  1336. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1337. GM_xmlhttpRequest({
  1338. method: 'GET',
  1339. url: href.replace(Ref_anonymize_service, ""),
  1340. headers: {
  1341. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1342. 'Accept': 'text/xml',
  1343. 'Referer': ""
  1344. },
  1345. onload: function(result) {
  1346. var res = result.responseText;
  1347. //TODO: errorRegexs -
  1348. var errorRegexs = [ //generic error messages follow
  1349. /(empty directory)/i,
  1350. /(soubor nebyl nalezen)/i,
  1351. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1352. //server specific error messages follow
  1353. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1354. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1355. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1356. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1357. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1358. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1359. /class="red">(.+?)<(?:span|br)>/, //czshare
  1360. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1361. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1362. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1363. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1364. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1365. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1366. /(File has been removed due to Copyright Claim)/, //filerio
  1367. ];
  1368. var errorIdx = errorRegexs.length;
  1369. var error = "Cause of error: <b>unknown</b>";
  1370. var errorCandidate = "";
  1371. while(errorIdx--)
  1372. {
  1373. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1374. if (errorCandidate != null)
  1375. {
  1376. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1377. break;
  1378. }
  1379. }
  1380. //link attributes
  1381. link.warlc_error = error;
  1382. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1383. {
  1384. warlcTooltip.innerHTML = error;
  1385. }
  1386. }
  1387. });
  1388. }
  1389. }
  1390.  
  1391. //"mouseover" event handler for alive links
  1392. //displays tooltip info (file size, file name,...) on alive links
  1393. function displayTooltipInfo()
  1394. {
  1395. mouseoverLink = this.href;
  1396. //exclude direct download filehostings
  1397. 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)/))
  1398. {
  1399. return;
  1400. }
  1401. this.addEventListener("mouseout", hideTooltip);
  1402. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1403. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1404. warlcTooltip.style.minWidth = 0;
  1405. warlcTooltip.style.visibility = "visible";
  1406. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1407. {
  1408. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1409. }
  1410. else
  1411. {
  1412. loadInfo(this);
  1413. }
  1414. function loadInfo(link)
  1415. {
  1416. var href = link.href;
  1417. GM_xmlhttpRequest({
  1418. method: 'GET',
  1419. url: href.replace(Ref_anonymize_service, ""),
  1420. headers: {
  1421. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1422. 'Accept': 'text/xml',
  1423. 'Referer': ""
  1424. },
  1425. onload: function(result) {
  1426. var res = result.responseText;
  1427. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1428. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1429. /fl" title="(.+?)">/, //edisk
  1430. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1431. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1432. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1433. /title="download (.+?)">/, //sendspace
  1434. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1435. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1436. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1437. /d0FileName = "(.+?)";/, //letitbit
  1438. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1439. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1440. /fname" value="(.+?)">/, //syfiles, grupload,
  1441. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1442. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1443. /Complete name : (.+?)<br \/>/, //bezvadata
  1444. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1445. ];
  1446. var nameIdx = nameRegexs.length;
  1447. // [sizeRegexs]
  1448. // / \ \?
  1449. // prefix (size) postfix
  1450. // / \
  1451. // val quant
  1452. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1453. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1454. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1455. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1456. var postSizeRegex = '(?:\\))?';
  1457. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1458. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1459. ];
  1460. var sizeIdx = sizeRegexs.length;
  1461. //
  1462. //
  1463. var tooltip = "File Name: <b>";
  1464. var fileName = "unknown";
  1465. var nameCandidate = "";
  1466. while(nameIdx--)
  1467. {
  1468. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1469. if (nameCandidate != null)
  1470. {
  1471. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1472. break;
  1473. }
  1474. }
  1475. tooltip += fileName + "</b><br>File Size: <b>";
  1476. var fileSize = "unknown";
  1477. var sizeCandidate = "";
  1478. while(sizeIdx--)
  1479. {
  1480. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1481. if (sizeCandidate != null)
  1482. {
  1483. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1484. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1485. {
  1486. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1487. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1488. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1489. }
  1490. break;
  1491. }
  1492. }
  1493. tooltip += fileSize + "</b>";
  1494. // PROTOTYPE
  1495. // video thumbnails
  1496. if (href.match('hellshare'))
  1497. {
  1498. var thumbs;
  1499. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1500. if (thumbs)
  1501. {
  1502. tooltip += '<br>';
  1503. var j = Math.min(thumbs.length, 9);
  1504. for (var i = 0; i < j; i++)
  1505. {
  1506. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1507. }
  1508. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1509. }
  1510. }
  1511. if (href.match('czshare'))
  1512. {
  1513. var thumbs;
  1514. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1515. if (thumbs)
  1516. {
  1517. var thumbsServer = thumbs[1];
  1518. var thumbsId = thumbs[2];
  1519. tooltip += '<br>';
  1520. for (var i = 1; i < 9; i++)
  1521. {
  1522. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1523. }
  1524. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1525. }
  1526. }
  1527. if (href.match('bezvadata'))
  1528. {
  1529. var thumbs;
  1530. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1531. if (thumbs)
  1532. {
  1533. tooltip += '<br>';
  1534. var j = Math.min(thumbs.length, 9);
  1535. for (var i = 0; i < j; i++)
  1536. {
  1537. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1538. }
  1539. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1540. }
  1541. }
  1542. link.warlc_tooltipcache = tooltip;
  1543. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1544. {
  1545. warlcTooltip.innerHTML = tooltip;
  1546. }
  1547. }
  1548. });
  1549. }
  1550. }
  1551.  
  1552. function setVariables()
  1553. {
  1554. if (firstRun)
  1555. {
  1556. GM_log('First run, applying default settings...');
  1557. GM_setValue("Icon_set",1);
  1558. GM_setValue("Display_tooltip_info",true);
  1559. GM_setValue("Show_black_background_in_DL_links",false);
  1560. GM_setValue("Show_line_through_in_dead_links",false);
  1561. GM_setValue("Display_full_links_in_link_containers",false);
  1562. GM_setValue("Allow_spaces_in_DL_links",false);
  1563. GM_setValue("Autocheck",true);
  1564. GM_setValue("Enable_Anonymizer",false);
  1565. GM_setValue("Do_not_linkify_DL_links",false);
  1566. GM_setValue("Show_progress_stats",true);
  1567. GM_setValue("Keyboard_functions",true);
  1568. GM_setValue("Obsolete_file_hosts",false);
  1569. GM_setValue("Color_DL_links",true);
  1570. GM_setValue("Live_links_color","Green");
  1571. GM_setValue("Dead_links_color","#FF3300");
  1572. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1573. GM_setValue("Container_links_color","DarkKhaki");
  1574. GM_setValue("Premium_links_color","DeepPink");
  1575. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1576. GM_setValue("Custom_rules",false);
  1577. GM_setValue("Custom_rules_text","");
  1578. GM_setValue("Processbox_Pos_Y", 0);
  1579. GM_setValue("Processbox_Pos_X", 88);
  1580. GM_setValue("Progressbox_Scaling", 100);
  1581. GM_setValue("First_run", false);
  1582. }
  1583. //hidden settings
  1584. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1585. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1586. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1587. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1588. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1589. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1590. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1591. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1592. //hidden settings end
  1593.  
  1594. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1595. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1596. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1597. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1598. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1599. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1600. Autocheck = GM_getValue("Autocheck", true);
  1601. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1602. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1603. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1604. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1605. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1606. Color_DL_links = GM_getValue("Color_DL_links", true);
  1607. Live_links_color = GM_getValue("Live_links_color", "Green");
  1608. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1609. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1610. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1611. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1612. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1613. Custom_rules = GM_getValue("Custom_rules", false);
  1614. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1615. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1616. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1617. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1618. }
  1619.  
  1620.  
  1621. // Delinkifies the links
  1622. // params:
  1623. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1624. // e.g. 'uloz.to/xs68skxl8')
  1625. function delinkifySnapshot(snapshot)
  1626. {
  1627. var n = snapshot.snapshotLength;
  1628.  
  1629. while (n--)
  1630. {
  1631. thisLink = snapshot.snapshotItem(n);
  1632.  
  1633. var spanElm = document.createElement("span");
  1634. spanElm.className = thisLink.className;
  1635. spanElm.innerHTML = thisLink.innerHTML;
  1636.  
  1637. if (Display_tooltip_info)
  1638. {
  1639. spanElm.href = thisLink.href;
  1640. switch (thisLink.className){
  1641. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1642. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1643. case "unava_link": //reserved
  1644. default:
  1645. }
  1646. }
  1647. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1648. }
  1649. }
  1650.  
  1651. function processContainers()
  1652. {
  1653. var redirectorTypes = { "HTTP_302": 0,
  1654. "INNER_LINK": 1,
  1655. "THELOO_KATT_IT": 2,
  1656. "CING_BE": 3,
  1657. "ADF_LY": 4};
  1658. var cMultiloadTotal = 0;
  1659. var cMultiloadProcessed = 0;
  1660.  
  1661. var cMirrorcreatorComTotal = 0;
  1662. var cMirrorcreatorComProcessed = 0;
  1663.  
  1664. var hostRestrictionRegex = "";
  1665. var multiloadComRestriction = "";
  1666. var multiloadComRestrictionRegex;
  1667.  
  1668. //
  1669. //HANDLING REDIRECTORS START
  1670. //
  1671.  
  1672. var redirectors = new Array();
  1673. initRedirectors();
  1674.  
  1675. var redirectorsCount = redirectors.length;
  1676.  
  1677. if (redirectorsCount > 0)
  1678. {
  1679. var allRedirectorsRegex = "";
  1680.  
  1681. //linkify redirector links
  1682. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1683. {
  1684. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1685. }
  1686. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1687. linkify(allRedirectorsRegex);
  1688. //
  1689. //process redirector links
  1690. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1691. {
  1692. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1693. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1694.  
  1695. cLinksTotal += redirectors[redirIdx].cTotal;
  1696. var linkIdx = redirectors[redirIdx].cTotal;
  1697.  
  1698. while(linkIdx--)
  1699. {
  1700. switch(redirectors[redirIdx].type)
  1701. {
  1702. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1703. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1704. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1705. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1706. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1707. default:
  1708. }
  1709. }
  1710. }
  1711. //
  1712. }
  1713.  
  1714. //HTTP_302
  1715. function processRedirectorLink(link, redirectorId)
  1716. {
  1717. link.className = 'container_link';
  1718.  
  1719. GM_xmlhttpRequest({
  1720. method: 'HEAD',
  1721. url: link.href,
  1722. headers: {
  1723. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1724. 'Accept': 'text/xml',
  1725. 'Referer': ""
  1726. },
  1727. onload: function(result) {
  1728. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1729. {
  1730. processRedirectorLink(link, redirectorId);
  1731. }
  1732. else
  1733. {
  1734. redirectors[redirectorId].cProcessed++;
  1735. link.href = result.finalUrl;
  1736. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1737. checkLinks('container_link');
  1738. }
  1739. },
  1740. onerror: function(result) { //probably caused by unresponsive filehosting
  1741. redirectors[redirectorId].cProcessed++;
  1742. link.className = 'unava_link';
  1743. cLinksProcessed++;
  1744. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1745. checkLinks('container_link');
  1746. }
  1747. });
  1748. }
  1749. //INNER_LINK
  1750. function processRedirectorLinkEx(link, redirectorId)
  1751. {
  1752. link.className = 'container_link';
  1753. GM_xmlhttpRequest({
  1754. method: 'GET',
  1755. url: link.href,
  1756. headers: {
  1757. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1758. 'Accept': 'text/xml',
  1759. 'Referer': ""
  1760. },
  1761. onload: function(result) {
  1762. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1763. redirectors[redirectorId].cProcessed++;
  1764. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1765. checkLinks('container_link');
  1766. }
  1767. });
  1768. }
  1769. //theloo.katt.it (wrapped safelinking.net)
  1770. function processThelooKattItLink(link, redirectorId)
  1771. {
  1772. link.className = 'container_link';
  1773. GM_xmlhttpRequest({
  1774. method: 'GET',
  1775. url: link.href,
  1776. headers: {
  1777. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1778. 'Accept': 'text/xml',
  1779. 'Referer': ""
  1780. },
  1781. onload: function(result) {
  1782. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1783. redirectors[redirectorId].cProcessed++;
  1784. //the inner links are safelinking.net links, so lets proceed with it
  1785. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1786. {
  1787. processRedirectorLink(link, 0);
  1788. }
  1789. }
  1790. });
  1791. }
  1792. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1793. function processAdfLyLink(link, redirectorId)
  1794. {
  1795. link.className = 'container_link';
  1796. GM_xmlhttpRequest({
  1797. method: 'GET',
  1798. url: link.href,
  1799. headers: {
  1800. 'User-agent': 'Mozilla/4.0',
  1801. 'Accept': 'text/xml',
  1802. 'Referer': ""
  1803. },
  1804. onload: function(result) {
  1805. if (result.finalUrl.match('/locked/'))
  1806. {
  1807. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1808. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1809. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1810. }
  1811. else
  1812. {
  1813. // GM_log('Processing... ' + link.href);
  1814. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1815. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1816. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1817. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1818. //confirm advert
  1819. GM_xmlhttpRequest(
  1820. {
  1821. method: 'POST',
  1822. url: 'http://adf.ly/l.php',
  1823. headers: {
  1824. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1825. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1826. 'Referer': link.href
  1827. },
  1828. data: users + '&lt=' + logToken,
  1829. onload: function(result) {
  1830. //retrieve final url from .../go/... link
  1831. GM_xmlhttpRequest({
  1832. method: 'GET',
  1833. url: directLink,
  1834. headers: {
  1835. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1836. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1837. 'Referer': link.href
  1838. },
  1839. onload: function(result) {
  1840. link.href = result.finalUrl;
  1841. redirectors[redirectorId].cProcessed++;
  1842. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1843. checkLinks('container_link');
  1844. }
  1845. });
  1846. }
  1847. });
  1848. }
  1849. }
  1850. });
  1851. function proceedOK()
  1852. {
  1853. }
  1854. }
  1855. //MULTILOAD.CZ START
  1856. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1857. {
  1858. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1859. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1860.  
  1861. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1862.  
  1863. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1864. hostRestrictionRegex += 'hellshare|';
  1865. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1866. hostRestrictionRegex += 'downloadhellshare|';
  1867. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1868. hostRestrictionRegex += 'share-rapid\\.com|';
  1869. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1870. hostRestrictionRegex += 'quickshare\\.cz|';
  1871. if (GM_getValue("Check_czshare_dot_com_links", false))
  1872. hostRestrictionRegex += 'czshare\\.com|';
  1873. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1874. hostRestrictionRegex += 'hellspy|';
  1875. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1876. hostRestrictionRegex += 'multishare\\.cz|';
  1877.  
  1878. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1879.  
  1880. linkify(mlRegex);
  1881.  
  1882. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1883. var mlCount = mlSnapshot.snapshotLength;
  1884.  
  1885. if (mlCount > 0)
  1886. {
  1887. cMultiloadTotal += mlCount;
  1888.  
  1889. mlIdx = mlCount - 1;
  1890. do
  1891. {
  1892. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1893. }
  1894. while(mlIdx--)
  1895. }
  1896. }
  1897. //MULTILOAD.CZ END
  1898.  
  1899.  
  1900.  
  1901. function processMultiloadLink(mlLink)
  1902. {
  1903. GM_xmlhttpRequest({
  1904. method: 'GET',
  1905. url: mlLink.href,
  1906. headers: {
  1907. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1908. 'Accept': 'text/xml',
  1909. 'Referer': ""
  1910. },
  1911. onload: function(result) {
  1912. var res = result.responseText;
  1913.  
  1914. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1915. 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;
  1916. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1917. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1918.  
  1919. var blocks; // blocks of links
  1920. var blockIdx;
  1921.  
  1922. mlLink.className = '';
  1923.  
  1924. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1925. {
  1926. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1927. return;
  1928. }
  1929.  
  1930. blocks = res.match(innerBlockRegex);
  1931.  
  1932. if (blocks == null) //no links found, cancel further processing
  1933. {
  1934. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1935. cMultiloadProcessed++;
  1936. if (cMultiloadTotal <= cMultiloadProcessed)
  1937. {
  1938. startBulkCheck('container_link');
  1939. start('container_link');
  1940. }
  1941. return;
  1942. }
  1943.  
  1944. blockIdx = blocks.length;
  1945.  
  1946. if (Display_full_links_in_link_containers)
  1947. {
  1948. var ulElm = document.createElement('ul');
  1949. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1950.  
  1951. while(blockIdx--)
  1952. {
  1953. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1954. {
  1955. continue;
  1956. }
  1957.  
  1958. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1959.  
  1960. var linkIdx = innerLinks.length;
  1961. while (linkIdx--)
  1962. {
  1963. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1964.  
  1965. var liElm = document.createElement('li');
  1966.  
  1967. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1968. {
  1969. liElm.appendChild(document.createTextNode(innerLink));
  1970. }
  1971. else
  1972. {
  1973. var aElm = document.createElement('a');
  1974. aElm.innerHTML = innerLink;
  1975. aElm.href = innerLink;
  1976. aElm.className = 'container_link';
  1977.  
  1978. liElm.appendChild(aElm);
  1979. }
  1980.  
  1981. ulElm.appendChild(liElm);
  1982. cLinksTotal++;
  1983. }
  1984. }
  1985.  
  1986. mlLink.parentNode.appendChild(ulElm);
  1987. }
  1988. else //compact view
  1989. {
  1990. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1991.  
  1992. while(blockIdx--)
  1993. {
  1994. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1995. {
  1996. continue;
  1997. }
  1998.  
  1999. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  2000.  
  2001. var linkIdx = innerLinks.length;
  2002. while (linkIdx--)
  2003. {
  2004. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  2005.  
  2006. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  2007. {
  2008. mlLink.parentNode.appendChild(document.createTextNode("----"));
  2009. }
  2010. else
  2011. {
  2012. var aElm = document.createElement('a');
  2013.  
  2014. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  2015.  
  2016. //abbreviate host name
  2017. switch(hostName + ""){
  2018.  
  2019. case 'quickshare': aElm.innerHTML = 'QS'; break;
  2020. case 'hellshare': aElm.innerHTML = 'HS'; break;
  2021. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  2022. case 'multishare': aElm.innerHTML = 'MS'; break;
  2023. case 'hellspy': aElm.innerHTML = 'hs'; break;
  2024. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  2025. case 'czshare': aElm.innerHTML = 'CS'; break;
  2026. default: aElm.innerHTML = 'xx';
  2027.  
  2028. }
  2029.  
  2030. aElm.href = innerLink;
  2031. aElm.className = 'container_link';
  2032.  
  2033. mlLink.parentNode.appendChild(aElm);
  2034. cLinksTotal++;
  2035. }
  2036. }
  2037.  
  2038. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2039.  
  2040. }
  2041. }
  2042.  
  2043. cMultiloadProcessed++;
  2044. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2045. {
  2046. if (Do_not_linkify_DL_links)
  2047. {
  2048. delinkifySnapshot(mlSnapshot);
  2049. }
  2050. startBulkCheck('container_link');
  2051. start('container_link');
  2052. }
  2053. }
  2054. });
  2055. }
  2056.  
  2057.  
  2058. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2059. {
  2060. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2061. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2062. var mcShortHostNames =
  2063. '?? 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';
  2064. // 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
  2065. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2066. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2067. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2068. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2069.  
  2070. linkify(mcRegex);
  2071.  
  2072. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2073. var mcCount = mcSnapshot.snapshotLength;
  2074.  
  2075. cMirrorcreatorComTotal = mcCount;
  2076.  
  2077. if (mcCount > 0)
  2078. {
  2079. mcShortHostNames = mcShortHostNames.split(' ');
  2080. mcIdx = mcCount;
  2081. while(mcIdx--)
  2082. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2083. }
  2084.  
  2085. }
  2086. //MIRRORCREATOR.CZ END
  2087.  
  2088.  
  2089. //mirrorcreator.com checking works like this:
  2090. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2091. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2092. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2093. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2094. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2095. function processMirrorcreatorLink(mcLink)
  2096. {
  2097. var mcURL = mcLink.href.match(mcRegex);
  2098. if(!mcURL || !mcURL[1]) return;
  2099. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2100. GM_xmlhttpRequest({
  2101. method: 'GET',
  2102. url: mcURL,
  2103. headers: {
  2104. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2105. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2106. 'Referer': ""
  2107. },
  2108. onload: function(mcLinkResult) {
  2109. var mcLinkRes = mcLinkResult.responseText;
  2110.  
  2111. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2112. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2113.  
  2114. var mcRedirectors;
  2115. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2116. var m = mcLinkRes.match(mcLinkBlockRegex);
  2117. if (m)
  2118. mcHostsFound = m.length;
  2119. else
  2120. { //no files inside container
  2121. processMirrorcreatorFoundHosts(mcLink, []);
  2122. return;
  2123. }
  2124.  
  2125. var mcRedirectorURL, idx, timedOut = false;
  2126.  
  2127. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2128. GM_xmlhttpRequest({
  2129. method: 'GET',
  2130. url: mcRedirectorURL,
  2131. headers: {
  2132. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2133. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2134. 'Referer': ""
  2135. },
  2136. onload: function(mcHostResult) {
  2137. if (timedOut) return; //too late, the list is already displayed
  2138. var mcHostRes = mcHostResult.responseText;
  2139. var mcHost = mcHostRes.match(mcHostRegex);
  2140. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2141. if (mcHost && idx!=-1)
  2142. {
  2143. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2144. mcHostsRetrieved++;
  2145. mcHostsToProcess++;
  2146. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2147. {
  2148. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2149. mcHostsToProcess = 0;
  2150. }
  2151. }
  2152. } //end of onload: function
  2153. }); //end of GM_xmlhttpRequest call
  2154. };//end of var gmxhrFunc
  2155.  
  2156. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2157. { //load individual redirector pages
  2158. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2159. mcHostURLs.push(mcRedirectorURL);
  2160. mcRedirectorIDs.push(mcRedirectors[2]);
  2161. gmxhrFunc(mcRedirectorURL);
  2162. } //end of while block
  2163.  
  2164. setTimeout(function(){ //in case the last page fails to load and call the function
  2165. timedOut = true;
  2166. if (mcHostsToProcess)
  2167. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2168. }, 60000);
  2169.  
  2170. } //end of onload function
  2171. }); //end of GM_xmlhttpRequest call
  2172. } //end of function processMirrorcreatorLink
  2173.  
  2174.  
  2175. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2176. {
  2177. var aEl, liEl, docFrag;
  2178. var hostName, mcRedirectorID, trimFilename = false;
  2179. var i = mcHostURLs.length;
  2180. if (i == 0)
  2181. {
  2182. trimFilename = true;
  2183. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2184. }
  2185. else
  2186. {
  2187. if (Display_full_links_in_link_containers)
  2188. { //full view
  2189. var wrapperEl = document.createElement('span');
  2190. wrapperEl.style.display = 'block';
  2191. var ulistEl = document.createElement('ul');
  2192. ulistEl.className = 'container_list';
  2193. while (i--)
  2194. {
  2195. liEl = document.createElement('li');
  2196. aEl = document.createElement('a');
  2197. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2198. aEl.href = mcHostURLs[i];
  2199. aEl.className = 'container_link';
  2200. liEl.appendChild(aEl);
  2201. ulistEl.appendChild(liEl);
  2202. }
  2203. wrapperEl.appendChild(ulistEl);
  2204. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2205. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2206. }
  2207. else
  2208. { //compact view
  2209. trimFilename = true;
  2210. docFrag = document.createDocumentFragment();
  2211. docFrag.appendChild(document.createTextNode(' |'));
  2212. while (i--)
  2213. {
  2214. mcRedirectorID = mcRedirectorIDs[i];
  2215. hostName = mcHostURLs[i];
  2216. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2217. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2218. else
  2219. hostName = mcShortHostNames[mcRedirectorID];
  2220. aEl = document.createElement('a');
  2221. aEl.href = mcHostURLs[i];
  2222. aEl.className = 'container_link';
  2223. aEl.appendChild(document.createTextNode(hostName));
  2224. docFrag.appendChild(aEl);
  2225. docFrag.appendChild(document.createTextNode('|'));
  2226. }
  2227. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2228. } //end of else block
  2229. } //end of else block
  2230. mcLink.className = '';
  2231. if (trimFilename)
  2232. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2233. cMirrorcreatorComProcessed++;
  2234. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2235. {
  2236. if (Do_not_linkify_DL_links)
  2237. delinkifySnapshot(mcSnapshot);
  2238. startBulkCheck('container_link');
  2239. start('container_link');
  2240. }
  2241. } //end of function processMirrorcreatorFoundHosts
  2242.  
  2243. containers_processed = true;
  2244.  
  2245.  
  2246. function initRedirectors()
  2247. {
  2248. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2249. {
  2250. var redirector = new Object();
  2251. redirector.linkRegex = linkRegex;
  2252. redirector.xpath = xpathEx; //xpath expression
  2253. redirector.cProcessed = 0; //processed links count
  2254. redirector.cTotal = 0; //total links count
  2255. redirector.type = redirType; //redirectorTypes enum
  2256. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2257. redirectors.push(redirector);
  2258. }
  2259. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2260. {
  2261. addRedirector(
  2262. 'safelinking\\.net\/d\/\\w+',
  2263. "//a[contains(@href,'safelinking.net/d/')]",
  2264. redirectorTypes.HTTP_302,
  2265. null);
  2266. }
  2267. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2268. {
  2269. addRedirector(
  2270. 'linksafe\\.me\/d\/\\w+',
  2271. "//a[contains(@href,'linksafe.me/d/')]",
  2272. redirectorTypes.HTTP_302,
  2273. null);
  2274. }
  2275. if (GM_getValue("Check_linkto_dot_net_links", false))
  2276. {
  2277. addRedirector(
  2278. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2279. "//a[contains(@href,'linkto.net/?')]",
  2280. redirectorTypes.INNER_LINK,
  2281. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2282. }
  2283. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2284. {
  2285. addRedirector(
  2286. '(?:the)?loo\\.katt\\.it\/\\w+',
  2287. "//a[contains(@href,'loo.katt.it/')]",
  2288. redirectorTypes.THELOO_KATT_IT,
  2289. /Proceed to URL - <a href="(.+?)">/);
  2290. }
  2291. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2292. {
  2293. addRedirector(
  2294. 'madlink\\.sk\/\\w+',
  2295. "//a[contains(@href,'madlink.sk/')]",
  2296. redirectorTypes.INNER_LINK,
  2297. /name="url" value="(.+?)\s*"\/>/);
  2298. }
  2299. if (GM_getValue("Check_adf_dot_ly_links", false))
  2300. {
  2301. addRedirector(
  2302. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2303. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2304. redirectorTypes.ADF_LY,
  2305. null);
  2306. }
  2307. if (GM_getValue("Check_redi_dot_re_links", false))
  2308. {
  2309. addRedirector(
  2310. 'redi\\.re\/\\w+',
  2311. "//a[contains(@href,'redi.re/')]",
  2312. redirectorTypes.HTTP_302,
  2313. null);
  2314. }
  2315. if (GM_getValue("Check_bit_dot_ly_links", false))
  2316. {
  2317. addRedirector(
  2318. 'bit\\.ly\/\\w+',
  2319. "//a[contains(@href,'bit.ly/')]",
  2320. redirectorTypes.HTTP_302,
  2321. null);
  2322. }
  2323. }
  2324.  
  2325. }
  2326.  
  2327. var bulkHosts = new Array();
  2328. var bulkHostNames = new Array();
  2329. function initBulkCheck()
  2330. {
  2331. /////////////////////////////
  2332. // Inits filehost object
  2333. /////////////////////////////
  2334. // params :
  2335. // hostName -- [string] host name (multiple domains separated with coma)
  2336. // linkRegex -- [string] link regex
  2337. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2338. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2339. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2340. // corrReplWhat -- [regex] link correction regex (replace)
  2341. // corrReplWith -- [string]
  2342. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2343. //
  2344. // apiUrl -- [string] web linkchecker or API URL
  2345. // postData -- [string] POSTDATA of xmlhttprequest
  2346. // resLinkRegex -- [regex]
  2347. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2348. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2349. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2350. // func -- [function] bulkcheck handler, genBulkCheck if null
  2351. //
  2352. //////////////////////////////
  2353. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2354. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2355. {
  2356. var fileHost = new Object();
  2357.  
  2358. fileHost.linkRegex = linkRegex;
  2359. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2360. fileHost.xpath = xpath;
  2361. fileHost.cFound = 0; //found links counter
  2362. fileHost.links = new Array(); //found links
  2363. if (blockSize == null)
  2364. {
  2365. fileHost.blockSize = 50;
  2366. }
  2367. else
  2368. {
  2369. fileHost.blockSize = blockSize;
  2370. }
  2371. fileHost.corrMatch = corrMatch;
  2372. fileHost.corrReplWhat = corrReplWhat;
  2373. fileHost.corrReplWith = corrReplWith;
  2374. if (splitSeparator == null)
  2375. {
  2376. fileHost.splitSeparator = "\r\n";
  2377. }
  2378. else
  2379. {
  2380. fileHost.splitSeparator = splitSeparator;
  2381. }
  2382. fileHost.apiUrl = apiUrl;
  2383. fileHost.postData = postData;
  2384. fileHost.resLinkRegex = resLinkRegex;
  2385. fileHost.resLiveRegex = resLiveRegex;
  2386. fileHost.resDeadRegex = resDeadRegex;
  2387. fileHost.resUnavaRegex = resUnavaRegex;
  2388. if (func == null)
  2389. {
  2390. fileHost.func = genBulkCheck;
  2391. }
  2392. else
  2393. {
  2394. fileHost.func = func;
  2395. }
  2396. bulkHosts.push(fileHost);
  2397. var names = hostName.split(',');
  2398. var i = names.length;
  2399. while(i--)
  2400. {
  2401. bulkHostNames[names[i]] = fileHost;
  2402. }
  2403. }
  2404. var genType1 = [
  2405. "rodfile.com", "downloadani.me", //"migahost.com",
  2406. "rarefile.net",
  2407. "filesabc.com",
  2408. // "verzend.be",
  2409. // "movreel.com",
  2410. "file4safe.com", "filemac.com",
  2411. "longfiles.com",
  2412. "bitupload.com", //"4up.me",
  2413. //"uploadbaz.com"
  2414. ];
  2415. var genType2 = [ "queenshare.com",
  2416. "hulkload.com",
  2417. "amonshare.com", //"edoc.com",
  2418. ];
  2419. //xfilesharing 1.0
  2420. function addGenericType1()
  2421. {
  2422. var i = genType1.length;
  2423. while(i--)
  2424. {
  2425. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2426. {
  2427. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2428. addHost(
  2429. genType1[i].match(/[\w-]+/)[0], //hostname
  2430. regexSafe + "\/\\w+", //linkregex
  2431. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2432. null, //blocksize
  2433. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2434. null, //corrreplwhat
  2435. null, //corrreplwith
  2436. null, //separator
  2437. "http://" + genType1[i] + "/checkfiles.html", //api url
  2438. "op=checkfiles&process=Check+URLs&list=", //postdata
  2439. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2440. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2441. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2442. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2443. null //function delegate
  2444. )
  2445. }
  2446. }
  2447. }
  2448. //xfilesharing 2.0
  2449. function addGenericType2()
  2450. {
  2451. var i = genType2.length;
  2452. while(i--)
  2453. {
  2454. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2455. {
  2456. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2457. addHost(
  2458. genType2[i].match(/[\w-]+/)[0], //hostname
  2459. regexSafe + "\/\\w+", //linkregex
  2460. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2461. null, //blocksize
  2462. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2463. null, //corrreplwhat
  2464. null, //corrreplwith
  2465. null, //separator
  2466. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2467. "op=checkfiles&process=Check+URLs&list=", //postdata
  2468. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2469. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2470. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2471. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2472. null //function delegate
  2473. )
  2474. }
  2475. }
  2476. }
  2477. // TEMPLATE
  2478. // if (GM_getValue("Check__dot_com_links", false))
  2479. // {
  2480. // addHost(
  2481. // "", //hostname
  2482. // "", //linkregex
  2483. // "//a[contains(@href,'.com/')]", //xpath
  2484. // null, //blocksize
  2485. // null, //corrmatch
  2486. // null, //corrreplwhat
  2487. // null, //corrreplwith
  2488. // null, //separator
  2489. // "", //api url
  2490. // "", //postdata
  2491. // /()/, //linkregex
  2492. // //liveregex
  2493. // //deadregex
  2494. // //unavaregex
  2495. // null //function delegate
  2496. // )
  2497. // }
  2498. addGenericType1();
  2499. addGenericType2();
  2500.  
  2501. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2502. {
  2503. addHost(
  2504. "myvdrive,fileserving", //hostname
  2505. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2506. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2507. null, //blocksize
  2508. null, //corrmatch
  2509. null, //corrreplwhat
  2510. null, //corrreplwith
  2511. null, //separator
  2512. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2513. "links=", //postdata
  2514. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2515. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2516. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2517. null, //unavaregex
  2518. null //function delegate
  2519. )
  2520. }
  2521. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2522. {
  2523. addHost(
  2524. "hackerbox", //hostname
  2525. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2526. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2527. null, //blocksize
  2528. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2529. null, //corrreplwhat
  2530. null, //corrreplwith
  2531. null, //separator
  2532. "http://host.hackerbox.org/checkfiles.html", //api url
  2533. "op=checkfiles&process=Check+URLs&list=", //postdata
  2534. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2535. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2536. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2537. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2538. null //function delegate
  2539. )
  2540. }
  2541. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2542. {
  2543. addHost(
  2544. "hellshare", //hostname
  2545. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2546. "//a[contains(@href,'hellshare.')]", //xpath
  2547. 48, //blocksize
  2548. null, //corrmatch
  2549. null, //corrreplwhat
  2550. null, //corrreplwith
  2551. null, //separator
  2552. null, //api url
  2553. null, //postdata
  2554. null, //linkregex
  2555. null, //liveregex
  2556. null, //deadregex
  2557. null, //unavaregex
  2558. hellshareBulkCheck //function delegate
  2559. )
  2560. }
  2561. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2562. {
  2563. addHost(
  2564. "uploadrocket", //hostname
  2565. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2566. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2567. null, //blocksize
  2568. null, //corrmatch
  2569. null, //corrreplwhat
  2570. null, //corrreplwith
  2571. "\n", //separator
  2572. 'http://uploadrocket.net/?op=checkfiles',
  2573. 'op=checkfiles&process=Check+URLs&list=',
  2574. /uploadrocket.net\/(\w+)/,
  2575. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2576. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2577. null,
  2578. null //function delegate
  2579. )
  2580. }
  2581. if (GM_getValue("Check_uploading_dot_site_links", false))
  2582. {
  2583. addHost(
  2584. "uploading", //hostname
  2585. "(?:uploading\\.site)\/\\w+", //linkregex
  2586. "//a[contains(@href,'uploading.site/')]", //xpath
  2587. null, //blocksize
  2588. null, //corrmatch
  2589. null, //corrreplwhat
  2590. null, //corrreplwith
  2591. "\n", //separator
  2592. 'http://uploading.site/?op=checkfiles',
  2593. 'op=checkfiles&process=Check+URLs&list=',
  2594. /uploading.site\/(\w+)/,
  2595. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2596. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2597. null,
  2598. null //function delegate
  2599. )
  2600. }
  2601. if (GM_getValue("Check_1f_dot_al_links", false))
  2602. {
  2603. addHost(
  2604. "1f",
  2605. "(?:1f\\.al)\/d\/\\w+",
  2606. "//a[contains(@href,'1f.al/d/')]",
  2607. 100000, //blocksize
  2608. null, //corrmatch
  2609. null, //corrreplwhat
  2610. null, //corrreplwith
  2611. null, //separator
  2612. null,
  2613. null,
  2614. null,
  2615. null,
  2616. null,
  2617. null,
  2618. _1falBulkCheck //function delegate
  2619. )
  2620. }
  2621. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2622. {
  2623. addHost(
  2624. "k2s,keep2s,keep2share",
  2625. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2626. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2627. 100000, //blocksize
  2628. null, //corrmatch
  2629. null, //corrreplwhat
  2630. null, //corrreplwith
  2631. null, //separator
  2632. null,
  2633. null,
  2634. null,
  2635. null,
  2636. null,
  2637. null,
  2638. k2sBulkCheck //function delegate
  2639. )
  2640. }
  2641. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2642. {
  2643. addHost(
  2644. "tezfiles",
  2645. "(?:tezfiles\\.com)\/\\w+",
  2646. "//a[contains(@href,'tezfiles.com')]",
  2647. 100000, //blocksize
  2648. null, //corrmatch
  2649. null, //corrreplwhat
  2650. null, //corrreplwith
  2651. null, //separator
  2652. null,
  2653. null,
  2654. null,
  2655. null,
  2656. null,
  2657. null,
  2658. k2sBulkCheck //function delegate
  2659. )
  2660. }
  2661. if (GM_getValue("Check_fboom_dot_me_links", false))
  2662. {
  2663. addHost(
  2664. "fboom,fileboom",
  2665. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2666. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2667. 100000, //blocksize
  2668. null, //corrmatch
  2669. null, //corrreplwhat
  2670. null, //corrreplwith
  2671. null, //separator
  2672. null,
  2673. null,
  2674. null,
  2675. null,
  2676. null,
  2677. null,
  2678. fboomBulkCheck //function delegate
  2679. )
  2680. }
  2681. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2682. {
  2683. addHost(
  2684. "1fichier,dl4free",
  2685. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2686. "//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/?')]",
  2687. 100000, //blocksize
  2688. null, //corrmatch
  2689. null, //corrreplwhat
  2690. null, //corrreplwith
  2691. null, //separator
  2692. null,
  2693. null,
  2694. null,
  2695. null,
  2696. null,
  2697. null,
  2698. dl4free_1fichier_BulkCheck //function delegate
  2699. )
  2700. }
  2701. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2702. {
  2703. addHost(
  2704. "nitroflare",
  2705. "nitroflare\\.com\/\\w+",
  2706. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2707. 100000, //blocksize
  2708. null, //corrmatch
  2709. null, //corrreplwhat
  2710. null, //corrreplwith
  2711. null, //separator
  2712. null,
  2713. null,
  2714. null,
  2715. null,
  2716. null,
  2717. null,
  2718. nitroflareBulkCheck //function delegate
  2719. )
  2720. }
  2721. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2722. {
  2723. addHost(
  2724. "depositfiles,dfiles",
  2725. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2726. "//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/')]",
  2727. 100000, //blocksize
  2728. null, //corrmatch
  2729. null, //corrreplwhat
  2730. null, //corrreplwith
  2731. null, //separator
  2732. null,
  2733. null,
  2734. null,
  2735. null,
  2736. null,
  2737. null,
  2738. depositfilesBulkCheck //function delegate
  2739. )
  2740. }
  2741. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2742. {
  2743. addHost(
  2744. "filesflash", //hostname
  2745. "filesflash\\.com\/\\w+", //linkregex
  2746. "//a[contains(@href,'filesflash.com')]", //xpath
  2747. null, //blocksize
  2748. null, //corrmatch
  2749. /http:\/\//, //corrreplwhat
  2750. '', //corrreplwith
  2751. null, //separator
  2752. 'http://filesflash.com/checklinks.php',
  2753. 'submit=Go&links=',
  2754. /filesflash\.com\/(\w+)/,
  2755. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2756. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2757. null,
  2758. null //function delegate
  2759. )
  2760. }
  2761. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2762. {
  2763. addHost(
  2764. "jumbofiles", //hostname
  2765. "jumbofiles\\.com\/\\w+", //linkregex
  2766. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2767. null, //blocksize
  2768. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2769. null, //corrreplwhat
  2770. null, //corrreplwith
  2771. null, //separator
  2772. "http://jumbofiles.com/checkfiles.html", //api url
  2773. "op=checkfiles&process=Check+URLs&list=", //postdata
  2774. /(jumbofiles\.com\/\w+)/, //linkregex
  2775. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2776. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2777. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2778. null //function delegate
  2779. )
  2780. }*/
  2781. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2782. {
  2783. addHost(
  2784. "edisk", //hostname
  2785. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2786. "//a[contains(@href,'edisk.')]", //xpath
  2787. null, //blocksize
  2788. null, //corrmatch
  2789. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2790. 'edisk.cz/stahni', //corrreplwith
  2791. null, //separator
  2792. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2793. 'submitBtn=Zkontrolovat&checkFiles=',
  2794. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2795. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2796. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2797. null,
  2798. null //function delegate
  2799. )
  2800. }
  2801. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2802. {
  2803. GM_xmlhttpRequest( //age check skip
  2804. {
  2805. method: 'POST',
  2806. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2807. headers: {
  2808. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2809. 'Content-type': 'application/x-www-form-urlencoded',
  2810. 'Referer': ""
  2811. }
  2812. });
  2813. addHost(
  2814. "bezvadata", //hostname
  2815. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2816. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2817. null, //blocksize
  2818. null, //corrmatch
  2819. null, //corrreplwhat
  2820. null, //corrreplwith
  2821. null, //separator
  2822. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2823. 'zkontrolovat=Zkontrolovat&odkazy=',
  2824. /(bezvadata\.cz\/stahnout\/\d+)/,
  2825. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2826. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2827. null,
  2828. null //function delegate
  2829. )
  2830. }
  2831. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2832. {
  2833. addHost(
  2834. "linkcrypt", //hostname
  2835. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2836. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2837. 100000, //blocksize
  2838. null, //corrmatch
  2839. null, //corrreplwhat
  2840. null, //corrreplwith
  2841. null, //separator
  2842. null,
  2843. null,
  2844. null,
  2845. null,
  2846. null,
  2847. null,
  2848. linkcryptBulkCheck //function delegate
  2849. )
  2850. }
  2851. if (GM_getValue("Check_videobb_dot_com_links", false))
  2852. {
  2853. addHost(
  2854. "videobb", //hostname
  2855. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2856. "//a[contains(@href,'videobb.com')]", //xpath
  2857. null, //blocksize
  2858. null, //corrmatch
  2859. /watch_video\.php\?v=/, //corrreplwhat
  2860. 'video/', //corrreplwith
  2861. null, //separator
  2862. 'http://www.videobb.com/link_checker.php',
  2863. 'links=',
  2864. /videobb\.com\/video\/(\w+)/,
  2865. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2866. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2867. null,
  2868. null //function delegate
  2869. )
  2870. }
  2871. if (GM_getValue("Check_filerio_dot_com_links", false))
  2872. {
  2873. addHost(
  2874. "filekeen,filerio", //hostname
  2875. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2876. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2877. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2878. null, //blocksize
  2879. null, //corrmatch
  2880. null, //corrreplwhat
  2881. null, //corrreplwith
  2882. null, //separator
  2883. 'http://filerio.in/checkfiles.html',
  2884. 'op=checkfiles&process=Check+URLs&list=',
  2885. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2886. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2887. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2888. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2889. null //function delegate
  2890. )
  2891. }
  2892. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2893. {
  2894. addHost(
  2895. "share-online,egoshare", //hostname
  2896. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2897. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2898. null, //blocksize
  2899. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2900. null, //corrreplwhat
  2901. null, //corrreplwith
  2902. "\n", //separator
  2903. 'http://api.share-online.biz/linkcheck.php',
  2904. 'links=',
  2905. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2906. /\w+;OK/g,
  2907. /\w+;(?:NOTFOUND|DELETED)/g,
  2908. null,
  2909. null //function delegate
  2910. )
  2911. }
  2912. if (GM_getValue("Check_oboom_dot_com_links", false))
  2913. {
  2914. addHost(
  2915. "oboom", //hostname
  2916. "oboom\\.com\/#?\\w{8}", //linkregex
  2917. "//a[contains(@href,'oboom.com/')]", //xpath
  2918. null, //blocksize
  2919. /oboom\.com\/#?(\w{8})/, //corrmatch
  2920. null, //corrreplwhat
  2921. null, //corrreplwith
  2922. null, //separator
  2923. null,
  2924. null,
  2925. null,
  2926. null, //liveregex
  2927. null, //deadregex
  2928. null,
  2929. oboomBulk //function delegate
  2930. )
  2931. }
  2932. if (GM_getValue("Check_mega_dot_nz_links", false))
  2933. {
  2934. addHost(
  2935. "mega",
  2936. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2937. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2938. 100000, //blocksize
  2939. null, //corrmatch
  2940. null, //corrreplwhat
  2941. null, //corrreplwith
  2942. null, //separator
  2943. null,
  2944. null,
  2945. null,
  2946. null,
  2947. null,
  2948. null,
  2949. megaBulkCheck //function delegate
  2950. )
  2951. }
  2952.  
  2953. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2954.  
  2955. if (GM_getValue("Check_extabit_dot_com_links", false))
  2956. {
  2957. addHost(
  2958. "extabit", //hostname
  2959. "extabit\\.com\/file\/\\w+", //linkregex
  2960. "//a[contains(@href,'extabit.com')]", //xpath
  2961. null, //blocksize
  2962. null, //corrmatch
  2963. null, //corrreplwhat
  2964. null, //corrreplwith
  2965. "\n", //separator
  2966. "http://extabit.com/linkchecker.jsp", //api url
  2967. "url=", //postdata
  2968. /extabit\.com\/(file\/\w+)/, //linkregex
  2969. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2970. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2971. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2972. extabitBulkCheck //function delegate
  2973. )
  2974. }
  2975. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2976. {
  2977. addHost(
  2978. "junocloud", //hostname
  2979. "junocloud\\.me\/\\w+", //linkregex
  2980. "//a[contains(@href,'junocloud.me')]", //xpath
  2981. null, //blocksize
  2982. null, //corrmatch
  2983. null, //corrreplwhat
  2984. null, //corrreplwith
  2985. "\n", //separator
  2986. "http://junocloud.me/checkfiles.html", //api url
  2987. "op=checkfiles&process=Check+URLs&list=", //postdata
  2988. /(junocloud\.me\/\w+)/, //linkregex
  2989. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2990. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2991. null, //unavaregex
  2992. null //function delegate
  2993. )
  2994. } */
  2995. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2996. {
  2997. addHost(
  2998. "webshare", //hostname
  2999. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  3000. "//a[contains(@href,'webshare.cz')]", //xpath
  3001. 100000, //blocksize
  3002. null, //corrmatch
  3003. null, //corrreplwhat
  3004. null, //corrreplwith
  3005. null, //separator
  3006. null, //api url
  3007. null, //postdata
  3008. null, //linkregex
  3009. null, //liveregex
  3010. null, //deadregex
  3011. null, //unavaregex
  3012. webshareBulkCheck //function delegate
  3013. )
  3014. }
  3015. /////////////////////////////
  3016. // Common function delegate to send links to get checked by host linkchecker
  3017. /////////////////////////////
  3018. // If you define a new delegate, you may use following properties
  3019. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  3020. // this.apiUrl [string] API or web linkchecker URL
  3021. // this.postData [string] POSTDATA for POST request
  3022. // this.resLiveRegex [regex] matches live substrings in the request response
  3023. // this.resDeadRegex [regex] matches dead substrings in the request response
  3024. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  3025. //
  3026. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  3027. //
  3028. // See the code below for standard bulkcheck handling reference.
  3029. //////////////////////////////
  3030. function genBulkCheck()
  3031. {
  3032. var blockIdx = this.links.length;
  3033. while (blockIdx--)
  3034. {
  3035. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3036. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3037. }
  3038. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3039. {
  3040. GM_xmlhttpRequest(
  3041. {
  3042. method: 'POST',
  3043. url: api,
  3044. headers: {
  3045. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3046. 'Content-type': 'application/x-www-form-urlencoded',
  3047. 'Referer': api,
  3048. 'X-Requested-With': 'XMLHttpRequest'
  3049. },
  3050. data: postData + encodeURIComponent(links),
  3051. onload: function (result)
  3052. {
  3053. var res = result.responseText;
  3054. // GM_log(res);
  3055. var i;
  3056.  
  3057. var livelinks = res.match(liveRegex);
  3058. var deadlinks = res.match(deadRegex);
  3059. // GM_log(livelinks);
  3060. // GM_log(deadlinks);
  3061. if (livelinks != null)
  3062. {
  3063. i = livelinks.length - 1;
  3064. do
  3065. {
  3066. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3067. }
  3068. while (i--);
  3069. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3070. }
  3071.  
  3072. if (deadlinks != null)
  3073. {
  3074. i = deadlinks.length - 1;
  3075. do
  3076. {
  3077. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3078. }
  3079. while (i--);
  3080. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3081. }
  3082.  
  3083. if (unavaRegex != null)
  3084. {
  3085. var unavalinks = res.match(unavaRegex);
  3086. if (unavalinks)
  3087. {
  3088. i = unavalinks.length - 1;
  3089. do
  3090. {
  3091. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3092. }
  3093. while (i--);
  3094. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3095. }
  3096. }
  3097. }
  3098. });
  3099. }
  3100. }
  3101. //specialized bulkchecking handlers follow
  3102. function webshareBulkCheck()
  3103. {
  3104. var arr = this.links[0].split("\r\n");
  3105. var i = arr.length;
  3106. while(i--)
  3107. {
  3108. postRequest(arr[i]);
  3109. }
  3110. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3111. function postRequest(wsLink)
  3112. {
  3113. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3114. GM_xmlhttpRequest(
  3115. {
  3116. method: 'POST',
  3117. url: "http://webshare.cz/api/file_info/",
  3118. headers: {
  3119. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3120. 'Content-type': 'application/x-www-form-urlencoded',
  3121. 'Referer': "",
  3122. },
  3123. data: "wst=&ident=" + id,
  3124. onload: function (result)
  3125. {
  3126. var res = result.responseText;
  3127. if (res.match(/<name>.+?<\/name>/))
  3128. {
  3129. DisplayTheCheckedLinks([id], 'alive_link');
  3130. }
  3131. else
  3132. {
  3133. DisplayTheCheckedLinks([id], 'adead_link');
  3134. }
  3135. }
  3136. });
  3137. }
  3138. }
  3139. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3140. //extabit also doesn't like requests in fast succession, so some delays are added.
  3141. function extabitBulkCheck()
  3142. {
  3143. var timeoutDelay = 0;
  3144. var blockIdx = this.links.length;
  3145. while (blockIdx--)
  3146. {
  3147. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3148. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3149. }
  3150. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3151. {
  3152. GM_xmlhttpRequest(
  3153. {
  3154. method: 'POST',
  3155. url: api,
  3156. headers: {
  3157. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3158. 'Content-type': 'application/x-www-form-urlencoded',
  3159. 'Referer': api,
  3160. 'X-Requested-With': 'XMLHttpRequest'
  3161. },
  3162. data: postData + encodeURIComponent(links),
  3163. onload: function (result)
  3164. {
  3165. var res = result.responseText;
  3166. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3167. {
  3168. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3169. {
  3170. //GM_log(tryID + ': ' + link);
  3171. GM_xmlhttpRequest(
  3172. {
  3173. method: 'GET',
  3174. url: link,
  3175. 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': ""},
  3176. onload: function(result2)
  3177. {
  3178. var res2 = result2.responseText;
  3179. var res2Status = result.status;
  3180. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3181. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3182. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3183. {
  3184. if (tryID < 7)
  3185. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3186. else
  3187. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3188. }
  3189. }
  3190. });
  3191. }
  3192. //split the hrefs and check them one by one
  3193. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3194. links = links.split('\n');
  3195. var i = links.length;
  3196. while (i--)
  3197. {
  3198. if (links[i])
  3199. {
  3200. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3201. timeoutDelay += 500;
  3202. }
  3203. }
  3204. return;
  3205. }
  3206. var i;
  3207.  
  3208. var livelinks = res.match(liveRegex);
  3209. var deadlinks = res.match(deadRegex);
  3210. if (livelinks != null)
  3211. {
  3212. i = livelinks.length - 1;
  3213. do
  3214. {
  3215. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3216. }
  3217. while (i--);
  3218. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3219. }
  3220.  
  3221. if (deadlinks != null)
  3222. {
  3223. i = deadlinks.length - 1;
  3224. do
  3225. {
  3226. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3227. }
  3228. while (i--);
  3229. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3230. }
  3231.  
  3232. if (unavaRegex != null)
  3233. {
  3234. var unavalinks = res.match(unavaRegex);
  3235. if (unavalinks)
  3236. {
  3237. i = unavalinks.length - 1;
  3238. do
  3239. {
  3240. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3241. }
  3242. while (i--);
  3243. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3244. }
  3245. }
  3246. }
  3247. });
  3248. }
  3249. }
  3250. function _1falBulkCheck()
  3251. {
  3252. var arr = this.links[0].split("\r\n");
  3253. var i = arr.length;
  3254. c=0;
  3255. arrIDs=[];
  3256. while(i--)
  3257. {
  3258. id = arr[i].match(/\/d\/(\w+)/)[1];
  3259.  
  3260. _1falalreadyexist=false;
  3261. for (j=0;j<arrIDs.length;j++)
  3262. {
  3263. if (arrIDs[j]==id)
  3264. {
  3265. _1falalreadyexist=g
  3266. break;
  3267. }
  3268. }
  3269. if (_1falalreadyexist) continue;
  3270. arrIDs.push(id);
  3271. c++;
  3272. setTimeout(_1falRequest,c*500,arr[i]);
  3273. }
  3274. }
  3275. function _1falRequest(_1falLink)
  3276. {
  3277. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3278. GM_xmlhttpRequest(
  3279. {
  3280. method: 'GET',
  3281. url: _1falLink,
  3282. headers: {
  3283. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3284. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3285. 'Referer': 'http://www.planetsuzy.org/'
  3286. },
  3287. onload: function (result)
  3288. {
  3289. var res = result.responseText;
  3290. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3291. if (FAarr!=null)
  3292. {
  3293. FALink=FAarr[1];
  3294. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3295. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3296. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3297. GM_xmlhttpRequest(
  3298. {
  3299. method: 'POST',
  3300. url: FALink,
  3301. headers: {
  3302. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3303. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3304. 'Content-Type': 'application/x-www-form-urlencoded',
  3305. 'Referer': _1falLink
  3306. },
  3307. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3308. onload: function (_2ndresult)
  3309. {
  3310. var newres = _2ndresult.responseText;
  3311. FAalivelink=new RegExp("method_free");
  3312. if (FAalivelink.test(newres))
  3313. {
  3314. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3315. return;
  3316. }
  3317. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3318. if (FAdeadlink.test(newres))
  3319. {
  3320. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3321. return;
  3322. }
  3323. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3324. return;
  3325. }
  3326. });
  3327. return;
  3328. }
  3329. else
  3330. {
  3331. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3332. return;
  3333. }
  3334. },
  3335. onerror: function ()
  3336. {
  3337. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3338. return;
  3339. }
  3340. });
  3341. }
  3342. function k2sBulkCheck()
  3343. {
  3344. var arr = this.links[0].split("\r\n");
  3345. var i = arr.length;
  3346. c=0;
  3347. arrIDs=[];
  3348. while(i--)
  3349. {
  3350. id = arr[i].match(/\/file\/(\w+)/)[1];
  3351. if (id=='info')
  3352. {
  3353. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3354. continue;
  3355. }
  3356. k2salreadyexist=false;
  3357. for (j=0;j<arrIDs.length;j++)
  3358. {
  3359. if (arrIDs[j]==id)
  3360. {
  3361. k2salreadyexist=g
  3362. break;
  3363. }
  3364. }
  3365. if (k2salreadyexist) continue;
  3366. arrIDs.push(id);
  3367. c++;
  3368. setTimeout(k2sRequest,c*500,arr[i]);
  3369. }
  3370. }
  3371. function k2sRequest(K2SLink)
  3372. {
  3373. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3374. while (K2SLink.indexOf("?http")>-1)
  3375. {
  3376. K2SLink=K2SLink.substring(K2SLink.indexOf("?http")+1);
  3377. }
  3378. GM_xmlhttpRequest(
  3379. {
  3380. method: 'GET',
  3381. url: K2SLink,
  3382. headers: {
  3383. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3384. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3385. 'Referer': ''
  3386. },
  3387. onload: function (result)
  3388. {
  3389. var res = result.responseText;
  3390. K2Dom='k2s.cc';
  3391. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3392. K2SLink2='https://'+K2Dom+'/file/'+id;
  3393.  
  3394. 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'))
  3395. {
  3396. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3397. return;
  3398. }
  3399. if (res.match('method="post">Displaying'))
  3400. {
  3401. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3402. return;
  3403. }
  3404. if (res.match('Premium only|only for Premium members'))
  3405. {
  3406. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3407. return;
  3408. }
  3409. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3410. {
  3411. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3412. slID=slow_id.exec(res)[1];
  3413. GM_xmlhttpRequest(
  3414. {
  3415. method: 'POST',
  3416. url: K2SLink2,
  3417. headers: {
  3418. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3419. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3420. 'Content-Type': 'application/x-www-form-urlencoded',
  3421. 'Referer': K2SLink
  3422. },
  3423. data: 'slow_id='+slID+'&yt0=',
  3424. onload: function (result)
  3425. {
  3426. var newres = result.responseText;
  3427. newoversizedtest=new RegExp("Free user can't download large files.");
  3428. if (newoversizedtest.test(newres))
  3429. {
  3430. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3431. return;
  3432. }
  3433. else
  3434. {
  3435. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3436. return;
  3437. }
  3438. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3439. return;
  3440. }
  3441. });
  3442. /////////////////////end additional check for oversized links
  3443. return;
  3444. }
  3445. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3446. return;
  3447. },
  3448. onerror: function ()
  3449. {
  3450. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3451. return;
  3452. }
  3453. });
  3454. }
  3455. function fboomBulkCheck()
  3456. {
  3457. var arr = this.links[0].split("\r\n");
  3458. var i = arr.length;
  3459. c=0;
  3460. arrIDs=[];
  3461. while(i--)
  3462. {
  3463. id = arr[i].match(/\/file\/(\w+)/)[1];
  3464. if (id=='info')
  3465. {
  3466. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3467. continue;
  3468. }
  3469. fbalreadyexist=false;
  3470. for (j=0;j<arrIDs.length;j++)
  3471. {
  3472. if (arrIDs[j]==id)
  3473. {
  3474. fbalreadyexist=true;
  3475. break;
  3476. }
  3477. }
  3478. if (fbalreadyexist) continue;
  3479. arrIDs.push(id);
  3480. c++;
  3481. setTimeout(fboomRequest,c*500,arr[i]);
  3482. }
  3483. }
  3484. function fboomRequest(FBoomLink)
  3485. {
  3486. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3487. while (FBoomLink.indexOf("?http")>-1)
  3488. {
  3489. FBoomLink=FBoomLink.substring(FBoomLink.indexOf("?http")+1);
  3490. }
  3491. FBoomLink2='https://fboom.me/file/'+id;
  3492. GM_xmlhttpRequest(
  3493. {
  3494. method: 'GET',
  3495. url: FBoomLink,
  3496. headers: {
  3497. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3498. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3499. 'Referer': ''
  3500. },
  3501. onload: function (result)
  3502. {
  3503. var res = result.responseText;
  3504. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3505. {
  3506. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3507. return;
  3508. }
  3509. if (res.match('method="post">Displaying'))
  3510. {
  3511. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3512. return;
  3513. }
  3514. if (res.match('only for premium members'))
  3515. {
  3516. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3517. return;
  3518. }
  3519. if (res.match('id="download-free" href="#"'))
  3520. {
  3521. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3522. slID=slow_id.exec(res)[1];
  3523. GM_xmlhttpRequest(
  3524. {
  3525. method: 'POST',
  3526. url: FBoomLink2,
  3527. headers: {
  3528. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3529. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3530. 'Content-Type': 'application/x-www-form-urlencoded',
  3531. 'Referer': FBoomLink
  3532. },
  3533. data: 'slow_id='+slID,
  3534. onload: function (result)
  3535. {
  3536. var newres = result.responseText;
  3537. newoversizedtest=new RegExp("Downloading is not possible");
  3538. if (newoversizedtest.test(newres))
  3539. {
  3540. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3541. return;
  3542. }
  3543. else
  3544. {
  3545. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3546. return;
  3547. }
  3548. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3549. return;
  3550. }
  3551. });
  3552. /////////////////////end additional check for oversized links
  3553. return;
  3554. }
  3555. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3556. return;
  3557. },
  3558. onerror: function ()
  3559. {
  3560. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3561. return;
  3562. }
  3563. });
  3564. }
  3565. function dl4free_1fichier_BulkCheck()
  3566. {
  3567. var arr = this.links[0].split("\r\n");
  3568. var i = arr.length;
  3569. while(i--)
  3570. {
  3571. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3572. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3573. gethead_dl4free_1fichier(arr[i]);
  3574. }
  3575. }
  3576. function gethead_dl4free_1fichier(link)
  3577. {
  3578. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3579. GM_xmlhttpRequest(
  3580. {
  3581. method: 'HEAD',
  3582. url: link,
  3583. headers: {
  3584. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3585. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3586. 'Referer': ''
  3587. },
  3588. onload: function (result)
  3589. {
  3590. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3591. {
  3592. DisplayTheCheckedLinks([id], 'alive_link');
  3593. return;
  3594. }
  3595. else
  3596. {
  3597. getlink_dl4free_1fichier(link);
  3598. }
  3599. return;
  3600. },
  3601. onerror: function ()
  3602. {
  3603. DisplayTheCheckedLinks([id], 'unava_link');
  3604. }
  3605. });
  3606. }
  3607. function getlink_dl4free_1fichier(link)
  3608. {
  3609. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3610. GM_xmlhttpRequest(
  3611. {
  3612. method: 'GET',
  3613. url: link,
  3614. headers: {
  3615. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3616. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3617. 'Referer': ''
  3618. },
  3619. onload: function (result)
  3620. {
  3621. var res = result.responseText;
  3622. 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');
  3623. if (deadRegex.test(res))
  3624. {
  3625. DisplayTheCheckedLinks([id], 'adead_link');
  3626. return;
  3627. }
  3628. premiumRegex=new RegExp('only for premium users');
  3629. if (premiumRegex.test(res))
  3630. {
  3631. DisplayTheCheckedLinks([id], 'prem_link');
  3632. return;
  3633. }
  3634. 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="');
  3635. if (liveRegex.test(res))
  3636. {
  3637. DisplayTheCheckedLinks([id], 'alive_link');
  3638. return;
  3639. }
  3640. DisplayTheCheckedLinks([id], 'unava_link');
  3641. },
  3642. onerror: function ()
  3643. {
  3644. DisplayTheCheckedLinks([id], 'unava_link');
  3645. }
  3646. });
  3647. }
  3648. function nitroflareBulkCheck()
  3649. {
  3650. var arr = this.links[0].split("\r\n");
  3651. var i = arr.length;
  3652. while(i--)
  3653. {
  3654. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3655. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3656. NitroFlareRequest(arr[i]);
  3657. }
  3658. }
  3659. function NitroFlareRequest(NFLink)
  3660. {
  3661. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3662. GM_xmlhttpRequest(
  3663. {
  3664. method: "GET",
  3665. url: NFLink,
  3666. headers: {
  3667. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3668. 'Content-Type': 'application/x-www-form-urlencoded',
  3669. 'Referer': ""
  3670. },
  3671. onload: function (result)
  3672. {
  3673. var res = result.responseText;
  3674. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3675. {
  3676. DisplayTheCheckedLinks([NFID], 'adead_link');
  3677. return;
  3678. }
  3679. if (res.match('Report this file<\/a>|id="slow-download'))
  3680. {
  3681. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3682. sizearr=measureRegex.exec(res);
  3683. if (sizearr[2]=='GB')
  3684. {
  3685. if (parseFloat(sizearr[1])>1)
  3686. {
  3687. DisplayTheCheckedLinks([NFID], 'prem_link');
  3688. }
  3689. else
  3690. {
  3691. DisplayTheCheckedLinks([NFID], 'alive_link');
  3692. }
  3693. }
  3694. else
  3695. {
  3696. DisplayTheCheckedLinks([NFID], 'alive_link');
  3697. }
  3698. return;
  3699. }
  3700. DisplayTheCheckedLinks([NFID], 'unava_link');
  3701. }
  3702. });
  3703. }
  3704. function depositfilesBulkCheck()
  3705. {
  3706. var arr = this.links[0].split("\r\n");
  3707. var i = arr.length;
  3708. var seqno = Math.floor(Math.random()*1000000000);
  3709. while(i--)
  3710. {
  3711. DFpostRequest(arr[i]);
  3712. }
  3713. }
  3714. function DFpostRequest(DFLink)
  3715. {
  3716. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3717. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3718. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3719. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3720. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3721. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3722. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3723. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3724. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3725. GM_xmlhttpRequest(
  3726. {
  3727. method: "GET",
  3728. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3729. headers: {
  3730. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3731. 'Content-Type': 'application/x-www-form-urlencoded',
  3732. 'Referer': ""
  3733. },
  3734. onload: function (result)
  3735. {
  3736. var res = result.responseText;
  3737. if (res.match('(?:no_file|file_ban)'))
  3738. {
  3739. DisplayTheCheckedLinks([id], 'adead_link');
  3740. return;
  3741. }
  3742. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3743. {
  3744. DisplayTheCheckedLinks([id], 'alive_link');
  3745. return;
  3746. }
  3747. DisplayTheCheckedLinks([id], 'unava_link');
  3748. }
  3749. });
  3750. }
  3751.  
  3752. function megaBulkCheck()
  3753. {
  3754. var arr = this.links[0].split("\r\n");
  3755. var i = arr.length;
  3756. var seqno = Math.floor(Math.random()*1000000000);
  3757. while(i--)
  3758. {
  3759. postRequest(arr[i]);
  3760. }
  3761. function postRequest(megaLink)
  3762. {
  3763. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3764. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3765. if (id=='F')
  3766. {
  3767. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3768. DisplayTheCheckedLinks([id], 'unava_link');
  3769. }
  3770. else
  3771. GM_xmlhttpRequest(
  3772. {
  3773. method: "POST",
  3774. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3775. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3776. headers: {
  3777. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3778. 'Content-Type': 'application/xml',
  3779. 'Referer': "https://mega.co.nz/"
  3780. },
  3781. onload: function (result)
  3782. {
  3783. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3784. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3785. {
  3786.  
  3787. DisplayTheCheckedLinks([id], 'adead_link');
  3788. }
  3789. if (res.at)
  3790. {
  3791. DisplayTheCheckedLinks([id], 'alive_link');
  3792. }
  3793. if (res.e == "ETEMPUNAVAIL")
  3794. {
  3795. DisplayTheCheckedLinks([id], 'unava_link');
  3796. }
  3797. }
  3798. });
  3799. }
  3800.  
  3801. }
  3802.  
  3803. function oboomBulk() {
  3804. var a = [], b = [], c = [];
  3805. var array = this.links;
  3806.  
  3807. GM_xmlhttpRequest({
  3808. method: 'GET',
  3809. url: 'https://www.oboom.com/1/guestsession',
  3810. headers: {
  3811. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3812. 'Content-type': 'application/x-www-form-urlencoded',
  3813. 'Referer': 'https://www.oboom.com',
  3814. 'X-Requested-With': 'XMLHttpRequest'
  3815. },
  3816. onload: function(result) {
  3817. var blockIdx = array.length;
  3818. var token = JSON.parse(result.responseText)[1];
  3819. while (blockIdx--) {
  3820. startCheck(array[blockIdx].split('\r\n'), token);
  3821. }
  3822. }
  3823. });
  3824.  
  3825. function startCheck(links, token) {
  3826. GM_xmlhttpRequest({
  3827. method: 'POST',
  3828. url: "https://api.oboom.com/1/info",
  3829. headers: {
  3830. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3831. 'Content-type': 'application/x-www-form-urlencoded',
  3832. 'Referer': 'https://www.oboom.com/',
  3833. 'X-Requested-With': 'XMLHttpRequest'
  3834. },
  3835. data: "token=" + token + "&items=" + links.join(","),
  3836. onload: function(result) {
  3837. var res = JSON.parse(result.responseText)[1];
  3838. var i = res.length, s;
  3839.  
  3840. while (i--) {
  3841. s = res[i].state;
  3842. if (s == 'online') a.push(res[i].id);
  3843. 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);
  3844. else c.push(res[i].id);
  3845. }
  3846.  
  3847. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3848. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3849. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3850. }
  3851. });
  3852. }
  3853. }
  3854. function linkcryptBulkCheck()
  3855. {
  3856. var arr = this.links[0].split("\r\n");
  3857. var i = arr.length;
  3858. while(i--)
  3859. {
  3860. postRequest(arr[i]);
  3861. }
  3862. function postRequest(lcLink)
  3863. {
  3864. GM_xmlhttpRequest(
  3865. {
  3866. method: "GET",
  3867. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3868. headers: {
  3869. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3870. 'Accept': 'text/xml',
  3871. 'Referer': ""
  3872. },
  3873. onload: function (result)
  3874. {
  3875. var res = result.responseText;
  3876. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3877. {
  3878. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3879. return;
  3880. }
  3881. if (res.match(/folderStatus>1/)) //Online status
  3882. {
  3883. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3884. }
  3885. else
  3886. {
  3887. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3888. }
  3889. }
  3890. });
  3891. }
  3892. }
  3893.  
  3894. /* function megashareBulkCheck()
  3895. {
  3896. var arr = this.links[0].split("\r\n");
  3897. var i = arr.length;
  3898. while(i--)
  3899. {
  3900. postRequest(arr[i]);
  3901. }
  3902. function postRequest(msLink)
  3903. {
  3904. GM_xmlhttpRequest(
  3905. {
  3906. method: "GET",
  3907. url: msLink,
  3908. headers: {
  3909. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3910. 'Content-Type': 'application/x-www-form-urlencoded',
  3911. 'Referer': ""
  3912. },
  3913. onload: function (result)
  3914. {
  3915. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3916. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3917. if ((prZVal == null) || (btn3Name == null))
  3918. {
  3919. return;
  3920. }
  3921. GM_xmlhttpRequest(
  3922. {
  3923. method: "POST",
  3924. url: msLink,
  3925. headers: {
  3926. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3927. 'Content-Type': 'application/x-www-form-urlencoded',
  3928. 'Referer': ""
  3929. },
  3930. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3931. onload: function (result)
  3932. {
  3933. var res = result.responseText;
  3934. if (res.match(/<div id="err">/))
  3935. {
  3936. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3937. }
  3938. else
  3939. {
  3940. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3941. }
  3942. }
  3943. });
  3944. }
  3945. });
  3946. }
  3947. } */
  3948. function hellshareBulkCheck()
  3949. {
  3950. var links = this.links;
  3951. GM_xmlhttpRequest(
  3952. {
  3953. method: "GET",
  3954. url: 'http://www.hellshare.com',
  3955. headers: {
  3956. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3957. 'Accept': 'text/xml',
  3958. 'Referer': ""
  3959. },
  3960. onload: function (result)
  3961. {
  3962. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3963.  
  3964. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3965. if (domain == 'sk')
  3966. loc = 'check=Skontrolova%C5%A5&links=';
  3967. if (domain == 'com')
  3968. loc = 'check=Check+availability&links=';
  3969. if (domain == 'hu')
  3970. loc = 'check=Kontrol%C3%A1lj&links=';
  3971. if (domain == 'pl')
  3972. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3973.  
  3974. genBulkCheck.call({ links: links,
  3975. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3976. postData: loc,
  3977. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3978. 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,
  3979. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3980. resUnavaRegex: null
  3981. });
  3982. }
  3983. });
  3984. }
  3985. /**
  3986. * Displays check result
  3987. * @param {Array} Array of links or link fragments.
  3988. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3989. */
  3990. function DisplayTheCheckedLinks(links, resultStatus)
  3991. {
  3992. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3993. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3994. if (Do_not_linkify_DL_links)
  3995. { //TODO into separate jQuery function
  3996. $links.replaceWith(function(){
  3997. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3998. });
  3999. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  4000. }
  4001. $links.removeClass().addClass(resultStatus);
  4002. $links.each(function() {
  4003. this.href = Ref_anonymize_service + $(this).attr("href");
  4004. });
  4005. switch(resultStatus)
  4006. {
  4007. case "alive_link": cLinksAlive += $links.length;
  4008. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  4009. break;
  4010. case "adead_link": cLinksDead += $links.length;
  4011. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4012. break;
  4013. case "prem_link": cLinksprem += $links.length;
  4014. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4015. break;
  4016. case "unava_link": cLinksUnava += $links.length; break;
  4017. default:
  4018. }
  4019. cLinksProcessed += $links.length;
  4020. }
  4021. }
  4022. // starts bulkchecking
  4023. //
  4024. // params
  4025. // filterId [string] restricts link detection with passed id attribute
  4026. function startBulkCheck(filterId)
  4027. {
  4028. var cHosts = bulkHosts.length;
  4029. if (cHosts == 0) //no filehostings selected
  4030. return;
  4031. // STEP 1 linkify the links
  4032. var linkifyRegex = '';
  4033. var hostIdx = cHosts;
  4034. while(hostIdx--)
  4035. {
  4036. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  4037. }
  4038. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  4039. linkify(linkifyRegex);
  4040. //
  4041. //STEP 2 detect link objects
  4042. var xpathAll = '';
  4043. var hostIdx = cHosts;
  4044. while(hostIdx--)
  4045. {
  4046. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4047. }
  4048. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4049. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4050. if (filterId != null) //insert id restriction in the xpath
  4051. {
  4052. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4053. }
  4054. else
  4055. {
  4056. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4057. }
  4058. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4059. if (filterId == null)
  4060. {
  4061. cLinksTotal += links.snapshotLength;
  4062. }
  4063. //
  4064. //STEP 3 bind links with hostings
  4065. var linkIdx = links.snapshotLength;
  4066. var href = null;
  4067. if (linkIdx == 0) // no links found
  4068. return;
  4069. var name;
  4070. while (linkIdx--)
  4071. {
  4072. href = links.snapshotItem(linkIdx).href;
  4073. try // DO NOT REMOVE, filters crap that went through xpath detection
  4074. {
  4075. name = gimmeHostName(href);
  4076. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4077. bulkHostNames[name].links.push(href);
  4078. }
  4079. catch(e)
  4080. {
  4081.  
  4082. }
  4083. }
  4084. //
  4085. //STEP 4 process the links for each filehosting
  4086. var hostIdx = cHosts;
  4087. var host;
  4088. var m,n;
  4089. var arr;
  4090. while (hostIdx--)
  4091. {
  4092. host = bulkHosts[hostIdx];
  4093. arr = host.links;
  4094. if (arr.length == 0) //no links for this hosting, skip
  4095. {
  4096. continue;
  4097. }
  4098. //links match corrections
  4099. if (host.corrMatch != null)
  4100. {
  4101. var idx = arr.length;
  4102. while (idx--)
  4103. {
  4104. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4105. }
  4106. }
  4107. //links replace corrections
  4108. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4109. {
  4110. var idx = arr.length;
  4111. while (idx--)
  4112. {
  4113. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4114. }
  4115. }
  4116. m = arr.length;
  4117. n = host.blockSize;
  4118. if (m > n)
  4119. {
  4120. //insert block separators (RAND_STRING) into the array
  4121. for(var i = n; i < m; i += n + 1)
  4122. {
  4123. arr.splice(i, 0, RAND_STRING);
  4124. }
  4125. }
  4126.  
  4127. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4128. apiUrl: host.apiUrl,
  4129. postData: host.postData,
  4130. resLinkRegex: host.resLinkRegex,
  4131. resLiveRegex: host.resLiveRegex,
  4132. resDeadRegex: host.resDeadRegex,
  4133. resUnavaRegex: host.resUnavaRegex
  4134. });
  4135. //clean up
  4136. arr.length = 0;
  4137. }
  4138. //
  4139.  
  4140. function gimmeHostName(link)
  4141. {
  4142. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4143. }
  4144. }
  4145. function checkLinks(filterId)
  4146. {
  4147. startBulkCheck(filterId);
  4148. start(filterId);
  4149. }
  4150.  
  4151. /**
  4152. * Initialises progress box including event binding and CSS
  4153. */
  4154. function initProgressBox()
  4155. {
  4156. if ($("#warlc-progressbox").length > 0)
  4157. return;
  4158. //progressbox css change size and color of progress box
  4159. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4160. "; opacity:" + (Progress_box_opacity / 100) +
  4161. "; bottom:" + Processbox_Pos_Y +
  4162. "%; left:" + Processbox_Pos_X +
  4163. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4164. \
  4165. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4166. \
  4167. .warlc-progressitem {}\
  4168. \
  4169. .alive {color:#00FF7F; " + Live_links_color +
  4170. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4171. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4172. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4173. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4174. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4175. //
  4176. if (Progressbox_Scaling != 100) {
  4177. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4178. 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
  4179. });
  4180. }
  4181. 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
  4182.  
  4183. GM_addStyle(progressboxCss);
  4184. $('body').append(' <div id="warlc-progressbox">\
  4185. <div class="warlc-progressbar"></div>\
  4186. <span class="warlc-progressitem alive"></span> - \
  4187. <span class="warlc-progressitem dead"></span> - \
  4188. <span class="warlc-progressitem unava"></span> - \
  4189. <span class="warlc-progressitem prem"></span> - \
  4190. <span class="warlc-progressitem processing"></span>\
  4191. </div>');
  4192. $('#warlc-progressbox').hide().click(function(){
  4193. clearInterval(intervalId);
  4194. $(this).hide();
  4195. return false;
  4196. });
  4197. $(".warlc-progressbar").progressbar({complete: function(){
  4198. $(this).fadeOut();
  4199. clearInterval(intervalId); //stop refreshing the stats
  4200. }
  4201. })
  4202. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4203. }
  4204. /**
  4205. * Updates progress data in progress box
  4206. */
  4207. function updateProgress()
  4208. {
  4209. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4210. if (cLinksTotal) // some links were detected on page
  4211. {
  4212. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4213. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4214. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4215. if ((cLinksTotal - cLinksProcessed) == 0)
  4216. {
  4217. $progressItems.first().text(cLinksAlive)
  4218. .next().text(cLinksDead)
  4219. .next().text(cLinksUnava)
  4220. .next().text(cLinksprem)
  4221. .next().remove();
  4222. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4223. $('#warlc-progressbox div:first-child').remove();
  4224. }
  4225. else
  4226. {
  4227. $progressItems.first().text(cLinksAlive)
  4228. .next().text(cLinksDead)
  4229. .next().text(cLinksUnava)
  4230. .next().text(cLinksprem)
  4231. .next().text(cLinksTotal - cLinksProcessed);
  4232. }
  4233. }
  4234. }
  4235.  
  4236. function check_all_links()
  4237. {
  4238. add_WARLC_style();
  4239.  
  4240. if (Show_progress_stats)
  4241. {
  4242. initProgressBox();
  4243. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4244. }
  4245.  
  4246. startBulkCheck(null);
  4247. start(null);
  4248.  
  4249. if (!containers_processed)
  4250. {
  4251. processContainers();
  4252. }
  4253. }
  4254.  
  4255. //Copies all found dead links to clipboard - right now for Scriptish only
  4256. function copy_dead_to_clipboard()
  4257. {
  4258. initClipBoardTools();
  4259.  
  4260. var deadlinksxpath = "//.[@class='adead_link']";
  4261.  
  4262. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4263. var foundlinkstext = '';
  4264.  
  4265. var foundlinkIdx = foundlinks.snapshotLength;
  4266.  
  4267. while(foundlinkIdx--)
  4268. {
  4269. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4270. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4271. }
  4272.  
  4273. GM_setClipboard(foundlinkstext);
  4274. }
  4275. //Copies all found live links to clipboard
  4276. function copy_live_to_clipboard()
  4277. {
  4278. initClipBoardTools();
  4279.  
  4280. var livelinksxpath = "//.[@class='alive_link']";
  4281.  
  4282. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4283. var foundlinks2text = '';
  4284.  
  4285. var foundlink2Idx = foundlinks2.snapshotLength;
  4286.  
  4287. while(foundlink2Idx--)
  4288. {
  4289. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4290. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4291. }
  4292.  
  4293. GM_setClipboard(foundlinks2text);
  4294. }
  4295.  
  4296. function toggle_autocheck()
  4297. {
  4298. var currentState = GM_getValue("Autocheck", false);
  4299. GM_setValue("Autocheck", !currentState);
  4300.  
  4301. if (currentState == true)
  4302. {
  4303. sendMessage('Autocheck disabled', 'red');
  4304. }
  4305. else
  4306. {
  4307. sendMessage('Autocheck enabled', 'SpringGreen');
  4308. }
  4309. }
  4310. function toggle_Enable_Anonymizer()
  4311. {
  4312. var currentState = GM_getValue("Enable_Anonymizer", false);
  4313. GM_setValue("Enable_Anonymizer", !currentState);
  4314.  
  4315. if (currentState == true)
  4316. {
  4317. GM_setValue("Ref_anonymize_service", "");
  4318. sendMessage('Anonymizer Disabled', 'red');
  4319. }
  4320. else
  4321. {
  4322. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4323. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4324. }
  4325. }
  4326.  
  4327. function KeyDownHandler(event)
  4328. {
  4329. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4330. if (event.ctrlKey && event.altKey)
  4331. {
  4332. switch(kcode)
  4333. {
  4334. case 65 : check_all_links(); break;
  4335. case 67 : configuration(); break;
  4336. case 68 : copy_dead_to_clipboard(); break;
  4337. case 76 : copy_live_to_clipboard(); break;
  4338. case 87 : toggle_autocheck(); break;
  4339. case 90 : toggle_Enable_Anonymizer(); break;
  4340. }
  4341. }
  4342. }
  4343.  
  4344. //
  4345. //
  4346. // SCRIPT EXECUTION START POINT
  4347. //
  4348. //
  4349. // Safari specific GM_getResourceText override
  4350. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4351. {
  4352. GM_getResourceText = function(res) {
  4353. var $cssText = GM_getValue("jquery_css", "");
  4354. if ($cssText == "")
  4355. {
  4356. GM_xmlhttpRequest(
  4357. {
  4358. method: 'GET',
  4359. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4360. onload: function (result)
  4361. {
  4362. GM_setValue("jquery_css", result.responseText);
  4363. window.location.reload();
  4364. }
  4365. });
  4366. }
  4367. else
  4368. {
  4369. return $cssText;
  4370. }
  4371. }
  4372. }
  4373. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4374. GM_addStyle(jQueryUICSS);
  4375. //init the stuff
  4376. setVariables();
  4377. initBulkCheck();
  4378. //init info boxes
  4379. messageBox.style.position = 'fixed';
  4380. messageBox.style.top = '20px';
  4381. messageBox.style.left = '10px';
  4382. messageBox.style.opacity = '0.85';
  4383. messageBox.style.background = 'DimGray';
  4384. messageBox.style.fontSize = '36px';
  4385. document.body.appendChild(messageBox);
  4386.  
  4387. //register GM menu commands & keyboard shortcut event handler
  4388. if (Keyboard_functions)
  4389. {
  4390. $(document).keydown(KeyDownHandler);
  4391. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4392. 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);
  4393. }
  4394. else
  4395. {
  4396. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4397. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4398. }
  4399.  
  4400. //start linkchecking
  4401. if (Autocheck)
  4402. {
  4403. $(document).ready(check_all_links);
  4404. }
  4405.  
  4406. //
  4407. //
  4408. // SCRIPT EXECUTION END POINT
  4409. //
  4410. //
  4411.  
  4412. //shows configuration box
  4413. function configuration()
  4414. {
  4415.  
  4416. //prevent multiple creating of config window
  4417. if ($("#hideshow").length)
  4418. {
  4419. $("#hideshow").show();
  4420. return;
  4421. }
  4422.  
  4423. var configcss = '\
  4424. .popup_block .popup fieldset{\
  4425. padding: 1%;\
  4426. border-style: solid;\
  4427. border-width: 1px;\
  4428. border-color: gray;\
  4429. margin-bottom: 1px;\
  4430. }\
  4431. #h3hideshowtitle{\
  4432. font-size: 2em;\
  4433. }\
  4434. #h3hideshow{\
  4435. font-size: 1.5em;\
  4436. }\
  4437. #imghideshow {\
  4438. border: none;\
  4439. }\
  4440. #plusimage{\
  4441. display:inline;\
  4442. }\
  4443. #hideshow {\
  4444. position: fixed;\
  4445. width: 100%;\
  4446. height: 100%;\
  4447. top: 0;\
  4448. left: 0;\
  4449. font-size:12px;\
  4450. z-index:2147483645;\
  4451. text-align:left;\
  4452. }\
  4453. #fade {\
  4454. background: #000;\
  4455. position: fixed;\
  4456. width: 100%;\
  4457. height: 100%;\
  4458. opacity: .80;\
  4459. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4460. left: 0;\
  4461. z-index: 10;\
  4462. }\
  4463. .popup_block {\
  4464. font-family:verdana;\
  4465. color:black;\
  4466. background: #ddd;\
  4467. padding: 10px 20px;\
  4468. border: 2px solid DarkOrange;\
  4469. float: left;\
  4470. width: 700px;\
  4471. position: absolute;\
  4472. top: 7%;\
  4473. left: 50%;\
  4474. bottom: 7%;\
  4475. margin: 0 0 0 -350px;\
  4476. -moz-border-radius:10px;\
  4477. z-index: 100;\
  4478. \
  4479. }\
  4480. .popup_block .popup {\
  4481. float: left;\
  4482. width: 100%;\
  4483. background: #fff;\
  4484. margin: 10px 0;\
  4485. padding: 0px 0 0px;\
  4486. border-left: 1px solid #bbb;\
  4487. border-top: 1px solid #bbb;\
  4488. border-right: 1px solid #bbb;\
  4489. }\
  4490. #h3hideshow{\
  4491. margin: 1px 0 0px;\
  4492. padding: 1px 10px;\
  4493. border-bottom: 1px solid #bbb;\
  4494. font-size: 1.5em;\
  4495. font-weight: normal;\
  4496. cursor:pointer;\
  4497. background:#DDDDDD none repeat scroll 0 0;\
  4498. }\
  4499. #h3hideshow:hover{\
  4500. background:#C0BEBE none repeat scroll 0 0;\
  4501. }\
  4502. #h3hideshowtitle{\
  4503. margin: 2px 0 0px;\
  4504. padding: 7px 10px;\
  4505. border-bottom: 1px solid #bbb;\
  4506. font-size: 1.5em;\
  4507. font-weight: normal;\
  4508. }\
  4509. .popup_block .popup a {\
  4510. color:DarkSkyBlue;\
  4511. text-decoration:none;\
  4512. }\
  4513. .popup p {\
  4514. padding: 1px 10px;\
  4515. margin: 0px 0;\
  4516. -x-system-font:none;\
  4517. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4518. font-size:10pt;\
  4519. font-size-adjust:none;\
  4520. font-stretch:normal;\
  4521. font-style:normal;\
  4522. font-variant:normal;\
  4523. font-weight:normal;\
  4524. line-height:normal;\
  4525. }\
  4526. #sites {\
  4527. padding: 1px 10px;\
  4528. margin: 0px 0;display:inline-block;width:16em;\
  4529. }\
  4530. #dev_ver {\
  4531. color: #00FF00;\
  4532. background: Black;\
  4533. text-align: right;\
  4534. }\
  4535. #sites_suspended {\
  4536. padding: 1px 10px;\
  4537. margin: 0px 0;display:inline-block;width:16em;\
  4538. text-decoration: line-through;\
  4539. }\
  4540. .popup img.cntrl {\
  4541. position: absolute;\
  4542. right: -15px;\
  4543. top: -15px;\
  4544. }\
  4545. #bulk {\
  4546. font-size:8pt;\
  4547. color:orange;\
  4548. padding: 1px 10px;\
  4549. margin: 0px 0;\
  4550. display:inline-block;\
  4551. width:100px;\
  4552. }\
  4553. #note {\
  4554. font-size:7pt;\
  4555. color:gray;\
  4556. padding: 1px 10px;\
  4557. margin: 0px 0;display:inline-block;\
  4558. min-width:100px;\
  4559. }\
  4560. #rednote {\
  4561. font-size:7pt;\
  4562. color:red;\
  4563. padding: 1px 10px;\
  4564. margin: 0px 0;display:inline-block;\
  4565. }\
  4566. #configinfo {\
  4567. font-size:8pt;\
  4568. color:gray;\
  4569. padding: 1px 10px;\
  4570. margin: 0px 0;display:inline-block;width:60em;\
  4571. }\
  4572. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4573. color:black;\
  4574. border-style: solid;\
  4575. border-width: 1px;\
  4576. border-color: gray;\
  4577. }\
  4578. #h3hideshowcontent {\
  4579. min-height:220px;\
  4580. max-height:220px;\
  4581. overflow:auto;\
  4582. display: none;\
  4583. padding: 10px 10px;\
  4584. }\
  4585. #specinfo{\
  4586. font-size:14px;\
  4587. }\
  4588. .warlc-ui-tab {\
  4589. height:300px;\
  4590. overflow:auto;\
  4591. }\
  4592. #warlcsitelist2, #warlcsitelist1 {\
  4593. height:220px;\
  4594. border-top: 1px solid #ddd;\
  4595. padding-top: 5px;\
  4596. overflow:auto;\
  4597. }\
  4598. input:hover+label {\
  4599. background:#F1F77C;\
  4600. font-size:110%;\
  4601. }\
  4602. ';
  4603.  
  4604. GM_addStyle(configcss);
  4605.  
  4606. var customRulesRefHTML =
  4607. '\
  4608. <br>\
  4609. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4610. <b>@keyword</b> <i>parameter</i>\
  4611. <br><br>\
  4612. 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. \
  4613. <br><br>\
  4614. 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.\
  4615. 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.\
  4616. 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.\
  4617. 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,\
  4618. but all commands until the next valid @customrule are ignored.<br><br>\
  4619. Available forms and types:\
  4620. <ul>\
  4621. <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.\
  4622. <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.\
  4623. <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.\
  4624. <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.\
  4625. </ul>\
  4626. Other available commands:<br>\
  4627. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4628. <ul>\
  4629. <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.\
  4630. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4631. <ul>examples:<br>\
  4632. <li>good: <i>filehost.com/download/</i><br>\
  4633. <li>good: <i>download.filehost.net/?d=</i><br>\
  4634. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4635. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4636. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4637. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4638. <li>bad: <i>filehost.com</i> - no slash<br>\
  4639. </ul>\
  4640. \
  4641. <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.\
  4642. 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 \
  4643. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4644. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4645. 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.)\
  4646. Two spaces again match any whitespace.\
  4647. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4648. Two spaces again match any whitespace.\
  4649. <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. \
  4650. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4651. </ul>\
  4652. \
  4653. ';
  4654.  
  4655. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4656. var configurationinnerHTML =
  4657. '<div id="fade"></div>\
  4658. <div class="popup_block">\
  4659. <div class="popup">\
  4660. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRV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iIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4662. <div id="warlc-conf-tabs">\
  4663. <ul>\
  4664. <li><a href="#tabs-1">Filehostings</a></li>\
  4665. <li><a href="#tabs-2">Containers</a></li>\
  4666. <li><a href="#tabs-5">Custom rules</a></li>\
  4667. <li><a href="#tabs-3">Settings</a></li>\
  4668. <li><a href="#tabs-4">About</a></li>\
  4669. </ul>\
  4670. <div id="tabs-1" class="warlc-ui-tab">\
  4671. <div class="warlc-ui-buttonset">\
  4672. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4673. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4674. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4675. </div><br>\
  4676. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4677. <div id="warlcsitelist1"><span>Empty</span></div>\
  4678. </div>\
  4679. <div id="tabs-2" class="warlc-ui-tab">\
  4680. <div class="warlc-ui-buttonset">\
  4681. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4682. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4683. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4684. </div><br>\
  4685. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4686. <div id="warlcsitelist2"><span>Empty</span></div>\
  4687. </div>\
  4688. <div id="tabs-5" class="warlc-ui-tab">\
  4689. <div class="warlcsettings">\
  4690. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4691. <br>\
  4692. <div>Edit custom rules: \
  4693. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4694. <div id="customRulesReference" style="display:none;">'
  4695. + customRulesRefHTML + '\
  4696. </div>\
  4697. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4698. </div>\
  4699. </div>\
  4700. </div>\
  4701. <div id="tabs-3" class="warlc-ui-tab">\
  4702. <div class="warlcsettings">\
  4703. <fieldset>\
  4704. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4705. <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>\
  4706. </fieldset>\
  4707. <fieldset>\
  4708. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4709. <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>\
  4710. <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>\
  4711. <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>\
  4712. <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>\
  4713. <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>\
  4714. <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>\
  4715. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4716. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4717. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4718. <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>\
  4719. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4720. <fieldset>\
  4721. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4722. <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>\
  4723. <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>\
  4724. <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>\
  4725. </fieldset>\
  4726. </fieldset>\
  4727. <fieldset>\
  4728. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4729. </fieldset>\
  4730. <fieldset>\
  4731. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4732. </fieldset>\
  4733. <fieldset>\
  4734. <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>\
  4735. </fieldset>\
  4736. <fieldset>\
  4737. <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>\
  4738. </fieldset>\
  4739. <fieldset>\
  4740. <legend>Progress box settings</legend>\
  4741. <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>\
  4742. <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>\
  4743. <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>\
  4744. </fieldset>\
  4745. </div>\
  4746. </div>\
  4747. <div id="tabs-4" class="warlc-ui-tab">\
  4748. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4749. <br />\
  4750. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4751. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4752. <br />\
  4753. <p><b>Currently supported:</b><br>\
  4754. Filehostings: ' + allHostNames.length + '<br />\
  4755. Containers: ' + allContainerNames.length + '<br />\
  4756. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4757. <br />\
  4758. <p><b>Based on:</b><br>\
  4759. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4760. <br />\
  4761. <p><b>Uses:</b></p>\
  4762. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4763. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4764. <br />\
  4765. <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>\
  4766. </div>\
  4767. </div>\
  4768. </div>\
  4769. </div>';
  4770. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4771. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4772. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4773. var elmHostList = document.getElementById("warlcsitelist1");
  4774. var elmContainerList = document.getElementById("warlcsitelist2");
  4775. buildSettings();
  4776. buildSitelist("", allHostNames, elmHostList);
  4777. buildSitelist("", allContainerNames, elmContainerList);
  4778. if (DEBUG_MODE)
  4779. {
  4780. //log all sites availability status
  4781. diagSites();
  4782. }
  4783. //handler for checkbox state change
  4784. function changeConfiguration(e)
  4785. {
  4786. var element = e.target;
  4787.  
  4788. if (element.type == 'checkbox')
  4789. {
  4790. if (element.checked == 1)
  4791. {
  4792. GM_setValue(element.id, true);
  4793. }
  4794. else
  4795. {
  4796. GM_setValue(element.id, false);
  4797. }
  4798.  
  4799. }
  4800. setVariables();
  4801. }
  4802.  
  4803. //Selects all filehosting checkboxes
  4804. function selectAll()
  4805. {
  4806. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4807. .each(function(index, element){GM_setValue(this.id, true)});
  4808. }
  4809.  
  4810. //Deselects all filehosting checkboxes
  4811. function selectNone()
  4812. {
  4813. $(":checkbox:visible:checked").prop("checked",false)
  4814. .each(function(index, element){GM_setValue(this.id, false)});
  4815. }
  4816. //Sets Processbox position setting
  4817. function changeProgBox(event) {
  4818. var setting;
  4819. switch(event.data.set) {
  4820. case "X": setting = "Processbox_Pos_X"; break;
  4821. case "Y": setting = "Processbox_Pos_Y"; break;
  4822. case "Scale": setting = "Progressbox_Scaling"; break;
  4823. }
  4824. var $setting = $("#" + setting);
  4825. var newSet = $setting.val().replace("%", "");
  4826. GM_setValue(setting, newSet);
  4827. }
  4828. //Sets value of Processbox position
  4829. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4830. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4831. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4832.  
  4833. //Inverts filehosting checkboxes selection
  4834. function selectInvert()
  4835. {
  4836. var $checked = $(":checkbox:visible:checked");
  4837. var $unchecked = $(":checkbox:visible:not(:checked)");
  4838. $unchecked.prop("checked",true)
  4839. .each(function(index, element){GM_setValue(this.id, true)});
  4840. $checked.prop("checked",false)
  4841. .each(function(index, element){GM_setValue(this.id, false)});
  4842. }
  4843. //toggles anonymizer on off
  4844. function Enable_Anonymizer()
  4845. {
  4846. var $checked = $(":checkbox:visible:checked");
  4847. var $unchecked = $(":checkbox:visible:not(:checked)");
  4848. $unchecked.prop("checked",true)
  4849. .each(function(index, element){GM_setValue(this.id, true)});
  4850. $checked.prop("checked",false)
  4851. .each(function(index, element){GM_setValue(this.id, false)});
  4852. }
  4853.  
  4854. function changeRefAnonymizer(){
  4855. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4856. }
  4857.  
  4858. //Sets live links color
  4859. function changeColorLive()
  4860. {
  4861. var inColorLive = document.getElementById("inputColorLive");
  4862. inColorLive.style.background = inColorLive.value;
  4863. GM_setValue("Live_links_color", inColorLive.value);
  4864. }
  4865.  
  4866. //Sets dead links color
  4867. function changeColorDead()
  4868. {
  4869. var inColorDead = document.getElementById("inputColorDead");
  4870. inColorDead.style.background = inColorDead.value;
  4871. GM_setValue("Dead_links_color", inColorDead.value);
  4872. }
  4873.  
  4874. //Sets temp. unavailable links color
  4875. function changeColorTemp()
  4876. {
  4877. var inColorTemp = document.getElementById("inputColorTemp");
  4878. inColorTemp.style.background = inColorTemp.value;
  4879. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4880. }
  4881.  
  4882. //Sets temp. unavailable links color
  4883. function changeColorCont()
  4884. {
  4885. var inColorCont = document.getElementById("inputColorCont");
  4886. inColorCont.style.background = inColorCont.value;
  4887. GM_setValue("Container_links_color", inColorCont.value);
  4888. }
  4889. //Sets premium. links color
  4890. function changeColorprem()
  4891. {
  4892. var inColorprem = document.getElementById("inputColorprem");
  4893. inColorprem.style.background = inColorprem.value;
  4894. GM_setValue("Premium_links_color", inColorprem.value);
  4895. }
  4896.  
  4897. //Diagnose sites for availability
  4898. function diagSites()
  4899. {
  4900. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4901.  
  4902. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4903. {
  4904. if (boxes[i].type == "checkbox")
  4905. {
  4906. checkAvailability(boxes[i]);
  4907. }
  4908. }
  4909.  
  4910. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4911.  
  4912. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4913. {
  4914. if (boxes[i].type == "checkbox")
  4915. {
  4916. checkAvailability(boxes[i]);
  4917. }
  4918. }
  4919.  
  4920. function checkAvailability(cbElm)
  4921. {
  4922. var cb = cbElm;
  4923. GM_xmlhttpRequest(
  4924. {
  4925. method: 'HEAD',
  4926. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4927. headers: {
  4928. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4929. 'Accept': 'text/xml',
  4930. 'Referer': ""
  4931. },
  4932. onload: function (result)
  4933. {
  4934. if (result.status != 200)
  4935. {
  4936. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4937. }
  4938. },
  4939. onerror: function (result)
  4940. {
  4941. if (result.status != 200)
  4942. {
  4943. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4944. //Sets Progress_box position setting
  4945. function changeProgBox(event) {
  4946. var setting;
  4947. switch(event.data.set) {
  4948. case "X": setting = "Progress_box_Pos_X"; break;
  4949. case "Y": setting = "Progress_box_Pos_Y"; break;
  4950. case "Scale": setting = "Progress_box_Scaling"; break;
  4951. }
  4952.  
  4953. var $setting = $("#" + setting);
  4954. var newSet = $setting.val().replace("%", "");
  4955. lsSetVal("general", setting, newSet);
  4956. }
  4957.  
  4958. //Sets value of Progress_box position
  4959. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4960. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4961. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4962. }
  4963. }
  4964. });
  4965. }
  4966. }
  4967. function buildSettings()
  4968. {
  4969. $(".warlcsettings :checkbox").each(function(){
  4970. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4971. .click(function(e){
  4972. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4973. setVariables();
  4974. });
  4975. })
  4976. }
  4977. //Dynamic build of host list
  4978. //param search [string] searches for hostnames matching search substring
  4979. //param siteNames [array] array of site names
  4980. //param targetNode [DOM Node] where the list should be built
  4981. // first child node is replaced
  4982. function buildSitelist(search, siteNames, targetNode)
  4983. {
  4984. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4985. var $targetNode = $(targetNode).empty();
  4986. var searchedSite = "";
  4987. $.each(siteNames, function(i, site){
  4988. if (searchedSite = site.match(searchRegex))
  4989. {
  4990. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4991. //ensuring backward compatibility with the rest of code, to be refactored later
  4992. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4993. //
  4994. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4995. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4996. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4997. );
  4998. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4999. .change(changeConfiguration);
  5000. $targetNode.append('<br />');
  5001. }
  5002. });
  5003. $targetNode.append("<hr>");
  5004. //obsolete hosts checkbox
  5005. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  5006. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  5007. .change(changeConfiguration);
  5008. $targetNode.append('<br />');
  5009. var foundName = "";
  5010. $.each(allObsoleteNames, function(i, site){
  5011. if (foundName = allObsoleteNames[i].match(searchRegex))
  5012. {
  5013. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  5014. }
  5015. })
  5016. }
  5017. var hostSearchBox = document.getElementById("hostSearchBox");
  5018. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  5019. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  5020. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  5021. $(".warlc-ui-select-all").click(selectAll).button();
  5022. $(".warlc-ui-select-none").click(selectNone).button();
  5023. $(".warlc-ui-select-invert").click(selectInvert).button();
  5024. $(".warlc-ui-buttonset").buttonset();
  5025. var inColorLive = document.getElementById("inputColorLive");
  5026. inColorLive.addEventListener('keyup', changeColorLive, false);
  5027.  
  5028. var inColorDead = document.getElementById("inputColorDead");
  5029. inColorDead.addEventListener('keyup', changeColorDead, false);
  5030.  
  5031. var inColorTemp = document.getElementById("inputColorTemp");
  5032. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  5033.  
  5034. var inColorCont = document.getElementById("inputColorCont");
  5035. inColorCont.addEventListener('keyup', changeColorCont, false);
  5036. var inColorprem = document.getElementById("inputColorprem");
  5037. inColorprem.addEventListener('keyup', changeColorprem, false);
  5038. $("#refAnonymizer").change(changeRefAnonymizer);
  5039. //buttons and edit boxes init end
  5040.  
  5041. //icon sets radio buttons
  5042. var radioButtons = document.getElementsByName("warlciconset");
  5043. radioButtons[Icon_set].checked = "checked";
  5044.  
  5045. radioButtons[0].addEventListener("change", updateIconSet);
  5046. radioButtons[1].addEventListener("change", updateIconSet);
  5047. radioButtons[2].addEventListener("change", updateIconSet);
  5048. radioButtons[3].addEventListener("change", updateIconSet);
  5049. function updateIconSet()
  5050. {
  5051. GM_setValue("Icon_set", this.value * 1);
  5052. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5053. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5054. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5055. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5056. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5057.  
  5058. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5059. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5060.  
  5061. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5062. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5063. }
  5064. //
  5065. $('#showCustomRulesReference').click(function(e){
  5066. e.preventDefault();
  5067. $('#customRulesReference').toggle();
  5068. });
  5069. $('#Custom_rules_text')
  5070. .val(Custom_rules_text)
  5071. .change(saveCustomRules);
  5072. function saveCustomRules(e)
  5073. {
  5074. var cr = parseCustomRules(this.value);
  5075. if (cr.info.length)
  5076. 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, ' '));
  5077. GM_setValue('Custom_rules_text', this.value);
  5078. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5079. }
  5080. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5081. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5082. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5083. }
  5084.  
  5085. //begin standard link checking algorithm
  5086. function start(filterId)
  5087. {
  5088. var doNotLinkify = Do_not_linkify_DL_links;
  5089.  
  5090. // USER SELECTED FILE HOSTS INITIALIZATION START
  5091. var http_file_hosts = new Array(); //standard hostings
  5092. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5093. var http_file_hosts_obsolete = new Array(); //dead hostings
  5094. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5095.  
  5096. initFileHosts();
  5097. initFileHostsHeadersOnly();
  5098. initFileHostsCustom(); //CustomRules
  5099. // USER SELECTED FILE HOSTS INITIALIZATION END
  5100.  
  5101. // LINKIFICATION START
  5102. var totalxpath = '';
  5103. var totalxpathcoded = '';
  5104. var totalxpathobsolete = '';
  5105. var totalxpathheadersonly = '';
  5106. var totalourls = '';
  5107.  
  5108. var filehostLen = http_file_hosts.length;
  5109. var filehostCodedLen = http_file_hosts_coded.length;
  5110. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5111. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5112.  
  5113. var filehostIdx = filehostLen;
  5114. var filehostCodedIdx = filehostCodedLen;
  5115. var filehostObsoleteIdx = filehostObsoleteLen;
  5116. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5117.  
  5118. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5119. return;
  5120.  
  5121. while (filehostIdx--)
  5122. {
  5123. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5124. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5125. }
  5126.  
  5127. while (filehostCodedIdx--)
  5128. {
  5129. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5130. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5131. }
  5132.  
  5133. while (filehostObsoleteIdx--)
  5134. {
  5135. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5136. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5137. }
  5138.  
  5139. while (filehostHeadersOnlyIdx--)
  5140. {
  5141. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5142. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5143. }
  5144.  
  5145. totalourls = totalourls.replace(/\|$/g, "");
  5146. //TODO: further refactoring needed
  5147. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5148. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5149. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5150. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5151. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5152. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5153. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5154. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5155. if (filterId != null) //insert id restriction in the xpath
  5156. {
  5157. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5158. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5159. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5160. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5161. }
  5162. else
  5163. {
  5164. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5165. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5166. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5167. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5168. }
  5169. linkify(totalourls);
  5170. //LINKIFICATION END
  5171. //ENCRYPTED LINKS PROCESSING START
  5172. if (http_file_hosts_coded.length > 0)
  5173. {
  5174. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5175.  
  5176. // decrypt coded links (redirects, link protectors etc.)
  5177. if (linksCoded.snapshotLength > 0)
  5178. {
  5179. var link;
  5180. var reallinkreg;
  5181. var reallinkcorrection;
  5182.  
  5183. if (filterId == null)
  5184. {
  5185. cLinksTotal += linksCoded.snapshotLength;
  5186. }
  5187.  
  5188. var y = linksCoded.snapshotLength - 1;
  5189. do
  5190. {
  5191. // linksCoded.snapshotItem(y).id = 'processing_link';
  5192. link = linksCoded.snapshotItem(y);
  5193. filehostIdx = filehostCodedLen;
  5194. while (filehostIdx--)
  5195. {
  5196. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5197. {
  5198. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5199. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5200. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5201.  
  5202. decurl(link, reallinkreg, reallinkcorrection);
  5203. break;
  5204. }
  5205. }
  5206. }
  5207. while (y--);
  5208. }
  5209. }
  5210. //ENCRYPTED LINKS PROCESSING END
  5211.  
  5212. //STANDARD LINKCHECKING START
  5213. if (http_file_hosts.length > 0)
  5214. {
  5215. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5216.  
  5217. if (filterId == null)
  5218. {
  5219. cLinksTotal += lianks.snapshotLength;
  5220. }
  5221.  
  5222. if (lianks.snapshotLength > 0)
  5223. {
  5224. var link;
  5225.  
  5226. var URL = "";
  5227. var name = "";
  5228. var isAliveRegex = "";
  5229. var isDeadRegex = "";
  5230. var isUnavaRegex = "";
  5231. var ispremRegex = "";
  5232. var tryLoop = false;
  5233.  
  5234. var y = lianks.snapshotLength;
  5235.  
  5236. while (y--)
  5237. {
  5238. link = lianks.snapshotItem(y);
  5239. while (link.href.indexOf('anonym.to/?')>-1)
  5240. {
  5241. link.href=link.href.substring(link.href.indexOf('anonym.to/?')+11);
  5242. }
  5243. while (link.href.indexOf('anonym.to?')>-1)
  5244. {
  5245. link.href=link.href.substring(link.href.indexOf('anonym.to?')+10);
  5246. }
  5247.  
  5248. filehostIdx = filehostLen;
  5249. while (filehostIdx--)
  5250. {
  5251. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5252. {
  5253. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5254. isAliveRegex = http_file_hosts[filehostIdx][1];
  5255. isDeadRegex = http_file_hosts[filehostIdx][2];
  5256. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5257. ispremRegex = http_file_hosts[filehostIdx][6];
  5258. tryLoop = http_file_hosts[filehostIdx][5];
  5259.  
  5260. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5261.  
  5262. break;
  5263. }
  5264. }
  5265. }
  5266. }
  5267. }
  5268. //STANDARD LINKCHECKING END
  5269. //OBSOLETE FILE HOSTS PROCESSING START
  5270. if (filehostObsoleteLen > 0)
  5271. {
  5272. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5273.  
  5274. var obsoleteLink;
  5275.  
  5276. //check links
  5277. if (obsoletelinks.snapshotLength > 0)
  5278. {
  5279. var y = obsoletelinks.snapshotLength;
  5280.  
  5281. if (filterId == null)
  5282. {
  5283. cLinksTotal += y;
  5284. }
  5285.  
  5286. while (y--)
  5287. {
  5288. obsoleteLink = obsoletelinks.snapshotItem(y);
  5289.  
  5290. if (Display_tooltip_info)
  5291. {
  5292. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5293. }
  5294. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5295. }
  5296. }
  5297. }
  5298. //OBSOLETE FILE HOSTS PROCESSING END
  5299.  
  5300. //DIRECT LINKCHECKING START
  5301. if (http_file_hosts_headers_only.length > 0)
  5302. {
  5303. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5304.  
  5305. //check links
  5306. if (links.snapshotLength > 0)
  5307. {
  5308. var link;
  5309. var isAliveRegex;
  5310. var isDeadRegex;
  5311. var ispremRegex;
  5312.  
  5313. var y = links.snapshotLength;
  5314.  
  5315.  
  5316. if (filterId == null)
  5317. {
  5318. cLinksTotal += y;
  5319. }
  5320.  
  5321. while (y--)
  5322. {
  5323. // links.snapshotItem(y).id = 'processing_link';
  5324. link = links.snapshotItem(y);
  5325. filehostIdx = filehostHeadersOnlyLen;
  5326. while (filehostIdx--)
  5327. {
  5328. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5329. {
  5330. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5331. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5332. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5333. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5334.  
  5335. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5336.  
  5337. break;
  5338. }
  5339. }
  5340. }
  5341.  
  5342. }
  5343. }
  5344. //DIRECT LINKCHECKING END
  5345.  
  5346.  
  5347. //finds the real url on the page, replaces link.href with it and calls geturl
  5348. function decurl(link, reallinkreg, reallinkcorrection)
  5349. {
  5350.  
  5351. GM_xmlhttpRequest(
  5352. {
  5353. method: 'GET',
  5354. url: link.href,
  5355. headers: {
  5356. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5357. 'Accept': 'text/xml',
  5358. 'Referer': ""
  5359. },
  5360. onload: function (result)
  5361. {
  5362. // cLinksProcessed++;
  5363.  
  5364. var reallink = result.responseText.match(reallinkreg)[0];
  5365. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5366.  
  5367. link.href = reallink;
  5368.  
  5369. var i = http_file_hosts.length - 1;
  5370. do
  5371. {
  5372. if ((reallink.match(http_file_hosts[i][0])))
  5373. {
  5374. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5375. var isAliveRegex = http_file_hosts[i][1];
  5376. var isDeadRegex = http_file_hosts[i][2];
  5377. var isUnavaRegex = http_file_hosts[i][3];
  5378. var ispremRegex = http_file_hosts[i][4];
  5379.  
  5380. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5381.  
  5382. break;
  5383. }
  5384. }
  5385. while (i--);
  5386. }
  5387. });
  5388. }
  5389.  
  5390. function randUA()
  5391. {
  5392. //TODO
  5393. }
  5394. //Processes link
  5395. //
  5396. // [string] link link URL
  5397. // [string] isAliveRegex alive link regex
  5398. // [string] isDeadRegex dead link regex
  5399. // [string] isUnavaRegex unavailable link regex
  5400. // [string] ispremRegex premium link regex
  5401. // [boolean] tryLoop repeats request until succeeded
  5402. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5403. {
  5404. GM_xmlhttpRequest(
  5405. {
  5406. method: 'GET',
  5407. url: link.href,
  5408. headers: {
  5409. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5410. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5411. 'Referer': ""
  5412. },
  5413. onload: function (result)
  5414. {
  5415. var res = result.responseText;
  5416. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5417. {
  5418. displayTheCheckedLink(link, 'alive_link');
  5419. return;
  5420. }
  5421.  
  5422. if (res.match(isAliveRegex))
  5423. {
  5424. displayTheCheckedLink(link, 'alive_link');
  5425. return;
  5426. }
  5427.  
  5428. if (res.match(isDeadRegex))
  5429. {
  5430. displayTheCheckedLink(link, 'adead_link');
  5431. return;
  5432. }
  5433.  
  5434. if (isUnavaRegex && res.match(isUnavaRegex))
  5435. {
  5436. displayTheCheckedLink(link, 'unava_link');
  5437. return;
  5438. }
  5439. if (res.match(ispremRegex))
  5440. {
  5441. displayTheCheckedLink(link, 'prem_link');
  5442. return;
  5443. }
  5444.  
  5445. var resStatus = result.status;
  5446.  
  5447. if (resStatus == 404)
  5448. {
  5449. displayTheCheckedLink(link, 'adead_link');
  5450. }
  5451. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5452. {
  5453. if (tryLoop)
  5454. {
  5455. //wait 1-5 seconds and repeat the request
  5456. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5457. }
  5458. else
  5459. {
  5460. displayTheCheckedLink(link, 'unava_link');
  5461. }
  5462.  
  5463. return;
  5464. }
  5465. },
  5466. onerror: function ()
  5467. {
  5468. displayTheCheckedLink(link, 'unava_link');
  5469. }
  5470. });
  5471. }
  5472.  
  5473. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5474. {
  5475. GM_xmlhttpRequest(
  5476. {
  5477. method: 'HEAD',
  5478. url: link.href,
  5479. headers: {
  5480. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5481. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5482. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5483. 'Referer': ""
  5484. },
  5485. onload: function (result)
  5486. {
  5487. var resStatus = result.status;
  5488. var resHeaders = "";
  5489. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5490. {
  5491. displayTheCheckedLink(link, 'adead_link');
  5492. return;
  5493. }
  5494.  
  5495. resHeaders = result.responseHeaders;
  5496.  
  5497. if (resHeaders.match(isDeadRegex))
  5498. {
  5499. displayTheCheckedLink(link, 'adead_link');
  5500. return;
  5501. }
  5502.  
  5503. if (resHeaders.match(isAliveRegex))
  5504. {
  5505. displayTheCheckedLink(link, 'alive_link');
  5506. return;
  5507. }
  5508. if (resHeaders.match(ispremRegex))
  5509. {
  5510. displayTheCheckedLink(link, 'prem_link');
  5511. return;
  5512. }
  5513. },
  5514. onerror: function ()
  5515. {
  5516. displayTheCheckedLink(link, 'unava_link');
  5517. }
  5518. });
  5519. }
  5520.  
  5521. //Delinkfifies the <a> element object
  5522. function delinkifyLink(link)
  5523. {
  5524. var spanElm = document.createElement("span");
  5525. spanElm.className = link.className;
  5526. spanElm.innerHTML = link.innerHTML;
  5527.  
  5528. if (Display_tooltip_info)
  5529. {
  5530. spanElm.href = link.href;
  5531. spanElm.warlc_error = link.warlc_error;
  5532. switch (link.className){
  5533. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5534. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5535. case "unava_link": //reserved
  5536. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5537. default:
  5538. }
  5539. }
  5540. link.parentNode.replaceChild(spanElm, link);
  5541. }
  5542.  
  5543. //Assigns result status to the <a> element object and calls delinkifying eventually
  5544. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5545. function displayTheCheckedLink(link, resultStatus)
  5546. {
  5547. link.className = resultStatus;
  5548. link.href = Ref_anonymize_service + link.href;
  5549. if (Display_tooltip_info)
  5550. {
  5551. switch (resultStatus){
  5552. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5553. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5554. case "unava_link": //reserved
  5555. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5556. default:
  5557. }
  5558. }
  5559. if (doNotLinkify)
  5560. {
  5561. delinkifyLink(link);
  5562. }
  5563. cLinksProcessed++;
  5564.  
  5565. if (resultStatus == "alive_link")
  5566. {
  5567. cLinksAlive++;
  5568. return;
  5569. }
  5570.  
  5571. if (resultStatus == "adead_link")
  5572. {
  5573. cLinksDead++;
  5574. return;
  5575. }
  5576.  
  5577. if (resultStatus == "unava_link")
  5578. {
  5579. cLinksUnava++;
  5580. }
  5581. if (resultStatus == "prem_link")
  5582. {
  5583. cLinksprem++;
  5584. return;
  5585. }
  5586. }
  5587.  
  5588.  
  5589. function initFileHosts()
  5590. {
  5591.  
  5592. function addObsoleteHost(linkRegex, xpathEx)
  5593. {
  5594. var host = new Array(2);
  5595. host[0] = linkRegex;
  5596. host[1] = xpathEx;
  5597. http_file_hosts_obsolete.push(host);
  5598. }
  5599.  
  5600. //obsolete file hosts init start
  5601. if (Obsolete_file_hosts)
  5602. {
  5603. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5604. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5605. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5606. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5607. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5608. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5609. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5610. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5611. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5612. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5613. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5614. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5615. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5616. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5617. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5618. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5619. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5620. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5621. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5622. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5623. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5624. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5625. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5626. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5627. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5628. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5629. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5630. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5631. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5632. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5633. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5634. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5635. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5636. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5637. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5638. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5639. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5640. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5641. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5642. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5643. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5644. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5645. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5646. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5647. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5648. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5649. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5650. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5651. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5652. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5653. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5654. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5655. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5656. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5657. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5658. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5659. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5660. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5661. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5662. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5663. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5664. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5665. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5666. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5667. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5668. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5669. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5670. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5671. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5672. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5673. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5674. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5675. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5676. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5677. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5678. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5679. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5680. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5681. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5682. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5683. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5684. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5685. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5686. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5687. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5688. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5689. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5690. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5691. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5692. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5693. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5694. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5695. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5696. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5697. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5698. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5699. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5700. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5701. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5702. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5703. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5704. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5705. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5706. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5707. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5708. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5709. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5710. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5711. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5712. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5713. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5714. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5715. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5716. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5717. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5718. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5719. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5720. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5721. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5722. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5723. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5724. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5725. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5726. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5727. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5728. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5729. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5730. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5731. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5732. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5733. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5734. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5735. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5736. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5737. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5738. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5739. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5740. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5741. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5742. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5743. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5744. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5745. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5746. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5747. 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')]");
  5748. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5749. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5750. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5751. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5752. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5753. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5754. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5755. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5756. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5757. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5758. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5759. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5760. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5761. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5762. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5763. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5764. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5765. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5766. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5767. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5768. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5769. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5770. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5771. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5772. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5773. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5774. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5775. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5776. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5777. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5778. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5779. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5780. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5781. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5782. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5783. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5784. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5785. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5786. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5787. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5788. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5789. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5790. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5791. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5792. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5793. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5794. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5795. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5796. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5797. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5798. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5799. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5800. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5801. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5802. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5803. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5804. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5805. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5806. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5807. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5808. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5809. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5810. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5811. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5812. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5813. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5814. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5815. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5816. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5817. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5818. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5819. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5820. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5821. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5822. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5823. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5824. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5825. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5826. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5827. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5828. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5829. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5830. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5831. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5832. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5833. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5834. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5835. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5836. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5837. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5838. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5839. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5840. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5841. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5842. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5843. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5844. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5845. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5846. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5847. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5848. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5849. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5850. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5851. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5852. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5853. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5854. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5855. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5856. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5857. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5858. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5859. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5860. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5861. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5862. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5863. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5864. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5865. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5866. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5867. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5868. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5869. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5870. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5871. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5872. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5873. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5874. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5875. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5876. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5877. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5878. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5879. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5880. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5881. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5882. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5883. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5884. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5885. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5886. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5887. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5888. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5889. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5890. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5891. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5892. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5893. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5894. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5895. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5896. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5897. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5898. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5899. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5900. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5901. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5902. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5903. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5904. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5905. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5906. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5907. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5908. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5909. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5910. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5911. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5912. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5913. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5914. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5915. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5916. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5917. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5918. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5919. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5920. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5921. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5922. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5923. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5924. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5925. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5926. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5927. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5928. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5929. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5930. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5931. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5932. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5933. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5934. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5935. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5936. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5937. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5938. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5939. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5940. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5941. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5942. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5943. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5944. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5945. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5946. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5947. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5948. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5949. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5950. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5951. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5952. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5953. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5954. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5955. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5956. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5957. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5958. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5959. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5960. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5961. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5962. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5963. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5964. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5965. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5966. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5967. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5968. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5969. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5970. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5971. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5972. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5973. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5974. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5975. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5976. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5977. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5978. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5979. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5980. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5981. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5982. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5983. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5984. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5985. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5986. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5987. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5988. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5989. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5990. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5991. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5992. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5993. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5994. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5995. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5996. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5997. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5998. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5999. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  6000. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  6001. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  6002. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  6003. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  6004. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  6005. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  6006. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  6007. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  6008. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  6009. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  6010. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  6011. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  6012. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  6013. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  6014. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  6015. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  6016. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  6017. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  6018. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  6019. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  6020. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  6021. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  6022. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  6023. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  6024. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  6025. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  6026. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  6027. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  6028. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  6029. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  6030. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  6031. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  6032. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  6033. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  6034. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  6035. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  6036. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  6037. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  6038. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  6039. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  6040. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  6041. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  6042. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  6043. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  6044. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  6045. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  6046. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  6047. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  6048. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6049. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6050. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6051. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6052. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6053. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6054. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6055. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6056. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6057. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6058. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6059. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6060. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6061. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6062. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6063. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6064. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6065. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6066. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6067. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6068. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6069. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6070. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6071. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6072. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6073. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6074. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6075. addObsoleteHost("fp\\.io\/\\w+","//a[contains(@href,'fp.io/')]");
  6076. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6077. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6078. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6079. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6080. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6081. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6082. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6083. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6084. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6085. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6086. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6087. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6088. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6089. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6090. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6091. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6092. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6093. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6094. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6095. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6096. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6097. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6098. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6099. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6100. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6101. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6102. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6103. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6104. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6105. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6106. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6107. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6108. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6109. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6110. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6111. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6112. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6113. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6114. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6115. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6116. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6117. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6118. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6119. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6120. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6121. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6122. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6123. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6124. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6125. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6126. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6127. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6128. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6129. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6130. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6131. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6132. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6133. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6134. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6135. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6136. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6137. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6138. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6139. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6140. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6141. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6142. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6143. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6144. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6145. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6146. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6147. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6148. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6149. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6150. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6151. addObsoleteHost("uplea\\.com\/\\w+","//a[contains(@href,'uplea.com/')]");
  6152. addObsoleteHost("vodlocker\\.com\/\\w+","//a[contains(@href,'vodlocker.com/')]");
  6153. addObsoleteHost("rockfile\\.eu\/\\w+","//a[contains(@href,'rockfile.eu/')]");
  6154. addObsoleteHost("uploadable\\.ch\/\\w+","//a[contains(@href,'uploadable.ch/')]");
  6155. addObsoleteHost("datoteke\\.com\/\\w+","//a[contains(@href,'datoteke.com/')]");
  6156. addObsoleteHost("uploadrocket\\.net\/\\w+","//a[contains(@href,'uploadrocket.net/')]");
  6157. addObsoleteHost("usersfiles\\.com\/\\w+","//a[contains(@href,'usersfiles.com/')]");
  6158. // obsolete start start2
  6159. }
  6160. //obsolete file hosts init end
  6161. //Add Host Example
  6162. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6163. {
  6164. addFileHost(
  6165. "datafile\.com\/\\w+",
  6166. 'var captchaPanel|<link href="/css/files_download.css"',
  6167. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6168. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6169. '<style type="text/css">',
  6170. "//a[contains(@href,'datafile.com')]",
  6171. true);
  6172. } */
  6173.  
  6174. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6175. {
  6176. var host = new Array(7);
  6177. host[0] = linkRegex;
  6178. host[1] = isAliveRegex;
  6179. host[2] = isDeadRegex;
  6180. host[3] = isUnavaRegex;
  6181. host[6] = ispremRegex;
  6182. host[4] = xpathEx;
  6183. tryLoop ? host[5] = true : host[5] = false;
  6184. http_file_hosts.push(host);
  6185. }
  6186. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6187. {
  6188. addFileHost(
  6189. "megafileupload\.com\/..\/file\/",
  6190. 'downloadbtn',
  6191. 'is not found',
  6192. 'optional--',
  6193. 'optional2--',
  6194. "//a[contains(@href,'megafileupload.com')]");
  6195. }
  6196. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6197. {
  6198. addFileHost(
  6199. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6200. 'download\\.gif"',
  6201. 'p_point">',
  6202. 'optional--',
  6203. 'optional2--',
  6204. "//a[contains(@href,'demo.ovh.eu')]");
  6205. }*/
  6206. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6207. {
  6208. addFileHost(
  6209. "safelinking\\.net\/p\/\\w+",
  6210. 'color:green;"',
  6211. 'color:(?:red|orange);"',
  6212. 'color:(?:grey|brown);"',
  6213. 'optional2--',
  6214. "//a[contains(@href,'safelinking.net/p/')]",
  6215. true);
  6216. }
  6217. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6218. {
  6219. addFileHost(
  6220. "fastshare\\.cz\/\\d+\/\\w*",
  6221. 'dwntable">|speed-low',
  6222. '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',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'fastshare.cz')]");
  6226. }
  6227. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6228. {
  6229. addFileHost(
  6230. "[fF]ast[sS]hare\\.org\/download",
  6231. 'Download ">',
  6232. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6233. 'optional--',
  6234. 'optional2--',
  6235. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6236. }
  6237. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6238. {
  6239. addFileHost(
  6240. "rapidgator\\.net\/file\/\\w+",
  6241. '/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.',
  6242. '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',
  6243. 'optional--',
  6244. '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',
  6245. "//a[contains(@href,'rapidgator.net/file')]",
  6246. true
  6247. );
  6248. }
  6249. if (GM_getValue("Check_rg_dot_to_links", false))
  6250. {
  6251. addFileHost(
  6252. "rg\.to\/\\w+",
  6253. '/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.',
  6254. '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',
  6255. 'optional--',
  6256. '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',
  6257. "//a[contains(@href,'rg.to')]");
  6258. }
  6259. if (GM_getValue("Check_relink_dot_us_links", false))
  6260. {
  6261. addFileHost(
  6262. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6263. 'online_detail\\.png" alt="Status',
  6264. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6265. 'unknown_detail\\.png" alt="Status',
  6266. 'optional2--',
  6267. "//a[contains(@href,'relink.us/')]"
  6268. );
  6269. }
  6270. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6271. {
  6272. addFileHost(
  6273. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6274. 'div id="dl"',
  6275. 'Sie haben den Link falsch',
  6276. 'optional--',
  6277. 'optional2--',
  6278. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6279. );
  6280. }
  6281. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6282. {
  6283. addFileHost(
  6284. "flyfiles\\.net\/\\w+",
  6285. 'download_button"|"Download file"',
  6286. 'File not found!|Файл не найден',
  6287. 'optional--',
  6288. 'optional2--',
  6289. "//a[contains(@href,'flyfiles.net/')]"
  6290. );
  6291. }
  6292. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6293. {
  6294. addFileHost(
  6295. "wikiupload\\.com\/\\w+",
  6296. 'download-button">',
  6297. 'Sorry, File not found',
  6298. 'optional--',
  6299. 'optional2--',
  6300. "//a[contains(@href,'wikiupload.com/')]"
  6301. );
  6302. }
  6303. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6304. {
  6305. addFileHost(
  6306. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6307. 'file\\.php">|Pobierz Plik',
  6308. 'Podany plik nie zosta',
  6309. 'optional--',
  6310. 'optional2--',
  6311. "//a[contains(@href,'hostuje.net/file')]"
  6312. );
  6313. }
  6314. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6315. {
  6316. addFileHost(
  6317. "gettyfile\\.ru\/\\d+",
  6318. 'download\\.gif border',
  6319. '<center><font size="3">',
  6320. 'optional--',
  6321. 'optional2--',
  6322. "//a[contains(@href,'gettyfile.ru/')]"
  6323. );
  6324. }
  6325. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6326. {
  6327. addFileHost(
  6328. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6329. 'download\\-file">',
  6330. 'col-1">\\s*<h1>',
  6331. 'optional--',
  6332. 'optional2--',
  6333. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6334. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6335. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6336. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6337. );
  6338. }
  6339. if (GM_getValue("Check_data_dot_hu_links", false))
  6340. {
  6341. addFileHost(
  6342. "data\\.hu",
  6343. 'download_box_button|Lassú letöltés',
  6344. 'missing\\.php|Az adott fájl nem létezik',
  6345. 'optional--',
  6346. 'optional2--',
  6347. "//a[contains(@href,'data.hu')]",
  6348. true
  6349. );
  6350. }
  6351. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6352. {
  6353. addFileHost(
  6354. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6355. 'premiumBtn"',
  6356. 'errorMessage"',
  6357. 'optional--',
  6358. 'optional2--',
  6359. "//a[contains(@href,'indowebster.com/download')]"
  6360. );
  6361. }
  6362. if (GM_getValue("Check_superload_dot_cz_links", false))
  6363. {
  6364. addFileHost(
  6365. "superload\\.cz\/dl\/\\w+",
  6366. 'icon-download">',
  6367. 'soubor nebyl nalezen',
  6368. 'optional--',
  6369. 'optional2--',
  6370. "//a[contains(@href,'superload.cz/dl')]"
  6371. );
  6372. }
  6373. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6374. {
  6375. addFileHost(
  6376. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6377. 'op" value="download',
  6378. 'class="err">|width:500px;text-align:left;">',
  6379. 'optional--',
  6380. 'optional2--',
  6381. "//a[contains(@href,'hulkfile.')]"
  6382. );
  6383. }
  6384. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6385. {
  6386. addFileHost(
  6387. "easybytez\\.com\/\\w+",
  6388. 'op" value="download',
  6389. 'stop_error\\.gif',
  6390. 'optional--',
  6391. 'optional2--',
  6392. "//a[contains(@href,'easybytez.com/')]"
  6393. );
  6394. }
  6395. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6396. {
  6397. addFileHost(
  6398. "filestore\\.com\\.ua\/\\?d=\\w+",
  6399. 'tdrow1>',
  6400. 'class=warn',
  6401. 'optional--',
  6402. 'optional2--',
  6403. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6404. );
  6405. }
  6406. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6407. {
  6408. addFileHost(
  6409. "openfile\\.ru\/(?:video\/|)\\d+",
  6410. 'videobox_left">',
  6411. 'blog_title">|not found on this server',
  6412. 'optional--',
  6413. 'optional2--',
  6414. "//a[contains(@href,'openfile.ru/')]"
  6415. );
  6416. }*/
  6417. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6418. {
  6419. addFileHost(
  6420. "extmatrix\\.com\/files\/\\w+",
  6421. 'div class="success"',
  6422. 'div class="error"',
  6423. 'optional--',
  6424. 'optional2--',
  6425. "//a[contains(@href,'extmatrix.com/files')]"
  6426. );
  6427. }
  6428. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6429. {
  6430. addFileHost(
  6431. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6432. 'content_lnkDownload',
  6433. 'error\\.aspx\\?',
  6434. 'optional--',
  6435. 'optional2--',
  6436. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6437. );
  6438. }
  6439. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6440. {
  6441. addFileHost(
  6442. "yourfilestore\\.com\/download\/\\d+\/",
  6443. 'download_data">',
  6444. 'may have been deleted|<h1>Sorry!<\/h1>',
  6445. 'optional--',
  6446. 'optional2--',
  6447. "//a[contains(@href,'yourfilestore.com/download')]"
  6448. );
  6449. }
  6450. if (GM_getValue("Check_filebig_dot_net_links", false))
  6451. {
  6452. addFileHost(
  6453. "filebig\\.net\/files\/\\w+",
  6454. 'downloadFile">',
  6455. '<p>File not found<\/p>',
  6456. 'optional--',
  6457. 'optional2--',
  6458. "//a[contains(@href,'filebig.net/files')]"
  6459. );
  6460. }
  6461. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6462. {
  6463. addFileHost(
  6464. "files\\.filefront\\.com\/\/;\\d+;;",
  6465. 'downloadLink">',
  6466. 'File not found, you',
  6467. 'optional--',
  6468. 'optional2--',
  6469. "//a[contains(@href,'files.filefront.com')]"
  6470. );
  6471.  
  6472. addFileHost(
  6473. "gamefront\\.com\/files\/\\d+",
  6474. 'downloadLink">',
  6475. 'File not found, you',
  6476. 'optional--',
  6477. 'optional2--',
  6478. "//a[contains(@href,'gamefront.com/files')]"
  6479. );
  6480. }
  6481. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6482. {
  6483. addFileHost(
  6484. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6485. 'dnlLnk"',
  6486. 'already been deleted',
  6487. 'optional--',
  6488. 'optional2--',
  6489. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6490. );
  6491. }
  6492. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6493. {
  6494. addFileHost(
  6495. "hellupload\\.com\/\\w+",
  6496. '<h3>Download File<br',
  6497. 'id="podstrona">|AVOID_IE_BUG',
  6498. 'optional--',
  6499. 'optional2--',
  6500. "//a[contains(@href,'hellupload.com/')]"
  6501. );
  6502. }
  6503. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6504. {
  6505. addFileHost(
  6506. "free\\-uploading\\.com\/\\w+",
  6507. 'op" value="download',
  6508. 'class="err">|width:500px;text-align:left;">',
  6509. 'optional--',
  6510. 'optional2--',
  6511. "//a[contains(@href,'free-uploading.com/')]"
  6512. );
  6513. }
  6514. if (GM_getValue("Check_fileape_dot_com_links", false))
  6515. {
  6516. addFileHost(
  6517. "fileape\\.com\/download\\-",
  6518. 'button_dl\\.png',
  6519. 'does not exist\\.',
  6520. 'optional--',
  6521. 'optional2--',
  6522. "//a[contains(@href,'fileape.com/')]"
  6523. );
  6524. }
  6525. if (GM_getValue("Check_uppit_dot_com_links", false))
  6526. {
  6527. addFileHost(
  6528. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6529. 'op" value="download',
  6530. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6531. 'optional--',
  6532. 'optional2--',
  6533. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6534. true
  6535. );
  6536. }
  6537. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6538. {
  6539. addFileHost(
  6540. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6541. 'op" value="download',
  6542. '>File Not Found<',
  6543. 'optional--',
  6544. 'optional2--',
  6545. "//a[contains(@href,'nosupload.com')]",
  6546. true
  6547. );
  6548. }
  6549. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6550. {
  6551. addFileHost(
  6552. "filesin\\.com\/\\w+\/download\\.html",
  6553. 'download_area">',
  6554. 'error_note">',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'filesin.com/')]",
  6558. true
  6559. );
  6560. }*/
  6561. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6562. {
  6563. addFileHost(
  6564. "nowdownload\\.ch\/dl\/\\w+",
  6565. 'alert-success"',
  6566. 'This file does not exist!',
  6567. 'The file is being transfered',
  6568. 'optional2--',
  6569. "//a[contains(@href,'nowdownload.ch/dl')]"
  6570. );
  6571. }*/
  6572. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6573. {
  6574. addFileHost(
  6575. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6576. 'Dbutton_big"',
  6577. 'download\\-error\\.php',
  6578. 'optional--',
  6579. 'optional2--',
  6580. "//a[contains(@href,'axifile.com/')]"
  6581. );
  6582. }*/
  6583. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6584. {
  6585. addFileHost(
  6586. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6587. 'col-1">\\s*<s',
  6588. 'col-1">\\s*<h',
  6589. 'optional--',
  6590. 'optional2--',
  6591. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6592. );
  6593. }
  6594. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6595. {
  6596. addFileHost(
  6597. "turbobit\\.(?:net|pl)",
  6598. 'id="download-gate-info|id="file-list',
  6599. 'afterWait()|no files in this folder',
  6600. 'optional--',
  6601. 'optional2--',
  6602. "//a[contains(@href,'turbobit.net')]"
  6603. );
  6604. }
  6605. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6606. {
  6607. addFileHost(
  6608. "hitfile\\.net\/download\/folder\/\\d+",
  6609. 'content">\\s*<s',
  6610. 'content">\\s*<h',
  6611. 'optional--',
  6612. 'optional2--',
  6613. "//a[contains(@href,'hitfile.net/download/folder')]"
  6614. );
  6615. }
  6616. if (GM_getValue("Check_movshare_dot_net_links", false))
  6617. {
  6618. addFileHost(
  6619. "movshare\\.net\\/video\\/\\w+",
  6620. 'optional--"',
  6621. 'no longer exists',
  6622. 'optional--',
  6623. 'optional2--',
  6624. "//a[contains(@href,'movshare.net/video')]"
  6625. );
  6626. }
  6627. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6628. {
  6629. addFileHost(
  6630. "mafiastorage\\.com\/\\w+",
  6631. 'op" value="download',
  6632. 'class="err">|style="width:500px;text-align:left;"',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'mafiastorage.com/')]"
  6636. );
  6637. }
  6638. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6639. {
  6640. addFileHost(
  6641. "uploadingit\\.com\/file\/\\w+",
  6642. 'downloadTitle">',
  6643. 'deleteContent">',
  6644. 'optional--',
  6645. 'optional2--',
  6646. "//a[contains(@href,'uploadingit.com/file')]"
  6647. );
  6648. }*/
  6649. if (GM_getValue("Check_rghost_dot_net_links", false))
  6650. {
  6651. addFileHost(
  6652. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6653. 'download_link|btn large download',
  6654. 'file is restricted|File is deleted|503 Service Unavailable',
  6655. 'optional--',
  6656. 'optional2--',
  6657. "//a[contains(@href,'rghost.')]"
  6658. );
  6659. }
  6660. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6661. {
  6662. addFileHost(
  6663. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6664. '">Staženo:\\s*<\/span>',
  6665. 'Soubor, který hledáte nenalezen',
  6666. 'optional--',
  6667. 'optional2--',
  6668. "//a[contains(@href,'xdisk.cz/')]"
  6669. );
  6670. }
  6671. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6672. {
  6673. addFileHost(
  6674. "2downloadz\.com\/\\w+",
  6675. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6676. 'color="#006DCC|File error',
  6677. 'optional--',
  6678. 'optional2--',
  6679. "//a[contains(@href,'2downloadz.com')]");
  6680. }
  6681. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6682. {
  6683. addFileHost(
  6684. "mightyupload\.com\/\\w+",
  6685. 'background:#ccc;text-align|CONTENT="Download File"',
  6686. 'style="background:#eee|var rr =|File Not Found',
  6687. 'error-code">1010',
  6688. 'optional2--',
  6689. "//a[contains(@href,'mightyupload.com')]");
  6690. }
  6691. if (GM_getValue("Check_anysend_dot_com_links", false))
  6692. {
  6693. addFileHost(
  6694. "anysend\.com\/\\w+",
  6695. 'var openCalled=false;|content="noindex"',
  6696. '_trackPageview',
  6697. 'optional--',
  6698. 'optional2--',
  6699. "//a[contains(@href,'anysend.com')]");
  6700. }
  6701. if (GM_getValue("Check_datafile_dot_com_links", false))
  6702. {
  6703. addFileHost(
  6704. "datafile\.com\/\\w+",
  6705. 'var captchaPanel|<link href="/css/files_download.css"',
  6706. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"|ErrorCode 3',
  6707. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6708. '; 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!',
  6709. "//a[contains(@href,'datafile.com')]",
  6710. true);
  6711. }
  6712. if (GM_getValue("Check_upstore_dot_net_links", false))
  6713. {
  6714. addFileHost(
  6715. "upstore\.net\/\\w+",
  6716. 'name="free"',
  6717. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6718. 'optional--',
  6719. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6720. "//a[contains(@href,'upstore.net')]");
  6721. }
  6722. if (GM_getValue("Check_upsto_dot_re_links", false))
  6723. {
  6724. addFileHost(
  6725. "upsto\.re\/\\w+",
  6726. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6727. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6728. 'optional--',
  6729. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6730. "//a[contains(@href,'upsto.re')]");
  6731. }
  6732. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6733. {
  6734. addFileHost(
  6735. "speedy\.sh\/\\w+",
  6736. 'bgcolor=#eeeeee|class="addthis',
  6737. 'File not found|downloadfilenamenotfound>',
  6738. 'optional--',
  6739. 'optional2--',
  6740. "//a[contains(@href,'speedy.sh')]");
  6741. }
  6742. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6743. {
  6744. addFileHost(
  6745. "kingfiles\.net\/\\w+",
  6746. 'method_free|images/loading_small.gif"',
  6747. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6748. 'optional--',
  6749. 'optional2--',
  6750. "//a[contains(@href,'kingfiles.net')]");
  6751. }
  6752. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6753. {
  6754. addFileHost(
  6755. "secureupload\\.eu\/\\w+",
  6756. 'Downloading',
  6757. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6758. 'optional--',
  6759. 'optional2--',
  6760. "//a[contains(@href,'secureupload.eu')]"
  6761. );
  6762. } */
  6763. if (GM_getValue("Check_ge_dot_tt_links", false))
  6764. {
  6765. addFileHost(
  6766. "ge\.tt\/\\w+",
  6767. 'downloads pic',
  6768. 'is NOT the same as',
  6769. 'optional--',
  6770. 'optional2--',
  6771. "//a[contains(@href,'ge.tt')]");
  6772. }
  6773. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6774. {
  6775. addFileHost(
  6776. "filefactory\\.com\/file\/\\w+",
  6777. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6778. '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">',
  6779. 'Server Maintenance|temporarily overloaded',
  6780. 'Premium Account Required',
  6781. "//a[contains(@href,'filefactory.com/file')]");
  6782. } */
  6783. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6784. {
  6785. addFileHost(
  6786. "filesflash\.net\/\\w+",
  6787. 'align:right">Filename:',
  6788. 'class="msg">',
  6789. 'optional--',
  6790. 'optional2--',
  6791. "//a[contains(@href,'filesflash.net')]");
  6792. }
  6793. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6794. {
  6795. addFileHost(
  6796. "rapidgator\\.net\/folder\/\\w+",
  6797. 'href="/folder/',
  6798. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6799. 'optional--',
  6800. 'optional2--',
  6801. "//a[contains(@href,'rapidgator.net/folder')]",
  6802. true
  6803. );
  6804. }
  6805. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6806. {
  6807. addFileHost(
  6808. "salefiles\.com\/\\w+",
  6809. 'name="method_free',
  6810. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'salefiles.com')]");
  6814. }
  6815. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6816. {
  6817. addFileHost(
  6818. "datoid\.cz\/\\w+",
  6819. 'btn-download|class="icon-download-large"',
  6820. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6821. 'optional--',
  6822. 'optional2--',
  6823. "//a[contains(@href,'datoid.cz')]");
  6824. }
  6825. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6826. {
  6827. addFileHost(
  6828. "stiahni\.si\/\\w+",
  6829. 'report_icon.png"|slow-download-button',
  6830. 'none.png|deleted|<h2>Error 500</h2>',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'stiahni.si')]");
  6834. }
  6835. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6836. {
  6837. addFileHost(
  6838. "cloudstor\.es\/\\w+",
  6839. '"btn_download"',
  6840. '404: Page Not Found',
  6841. 'optional--',
  6842. 'optional2--',
  6843. "//a[contains(@href,'cloudstor.es')]");
  6844. }
  6845. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6846. {
  6847. addFileHost(
  6848. "streamfile\.com\/\\w+",
  6849. 'class="btn',
  6850. 'class="green-btn',
  6851. 'optional--',
  6852. 'optional2--',
  6853. "//a[contains(@href,'streamfile.com')]");
  6854. }
  6855. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6856. {
  6857. addFileHost(
  6858. "eyesfile\.ca\/\\w+",
  6859. 'value="Get Link',
  6860. 'var rr =',
  6861. 'optional--',
  6862. 'optional2--',
  6863. "//a[contains(@href,'eyesfile.ca')]");
  6864. }
  6865. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6866. {
  6867. addFileHost(
  6868. "filemoney\.com\/\\w+",
  6869. 'og:title',
  6870. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6871. 'error-code">1010',
  6872. 'optional2--',
  6873. "//a[contains(@href,'filemoney.com')]");
  6874. }
  6875. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6876. {
  6877. addFileHost(
  6878. "uploadboy\.com\/\\w+",
  6879. 'width="740">|method_free',
  6880. 'var rr =|background:#ffffff|not be found|file was removed',
  6881. 'optional--',
  6882. 'optional2--',
  6883. "//a[contains(@href,'uploadboy.com')]");
  6884. }
  6885. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6886. {
  6887. addFileHost(
  6888. "uploadboy\.com\/\\w+",
  6889. 'width="740">|method_free',
  6890. 'var rr =|background:#ffffff|not be found|file was removed',
  6891. 'optional--',
  6892. 'optional2--',
  6893. "//a[contains(@href,'uploadboy.me')]");
  6894. }
  6895. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6896. {
  6897. addFileHost(
  6898. "speedshare\.eu\/\\w+",
  6899. 'favicon.png|color:#3d87c0|cross.png"|id="method_free',
  6900. 'var rr =|File Not Found|style="background:#eee',
  6901. 'optional--',
  6902. 'optional2--',
  6903. "//a[contains(@href,'speedshare.eu')]");
  6904. }
  6905. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6906. {
  6907. addFileHost(
  6908. "unlimitzone\.com\/\\w+",
  6909. 'name="method_free',
  6910. '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',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'unlimitzone.com')]");
  6914. }
  6915. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6916. {
  6917. addFileHost(
  6918. "rioupload\.com\/\\w+",
  6919. 'sell.jpg',
  6920. 'var rr =',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'rioupload.com')]");
  6924. }
  6925. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6926. {
  6927. addFileHost(
  6928. "jumbofiles\.org\/\\w+",
  6929. 'H71C5.png|class="downloadtitle">',
  6930. 'var swfu|ViewSourceBIN.png',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'jumbofiles.org')]");
  6934. }
  6935. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6936. {
  6937. addFileHost(
  6938. "fshare\\.vn\/file\/\\w+",
  6939. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6940. 'không tồn tại|class="color_red m_t_50"',
  6941. 'optional--',
  6942. 'optional2--',
  6943. "//a[contains(@href,'fshare.vn/file')]",
  6944. true
  6945. );
  6946. }
  6947. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6948. {
  6949. addFileHost(
  6950. "spaceforfiles\.com\/\\w+",
  6951. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6952. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6953. 'optional--',
  6954. 'optional2--',
  6955. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6956. }
  6957. if (GM_getValue("Check_google_dot_com_links", false))
  6958. {
  6959. addFileHost(
  6960. "google\\.com\/file\/\\w+",
  6961. 'content="!">|color:#2d2d2d',
  6962. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6963. 'optional--',
  6964. 'optional2--',
  6965. "//a[contains(@href,'google.com/file')]",
  6966. true
  6967. );
  6968. }
  6969. if (GM_getValue("Check_google_dot_com_links", false))
  6970. {
  6971. addFileHost(
  6972. "docs.google.com\/\\w+",
  6973. 'content="!">|color:#2d2d2d',
  6974. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6975. 'optional--',
  6976. 'optional2--',
  6977. "//a[contains(@href,'docs.google.com')]",
  6978. true
  6979. );
  6980. }
  6981. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6982. {
  6983. addFileHost(
  6984. "drive.google.com\/\\w+",
  6985. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6986. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6987. 'optional--',
  6988. 'optional2--',
  6989. "//a[contains(@href,'drive.google.com')]",
  6990. true
  6991. );
  6992. }
  6993. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6994. {
  6995. addFileHost(
  6996. "up.media1fire\.com\/\\w+",
  6997. 'class="addthis_|value="download',
  6998. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6999. 'optional--',
  7000. 'optional2--',
  7001. "//a[contains(@href,'up.media1fire.com')]");
  7002. }
  7003. if (GM_getValue("Check_depfile_dot_com_links", false))
  7004. {
  7005. addFileHost(
  7006. "depfile\.com\/\\w+",
  7007. 'logo_0.png|downloads.gif"|verifycode',
  7008. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7009. 'optional--',
  7010. 'available only for Premium users|Premium users can restore files',
  7011. "//a[contains(@href,'depfile.com')or contains(@href,'dipfile.com')]");
  7012. }
  7013. if (GM_getValue("Check_depfile_dot_us_links", false))
  7014. {
  7015. addFileHost(
  7016. "depfile\.us\/\\w+",
  7017. 'logo_0.png|downloads.gif"|verifycode',
  7018. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7019. 'optional--',
  7020. 'available only for Premium users|Premium users can restore files',
  7021. "//a[contains(@href,'depfile.us')]");
  7022. }
  7023. if (GM_getValue("Check_dipfile_dot_com_links", false))
  7024. {
  7025. addFileHost(
  7026. "dipfile\.com\/\\w+",
  7027. 'logo_0.png|downloads.gif"|verifycode',
  7028. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  7029. 'optional--',
  7030. 'available only for Premium users|Premium users can restore files',
  7031. "//a[contains(@href,'dipfile.com')or contains(@href,'depfile.com')]");
  7032. }
  7033. if (GM_getValue("Check_go4up_dot_com_links", false))
  7034. {
  7035. addFileHost(
  7036. "go4up\.com\/\\w+",
  7037. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  7038. '<title>GO4UP|dmca',
  7039. 'optional--',
  7040. 'optional2--',
  7041. "//a[contains(@href,'go4up.com')]");
  7042. }
  7043. if (GM_getValue("Check_redbunker_dot_net_links", false))
  7044. {
  7045. addFileHost(
  7046. "redbunker\.net\/\\w+",
  7047. 'name="method_free"',
  7048. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  7049. 'optional--',
  7050. '2.3 GB',
  7051. "//a[contains(@href,'redbunker.net')]");
  7052. }
  7053. if (GM_getValue("Check_divxpress_dot_com_links", false))
  7054. {
  7055. addFileHost(
  7056. "divxpress\.com\/\\w+",
  7057. 'btn_download|logo.png"',
  7058. 'AVOID_IE_BUG|var rr =',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'divxpress.com')]");
  7062. }
  7063. if (GM_getValue("Check_anafile_dot_com_links", false))
  7064. {
  7065. addFileHost(
  7066. "anafile\.com\/\\w+",
  7067. 'width="881" valign="top|color="#800080"|name="go"',
  7068. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'anafile.com')]");
  7072. }
  7073. /*if (GM_getValue("Check_uploadable_dot_ch_links", false))
  7074. {
  7075. addFileHost(
  7076. "uploadable\\.ch\/file\/\\w+",
  7077. 'captcha.js"|payment.js"|class="btn_download"',
  7078. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'uploadable.ch/file')]",
  7082. true
  7083. );
  7084. } */
  7085. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7086. {
  7087. addFileHost(
  7088. "bigfile\\.to\/file\/\\w+",
  7089. 'captcha.js"|payment.js"|class="btn_download"',
  7090. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7091. 'optional--',
  7092. 'optional2--',
  7093. "//a[contains(@href,'bigfile.to/file')]",
  7094. true
  7095. );
  7096. }
  7097. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7098. {
  7099. addFileHost(
  7100. "arabloads\.net\/\\w+",
  7101. 'name="method_free"|name="method_premium"',
  7102. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7103. 'optional--',
  7104. 'optional2--',
  7105. "//a[contains(@href,'arabloads.net')]");
  7106. }
  7107. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7108. {
  7109. addFileHost(
  7110. "sharerepo\.com\/\\w+",
  7111. 'name="method_free"',
  7112. 'var public_on=|The file you were looking for could not be found',
  7113. 'optional--',
  7114. 'optional2--',
  7115. "//a[contains(@href,'sharerepo.com')]");
  7116. }
  7117. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7118. {
  7119. addFileHost(
  7120. "sfshare\.se\/\\w+",
  7121. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7122. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'sfshare.se')]");
  7126. }
  7127. if (GM_getValue("Check_files_dot_fm_links", false))
  7128. {
  7129. addFileHost(
  7130. "files\.fm\/\\w+",
  7131. 'dl.png"|background-color: transparent',
  7132. 'margin: 40px 40px|background: none;',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'files.fm')]");
  7136. }
  7137. if (GM_getValue("Check_koofile_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "koofile\.com\/\\w+",
  7141. 'value="download1">|name="method_free"',
  7142. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'koofile.com')]");
  7146. }
  7147. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7148. {
  7149. addFileHost(
  7150. "vidxden\\.com\/\\w+",
  7151. 'Continue to Video"',
  7152. 'No such file',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'vidxden.com')]"
  7156. );
  7157. }*/
  7158. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7159. {
  7160. addFileHost(
  7161. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7162. 'Details zur Datei|Details page',
  7163. 'Jetzt hochladen|upload now',
  7164. 'optional--',
  7165. 'optional2--',
  7166. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7167. );
  7168. }
  7169. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7170. {
  7171. addFileHost(
  7172. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7173. 'downloadbtn"',
  7174. 'DL_FileNotFound',
  7175. 'optional--',
  7176. 'optional2--',
  7177. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7181. {
  7182. addFileHost(
  7183. "fileflyer\.com\/view\/\\w+",
  7184. '(?:dwl|locked)btn"',
  7185. 'error.gif"|link">Removed|removedlink">',
  7186. 'optional--',
  7187. 'optional2--',
  7188. "//a[contains(@href,'fileflyer.com')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_filestore_dot_to_links", false))
  7192. {
  7193. addFileHost(
  7194. "filestore\.to\/\\?d=\\w+",
  7195. '"downloading"',
  7196. 'Datei wurde nicht gefunden',
  7197. 'optional--',
  7198. 'optional2--',
  7199. "//a[contains(@href,'filestore.to')]"
  7200. );
  7201. }
  7202. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7203. {
  7204. addFileHost(
  7205. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7206. 'fz24">Download|class="pl15">',
  7207. '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',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7211. );
  7212. }
  7213. if (GM_getValue("Check_datei_dot_to_links", false))
  7214. {
  7215. addFileHost(
  7216. "datei\\.to\/\\??\\w+",
  7217. 'icon_downloaden\\.png|>Download starten<',
  7218. 'Datei wurde nicht gefunden|icon_deleted.png',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'datei.to')]"
  7222. );
  7223. }
  7224. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7225. {
  7226. addFileHost(
  7227. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7228. '<body class="body" id="body">|value="Slow Download"',
  7229. '<body class="body" >',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7233. );
  7234. }
  7235. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7236. {
  7237. addFileHost(
  7238. "unibytes\\.com\/[\\w\.]+",
  7239. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7240. 'File not found|Файл не найден|',
  7241. 'optional--',
  7242. 'optional2--',
  7243. "//a[contains(@href,'unibytes.com')]"
  7244. );
  7245. }
  7246. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7247. {
  7248. addFileHost(
  7249. "www\\.hellshare\\.com\/\\d+",
  7250. 'tab\\-details"',
  7251. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7252. 'optional--',
  7253. 'optional2--',
  7254. "//a[contains(@href,'www.hellshare.com')]"
  7255. );
  7256. }
  7257. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7258. {
  7259. addFileHost(
  7260. "www\\.download.cz.hellshare\\.com\/\\w+",
  7261. 'tab\\-details"',
  7262. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7263. 'optional--',
  7264. 'optional2--',
  7265. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7269. {
  7270. addFileHost(
  7271. "filefactory\\.com",
  7272. 'folderFileList">|icon-cloud|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7273. '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',
  7274. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7275. 'Premium Account Required',
  7276. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_load_dot_to_links", false))
  7280. {
  7281. addFileHost(
  7282. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7283. '"download_table_left">Size',
  7284. 'Can\'t find file',
  7285. 'optional--',
  7286. 'optional2--',
  7287. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_divshare_dot_com_links", false))
  7291. {
  7292. addFileHost(
  7293. "divshare\\.com\/download\/",
  7294. 'download_new\.png',
  7295. 'have been removed',
  7296. 'optional--',
  7297. 'optional2--',
  7298. "//a[contains(@href,'divshare.com')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7302. {
  7303. addFileHost(
  7304. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7305. 'download=true"',
  7306. '<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>',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'euroshare.eu/file')]"
  7310. );
  7311. }
  7312. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7313. {
  7314. addFileHost(
  7315. 'files\\.mail\\.ru/(?:\\w*)',
  7316. 'fileList',
  7317. 'errorMessage',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'files.mail.ru')]"
  7321. );
  7322. }
  7323. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7324. {
  7325. addFileHost(
  7326. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7327. 'Filesize',
  7328. 'Invalid|deleted|Could not download file',
  7329. 'slots|scheduled maintenance',
  7330. 'optional2--',
  7331. "//a[contains(@href,'megashares.com/')]"
  7332. );
  7333. } */
  7334. if (GM_getValue("Check_narod_dot_ru_links", false))
  7335. {
  7336. addFileHost(
  7337. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7338. 'b-submit|action="resource.download"',
  7339. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7340. 'Внутренняя ошибка сервиса',
  7341. 'optional2--',
  7342. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7346. {
  7347. addFileHost(
  7348. "rayfile\\.com\/",
  7349. 'FILEtitleTXT',
  7350. 'blueRow',
  7351. 'optional--',
  7352. 'optional2--',
  7353. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7360. 'button_green_body"',
  7361. 'error">',
  7362. 'optional--',
  7363. 'optional2--',
  7364. "//a[contains(@href,'filesmonster.com/download')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7368. {
  7369. addFileHost(
  7370. 'usaupload\\.net\/d\/(?:\w*)',
  7371. '<strong>File size:</strong>',
  7372. 'is not available',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'usaupload.net/d/')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7379. {
  7380. addFileHost(
  7381. 'sendspace\\.com\/file\/\\w+',
  7382. 'file_description',
  7383. 'msg error"',
  7384. 'optional--',
  7385. 'optional2--',
  7386. "//a[contains(@href,'sendspace.com/file')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7390. {
  7391. addFileHost(
  7392. 'sendspace\\.pl\/file\/\\w+',
  7393. 'download_file"',
  7394. 'Podany plik nie',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'sendspace.pl/file')]"
  7398. );
  7399. }
  7400. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7401. {
  7402. addFileHost(
  7403. 'uploading\\.com\/(?:files\/)?\\w+',
  7404. 'free_method">',
  7405. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'uploading.com')]"
  7409. );
  7410. } */
  7411. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7412. {
  7413. addFileHost(
  7414. "gigasize\.com\/\\w+",
  7415. 'fileId"|class="estimate">',
  7416. 'error">',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'gigasize.com/get')]"
  7420. );
  7421. }
  7422. if (GM_getValue("Check_good_dot_com_links", false))
  7423. {
  7424. addFileHost(
  7425. 'good\\.net\/(?:_|dl)',
  7426. 'Free Download',
  7427. 'Not Found',
  7428. 'Forbidden',
  7429. 'optional2--',
  7430. "//a[contains(@href,'good.net')]"
  7431. );
  7432. }
  7433. if (GM_getValue("Check_2shared_dot_com_links", false))
  7434. {
  7435. addFileHost(
  7436. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7437. 'File size',
  7438. 'File not found|is not valid|/images/important.gif',
  7439. 'optional--',
  7440. 'optional2--',
  7441. // "//a[contains(@href,'2shared.com')]"
  7442. "//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/')]"
  7443. );
  7444. }
  7445. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7446. {
  7447. addFileHost(
  7448. 'turboupload\\.com\/\\w*',
  7449. 'You have requested',
  7450. 'File Not Found',
  7451. 'optional--',
  7452. 'optional2--',
  7453. "//a[contains(@href,'turboupload.com')]"
  7454. );
  7455. }
  7456. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7457. {
  7458. addFileHost(
  7459. 'gigapeta\\.com\/dl\/',
  7460. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7461. '404|page_error',
  7462. 'optional--',
  7463. 'optional2--',
  7464. "//a[contains(@href,'gigapeta.com/dl')]"
  7465. );
  7466. }
  7467. if (GM_getValue("Check_veehd_dot_com_links", false))
  7468. {
  7469. addFileHost(
  7470. 'veehd\.com\/video\/.*?',
  7471. 'No sound|Download video',
  7472. 'Featured Videos',
  7473. 'optional--',
  7474. 'optional2--',
  7475. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7476. );
  7477. }
  7478. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7479. {
  7480. addFileHost(
  7481. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7482. 'fast_download_form">|submit_sms_download',
  7483. '<p style="text-align:center">',
  7484. 'optional--',
  7485. 'optional2--',
  7486. "//a[contains(@href,'vip-file.com/download')]"
  7487. );
  7488. }
  7489. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7490. {
  7491. addFileHost(
  7492. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7493. 'download\\-pnl ',
  7494. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7495. 'optional--',
  7496. 'optional2--',
  7497. "//a[contains(@href,'letitbit.net/download')]"
  7498. );
  7499. }*/
  7500. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7501. {
  7502. addFileHost(
  7503. 'ifolder\.ru\/\\d+',
  7504. 'file-info',
  7505. 'ui-state-error',
  7506. 'optional--',
  7507. 'optional2--',
  7508. "//a[contains(@href,'ifolder.ru')]"
  7509. );
  7510. }
  7511. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7512. {
  7513. addFileHost(
  7514. 'fileswap\\.com\/dl\/\\w+',
  7515. 'bttnDownloadLink"',
  7516. 'rounded_block_error"',
  7517. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7518. 'optional2--',
  7519. "//a[contains(@href,'fileswap.com/dl')]"
  7520. );
  7521. }*/
  7522. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7523. {
  7524. addFileHost(
  7525. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7526. 'var __error = 0|id="recaptchaPanel">',
  7527. 'FILES__DOESNT_EXIST|removed or did not exist',
  7528. 'optional--',
  7529. 'optional2--',
  7530. "//a[contains(@href,'filecloud.io/')]"
  7531. );
  7532. addFileHost(
  7533. 'ifile\\.it\/\\w+',
  7534. 'var __error = 0',
  7535. 'FILES__DOESNT_EXIST',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'ifile.it/')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. 'solidfiles\\.com\/\\w+',
  7545. 'id="download"|content="Download',
  7546. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'solidfiles.com/')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7553. {
  7554. addFileHost(
  7555. "(?:.\\.|)shareflare\\.net",
  7556. 'download-pnl|<div class="premium-block">',
  7557. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7564. {
  7565. addFileHost(
  7566. "u18116681.shareflare\\.net",
  7567. 'download-pnl|<div class="premium-block">',
  7568. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7569. 'optional--',
  7570. 'optional2--',
  7571. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7575. {
  7576. addFileHost(
  7577. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7578. 'file\\-list-orderby|section-filedetail">',
  7579. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'hellspy.')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7586. {
  7587. addFileHost(
  7588. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7589. '<body onload="">',
  7590. 'neexistuje|not exist',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7594. );
  7595. }
  7596. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7597. {
  7598. addFileHost(
  7599. "stahovanizasms\\.cz\/\\w+",
  7600. 'download\\.png>|font-size:11px><tr>',
  7601. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7602. 'optional--',
  7603. 'optional2--',
  7604. "//a[contains(@href,'stahovanizasms.cz')]"
  7605. );
  7606. }
  7607. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7608. {
  7609. addFileHost(
  7610. "share-links\\.biz\/\\w*",
  7611. 'online\\.gif',
  7612. '(?:offline|parts)\\.gif',
  7613. 'optional--',
  7614. 'optional2--',
  7615. "//a[contains(@href,'share-links.biz')]"
  7616. );
  7617. }
  7618. if (GM_getValue("Check_4shared_dot_com_links", false))
  7619. {
  7620. addFileHost(
  7621. "4shared\\.com\/.+\/",
  7622. '<input type="hidden" class="jsSocialTwDefaultText" value=|class="fileName light-blue f23',
  7623. 'class="warn\"|big red"|GetDataBack',
  7624. 'Service Unavailable',
  7625. 'optional2--',
  7626. "//a[contains(@href,'4shared.com')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7630. {
  7631. addFileHost(
  7632. "(?:www\\d+\.|)zippyshare\.com\/",
  7633. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7634. 'not exist|Status 404',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7641. {
  7642. addFileHost(
  7643. "mediafire\.com\/",
  7644. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7645. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7646. 'set to private',
  7647. 'optional2--',
  7648. "//a[contains(@href,'mediafire.com')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7652. {
  7653. addFileHost(
  7654. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7655. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7656. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7657. 'We will be back shortly',
  7658. 'GB</small>',
  7659. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7660. );
  7661. }
  7662. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7663. {
  7664. addFileHost(
  7665. "ulozisko\.sk\/",
  7666. 'Detaily',
  7667. 'neexistuje',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'ulozisko.sk')]"
  7671. );
  7672. }
  7673. if (GM_getValue("Check_box_dot_com_links", false))
  7674. {
  7675. addFileHost(
  7676. "box\.com\/\\w+",
  7677. 'download-file-btn|id="download_button|preview-download',
  7678. 'BIyMin.png| <div class="error_message|link has been removed',
  7679. 'optional--',
  7680. 'optional2--',
  7681. "//a[contains(@href,'app.box.com')]");
  7682. }
  7683. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7684. {
  7685. addFileHost(
  7686. "uptobox\\.com\/\\w+",
  7687. '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',
  7688. '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|لا يوجد أي ملف',
  7689. 'Maintenance',
  7690. 'optional2--',
  7691. "//a[contains(@href,'uptobox.com')]",
  7692. true
  7693. );
  7694. }
  7695. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7696. {
  7697. addFileHost(
  7698. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7699. 'FILE DOWNLOAD<',
  7700. 'File Does Not Exist',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'sharecash.org/download.php')]"
  7704. );
  7705. }
  7706. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7707. {
  7708. addFileHost(
  7709. "1fichier\\.com\/dir\/\\w+",
  7710. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7711. 'Shared Folder Not Found',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'1fichier.com/dir')]"
  7715. );
  7716. }
  7717. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7718. {
  7719. addFileHost(
  7720. "depositfiles\\.com\/folders\/\\w+",
  7721. '<div class="progressContainer">',
  7722. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'depositfiles.com/folders')]"
  7726. );
  7727. }
  7728. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7729. {
  7730. addFileHost(
  7731. "rapidfileshare\\.net/\\w+",
  7732. '<div id="upload-header-bg">',
  7733. '<div style="width:500px;text-align:left;">',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'rapidfileshare.net/')]"
  7737. );
  7738. }
  7739. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7740. {
  7741. addFileHost(
  7742. "stiahnito\\.sk/",
  7743. '<span class="filesize right">',
  7744. '<ol class="list-purp-2">',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'stiahnito.sk/')]"
  7748. );
  7749. }
  7750. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7751. {
  7752. addFileHost(
  7753. "rusfolder\\.(?:com|net)",
  7754. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7755. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7756. 'optional--',
  7757. 'optional2--',
  7758. "//a[contains(@href,'rusfolder')]"
  7759. );
  7760. }
  7761. if (GM_getValue("Check_catshare_dot_net_links", false))
  7762. {
  7763. addFileHost(
  7764. "catshare\\.net/\\w+",
  7765. '"icon-share|"col-xs-12',
  7766. 'alert alert-error',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'catshare.net/')]"
  7770. );
  7771. }
  7772. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "anonfiles\\.com/\\w+",
  7776. '"download_button"',
  7777. '<legend><b>404</b>',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'anonfiles.com')]"
  7781. );
  7782. }*/
  7783. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7784. {
  7785. addFileHost(
  7786. "mixturecloud\\.com/media/\\w+",
  7787. '"btn icon i_globe gray share_150',
  7788. '"s_cross_close"></span> 404:',
  7789. 'optional--',
  7790. 'optional2--',
  7791. "//a[contains(@href,'mixturecloud.com/media/')]"
  7792. );
  7793. }
  7794. if (GM_getValue("Check_akafile_dot_com_links", false))
  7795. {
  7796. addFileHost(
  7797. "akafile\\.com\/\\w+",
  7798. 'download1',
  7799. 'File Not Found',
  7800. 'optional--',
  7801. 'optional2--',
  7802. "//a[contains(@href,'akafile.com/')]"
  7803. );
  7804. }
  7805. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7806. {
  7807. addFileHost(
  7808. "creafile\\.net\/\\w+",
  7809. 'downloadblock',
  7810. 'errtitle',
  7811. 'optional--',
  7812. 'optional2--',
  7813. "//a[contains(@href,'creafile.net/')]"
  7814. );
  7815. }*/
  7816. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7817. {
  7818. addFileHost(
  7819. "hugefiles\\.net\/\\w+",
  7820. 'download1|class="btn-create-download" value="Create Download Link">',
  7821. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7822. 'optional--',
  7823. 'optional2--',
  7824. "//a[contains(@href,'hugefiles.net/')]"
  7825. );
  7826. }*/
  7827. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7828. {
  7829. addFileHost(
  7830. "sendmyway\\.com\/\\w+",
  7831. 'id="btn_download"',
  7832. '500px;text-align:left;"|<center><h3>',
  7833. 'optional--',
  7834. 'optional2--',
  7835. "//a[contains(@href,'sendmyway.com/')]"
  7836. );
  7837. }
  7838. if (GM_getValue("Check_upload_dot_ee_links", false))
  7839. {
  7840. addFileHost(
  7841. "upload\\.ee\/\\w+",
  7842. 'onmouseout="document.dllink.src',
  7843. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'upload.ee/')]"
  7847. );
  7848. }
  7849. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7850. {
  7851. addFileHost(
  7852. "shareplace\\.org\/\\?\\w+",
  7853. 'Download-Link',
  7854. 'Your requested file is not found|Select file to send',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'shareplace.org/?')]"
  7858. );
  7859. }
  7860. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7861. {
  7862. addFileHost(
  7863. "uploadc\\.com\/\\w+",
  7864. 'id="prebut"',
  7865. 'File Not Found|This file has been removed due',
  7866. 'optional--',
  7867. 'optional2--',
  7868. "//a[contains(@href,'uploadc.com/')]"
  7869. );
  7870. }
  7871. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7872. {
  7873. addFileHost(
  7874. "uploadc\\.ch\/\\w+",
  7875. 'id="prebut"',
  7876. 'File Not Found|This file has been removed due',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'uploadc.ch/')]"
  7880. );
  7881. }
  7882. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7883. {
  7884. addFileHost(
  7885. "remixshare\\.com\/\\w+",
  7886. 'id="dl2"',
  7887. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7888. 'optional--',
  7889. 'optional2--',
  7890. "//a[contains(@href,'remixshare.com/')]"
  7891. );
  7892. }*/
  7893. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7894. {
  7895. addFileHost(
  7896. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7897. 'Last Download :',
  7898. 'img src="\\/404.jpg"',
  7899. 'optional--',
  7900. 'optional2--',
  7901. "//a[contains(@href,'exoshare.com/download.php')]"
  7902. );
  7903. }
  7904. if (GM_getValue("Check_borncash_dot_org_links", false))
  7905. {
  7906. addFileHost(
  7907. "borncash\\.org\/download\/\\?a=\\w+",
  7908. 'class="knop_1"',
  7909. '\/error\/er00',
  7910. 'optional--',
  7911. 'optional2--',
  7912. "//a[contains(@href,'borncash.org/download/')]"
  7913. );
  7914. }
  7915. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7916. {
  7917. addFileHost(
  7918. "vidplay\.net\/\\w+",
  7919. 'solvemedia puzzle widget',
  7920. 'File not found|AVOID_IE_BUG',
  7921. 'optional--',
  7922. 'optional2--',
  7923. "//a[contains(@href,'vidplay.net')]");
  7924. }*/
  7925. if (GM_getValue("Check_filedais_dot_com_links", false))
  7926. {
  7927. addFileHost(
  7928. "filedais\.com\/\\w+",
  7929. 'class="btn btn-info"|name="method_free"',
  7930. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7931. 'optional--',
  7932. 'optional2--',
  7933. "//a[contains(@href,'filedais.com')]");
  7934. }
  7935. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7936. {
  7937. addFileHost(
  7938. "up.4share\.vn\/\\w+",
  7939. '<font size="2" face="Verdana">',
  7940. 'font: 13px Tahoma; color: Brown',
  7941. 'optional--',
  7942. 'optional2--',
  7943. "//a[contains(@href,'up.4share.vn')]");
  7944. }
  7945. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7946. {
  7947. addFileHost(
  7948. "share.vnn\.vn\/\\w+",
  7949. '"index,follow"|<div class="main" id="download-box">',
  7950. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7951. 'optional--',
  7952. 'optional2--',
  7953. "//a[contains(@href,'share.vnn.vn')]");
  7954. }
  7955. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7956. {
  7957. addFileHost(
  7958. "upfile\.vn\/\\w+",
  7959. 'download-timer',
  7960. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7961. 'optional--',
  7962. 'optional2--',
  7963. "//a[contains(@href,'upfile.vn')]");
  7964. }
  7965. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7966. {
  7967. addFileHost(
  7968. "aisfile\.com\/\\w+",
  7969. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7970. '<div style="width:500px;text-align:left;">|File Not Found',
  7971. 'optional--',
  7972. 'optional2--',
  7973. "//a[contains(@href,'aisfile.com')]");
  7974. }
  7975. /* if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7976. {
  7977. addFileHost(
  7978. "usersfiles\.com\/\\w+",
  7979. 'class="btn btn-success|id="btn_download" class="btn"',
  7980. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7981. 'optional--',
  7982. 'optional2--',
  7983. "//a[contains(@href,'usersfiles.com')]");
  7984. } */
  7985. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7986. {
  7987. addFileHost(
  7988. "pan.baidu\.com\/\\w+",
  7989. 'target="_blank" title=|share-personal-info',
  7990. 'share_notfound.png|background:#f9f9f9',
  7991. 'optional--',
  7992. 'optional2--',
  7993. "//a[contains(@href,'pan.baidu.com')]");
  7994. }
  7995. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7996. {
  7997. addFileHost(
  7998. "yunpan\.cn\/\\w+",
  7999. 'class="icon icon-download',
  8000. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  8001. 'optional--',
  8002. 'optional2--',
  8003. "//a[contains(@href,'yunpan.cn')]");
  8004. }
  8005. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  8006. {
  8007. addFileHost(
  8008. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  8009. 'getElementById("downbild")|style.display',
  8010. 'hochgeladene Datei nicht gefunden werden|has not been found',
  8011. 'optional--',
  8012. 'optional2--',
  8013. "//a[contains(@href,'file-upload.net')]");
  8014. }
  8015. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  8016. {
  8017. addFileHost(
  8018. "file\\-upload\\.com\/",
  8019. 'name="method_free"',
  8020. 'File Not Found|exclamation-triangle',
  8021. 'optional--',
  8022. 'optional2--',
  8023. "//a[contains(@href,'file-upload.com')]");
  8024. }
  8025. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  8026. {
  8027. addFileHost(
  8028. "gulfup\.com\/",
  8029. '<!-- Downlod template -->|download.gif',
  8030. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  8031. 'optional--',
  8032. 'optional2--',
  8033. "//a[contains(@href,'gulfup.com')]");
  8034. }*/
  8035. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8036. {
  8037. addFileHost(
  8038. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8039. 'dldtable">',
  8040. 'does not exist\\.',
  8041. 'optional--',
  8042. 'optional2--',
  8043. "//a[contains(@href,'datafilehost.com')]");
  8044. }
  8045. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8046. {
  8047. addFileHost(
  8048. "dropbox\.com\/s\/\\w+",
  8049. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8050. '>Nothing Here<|>Error (404)<',
  8051. 'title>Dropbox - 509|Error (403)|Error: 429',
  8052. 'optional2--',
  8053. "//a[contains(@href,'dropbox.com')]");
  8054. }
  8055. if (GM_getValue("Check_box_dot_net_links", false))
  8056. {
  8057. addFileHost(
  8058. "box\.net\/\\w+",
  8059. 'download-file-btn|id="download_button',
  8060. 'BIyMin.png| <div class="error_message',
  8061. 'optional--',
  8062. 'optional2--',
  8063. "//a[contains(@href,'box.net')]");
  8064. }
  8065. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8066. {
  8067. addFileHost(
  8068. "filedropper\.com\/\\w+",
  8069. 'background:#ddd;|width:985px; ',
  8070. 'background-color:#FFFFFF;|margin-left: -400px;',
  8071. 'optional--',
  8072. 'optional2--',
  8073. "//a[contains(@href,'filedropper.com')]");
  8074. }
  8075. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8076. {
  8077. addFileHost(
  8078. "tropicshare\\.com\/files\/\\d+",
  8079. 'MB</span>|GB</span>|KB</span>',
  8080. '>FNF<|size: </span>',
  8081. 'optional--',
  8082. 'optional2--',
  8083. "//a[contains(@href,'tropicshare.com')]");
  8084. }
  8085. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8086. {
  8087. addFileHost(
  8088. "worldbytez\.com",
  8089. '<div class="download_type">|method_free',
  8090. '<div style="width:500px;text-align:left;">',
  8091. 'optional--',
  8092. 'optional2--',
  8093. "//a[contains(@href,'worldbytez.com')]",
  8094. true);
  8095. }
  8096. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8097. {
  8098. addFileHost(
  8099. "freefilehosting\.net\/\\w+",
  8100. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8101. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8102. 'optional--',
  8103. 'optional2--',
  8104. "//a[contains(@href,'freefilehosting.net')]");
  8105. }
  8106. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8107. {
  8108. addFileHost(
  8109. "ziddu\.com\/\\w+",
  8110. 'downloads.ziddu.com|downloadfilelinkicon',
  8111. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8112. 'optional--',
  8113. 'optional2--',
  8114. "//a[contains(@href,'ziddu.com')]");
  8115. }
  8116. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8117. {
  8118. addFileHost(
  8119. "exclusiveloader\.com\/\\w+",
  8120. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8121. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8122. 'optional--',
  8123. 'optional2--',
  8124. "//a[contains(@href,'exclusiveloader.com')]");
  8125. }
  8126. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8127. {
  8128. addFileHost(
  8129. "sharerapid\.cz\/\\w+",
  8130. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8131. 'error_div">|404 - Not Found',
  8132. 'optional--',
  8133. 'optional2--',
  8134. "//a[contains(@href,'sharerapid.cz')]");
  8135. }
  8136. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8137. {
  8138. addFileHost(
  8139. "sdilej\.cz\/\\w+",
  8140. 'class="page-download"',
  8141. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8142. 'optional--',
  8143. 'optional2--',
  8144. "//a[contains(@href,'sdilej.cz')]");
  8145. }
  8146. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8147. {
  8148. addFileHost(
  8149. "lafiles\.com\/\\w+",
  8150. '<div id="pay_modes">',
  8151. '<b class="err"></b>',
  8152. 'optional--',
  8153. 'optional2--',
  8154. "//a[contains(@href,'lafiles.com')]");
  8155. }
  8156. if (GM_getValue("Check_acefile_dot_net_links", false))
  8157. {
  8158. addFileHost(
  8159. "acefile\.net\/\\w+",
  8160. 'align=right nowrap><b>',
  8161. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8162. 'optional--',
  8163. 'optional2--',
  8164. "//a[contains(@href,'acefile.net')]");
  8165. }
  8166. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8167. {
  8168. addFileHost(
  8169. "megarapid\.cz\/\\w+",
  8170. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8171. 'error_div">|404 - Not Found',
  8172. 'optional--',
  8173. 'optional2--',
  8174. "//a[contains(@href,'megarapid.cz')]");
  8175. }
  8176. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8177. {
  8178. addFileHost(
  8179. "yadi\.sk\/\\w+",
  8180. 'nb-button _nb-small-button',
  8181. 'error code|Nothing found',
  8182. 'optional--',
  8183. 'optional2--',
  8184. "//a[contains(@href,'yadi.sk')]");
  8185. }
  8186. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8187. {
  8188. addFileHost(
  8189. "hitfile\.net\/\\w+",
  8190. 'class="download-file',
  8191. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8192. 'optional--',
  8193. 'optional2--',
  8194. "//a[contains(@href,'hitfile.net')]");
  8195. }
  8196. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8197. {
  8198. addFileHost(
  8199. "up.top4top\.net\/\\w+",
  8200. 'start Downlod template',
  8201. 'start err template',
  8202. 'optional--',
  8203. 'optional2--',
  8204. "//a[contains(@href,'up.top4top.net')]");
  8205. }
  8206. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8207. {
  8208. addFileHost(
  8209. "filejoker\.net",
  8210. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8211. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8212. 'optional--',
  8213. 'id="download" class="premium-only">',
  8214. "//a[contains(@href,'filejoker.net')]");
  8215. }
  8216. if (GM_getValue("Check_dl_dot_free_dot_fr_links", false))
  8217. {
  8218. addFileHost(
  8219. "dl(?:\\.free)?\\.fr\/\\w+",
  8220. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8221. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8222. 'optional--',
  8223. 'optional2--',
  8224. "//a[contains(@href,'dl.free.fr')]");
  8225. }
  8226. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8227. {
  8228. addFileHost(
  8229. "gboxes\.com\/\\w+",
  8230. 'You have requested|color="red">http://www.gboxes.com',
  8231. 'File Not Found|<div style="width:500px;text-align:left;">',
  8232. 'optional--',
  8233. 'optional2--',
  8234. "//a[contains(@href,'gboxes.com')]");
  8235. }
  8236. if (GM_getValue("Check_led_dot_wf_links", false))
  8237. {
  8238. addFileHost(
  8239. "led\.wf\/\\w+",
  8240. 'logo_0.png|downloads.gif"|verifycode',
  8241. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8242. 'optional--',
  8243. 'available only for Premium users|Premium users can restore files',
  8244. "//a[contains(@href,'led.wf')]");
  8245. }
  8246. if (GM_getValue("Check_lan_dot_wf_links", false))
  8247. {
  8248. addFileHost(
  8249. "lan\.wf\/\\w+",
  8250. 'logo_0.png|downloads.gif"|verifycode',
  8251. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8252. 'optional--',
  8253. 'available only for Premium users|Premium users can restore files',
  8254. "//a[contains(@href,'lan.wf')]");
  8255. }
  8256. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8257. {
  8258. addFileHost(
  8259. "adlink\.wf\/\\w+",
  8260. 'logo_0.png|downloads.gif"|verifycode',
  8261. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8262. 'optional--',
  8263. 'available only for Premium users|Premium users can restore files',
  8264. "//a[contains(@href,'adlink.wf')]");
  8265. }
  8266. if (GM_getValue("Check_click_dot_tf_links", false))
  8267. {
  8268. addFileHost(
  8269. "click\.tf\/\\w+",
  8270. 'logo_0.png|downloads.gif"|verifycode',
  8271. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8272. 'optional--',
  8273. 'available only for Premium users|Premium users can restore files',
  8274. "//a[contains(@href,'click.tf')]");
  8275. }
  8276. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8277. {
  8278. addFileHost(
  8279. "ssh\.tf\/\\w+",
  8280. 'logo_0.png|downloads.gif"|verifycode',
  8281. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8282. 'optional--',
  8283. 'available only for Premium users|Premium users can restore files',
  8284. "//a[contains(@href,'ssh.tf')]");
  8285. }
  8286. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8287. {
  8288. addFileHost(
  8289. "ssh\.yt\/\\w+",
  8290. 'logo_0.png|downloads.gif"|verifycode',
  8291. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon|mdb error',
  8292. 'optional--',
  8293. 'available only for Premium users|Premium users can restore files',
  8294. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8295. }
  8296. if (GM_getValue("Check_yep_dot_pm_links", false))
  8297. {
  8298. addFileHost(
  8299. "yep\.pm\/\\w+",
  8300. 'logo_0.png|downloads.gif"|verifycode',
  8301. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|mdb error',
  8302. 'optional--',
  8303. 'available only for Premium users|Premium users can restore files',
  8304. "//a[contains(@href,'yep.pm')]");
  8305. }
  8306. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8307. {
  8308. addFileHost(
  8309. "kyc\.pm\/\\w+",
  8310. 'logo_0.png|downloads.gif"|verifycode',
  8311. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<|mdb error',
  8312. 'optional--',
  8313. 'available only for Premium users|Premium users can restore files',
  8314. "//a[contains(@href,'kyc.pm')]");
  8315. }
  8316. if (GM_getValue("Check_brupload_dot_net_links", false))
  8317. {
  8318. addFileHost(
  8319. "brupload\.net\/\\w+",
  8320. 'Download Gratuito',
  8321. '<div style="width:500px;text-align:left;">',
  8322. 'optional--',
  8323. 'optional2--',
  8324. "//a[contains(@href,'brupload.net')]");
  8325. }
  8326. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8327. {
  8328. addFileHost(
  8329. "cloudzilla\.to\/\\w+",
  8330. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8331. 'File not found|/imgs/broken.png',
  8332. 'optional--',
  8333. 'optional2--',
  8334. "//a[contains(@href,'cloudzilla.to')]");
  8335. } */
  8336. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8337. {
  8338. addFileHost(
  8339. "clicknupload\.com\/\\w+",
  8340. 'name="method_free',
  8341. 'File Not Found',
  8342. 'optional--',
  8343. 'optional2--',
  8344. "//a[contains(@href,'clicknupload.com')]");
  8345. }
  8346. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8347. {
  8348. addFileHost(
  8349. "clicknupload\.me\/\\w+",
  8350. 'name="method_free',
  8351. 'File Not Found',
  8352. 'optional--',
  8353. 'optional2--',
  8354. "//a[contains(@href,'clicknupload.me')]");
  8355. }
  8356. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8357. {
  8358. addFileHost(
  8359. "clicknupload\.link\/\\w+",
  8360. 'name="method_free',
  8361. 'File Not Found',
  8362. 'optional--',
  8363. 'optional2--',
  8364. "//a[contains(@href,'clicknupload.link')]");
  8365. }
  8366. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8367. {
  8368. addFileHost(
  8369. "clicknupload\.org\/\\w+",
  8370. 'name="method_free',
  8371. 'File Not Found',
  8372. 'optional--',
  8373. 'optional2--',
  8374. "//a[contains(@href,'clicknupload.org')]");
  8375. }
  8376. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8377. {
  8378. addFileHost(
  8379. "ex-load\.com\/\\w+",
  8380. 'name="method_free|<p>Download File:</p>',
  8381. 'Folder Not Found|File Not Found|Error 404',
  8382. 'optional--',
  8383. 'class="downprem wow bounceInLeft',
  8384. "//a[contains(@href,'ex-load.com')]");
  8385. }
  8386. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8387. {
  8388. addFileHost(
  8389. "hexupload\.com\/\\w+",
  8390. 'button" value="Free|type="submit" value=""',
  8391. 'File Not Found|<div style="width:500px;text-align:left;">',
  8392. 'optional--',
  8393. 'optional2--',
  8394. "//a[contains(@href,'hexupload.com')]");
  8395. }*/
  8396. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8397. {
  8398. addFileHost(
  8399. "wizupload\.com\/\\w+",
  8400. 'btn_download|class="downloadbtn"',
  8401. '>File Not Found<',
  8402. 'optional--',
  8403. 'optional2--',
  8404. "//a[contains(@href,'wizupload.com')]");
  8405. }
  8406. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8407. {
  8408. addFileHost(
  8409. "inclouddrive\.com\/\\w+",
  8410. 'initfreedownload',
  8411. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8412. 'optional--',
  8413. 'optional2--',
  8414. "//a[contains(@href,'inclouddrive.com')]");
  8415. }
  8416. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8417. {
  8418. addFileHost(
  8419. "radicalshare\.com\/\\w+",
  8420. 'value="download1|name="method_free"',
  8421. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8422. 'optional--',
  8423. 'optional2--',
  8424. "//a[contains(@href,'radicalshare.com')]");
  8425. }*/
  8426. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8427. {
  8428. addFileHost(
  8429. "sharemods\.com\/\\w+",
  8430. 'name="method_free"',
  8431. 'File Not Found<',
  8432. 'optional--',
  8433. 'optional2--',
  8434. "//a[contains(@href,'sharemods.com')]");
  8435. }
  8436. if (GM_getValue("Check_hostr_dot_co_links", false))
  8437. {
  8438. addFileHost(
  8439. "hostr\.co\/\\w+",
  8440. 'method="get"',
  8441. 'File not found<|error-page',
  8442. 'optional--',
  8443. 'optional2--',
  8444. "//a[contains(@href,'hostr.co')]");
  8445. }
  8446. if (GM_getValue("Check_filepi_dot_com_links", false))
  8447. {
  8448. addFileHost(
  8449. "filepi\.com\/\\w+",
  8450. 'id="button_start">',
  8451. 'File not found',
  8452. 'optional--',
  8453. 'optional2--',
  8454. "//a[contains(@href,'filepi.com')]");
  8455. }
  8456. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8457. {
  8458. addFileHost(
  8459. "tikfile\.com\/\\w+",
  8460. 'btn_download',
  8461. 'File Not Found|file was removed|Reason for deletion',
  8462. 'optional--',
  8463. 'optional2--',
  8464. "//a[contains(@href,'tikfile.com')]");
  8465. }
  8466. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8467. {
  8468. addFileHost(
  8469. "cloudsix\.me\/\\w+",
  8470. 'name="method_free"',
  8471. 'File Not Found|width:500px;text-align:left;">',
  8472. 'optional--',
  8473. 'optional2--',
  8474. "//a[contains(@href,'cloudsix.me')]");
  8475. }
  8476. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8477. {
  8478. addFileHost(
  8479. "neodrive\.co\/\\w+",
  8480. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8481. 'File not found|/imgs/broken.png',
  8482. 'optional--',
  8483. 'optional2--',
  8484. "//a[contains(@href,'neodrive.co')]");
  8485. } */
  8486. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8487. {
  8488. addFileHost(
  8489. "chayfile\.com\/\\w+",
  8490. 'name="method_free"',
  8491. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8492. 'optional--',
  8493. 'optional2--',
  8494. "//a[contains(@href,'chayfile.com')]");
  8495. }
  8496. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8497. {
  8498. addFileHost(
  8499. "xfileload\.com\/\\w+",
  8500. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8501. '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..|הקובץ שחיפשת לא נמצא.',
  8502. 'optional--',
  8503. 'optional2--',
  8504. "//a[contains(@href,'xfileload.com')]");
  8505. }*/
  8506. if (GM_getValue("Check_rockfile_dot_co_links", false))
  8507. {
  8508. addFileHost(
  8509. "rockfile\.co\/\\w+",
  8510. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8511. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8512. 'optional--',
  8513. 'optional2--',
  8514. "//a[contains(@href,'rockfile.co')]",
  8515. true);
  8516. }
  8517. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8518. {
  8519. addFileHost(
  8520. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8521. 'i/icon/dll.png"|>Start download<br|method_free',
  8522. 'no longer available<|i/ino.png"|File Not Found',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8526. }
  8527. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "ozofiles\.com\/\\w+",
  8531. 'button" value="Free|name="method_free',
  8532. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'ozofiles.com')]");
  8536. }
  8537. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8538. {
  8539. addFileHost(
  8540. "userscloud\.com\/\\w+",
  8541. 'btn_download|class="label label-success">',
  8542. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'userscloud.com')]");
  8546. }
  8547. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8548. {
  8549. addFileHost(
  8550. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8551. 'class="button download',
  8552. 'internal server error',
  8553. 'optional--',
  8554. 'optional2--',
  8555. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8556. }
  8557. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8558. {
  8559. addFileHost(
  8560. "kb.simple-aja\.info\/\\w+",
  8561. 'class="button download',
  8562. 'internal server error|<p>404</p>',
  8563. 'optional--',
  8564. 'optional2--',
  8565. "//a[contains(@href,'kb.simple')]");
  8566. }
  8567. if (GM_getValue("Check_faststore_dot_org_links", false))
  8568. {
  8569. addFileHost(
  8570. "faststore\.org\/\\w+",
  8571. 'name="method_free',
  8572. 'File Not Found',
  8573. 'optional--',
  8574. 'optional2--',
  8575. "//a[contains(@href,'faststore.org')]");
  8576. }
  8577. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8578. {
  8579. addFileHost(
  8580. "prefiles\.com\/\\w+",
  8581. 'id="method_free',
  8582. 'File not Found',
  8583. 'optional--',
  8584. 'optional2--',
  8585. "//a[contains(@href,'prefiles.com')]");
  8586. }
  8587. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8588. {
  8589. addFileHost(
  8590. "doraupload\.com\/\\w+",
  8591. 'btn_download|name="method_free',
  8592. 'class="error-code|Could Not Be Found',
  8593. 'optional--',
  8594. 'optional2--',
  8595. "//a[contains(@href,'doraupload.com')]");
  8596. }
  8597. if (GM_getValue("Check_openload_dot_io_links", false))
  8598. {
  8599. addFileHost(
  8600. "openload\.io\/\\w+",
  8601. 'btn btn-primary|class="count">|secondsleftouter',
  8602. 'class="jumbotron">|We are sorry',
  8603. 'optional--',
  8604. 'optional2--',
  8605. "//a[contains(@href,'openload.io')]");
  8606. }
  8607. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8608. {
  8609. addFileHost(
  8610. "zxcfiles\.com\/\\w+",
  8611. 'class="downloadbtn',
  8612. 'File Not Found',
  8613. 'optional--',
  8614. 'optional2--',
  8615. "//a[contains(@href,'zxcfiles.com')]");
  8616. }
  8617. if (GM_getValue("Check_up07_dot_net_links", false))
  8618. {
  8619. addFileHost(
  8620. "up07\.net\/\\w+",
  8621. 'name="method_free',
  8622. 'File Not Found',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'up07.net')]");
  8626. }
  8627. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8628. {
  8629. addFileHost(
  8630. "fileupload\.pw\/\\w+",
  8631. 'value="Free"',
  8632. 'File Not Found',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'fileupload.pw')]");
  8636. }
  8637. if (GM_getValue("Check_4upld_dot_com_links", false))
  8638. {
  8639. addFileHost(
  8640. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8641. 'alt="Download Now"|content="Download file">|btn-free-element',
  8642. '<title>Error|content="error|File not found',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8646. }
  8647. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8648. {
  8649. addFileHost(
  8650. "(?:.swoopshare)\\.com\/\\w+",
  8651. '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',
  8652. '<input type="file" name="f"',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'swoopshare.com')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8659. {
  8660. addFileHost(
  8661. "cloudshares\.net\/\\w+",
  8662. '"method_free|"Low Speed Download|submit" name="go',
  8663. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'cloudshares.net')]"
  8667. );
  8668. }
  8669. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8670. {
  8671. addFileHost(
  8672. "allmyvideos\.net\/\\w+",
  8673. 'Continue to Video',
  8674. 'File Not Found|class="err">Removed for',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'allmyvideos.net')]"
  8678. );
  8679. } */
  8680. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8681. {
  8682. addFileHost(
  8683. "voFdocker\.com\/\\w+",
  8684. 'Proceed to video',
  8685. 'Not Found',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'vodlocker.com')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8692. {
  8693. addFileHost(
  8694. "vidbull\.com\/\\w+",
  8695. 'Verifying Video Request',
  8696. 'File Not Found',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'vidbull.com')]");
  8700. }
  8701. if (GM_getValue("Check_novamov_dot_com_links", false))
  8702. {
  8703. addFileHost(
  8704. "novamov\.com\/\\w+",
  8705. 'For version detection',
  8706. 'file no longer exists',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'novamov.com')]"
  8710. );
  8711. }
  8712. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8713. {
  8714. addFileHost(
  8715. "filehoot\.com\/\\w+",
  8716. 'Continue to watch',
  8717. 'File Not Found',
  8718. 'optional--',
  8719. 'optional2--',
  8720. "//a[contains(@href,'filehoot.com')]"
  8721. );
  8722. }
  8723. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8724. {
  8725. addFileHost(
  8726. "stagevu\.com\/\\w+",
  8727. 'Video Info',
  8728. 'No video with the provided',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'stagevu.com')]"
  8732. );
  8733. }
  8734. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8735. {
  8736. addFileHost(
  8737. "cloudtime\.to\/\\w+",
  8738. 'Download the video',
  8739. 'no longer exists',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'cloudtime.to')]"
  8743. );
  8744. }
  8745. if (GM_getValue("Check_streamin_dot_to_links", false))
  8746. {
  8747. addFileHost(
  8748. "streamin\.to\/\\w+",
  8749. 'id="btn_download',
  8750. 'Not Found|Copyright Infringement|File Deleted',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'streamin.to')]"
  8754. );
  8755. }
  8756. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8757. {
  8758. addFileHost(
  8759. "videoweed\.es\/\\w+",
  8760. 'version detection',
  8761. 'no longer exists',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'videoweed.es')]"
  8765. );
  8766. }
  8767. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8768. {
  8769. addFileHost(
  8770. "nowvideo\.sx\/\\w+",
  8771. 'Download this video|value="submit">Continue',
  8772. 'no longer exists',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'nowvideo.sx')]"
  8776. );
  8777. }
  8778. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8779. {
  8780. addFileHost(
  8781. "thevideo\.me\/\\w+",
  8782. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8783. 'File Not Found',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'thevideo.me')]"
  8787. );
  8788. }
  8789. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8790. {
  8791. addFileHost(
  8792. "gorillavid\.in\/\\w+",
  8793. 'Wait 5 seconds',
  8794. 'File Not Found',
  8795. 'optional--',
  8796. 'optional2--',
  8797. "//a[contains(@href,'gorillavid.in')]"
  8798. );
  8799. }
  8800. if (GM_getValue("Check_thefile_dot_me_links", false))
  8801. {
  8802. addFileHost(
  8803. "thefile\.me\/\\w+",
  8804. 'Choose free or',
  8805. '',
  8806. 'optional--',
  8807. 'optional2--',
  8808. "//a[contains(@href,'thefile.me')]"
  8809. );
  8810. }
  8811. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8812. {
  8813. addFileHost(
  8814. "vidzi\.tv\/\\w+",
  8815. 'video-embed-modal row',
  8816. 'File Not Found|file was deleted',
  8817. 'optional--',
  8818. 'optional2--',
  8819. "//a[contains(@href,'vidzi.tv')]"
  8820. );
  8821. }
  8822. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8823. {
  8824. addFileHost(
  8825. "filenuke\.com\/\\w+",
  8826. 'Download File',
  8827. 'Earn with us',
  8828. 'optional--',
  8829. 'optional2--',
  8830. "//a[contains(@href,'filenuke.com')]"
  8831. );
  8832. }
  8833. if (GM_getValue("Check_vidto_dot_me_links", false))
  8834. {
  8835. addFileHost(
  8836. "vidto\.me\/\\w+",
  8837. 'Proceed to video',
  8838. 'Not Found',
  8839. 'optional--',
  8840. 'optional2--',
  8841. "//a[contains(@href,'vidto.me')]"
  8842. );
  8843. }
  8844. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8845. {
  8846. addFileHost(
  8847. "vidspot\.net\/\\w+",
  8848. 'Duration|method_free',
  8849. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8850. 'optional--',
  8851. 'optional2--',
  8852. "//a[contains(@href,'vidspot.net')]"
  8853. );
  8854. } */
  8855. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8856. {
  8857. addFileHost(
  8858. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8859. 'Download File',
  8860. 'File Not Found',
  8861. 'optional--',
  8862. 'optional2--',
  8863. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8864. );
  8865. }
  8866. if (GM_getValue("Check_movpod_dot_in_links", false))
  8867. {
  8868. addFileHost(
  8869. "movpod\.in\/\\w+",
  8870. 'Continue',
  8871. 'File Not Found',
  8872. 'optional--',
  8873. 'optional2--',
  8874. "//a[contains(@href,'movpod.in')]"
  8875. );
  8876. }
  8877. if (GM_getValue("Check_down4files_dot_com_links", false))
  8878. {
  8879. addFileHost(
  8880. "down4files\.com\/\\w+",
  8881. 'down_table.png',
  8882. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8883. 'optional--',
  8884. 'optional2--',
  8885. "//a[contains(@href,'down4files.com')]"
  8886. );
  8887. }
  8888. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8889. {
  8890. addFileHost(
  8891. "storefiles\.co\/\\w+",
  8892. 'btn_download',
  8893. 'No such file|>Error<|mqmaintitle">',
  8894. 'optional--',
  8895. 'optional2--',
  8896. "//a[contains(@href,'storefiles.co')]"
  8897. );
  8898. }*/
  8899. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8900. {
  8901. addFileHost(
  8902. "filehost\.pw\/\\w+",
  8903. 'name="method_free',
  8904. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8905. 'optional--',
  8906. 'optional2--',
  8907. "//a[contains(@href,'filehost.pw')]"
  8908. );
  8909. }
  8910. /* if (GM_getValue("Check_uplea_dot_com_links", false))
  8911. {
  8912. addFileHost(
  8913. "uplea\.com\/\\w+",
  8914. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8915. 'expired link|ou est invalide',
  8916. 'optional--',
  8917. 'optional2--',
  8918. "//a[contains(@href,'uplea.com/dl')]",
  8919. true);
  8920. }
  8921. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8922. {
  8923. addFileHost(
  8924. "toutbox\.fr\/\\w+",
  8925. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8926. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8927. 'Serviço temporariamente indisponível',
  8928. 'optional2--',
  8929. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8930. );
  8931. }*/
  8932. if (GM_getValue("Check_openload_dot_co_links", false))
  8933. {
  8934. addFileHost(
  8935. "openload\.co\/\\w+",
  8936. 'id="downloadTimer">|button dlbutton',
  8937. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8938. 'optional--',
  8939. 'optional2--',
  8940. "//a[contains(@href,'openload.co')]"
  8941. );
  8942. }
  8943. if (GM_getValue("Check_oload_dot_tv_links", false))
  8944. {
  8945. addFileHost(
  8946. "oload\.tv\/\\w+",
  8947. 'id="downloadTimer">|button dlbutton',
  8948. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8949. 'optional--',
  8950. 'optional2--',
  8951. "//a[contains(@href,'oload.tv')]"
  8952. );
  8953. }
  8954. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8955. {
  8956. addFileHost(
  8957. "lolabits\.es\/\\w+",
  8958. 'Descargar:',
  8959. '<title>Archivos de usuario',
  8960. 'Service Unavailable',
  8961. 'optional2--',
  8962. "//a[contains(@href,'lolabits.es')]"
  8963. );
  8964. }*/
  8965. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8966. {
  8967. addFileHost(
  8968. "alfafile\.net\/\\w+",
  8969. 'id="slow_download_btn',
  8970. 'class="error-box">',
  8971. 'optional--',
  8972. 'optional2--',
  8973. "//a[contains(@href,'alfafile.net')]"
  8974. );
  8975. }
  8976. if (GM_getValue("Check_multiup_dot_org_links", false))
  8977. {
  8978. addFileHost(
  8979. "multiup\\.(?:org|eu)\/\\w+",
  8980. '<title>Download|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8981. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable|<title>Télécharger - Multi Upload',
  8982. 'optional--',
  8983. 'optional2--',
  8984. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8985. );
  8986. }
  8987. if (GM_getValue("Check_file_dot_al_links", false))
  8988. {
  8989. addFileHost(
  8990. "file\\.al|1f.al",
  8991. 'method_free',
  8992. 'style="width:500px;text-align:left;">|invalid license_key',
  8993. 'optional--',
  8994. 'optional2--',
  8995. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8996. );
  8997. }
  8998. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8999. {
  9000. addFileHost(
  9001. "devilshare\.net\/\\w+",
  9002. '<div class="large-12" id="download">',
  9003. '(Link: 0 Invalid)|File Not Found',
  9004. 'optional--',
  9005. 'optional2--',
  9006. "//a[contains(@href,'devilshare.net')]"
  9007. );
  9008. }
  9009. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9010. {
  9011. addFileHost(
  9012. "dailyuploads\.net\/\\w+",
  9013. 'id="downloadBtnClickOrignal',
  9014. '<div style="width:500px;text-align:left;">',
  9015. 'optional--',
  9016. 'optional2--',
  9017. "//a[contains(@href,'dailyuploads.net')]"
  9018. );
  9019. }
  9020. /* if (GM_getValue("Check_datoteke_dot_com_links", false))
  9021. {
  9022. addFileHost(
  9023. "datoteke\.com\/\\w+",
  9024. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9025. '&nbsp;File has been removed',
  9026. 'optional--',
  9027. '<title>Error - Datoteke',
  9028. "//a[contains(@href,'datoteke.com')]"
  9029. );
  9030. } */
  9031. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9032. {
  9033. addFileHost(
  9034. "sharehost\.eu\/\\w+",
  9035. '/?v=download_free&',
  9036. 'Errors occured|Wystąpiły błędy',
  9037. 'optional--',
  9038. 'optional2--',
  9039. "//a[contains(@href,'sharehost.eu')]"
  9040. );
  9041. }
  9042. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9043. {
  9044. addFileHost(
  9045. "pornfile\.cz",
  9046. 'Stáhnout soubor|Stáhnout pomalu',
  9047. 'Soubor byl smazán|Stránka nenalezena',
  9048. 'optional--',
  9049. 'optional2--',
  9050. "//a[contains(@href,'pornfile.cz')]"
  9051. );
  9052. }
  9053. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9054. {
  9055. addFileHost(
  9056. "pornoid\.cz\/\\w+",
  9057. 'class="btn btn-large btn-download',
  9058. 'Soubor byl smazán',
  9059. 'optional--',
  9060. 'optional2--',
  9061. "//a[contains(@href,'pornoid.cz')]"
  9062. );
  9063. }
  9064. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9065. {
  9066. addFileHost(
  9067. "file-share\.top\/\\w+",
  9068. 'btn-success btn-lg download',
  9069. 'Stránka neexistuje|404 Not Found',
  9070. 'optional--',
  9071. 'optional2--',
  9072. "//a[contains(@href,'file-share.top')]"
  9073. );
  9074. }
  9075. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9076. {
  9077. addFileHost(
  9078. "bitster\.cz\/",
  9079. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9080. 'section" content=""',
  9081. 'optional--',
  9082. 'optional2--',
  9083. "//a[contains(@href,'bitster.cz')]"
  9084. );
  9085. }
  9086. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9087. {
  9088. addFileHost(
  9089. "rapidu\.net\/\\w+",
  9090. 'onclick="downloadFreeFile',
  9091. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9092. 'optional--',
  9093. 'optional2--',
  9094. "//a[contains(@href,'rapidu.net')]"
  9095. );
  9096. }
  9097. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9098. {
  9099. addFileHost(
  9100. "dinoshare\.cz\/\\w+",
  9101. 'class="download-button"',
  9102. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9103. 'optional--',
  9104. 'optional2--',
  9105. "//a[contains(@href,'dinoshare.cz')]"
  9106. );
  9107. }
  9108. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9109. {
  9110. addFileHost(
  9111. "bytewhale\.com\/\\w+",
  9112. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9113. 'var rawest = "0 MB|Copyrights Claim</div>',
  9114. 'optional--',
  9115. 'This file is available for premium members only',
  9116. "//a[contains(@href,'bytewhale.com')]"
  9117. );
  9118. }
  9119. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9120. {
  9121. addFileHost(
  9122. "rapidrar\.com\/\\w+",
  9123. 'value="Free Download',
  9124. '<div style="width:500px;text-align:left;">',
  9125. 'optional--',
  9126. 'optional--',
  9127. "//a[contains(@href,'rapidrar.com')]"
  9128. );
  9129. }
  9130. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9131. {
  9132. addFileHost(
  9133. "filesupload\.org\/\\w+",
  9134. '<a href="/download-or-watch/',
  9135. 'File not found',
  9136. 'optional--',
  9137. 'optional--',
  9138. "//a[contains(@href,'filesupload.org')]"
  9139. );
  9140. }
  9141. if (GM_getValue("Check_filecad_dot_com_links", false))
  9142. {
  9143. addFileHost(
  9144. "filecad\.com\/\\w+",
  9145. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9146. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9147. 'optional--',
  9148. 'optional--',
  9149. "//a[contains(@href,'filecad.com')]"
  9150. );
  9151. }
  9152. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9153. {
  9154. addFileHost(
  9155. "file.up09\.com\/\\w+",
  9156. 'name="method_free',
  9157. 'style="width:500px;text-align:left;">',
  9158. 'optional--',
  9159. 'optional--',
  9160. "//a[contains(@href,'file.up09.com')]"
  9161. );
  9162. }
  9163. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9164. {
  9165. addFileHost(
  9166. "lunaticfiles\.com\/\\w+",
  9167. 'name="method_free"',
  9168. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9169. 'optional--',
  9170. 'optional--',
  9171. "//a[contains(@href,'lunaticfiles.com')]"
  9172. );
  9173. }
  9174. if (GM_getValue("Check_upload_dot_af_links", false))
  9175. {
  9176. addFileHost(
  9177. "upload\.af\/\\w+",
  9178. 'id="method_free"',
  9179. '<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|ファイルが見つかりません',
  9180. 'optional--',
  9181. 'optional--',
  9182. "//a[contains(@href,'upload.af')]"
  9183. );
  9184. }
  9185. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9186. {
  9187. addFileHost(
  9188. "filedwon\.info\/\\w+",
  9189. 'name="method_free"',
  9190. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9191. 'optional--',
  9192. 'optional--',
  9193. "//a[contains(@href,'filedwon.info')]"
  9194. );
  9195. }
  9196. if (GM_getValue("Check_uplod_dot_it_links", false))
  9197. {
  9198. addFileHost(
  9199. "uplod\.it\/\\w+",
  9200. 'value="download2">|name="method_free',
  9201. '<Title>Download </Title>',
  9202. 'optional--',
  9203. 'optional--',
  9204. "//a[contains(@href,'uplod.it')]"
  9205. );
  9206. }
  9207. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9208. {
  9209. addFileHost(
  9210. "abelhas\.pt\/\\w+",
  9211. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9212. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9213. 'optional--',
  9214. 'optional--',
  9215. "//a[contains(@href,'abelhas.pt')]"
  9216. );
  9217. } */
  9218. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9219. {
  9220. addFileHost(
  9221. "disk.yandex\.com\/\\w+",
  9222. 'nb-button _nb-small-button',
  9223. 'error code|Nothing found',
  9224. 'optional--',
  9225. 'optional2--',
  9226. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9227. }
  9228. if (GM_getValue("Check_filespace_dot_com_links", false))
  9229. {
  9230. addFileHost(
  9231. "filespace\.com\/\\w+",
  9232. '"method_free',
  9233. '<div style="text-align:left;"><ul>|>File not found.<',
  9234. 'optional1--',
  9235. 'optional2--',
  9236. "//a[contains(@href,'filespace.com')]");
  9237. }
  9238. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9239. {
  9240. addFileHost(
  9241. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9242. 'name="downloadFile|id="downloadFile|value="Wait',
  9243. '<title>File not found</title>|>Error:<',
  9244. 'optional1--',
  9245. 'optional2--',
  9246. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9247. }
  9248. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9249. {
  9250. addFileHost(
  9251. "ncrypt\.in\/\\w+",
  9252. 'Sicherheitsabfrage:|Securitycheck:',
  9253. 'does not exist|existiert nicht',
  9254. 'optional1--',
  9255. 'optional2--',
  9256. "//a[contains(@href,'ncrypt.in')]");
  9257. }
  9258. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9259. {
  9260. addFileHost(
  9261. "jeodrive\.com\/\\w+",
  9262. 'btn-lg regular',
  9263. 'Not found',
  9264. 'optional1--',
  9265. 'optional2--',
  9266. "//a[contains(@href,'jeodrive.com')]");
  9267. }
  9268. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9269. {
  9270. addFileHost(
  9271. "myfiles\.onl\/\\w+",
  9272. 'value="Free"',
  9273. '<div style="width:500px;text-align:left;">',
  9274. 'optional1--',
  9275. 'optional2--',
  9276. "//a[contains(@href,'myfiles.onl')]");
  9277. }
  9278. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9279. {
  9280. addFileHost(
  9281. "uploadserv\.com\/\\w+",
  9282. 'color="red">http://uploadserv.com/',
  9283. 'content="Download File ">|<title>Download </title>',
  9284. 'optional1--',
  9285. 'optional2--',
  9286. "//a[contains(@href,'uploadserv.com')]");
  9287. }
  9288. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9289. {
  9290. addFileHost(
  9291. "keepshare\.net\/\\w+",
  9292. 'method_free',
  9293. '<div style="width:500px;text-align:left;">',
  9294. 'optional1--',
  9295. 'optional2--',
  9296. "//a[contains(@href,'keepshare.net')]");
  9297. }
  9298. if (GM_getValue("Check_oload_dot_net_links", false))
  9299. {
  9300. addFileHost(
  9301. "oload\.net\/\\w+",
  9302. '<font color="red">http://oload.net',
  9303. 'class="page-ttl">',
  9304. 'optional1--',
  9305. 'optional2--',
  9306. "//a[contains(@href,'oload.net')]");
  9307. }
  9308. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9309. {
  9310. addFileHost(
  9311. "filescdn\.com\/\\w+",
  9312. 'btn_download',
  9313. 'icon-warning text-danger|no longer available',
  9314. 'optional1--',
  9315. 'optional2--',
  9316. "//a[contains(@href,'filescdn.com')]");
  9317. }
  9318. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9319. {
  9320. addFileHost(
  9321. "bankupload\.com\/\\w+",
  9322. 'id="btn_download"|1.0 GB',
  9323. '<div style="width:500px;text-align:left;">',
  9324. 'optional1--',
  9325. ' GB',
  9326. "//a[contains(@href,'bankupload.com')]");
  9327. }
  9328. if (GM_getValue("Check_katfile_dot_com_links", false))
  9329. {
  9330. addFileHost(
  9331. "katfile\.com\/\\w+",
  9332. 'KB| MB|1.0 GB|id="method_free',
  9333. 'images/file_not_found.png"|images/404.png',
  9334. 'optional1--',
  9335. ' GB',
  9336. "//a[contains(@href,'katfile.com')]");
  9337. }
  9338. if (GM_getValue("Check_filesin_dot_space_links", false))
  9339. {
  9340. addFileHost(
  9341. "filesin\.space\/\\w+",
  9342. 'id="btn_download"',
  9343. 'class="err">',
  9344. 'optional1--',
  9345. 'optional2',
  9346. "//a[contains(@href,'filesin.space')]");
  9347. }
  9348. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9349. {
  9350. addFileHost(
  9351. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9352. 'download.php',
  9353. 'notfound|upload\\-suborov\\.php"',
  9354. 'optional--',
  9355. 'optional2--',
  9356. "//a[contains(@href,'upnito.sk')]"
  9357. );
  9358. }
  9359. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9360. {
  9361. addFileHost(
  9362. "alltu\.eu\/\\w+",
  9363. 'download-timer',
  9364. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9365. 'optional1--',
  9366. 'optional2',
  9367. "//a[contains(@href,'alltu.eu')]");
  9368. }
  9369. if (GM_getValue("Check_novafile_dot_com_links", false))
  9370. {
  9371. addFileHost(
  9372. "novafile\.com\/\\w+",
  9373. 'id="regular-download|download1slow',
  9374. 'id="file-not-found',
  9375. 'optional1--',
  9376. 'id="premium-only',
  9377. "//a[contains(@href,'novafile.com')]");
  9378. }
  9379. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9380. {
  9381. addFileHost(
  9382. "uploadgig\.com",
  9383. 'id="countdownContainer',
  9384. 'File not found',
  9385. 'optional1--',
  9386. 'Premium Member only',
  9387. "//a[contains(@href,'uploadgig.com')]");
  9388. }
  9389. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9390. {
  9391. addFileHost(
  9392. "mexashare\.com\/\\w+",
  9393. 'method_free',
  9394. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9395. 'optional1--',
  9396. 'optional2',
  9397. "//a[contains(@href,'mexashare.com')]");
  9398. }
  9399. if (GM_getValue("Check_daofile_dot_com_links", false))
  9400. {
  9401. addFileHost(
  9402. "daofile\.com\/\\w+",
  9403. 'class="captcha_code',
  9404. 'style="width:500px;text-align:left;">',
  9405. 'optional1--',
  9406. 'optional2',
  9407. "//a[contains(@href,'daofile.com')]");
  9408. }
  9409. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9410. {
  9411. addFileHost(
  9412. "imagenetz\.de\/\\w+",
  9413. 'id="download',
  9414. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9415. 'optional1--',
  9416. 'optional2',
  9417. "//a[contains(@href,'imagenetz.de')]");
  9418. }
  9419. if (GM_getValue("Check_uloz_dot_to_links", false))
  9420. {
  9421. addFileHost(
  9422. "uloz\.to",
  9423. 'limitedDownloadButton|Stáhnout pomalu',
  9424. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9425. 'optional1--',
  9426. 'optional2',
  9427. "//a[contains(@href,'uloz.to')]");
  9428. }
  9429. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9430. {
  9431. addFileHost(
  9432. "ulozto.net",
  9433. 'limitedDownloadButton|Stáhnout pomalu',
  9434. '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',
  9435. 'optional1--',
  9436. 'optional2',
  9437. "//a[contains(@href,'ulozto.net')]");
  9438. }
  9439. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9440. {
  9441. addFileHost(
  9442. "ulozto\.sk",
  9443. 'limitedDownloadButton|Stáhnout pomalu',
  9444. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9445. 'optional1--',
  9446. 'optional2',
  9447. "//a[contains(@href,'ulozto.sk')]");
  9448. }
  9449. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9450. {
  9451. addFileHost(
  9452. "ulozto\.cz",
  9453. 'limitedDownloadButton|Stáhnout pomalu',
  9454. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9455. 'optional1--',
  9456. 'optional2',
  9457. "//a[contains(@href,'ulozto.cz')]");
  9458. }
  9459. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9460. {
  9461. addFileHost(
  9462. "subyshare\.com\/\\w+",
  9463. 'id="method_free',
  9464. 'file was removed|class="err">|1s">404',
  9465. 'This server is in maintenance mode|m human"',
  9466. 'optional2',
  9467. "//a[contains(@href,'subyshare.com')]",
  9468. true);
  9469. }
  9470. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9471. {
  9472. addFileHost(
  9473. "fileshareup\.com\/\\w+",
  9474. 'download-timer|btn-free-element|content="Download file',
  9475. 'content="Error"|content="error|heading-1">Error<',
  9476. 'optional1--',
  9477. 'optional2',
  9478. "//a[contains(@href,'fileshareup.com')]");
  9479. }
  9480. if (GM_getValue("Check_mystore_dot_to_links", false))
  9481. {
  9482. addFileHost(
  9483. "mystore\.to\/\\w+",
  9484. 'Download File',
  9485. 'file not found',
  9486. 'optional1--',
  9487. 'optional2',
  9488. "//a[contains(@href,'mystore.to/dl')]");
  9489. }
  9490. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9491. {
  9492. addFileHost(
  9493. "usercloud\.net\/\\w+",
  9494. 'content="download|var seconds = 60|type="password',
  9495. 'content="error|report_file.html">',
  9496. 'optional1--',
  9497. 'optional2',
  9498. "//a[contains(@href,'usercloud.net')]");
  9499. }
  9500. if (GM_getValue("Check_workupload_dot_com_links", false))
  9501. {
  9502. addFileHost(
  9503. "workupload\.com\/\\w+",
  9504. 'content="Download|id="download"',
  9505. 'File not found|img/not-found.jpg|Error message',
  9506. 'optional1--',
  9507. 'optional2',
  9508. "//a[contains(@href,'workupload.com')]");
  9509. }
  9510. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9511. {
  9512. addFileHost(
  9513. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9514. 'class="download">',
  9515. 'class="error center',
  9516. 'optional1--',
  9517. 'optional2',
  9518. "//a[contains(@href,'storageserver.co.uk')]");
  9519. }
  9520. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9521. {
  9522. addFileHost(
  9523. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9524. '"kind": "file"',
  9525. '"error": "not_exists"',
  9526. 'optional1--',
  9527. 'optional2',
  9528. "//a[contains(@href,'cloud.mail.ru')]");
  9529. }
  9530. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9531. {
  9532. addFileHost(
  9533. "bdupload\.info\/\\w+",
  9534. 'class="downloadbtn">|id="downloadbtn"',
  9535. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9536. 'optional1--',
  9537. 'optional2',
  9538. "//a[contains(@href,'bdupload.info')]");
  9539. }
  9540. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9541. {
  9542. addFileHost(
  9543. "wayupload\.com\/\\w+",
  9544. 'class="nopay-btn gray"',
  9545. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9546. 'optional1--',
  9547. 'optional2',
  9548. "//a[contains(@href,'wayupload.com')]");
  9549. }
  9550. if (GM_getValue("Check_exbit_dot_net_links", false))
  9551. {
  9552. addFileHost(
  9553. "exbit\.net\/\\w+",
  9554. 'class="nopay-btn|href="/download/free/',
  9555. 'File not found',
  9556. 'optional1--',
  9557. 'optional2',
  9558. "//a[contains(@href,'exbit.net')]");
  9559. }
  9560. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9561. {
  9562. addFileHost(
  9563. "uploadocean\.com\/\\w+",
  9564. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9565. 'deleted.png"',
  9566. 'optional1--',
  9567. 'optional2',
  9568. "//a[contains(@href,'uploadocean.com')]");
  9569. }
  9570. if (GM_getValue("Check_erafile_dot_com_links", false))
  9571. {
  9572. addFileHost(
  9573. "erafile\.com\/\\w+",
  9574. 'id="method_free',
  9575. '<div style="width:500px;text-align:left;">',
  9576. 'optional1--',
  9577. 'optional2',
  9578. "//a[contains(@href,'erafile.com')]");
  9579. }
  9580. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9581. {
  9582. addFileHost(
  9583. "suprafiles\.net\/\\w+",
  9584. 'name="method_free"',
  9585. 'File Not Found|style="width:1000px; text-align: left;">',
  9586. 'server is in maintenance mode',
  9587. 'optional2',
  9588. "//a[contains(@href,'suprafiles.net') or contains(@href,'suprafiles.org')]");
  9589. }
  9590. if (GM_getValue("Check_suprafiles_dot_co_links", false))
  9591. {
  9592. addFileHost(
  9593. "suprafiles\.co\/\\w+",
  9594. 'name="method_free"',
  9595. 'File Not Found|style="width:1000px; text-align: left;">',
  9596. 'server is in maintenance mode',
  9597. 'optional2',
  9598. "//a[contains(@href,'suprafiles.co')]");
  9599. }
  9600. if (GM_getValue("Check_suprafiles_dot_org_links", false))
  9601. {
  9602. addFileHost(
  9603. "suprafiles\.org\/\\w+",
  9604. 'name="method_free"',
  9605. 'File Not Found|style="width:1000px; text-align: left;">',
  9606. 'server is in maintenance mode',
  9607. 'optional2',
  9608. "//a[contains(@href,'suprafiles.org')]");
  9609. }
  9610. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9611. {
  9612. addFileHost(
  9613. "upfiles\.net\/\\w+",
  9614. 'id="recaptcha2"|snail.png"',
  9615. 'Ten plik został usunięty.|style="margin-top:50px',
  9616. 'optional1--',
  9617. 'optional2',
  9618. "//a[contains(@href,'upfiles.net/f/')]");
  9619. }
  9620. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9621. {
  9622. addFileHost(
  9623. "dailyfiles\.net\/\\w+",
  9624. 'onclick="dwn',
  9625. '<title>Error',
  9626. 'optional1--',
  9627. 'optional2',
  9628. "//a[contains(@href,'dailyfiles.net')]");
  9629. }
  9630. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9631. {
  9632. addFileHost(
  9633. "littlebyte\.net\/\\w+",
  9634. '>Free download<|>Скачать медленно<',
  9635. 'images/dmca.png">',
  9636. 'optional1--',
  9637. 'optional2',
  9638. "//a[contains(@href,'littlebyte.net')]");
  9639. }
  9640. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9641. {
  9642. addFileHost(
  9643. "black\\-label\\.pro\/\\w+",
  9644. 'slow_download_button.png"|td><td title="',
  9645. 'STILL NEED CODE FOR DEAD LINKS',
  9646. 'optional1--',
  9647. 'optional2',
  9648. "//a[contains(@href,'black-label.pro')]");
  9649. } */
  9650. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9651. {
  9652. addFileHost(
  9653. "temp\\-share\\.com\/\\w+",
  9654. 'publickey',
  9655. 'STILL NEED CODE FOR DEAD LINKS',
  9656. 'optional1--',
  9657. 'optional2',
  9658. "//a[contains(@href,'temp-share.com')]");
  9659. }
  9660. if (GM_getValue("Check_filesha_dot_com_links", false))
  9661. {
  9662. addFileHost(
  9663. "filesha\.com\/\\w+",
  9664. '>Download Free<',
  9665. 'STILL NEED CODE FOR DEAD LINKS',
  9666. 'optional1--',
  9667. 'optional2',
  9668. "//a[contains(@href,'filesha.com')]");
  9669. }
  9670. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9671. {
  9672. addFileHost(
  9673. "ausfile\.com\/\\w+",
  9674. 'class="slow-download',
  9675. 'File Not Found',
  9676. 'optional1--',
  9677. 'optional2',
  9678. "//a[contains(@href,'ausfile.com')]");
  9679. }
  9680. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9681. {
  9682. addFileHost(
  9683. "upfile\.mobi\/\\w+",
  9684. 'class="download_button"',
  9685. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9686. 'optional1--',
  9687. 'optional2',
  9688. "//a[contains(@href,'upfile.mobi')]");
  9689. }
  9690. if (GM_getValue("Check_share_dot_az_links", false))
  9691. {
  9692. addFileHost(
  9693. "share\.az\/\\w+",
  9694. 'id="btn_download"',
  9695. 'File Not Found|We are sorry',
  9696. 'optional1--',
  9697. 'optional2',
  9698. "//a[contains(@href,'share.az')]");
  9699. }
  9700. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9701. {
  9702. addFileHost(
  9703. "partage-facile\.com",
  9704. 'class="title"><strong>',
  9705. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9706. 'optional--',
  9707. 'optional2--',
  9708. "//a[contains(@href,'partage-facile.com')]");
  9709. }
  9710. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9711. {
  9712. addFileHost(
  9713. "uploadify\.net\/\\w+",
  9714. 'loading_small.gif"',
  9715. '<title>Error -',
  9716. 'optional1--',
  9717. 'optional2',
  9718. "//a[contains(@href,'uploadify.net')]");
  9719. }
  9720. if (GM_getValue("Check_uploads_dot_to_links", false))
  9721. {
  9722. addFileHost(
  9723. "uploads\.to\/\\w+",
  9724. 'class="g-recaptcha',
  9725. 'File Not Found|FILE NOT FOUND<',
  9726. 'optional1--',
  9727. 'optional2',
  9728. "//a[contains(@href,'uploads.to')]");
  9729. }
  9730. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9731. {
  9732. addFileHost(
  9733. "crazyshare\.cc\/\\w+",
  9734. 'slow_download_button.png',
  9735. 'File Not Found|content="Error"',
  9736. 'optional1--',
  9737. 'optional2',
  9738. "//a[contains(@href,'crazyshare.cc')]");
  9739. }
  9740. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9741. {
  9742. addFileHost(
  9743. "fileshark\.pl\/\\w+",
  9744. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9745. 'Nie znaleziono pliku w serwisie.',
  9746. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9747. 'optional2',
  9748. "//a[contains(@href,'fileshark.pl')]");
  9749. }
  9750. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9751. {
  9752. addFileHost(
  9753. "pobierz\.to\/\\w+",
  9754. 'class="download-timer',
  9755. 'Plik został usunięty.',
  9756. 'optional1--',
  9757. 'optional2',
  9758. "//a[contains(@href,'pobierz.to')]");
  9759. }
  9760. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9761. {
  9762. addFileHost(
  9763. "kingfile\.pl\/\\w+",
  9764. 'id="downloadBox',
  9765. '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',
  9766. 'optional1--',
  9767. 'optional2',
  9768. "//a[contains(@href,'kingfile.pl')]");
  9769. }
  9770. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9771. {
  9772. addFileHost(
  9773. "hotlink\.cc\/",
  9774. 'id="downloadbtn">|class="free"|id="counttext1"',
  9775. 'Error 404|Page not found',
  9776. 'optional1--',
  9777. 'optional2',
  9778. "//a[contains(@href,'hotlink.cc')]");
  9779. }
  9780. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9781. {
  9782. addFileHost(
  9783. "owndrives\.com\/\\w+",
  9784. 'id="method_free"',
  9785. 'File Not Found',
  9786. 'optional1--',
  9787. 'optional2',
  9788. "//a[contains(@href,'owndrives.com')]");
  9789. }
  9790. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9791. {
  9792. addFileHost(
  9793. "avatarshare\.com\/\\w+",
  9794. 'name="method_free"',
  9795. 'File Not Found',
  9796. 'optional1--',
  9797. 'optional2',
  9798. "//a[contains(@href,'avatarshare.com')]");
  9799. }
  9800. if (GM_getValue("Check_up_dash_4ever_dot_com_links", false))
  9801. {
  9802. addFileHost(
  9803. "up-4ever\.com\/\\w+",
  9804. 'name="method_free"',
  9805. 'File Not Found',
  9806. 'optional1--',
  9807. 'optional2',
  9808. "//a[contains(@href,'up-4ever.com')]");
  9809. }
  9810. if (GM_getValue("Check_zapfile_dot_net_links", false))
  9811. {
  9812. addFileHost(
  9813. "zapfile\.net\/\\w+",
  9814. 'name="method_free"',
  9815. 'File Not Found',
  9816. 'optional1--',
  9817. 'optional2',
  9818. "//a[contains(@href,'zapfile.net')]");
  9819. }
  9820. if (GM_getValue("Check_fileshd_dot_net_links", false))
  9821. {
  9822. addFileHost(
  9823. "fileshd\.net\/\\w+",
  9824. 'name="method_free"',
  9825. 'Reason for deletion:|file was removed|<b class="err">|File Not Found',
  9826. 'optional1--',
  9827. 'optional2',
  9828. "//a[contains(@href,'fileshd.net')]");
  9829. }
  9830. if (GM_getValue("Check_media4up_dot_com_links", false))
  9831. {
  9832. addFileHost(
  9833. "media4up\.com\/\\w+",
  9834. 'Please wait|id="this_count_show|method_free',
  9835. 'File Not Found',
  9836. 'optional1--',
  9837. 'optional2',
  9838. "//a[contains(@href,'media4up.com')]");
  9839. }
  9840. if (GM_getValue("Check_700files_dot_com_links", false))
  9841. {
  9842. addFileHost(
  9843. "700files\.com\/\\w+",
  9844. 'id="countdown">|id="downloadbtn"',
  9845. 'File Not Found',
  9846. 'optional1--',
  9847. 'optional2',
  9848. "//a[contains(@href,'700files.com')]");
  9849. }
  9850. if (GM_getValue("Check_megafiles_dot_us_links", false))
  9851. {
  9852. addFileHost(
  9853. "megafiles\.us\/\\w+",
  9854. 'method_free',
  9855. 'File Not Found',
  9856. 'optional1--',
  9857. 'optional2',
  9858. "//a[contains(@href,'megafiles.us')]");
  9859. }
  9860. if (GM_getValue("Check_flexydrive_dot_com_links", false))
  9861. {
  9862. addFileHost(
  9863. "flexydrive\.com\/\\w+",
  9864. 'value="Free',
  9865. 'File Not Found|file_not_found',
  9866. 'optional1--',
  9867. 'optional2',
  9868. "//a[contains(@href,'flexydrive.com')]");
  9869. }
  9870. if (GM_getValue("Check_backin_dot_net_links", false))
  9871. {
  9872. addFileHost(
  9873. "backin\.net\/\\w+",
  9874. 'id="downloadbtn|id="countdown"',
  9875. 'File Not Found',
  9876. 'optional1--',
  9877. 'optional2',
  9878. "//a[contains(@href,'backin.net')]");
  9879. }
  9880. if (GM_getValue("Check_9xupload_dot_me_links", false))
  9881. {
  9882. addFileHost(
  9883. "9xupload\.me\/\\w+",
  9884. 'id="downloadbtn|mega/download.png',
  9885. 'Not Found|<title>404',
  9886. 'optional1--',
  9887. 'optional2',
  9888. "//a[contains(@href,'9xupload.me')]");
  9889. }
  9890. if (GM_getValue("Check_sendit_dot_cloud_links", false))
  9891. {
  9892. addFileHost(
  9893. "sendit\.cloud\/\\w+",
  9894. 'id="btn_download',
  9895. 'File Not Found',
  9896. 'optional1--',
  9897. 'optional2',
  9898. "//a[contains(@href,'sendit.cloud')]");
  9899. }
  9900. if (GM_getValue("Check_filefox_dot_cc_links", false))
  9901. {
  9902. addFileHost(
  9903. "filefox\.cc",
  9904. 'btn-download1',
  9905. 'File Not Found|Upgrade to premium!',
  9906. 'optional1--',
  9907. 'Premium</a> Members only',
  9908. "//a[contains(@href,'filefox.cc')]");
  9909. }
  9910. if (GM_getValue("Check_bitshare_dot_com_links", false))
  9911. {
  9912. addFileHost(
  9913. "bitshare\\.com",
  9914. 'id="activdownloadbutton',
  9915. '<title>BitShare.com',
  9916. 'optional--',
  9917. 'optional2',
  9918. "//a[contains(@href,'bitshare.com')]",
  9919. true
  9920. );
  9921. }
  9922. if (GM_getValue("Check_uploadbank_dot_com_links", false))
  9923. {
  9924. addFileHost(
  9925. "uploadbank\.com",
  9926. 'id="downloadbtn',
  9927. 'File Not Found',
  9928. 'optional1--',
  9929. 'optional2',
  9930. "//a[contains(@href,'uploadbank.com')]");
  9931. }
  9932. if (GM_getValue("Check_cloudyfiles_dot_com_links", false))
  9933. {
  9934. addFileHost(
  9935. "cloudyfiles\\.(?:org|com)\/\\w+",
  9936. 'name="method_free"',
  9937. 'File Not Found',
  9938. 'optional1--',
  9939. 'optional2',
  9940. "//a[contains(@href,'cloudyfiles.com') or contains(@href,'cloudyfiles.org')]");
  9941. }
  9942. if (GM_getValue("Check_bittfox_dot_com_links", false))
  9943. {
  9944. addFileHost(
  9945. "bittfox\.com",
  9946. 'value="download">',
  9947. 'id="downloadError"',
  9948. 'optional1--',
  9949. 'optional2',
  9950. "//a[contains(@href,'bittfox.com')]");
  9951. }
  9952. if (GM_getValue("Check_drop_dot_me_links", false))
  9953. {
  9954. addFileHost(
  9955. "drop\.me",
  9956. 'btn btn-download',
  9957. 'error-404',
  9958. 'optional1--',
  9959. 'optional2',
  9960. "//a[contains(@href,'drop.me')]");
  9961. }
  9962. if (GM_getValue("Check_k_dash_upload_dot_com_links", false))
  9963. {
  9964. addFileHost(
  9965. "(?:k-upload\\.com|k-upload\\.fr)\/\\w+",
  9966. 'Télécharger le fichier :|>dans 15 secondes.<',
  9967. 'la page à laquelle vous essayez |daccéder est introuvable|>Erreur 404<|Make the choice of simplicity|Faîtes le choix de la simplicité',
  9968. 'optional--',
  9969. 'optional2--',
  9970. "//a[contains(@href,'k-upload.com') or contains(@href,'k-upload.fr/')]"
  9971. );
  9972. }
  9973. if (GM_getValue("Check_anonfile_dot_com_links", false))
  9974. {
  9975. addFileHost(
  9976. "anonfile\\.com",
  9977. 'id="download-url" class="btn btn-primary btn-block" href=',
  9978. '<title>404 -',
  9979. 'optional1--',
  9980. 'optional2',
  9981. "//a[contains(@href,'anonfile.com')]");
  9982. }
  9983. if (GM_getValue("Check_vshare_dot_io_links", false))
  9984. {
  9985. addFileHost(
  9986. "vshare\\.io\/\\w+",
  9987. 'id="download-url"|id="download-link"',
  9988. '<title>404 -',
  9989. 'optional1--',
  9990. 'optional2',
  9991. "//a[contains(@href,'vshare.io')]");
  9992. }
  9993. if (GM_getValue("Check_gfycat_dot_com_links", false))
  9994. {
  9995. addFileHost(
  9996. "gfycat\.com\/\\w+",
  9997. '<head><title>',
  9998. 'title ng-bind',
  9999. 'optional1--',
  10000. 'optional2',
  10001. "//a[contains(@href,'gfycat.com')]");
  10002. }
  10003. if (GM_getValue("Check_4downfiles_dot_org_links", false))
  10004. {
  10005. addFileHost(
  10006. "4downfiles\.org\/\\w+",
  10007. 'Free Download',
  10008. 'Reason for deletion',
  10009. 'optional1--',
  10010. 'optional2',
  10011. "//a[contains(@href,'4downfiles.org')]");
  10012. }
  10013. if (GM_getValue("Check_minhateca_dot_com_dot_br_links", false))
  10014. {
  10015. addFileHost(
  10016. "minhateca(?:\\.com)?\\.br\/\\w+",
  10017. 'class="greenButtonCSS',
  10018. 'file not found|O arquivo ou conta que está à procura foi eliminada',
  10019. 'optional1--',
  10020. 'optional2',
  10021. "//a[contains(@href,'minhateca.com.br')]");
  10022. }
  10023. if (GM_getValue("Check_dir50_dot_net_links", false))
  10024. {
  10025. addFileHost(
  10026. "dir50\\.net",
  10027. 'id="method_free',
  10028. 'File Not Found',
  10029. 'optional1--',
  10030. 'optional2',
  10031. "//a[contains(@href,'dir50.net')]");
  10032. }
  10033. if (GM_getValue("Check_indishare_dot_me_links", false))
  10034. {
  10035. addFileHost(
  10036. "indishare\\.me",
  10037. 'id="btn_download"',
  10038. 'File Not Found|"width:900px;text-align:center;">',
  10039. 'optional1--',
  10040. 'optional2',
  10041. "//a[contains(@href,'indishare.me')]");
  10042. }
  10043. if (GM_getValue("Check_coolbytez_dot_com_links", false))
  10044. {
  10045. addFileHost(
  10046. "coolbytez\\.com",
  10047. 'id="method_free"',
  10048. 'File Not Found',
  10049. 'optional1--',
  10050. 'optional2',
  10051. "//a[contains(@href,'coolbytez.com')]");
  10052. }
  10053. if (GM_getValue("Check_fileflares_dot_com_links", false))
  10054. {
  10055. addFileHost(
  10056. "fileflares\\.com\/\\w+",
  10057. 'id="downloadbtn"|icon_download.png',
  10058. '"width:500px;text-align:left;">',
  10059. 'optional1--',
  10060. 'optional2',
  10061. "//a[contains(@href,'fileflares.com')]");
  10062. }
  10063. if (GM_getValue("Check_vidoza_dot_net_links", false))
  10064. {
  10065. addFileHost(
  10066. "vidoza\.net\/\\w+",
  10067. 'btn btn-success',
  10068. 'File not found',
  10069. 'optional--',
  10070. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  10071. "//a[contains(@href,'vidoza.net')]");
  10072. }
  10073. if (GM_getValue("Check_douploads_dot_com_links", false))
  10074. {
  10075. addFileHost(
  10076. "douploads\\.com",
  10077. 'id="downloadBtnClick"',
  10078. 'id="errorpage">|Not Found',
  10079. 'optional1--',
  10080. 'optional2',
  10081. "//a[contains(@href,'douploads.com')]");
  10082. }
  10083. if (GM_getValue("Check_xshare_dot_eu_links", false))
  10084. {
  10085. addFileHost(
  10086. "xshare\\.eu",
  10087. 'slow_download_button.png"|<div class="download-timer"',
  10088. '<title>Błąd|content="error|content="Błąd"',
  10089. 'optional1--',
  10090. 'optional2',
  10091. "//a[contains(@href,'xshare.eu')]");
  10092. }
  10093. if (GM_getValue("Check_uploadkadeh_dot_com_links", false))
  10094. {
  10095. addFileHost(
  10096. "uploadkadeh\\.com",
  10097. 'id="method_free"',
  10098. 'File Not Found',
  10099. 'optional1--',
  10100. 'optional2',
  10101. "//a[contains(@href,'uploadkadeh.com')]");
  10102. }
  10103. }
  10104. //start here
  10105.  
  10106. //hosts with direct download, so they must be requested for headers only
  10107. function initFileHostsHeadersOnly()
  10108. {
  10109. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  10110. {
  10111. var host = new Array(5);
  10112. host[0] = linkRegex;
  10113. host[1] = isAliveRegex;
  10114. host[2] = isDeadRegex;
  10115. host[4] = ispremRegex;
  10116. host[3] = xpathEx;
  10117. http_file_hosts_headers_only.push(host);
  10118. }
  10119. if (GM_getValue("Check_uloziste_dot_com_links", false))
  10120. {
  10121. addFileHostHeadersOnly(
  10122. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  10123. 'Connection: Keep-Alive',
  10124. 'Content-Length: 3857',
  10125. 'optional2',
  10126. "//a[contains(@href,'uloziste.com')]"
  10127. )
  10128. }
  10129. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  10130. {
  10131. addFileHostHeadersOnly(
  10132. "filescdn\.com\/\\w+",
  10133. 'Connection: keep-alive',
  10134. 'Company</Title>',
  10135. 'optional2',
  10136. "//a[contains(@href,'filescdn.com')]"
  10137. )
  10138. } */
  10139. if (GM_getValue("Check_adrive_dot_com_links", false))
  10140. {
  10141. addFileHostHeadersOnly(
  10142. "adrive\\.com\/public\/\\w+",
  10143. 'Connection: keep-alive',
  10144. 'orig_ref=deleted',
  10145. 'optional2',
  10146. "//a[contains(@href,'adrive.com')]"
  10147. )
  10148. }
  10149. }
  10150.  
  10151. //CustomRules
  10152. //functions add...Host copied here
  10153. function addObsoleteHost(linkRegex, xpathEx)
  10154. {
  10155. var host = new Array(2);
  10156. host[0] = linkRegex;
  10157. host[1] = xpathEx;
  10158. http_file_hosts_obsolete.push(host);
  10159. }
  10160. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  10161. {
  10162. var host = new Array(7);
  10163. host[0] = linkRegex;
  10164. host[1] = isAliveRegex;
  10165. host[2] = isDeadRegex;
  10166. host[3] = isUnavaRegex;
  10167. host[4] = xpathEx;
  10168. tryLoop ? host[5] = true : host[5] = false;
  10169. host[6] = ispremRegex;
  10170. http_file_hosts.push(host);
  10171. }
  10172. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  10173. {
  10174. var host = new Array(5);
  10175. host[0] = linkRegex;
  10176. host[1] = isAliveRegex;
  10177. host[2] = isDeadRegex;
  10178. host[3] = xpathEx;
  10179. host[4] = ispremRegex;
  10180. http_file_hosts_headers_only.push(host);
  10181. }
  10182. //takes a fully built rules array and adds the rules to WARLC
  10183. function applyCustomRules(customRules)
  10184. {
  10185. if (!customRules) return;
  10186. var rules, r, i;
  10187. rules = customRules.rules;
  10188. for (i = 0 ; i < rules.length ; i++)
  10189. {
  10190. r = rules[i];
  10191. if (r.enabled)
  10192. {
  10193. switch (r.type)
  10194. {
  10195. case 'single':
  10196. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  10197. break;
  10198. case 'headers':
  10199. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  10200. break;
  10201. case 'obsolete':
  10202. addObsoleteHost(r.urlregex, r.xpath)
  10203. break;
  10204. }
  10205. }
  10206. }
  10207. }
  10208.  
  10209.  
  10210. function initFileHostsCustom()
  10211. {
  10212. if (Custom_rules && Custom_rules_text)
  10213. {
  10214. var msg = '';
  10215. if (newVersion)
  10216. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  10217. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  10218. msg = '60 or more days have passed since this notification.\n\n';
  10219. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  10220. {
  10221. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  10222. msg +=
  10223. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  10224. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  10225. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  10226. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  10227. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  10228. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  10229. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  10230. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  10231. setTimeout(function(){alert(msg)},0);
  10232. }
  10233. var customRules = parseCustomRules(Custom_rules_text);
  10234. if (customRules.warning || customRules.error)
  10235. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  10236. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  10237. JSON.stringify(customRules.info, null, ' '));
  10238. applyCustomRules(customRules);
  10239. }
  10240. }
  10241. //end of CustomRules processing
  10242.  
  10243.  
  10244.  
  10245. } //end of function start
  10246.  
  10247.  
  10248.  
  10249. function initClipBoardTools()
  10250. {
  10251. unsafeWindow.copyToClipboard = function(text)
  10252. {
  10253. try
  10254. {
  10255. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  10256.  
  10257. var str = Components.classes["@mozilla.org/supports-string;1"].
  10258. createInstance(Components.interfaces.nsISupportsString);
  10259. if (!str) return false;
  10260.  
  10261. str.data = text;
  10262.  
  10263. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  10264. createInstance(Components.interfaces.nsITransferable);
  10265. if (!trans) return false;
  10266.  
  10267. trans.addDataFlavor("text/unicode");
  10268. trans.setTransferData("text/unicode", str, text.length * 2);
  10269.  
  10270. var clipid = Components.interfaces.nsIClipboard;
  10271. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  10272. if (!clip) return false;
  10273.  
  10274. clip.setData(trans, null, clipid.kGlobalClipboard);
  10275. } catch (e) {
  10276. GM_log("Error copyToClipboard : " + e);
  10277. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  10278. }
  10279. }
  10280. }
  10281.  
  10282.  
  10283.  
  10284. //CustomRules
  10285.  
  10286. function escapeRegex(str)
  10287. {
  10288. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  10289. }
  10290.  
  10291.  
  10292. //called internally from parseCustomRules.
  10293. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  10294. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  10295. function makeCustomRule(rule)
  10296. {
  10297. function makeMatchRegex(arrmatch)
  10298. {
  10299. return escapeRegex(arrmatch.join('\n'))
  10300. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  10301. .replace(/\n/g,'|'); //join together
  10302. }
  10303. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  10304. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  10305. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  10306. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  10307. if (rule.baseurl)
  10308. {
  10309. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  10310. for (i = 0 ; i < len ; i++)
  10311. {
  10312. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  10313. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  10314. {
  10315. 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'])
  10316. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  10317. }
  10318. else //baseurl in the form: example.com/xxx
  10319. {
  10320. xpath.push(m[0]);
  10321. urlregex.push(escapeRegex(m[0]) + '.');
  10322. }
  10323. }
  10324. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  10325. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  10326. }
  10327. return rule;
  10328. } //function makeCustomRule
  10329.  
  10330.  
  10331. /*
  10332. Takes a string containing custom link checking rules.
  10333. Returns an object with fields:
  10334. info - contains notes, warnings and errors found during parsing
  10335. rules - the array of custom rules
  10336. note, warning, error - number of each of them found during parsing
  10337. Format of the input string:
  10338. One command per line. Command format: @keyword parameter
  10339. Keywords:
  10340. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  10341. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  10342. These keywords can be multiple (any of them will work):
  10343. @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...)
  10344. @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+
  10345. @alivelink, @deadlink - example links
  10346. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  10347. Lines starting with // and empty lines are ignored.
  10348. Invalid parameters generate errors and those lines are skipped.
  10349. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  10350. Example:
  10351. @customrule filehost
  10352. @baseurl filehost.com/download/
  10353. @baseurl filehost2. com net /d?=
  10354. @alivematch id="download">
  10355. @deadmatch File not found
  10356. @deadmatch File deleted
  10357. */
  10358. function parseCustomRules(rulesStr)
  10359. {
  10360. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  10361. function addInfo(type, msg, ln){
  10362. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  10363. customRules[type]++;
  10364. }
  10365. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  10366. if (!lines) return null;
  10367. lines.push('@#customrule _'); //to save the last rule
  10368. var m, linecount = lines.length;
  10369. var keyword, param, constr, rule, err;
  10370. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  10371. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  10372. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  10373. var constraints = {
  10374. 'baseurl': {
  10375. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10376. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10377. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  10378. 'alivematch': {
  10379. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10380. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10381. 'deadmatch': {
  10382. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10383. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10384. 'unavamatch': {
  10385. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  10386. 'alivelink': {
  10387. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10388. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10389. 'deadlink': {
  10390. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10391. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10392. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10393. };
  10394. for (linenum = 0 ; linenum < linecount ; linenum++)
  10395. {
  10396. //capturing groups: 1 23 4 5 6
  10397. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10398. if (m)
  10399. {
  10400. if (m[1] || !m[2])
  10401. continue; // ignore empty lines and lines starting with //
  10402. keyword = (m[4] || m[2]).toLowerCase();
  10403. param = m[6];
  10404. if (keyword == 'customrule')
  10405. {
  10406. //save the current rule if all required fields are provided
  10407. if (rule)
  10408. {
  10409. err = false;
  10410. $.each(constraints, function(kw, constraint){
  10411. var l, constr = constraint[rule.type];
  10412. if (constr)
  10413. {
  10414. l = rule[kw] ? rule[kw].length : 0;
  10415. if (l < constr.min || l > constr.max)
  10416. {
  10417. 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);
  10418. err = true;
  10419. }
  10420. }
  10421. });
  10422. if (!err)
  10423. customRules.rules.push(makeCustomRule(rule));
  10424. }
  10425. //start a new rule
  10426. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10427. {
  10428. rule = {
  10429. 'enabled': !m[3],
  10430. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10431. 'name': param
  10432. };
  10433. }
  10434. else
  10435. {
  10436. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10437. rule = null;
  10438. }
  10439. }
  10440. else //good line format, but keyword other than customrule
  10441. {
  10442. if (!rule)
  10443. {
  10444. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10445. continue;
  10446. }
  10447. if (constraints[keyword])
  10448. {
  10449. constr = constraints[keyword][rule.type];
  10450. if (constr)
  10451. {
  10452. if (constr.paramRE && !constr.paramRE.test(param))
  10453. {
  10454. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10455. continue;
  10456. }
  10457. }
  10458. else
  10459. {
  10460. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10461. continue;
  10462. }
  10463. }
  10464. //line OK, save
  10465. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10466. }
  10467. } //if (m)
  10468. else
  10469. addInfo('warning', 'Unknown line format. Line skipped.');
  10470. } //for loop
  10471. return customRules;
  10472. } //function parseCustomRules
  10473.  
  10474.  
  10475. /* ********************UPDATES********************
  10476.  
  10477. March 05, 2018
  10478. Version 1.4.5.5
  10479. fixed depfile redirectors not detecting dead links.
  10480. adlink.wf
  10481. lan.wf
  10482. led.wf
  10483. ssh.yt
  10484. yep.pm
  10485. kyc.pm
  10486. ssh.tf
  10487. click.tf
  10488.  
  10489. Feburary 27, 2018
  10490. Version 1.4.5.4
  10491. added uploadkadeh.com
  10492.  
  10493. Feburary 27, 2018
  10494. Version 1.4.5.3
  10495. added usersfiles.com to obsolete hosts
  10496.  
  10497. Feburary 27, 2018
  10498. Version 1.4.5.2
  10499. added xshare.eu
  10500.  
  10501. Feburary 26, 2018
  10502. Version 1.4.5.1
  10503. fixed katfile.com
  10504.  
  10505. Feburary 15, 2018
  10506. Version 1.4.5.0
  10507. fixed uptobox.com
  10508.  
  10509. Feburary 07, 2018
  10510. Version 1.4.4.9
  10511. Fixed crazychare.cc not checking some links
  10512.  
  10513. Feburary 05, 2018
  10514. Version 1.4.4.8
  10515. added uploadrocket.net to obsolete hosts
  10516.  
  10517. January 23, 2018
  10518. Version 1.4.4.7
  10519. added datoteke.com to obsolete hosts
  10520.  
  10521. January 22, 2018
  10522. Version 1.4.4.6
  10523. added douploads.com
  10524.  
  10525. January 19, 2018
  10526. Version 1.4.4.5
  10527. fixed ulozto.net
  10528.  
  10529. January 07, 2018
  10530. Version 1.4.4.4
  10531. added indishare.me
  10532. added coolbytez.com
  10533.  
  10534. January 04, 2018
  10535. Version 1.4.4.3
  10536. added uploadable.ch to obsolete hosts.
  10537.  
  10538. January 01, 2018
  10539. Version 1.4.4.2
  10540. fixed uloz.to
  10541.  
  10542. December 30, 2017
  10543. Version 1.4.4.1
  10544. added dir50.net
  10545.  
  10546. December 27, 2017
  10547. Version 1.4.4.0
  10548. fixed dl.free.fr/getfile.pl
  10549. added dead code for minhateca.com
  10550.  
  10551. December 26, 2017
  10552. Version 1.4.3.9
  10553. added https://minhateca.com.br
  10554.  
  10555. December 25, 2017
  10556. Version 1.4.3.8
  10557. excluded
  10558. https://www.express-scripts.com
  10559.  
  10560. December 23, 2017
  10561. Version 1.4.3.7
  10562. added 4downfiles.org
  10563. fixed rapidgator.net/rg.to premium
  10564. by J0N4S
  10565.  
  10566. December 20, 2017
  10567. Version 1.4.3.6
  10568. added gfycat.com
  10569.  
  10570. December 17, 2017
  10571. Version 1.4.3.5
  10572. added suprafiles.org
  10573. fixed subyshare
  10574.  
  10575. December 16, 2017
  10576. Version 1.4.3.4
  10577. added
  10578. anonfile.com
  10579. vshare.io
  10580.  
  10581. December 16, 2017
  10582. Version 1.4.3.3
  10583. fixed cloudyfiles.com/org
  10584.  
  10585. December 16, 2017
  10586. Version 1.4.3.2
  10587. fixed keep2share not detecting some premium links
  10588.  
  10589.  
  10590. December 15, 2017
  10591. Version 1.4.3.1
  10592. fixed uloz.to
  10593.  
  10594. December 09, 2017
  10595. Version 1.4.3.0
  10596. added temp unavialable to subyshare.com
  10597.  
  10598. November 27, 2017
  10599. Version 1.4.2.9
  10600. added k-upload.fr & k-upload.com
  10601.  
  10602. November 24, 2017
  10603. Version 1.4.2.8
  10604. added rockfile.co
  10605. added rockfile.eu to obsolete hosts
  10606.  
  10607. November 10, 2017
  10608. Version 1.4.2.7
  10609. added drop.me
  10610.  
  10611. November 01, 2017
  10612. Version 1.4.2.6
  10613. added vodlocker.com to obsolete hosts
  10614.  
  10615. October 31, 2017
  10616. Version 1.4.2.5
  10617. fixed suprafiles
  10618.  
  10619. October 25, 2017
  10620. Version 1.4.2.4
  10621. excluded google.*
  10622.  
  10623. October 24, 2017
  10624. Version 1.4.2.3
  10625. added fp.io to obsolete hosts
  10626.  
  10627. October 21, 2017
  10628. Version 1.4.2.2
  10629. excluded https://www.google.de.*
  10630.  
  10631. October 10, 2017
  10632. Version 1.4.2.1
  10633. fixed error
  10634.  
  10635. October 07, 2017
  10636. Version 1.4.2.0
  10637. excluded https://www.google.co.*
  10638.  
  10639. September 20, 2017
  10640. Version 1.4.1.9
  10641. added bittfox.com
  10642.  
  10643. September 18, 2017
  10644. Version 1.4.1.8
  10645. added cloudyfiles.com
  10646.  
  10647. August 22, 2017
  10648. Version 1.4.1.7
  10649. fixed speedshare.eu
  10650.  
  10651. August 08, 2017
  10652. Version 1.4.1.5
  10653. fixed 4share.com
  10654.  
  10655. August 06, 2017
  10656. Version 1.4.1.4
  10657. added depfile.us
  10658.  
  10659. July 24, 2017
  10660. Version 1.4.1.3
  10661. added bitshare.com
  10662.  
  10663. July 22, 2017
  10664. Version 1.4.1.2
  10665. fixed novafile.com
  10666.  
  10667. July 21, 2017
  10668. Version 1.4.1.1
  10669. added premium link detection for filefox.cc
  10670.  
  10671. July 20, 2017
  10672. Version 1.4.1.0
  10673. added filefox.cc
  10674.  
  10675. July 16, 2017
  10676. Version 1.4.0.9
  10677. added
  10678. sendit.cloud
  10679. 9xupload.me
  10680.  
  10681. July 13, 2017
  10682. Version 1.4.0.8
  10683. added backin.net
  10684.  
  10685. July 12, 2017
  10686. Version 1.4.0.7
  10687. added uplea.com to obsolete hosts
  10688.  
  10689. July 11, 2017
  10690. Version 1.4.0.6
  10691. Added
  10692. fileshd.net
  10693. media4up.com
  10694. 700files.com
  10695. megafiles.us
  10696. flexydrive.com
  10697.  
  10698. July 09, 2017
  10699. Version 1.4.0.5
  10700. added dipfile.com
  10701.  
  10702. June 29, 2017
  10703. Version 1.4.0.4
  10704. fixed problem with anonym.to (By yurii)
  10705.  
  10706. June 28, 2017
  10707. Version 1.4.0.3
  10708. fixed fboom & k2s (By yurii)
  10709.  
  10710. June 26, 2017
  10711. Version 1.4.0.2
  10712. fixed filefactory
  10713.  
  10714. June 25, 2017
  10715. Version 1.4.0.1
  10716. added zapfile.net
  10717.  
  10718. June 24, 2017
  10719. Version 1.4.0.0
  10720. added suprafiles.co
  10721.  
  10722. June 24, 2017
  10723. Version 1.3.9.9
  10724. added up-4ever.com
  10725.  
  10726. June 19, 2017
  10727. Version 1.3.9.8
  10728. fixed depfile
  10729.  
  10730. June 16, 2017
  10731. Version 1.3.9.7
  10732. fixed filefactory
  10733.  
  10734. June 06, 2017
  10735. Version 1.3.9.6
  10736. fixed uploads.to
  10737.  
  10738. June 06, 2017
  10739. Version 1.3.9.5
  10740. fixed uploadgig.com
  10741.  
  10742. June 05, 2017
  10743. Version 1.3.9.4
  10744. added clicknupload.org
  10745.  
  10746. May 31, 2017
  10747. Version 1.3.9.3
  10748. fixed tusfiles
  10749.  
  10750. May 25, 2017
  10751. Version 1.3.9.2
  10752. added avatarshare.com
  10753.  
  10754. May 15, 2017
  10755. Version 1.3.9.1
  10756. excluded google.pl
  10757. added code to fileshark.pl
  10758.  
  10759. May 12, 2017
  10760. Version 1.3.9.0
  10761. added owndrives.com
  10762.  
  10763. May 12, 2017
  10764. Version 1.3.8.9
  10765. added hotlink.cc
  10766.  
  10767. May 09, 2017
  10768. Version 1.3.8.8
  10769. added code for kingfile.pl
  10770. added code for catshare.net
  10771.  
  10772. May 08, 2017
  10773. Version 1.3.8.7
  10774. added file-upload.com
  10775.  
  10776. May 04, 2017
  10777. Version 1.3.8.6
  10778. fixed rapidgator
  10779.  
  10780. April 30, 2017
  10781. Version 1.3.8.5
  10782. fixed rapidgator
  10783.  
  10784. April 30, 2017
  10785. Version 1.3.8.4
  10786. added code for kingfile.pl
  10787.  
  10788. April 30, 2017
  10789. Version 1.3.8.3
  10790. changed code for kingfile.pl
  10791.  
  10792. April 29, 2017
  10793. Version 1.3.8.2
  10794. added code to kingfile.pl
  10795.  
  10796. April 29, 2017
  10797. Version 1.3.8.1
  10798. added code to kingfile.pl
  10799.  
  10800. April 28, 2017
  10801. Version 1.3.8.0
  10802. fileshark.pl
  10803. kingfile.pl
  10804. pobierz.to
  10805.  
  10806. April 26, 2017
  10807. Version 1.3.7.9
  10808. fixed 1f.al
  10809.  
  10810. April 16, 2017
  10811. Version 1.3.7.8
  10812. added crazyshare.cc
  10813.  
  10814. April 16, 2017
  10815. Version 1.3.7.7
  10816. fixed uploadgig.com
  10817.  
  10818. April 13, 2017
  10819. Version 1.3.7.6
  10820. added neodrive.co to obsolete hosts
  10821.  
  10822. April 07, 2017
  10823. Version 1.3.7.5
  10824. added french code for rg premium links
  10825.  
  10826. April 05, 2017
  10827. Version 1.3.7.4
  10828. added oload.tv
  10829.  
  10830. March 30, 2017
  10831. Version 1.3.7.3
  10832. added uploads.to
  10833.  
  10834. March 20, 2017
  10835. Version 1.3.7.2
  10836. added black-label.pro to obsolete hosts
  10837.  
  10838. March 13, 2017
  10839. Version 1.3.7.1
  10840. fixed filescdn.com
  10841.  
  10842. February 27, 2017
  10843. Version 1.3.7.0
  10844. fixed openload.co
  10845.  
  10846. February 26, 2017
  10847. Version 1.3.6.9
  10848. fixed drive.google.com
  10849. fixed uptobox.com (by dodoxp)
  10850.  
  10851. February 25, 2017
  10852. Version 1.3.6.8
  10853. added uploading.com to obsolete hosts
  10854.  
  10855. February 24, 2017
  10856. Version 1.3.6.7
  10857. cloudzilla.to added to obsolete hosts
  10858.  
  10859. February 23, 2017
  10860. Version 1.3.6.6
  10861. uploadify.net
  10862.  
  10863. February 22, 2017
  10864. Version 1.3.6.5
  10865. fixed katfile.com
  10866.  
  10867. February 12, 2017
  10868. Version 1.3.6.3
  10869. added junocloud.me to obsolete hosts
  10870.  
  10871. January 12, 2017
  10872. Version 1.3.6.2
  10873. added share.az & upfile.mobi
  10874.  
  10875. January 07, 2017
  10876. Version 1.3.6.1
  10877. added ausfile.com
  10878.  
  10879. January 05, 2017
  10880. Version 1.3.6.0
  10881. removed uploadable.ch from obsolete hosts
  10882.  
  10883. January 04, 2017e
  10884.  
  10885. December 31, 2016
  10886. Version 1.3.5.8
  10887. disabled on pizzaonline.dominos
  10888.  
  10889. December 31, 2016
  10890. Version 1.3.5.7
  10891. added uploadable.ch to obsolete hosts
  10892.  
  10893. December 30, 2016
  10894. Version 1.3.5.6
  10895. restored kingfiles.net
  10896.  
  10897. December 14, 2016
  10898. Version 1.3.5.5
  10899. fixed some 1fichier links not checking (yurii)
  10900.  
  10901. December 01, 2016
  10902. Version 1.3.5.4
  10903. added temp-share.com & filesha.com
  10904.  
  10905. November 30, 2016
  10906. Version 1.3.5.3
  10907. fixed mexashare.com not detecting some dead links
  10908.  
  10909. November 29, 2016
  10910. Version 1.3.5.2
  10911. added black-label.pro (live links only)
  10912.  
  10913. November 27, 2016
  10914. Version 1.3.5.1
  10915. made changes to filefactory
  10916.  
  10917. November 23, 2016
  10918. Version 1.3.5.0
  10919. added megashares.com to obsolete hosts
  10920. fixed letitbit not showing as obsolete
  10921. added littlebyte.net
  10922.  
  10923. November 22, 2016
  10924. Version 1.3.4.9
  10925. added code for live links to rapidgator
  10926. added dailyfiles.net
  10927. added upfiles.net
  10928. added multiup.eu
  10929.  
  10930. November 17, 2016
  10931. Version 1.3.4.8
  10932. fixed filefactory, again
  10933.  
  10934. November 17, 2016
  10935. Version 1.3.4.7
  10936. fixed filefactory folders
  10937.  
  10938. November 15, 2016
  10939. Version 1.3.4.6
  10940. fixed filefactory
  10941.  
  10942. November 14, 2016
  10943. Version 1.3.4.5
  10944. fixed rapidgator
  10945. fixed filefactory folders
  10946.  
  10947.  
  10948. November 13, 2016
  10949. Version 1.3.4.4
  10950. fixed problem with drive.google.com
  10951. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10952.  
  10953. November 06, 2016
  10954. Version 1.3.4.3
  10955. added to obsolete hosts (by love buzz)
  10956. 4up.me
  10957. a nonfiles.com
  10958. axifile.com
  10959. creafile.net
  10960. demo.ovh.eu
  10961. filesin.com
  10962. file swap.com
  10963. gulfup.com
  10964. hexupload.com
  10965. hugefiles.net
  10966. jumbofiles.com
  10967. kingfiles.net
  10968. letitbit.net
  10969. lolabits.es
  10970. nowdownload.ch
  10971. openfile.ru
  10972. radicalshare.com
  10973. remixshare.com
  10974. storefiles.co
  10975. toutbox.fr
  10976. uploadbaz.com
  10977. uploadingit.com
  10978. verzend.be
  10979. vidplay.net
  10980. vidxden.com
  10981. xfileload.com
  10982.  
  10983. November 04, 2016
  10984. Version 1.3.4.2
  10985. added french code for rapidgator premium links
  10986. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10987.  
  10988. November 03, 2016
  10989. Version 1.3.4.1
  10990. added Portuguese code for rapidgator premium links
  10991. added suprafiles.net
  10992.  
  10993. November 02, 2016
  10994. Version 1.3.4.0
  10995. fixed depositfiles not detecting depositfiles.com/de links
  10996.  
  10997. October 27, 2016
  10998. Version 1.3.3.9
  10999. fixed uploaded.net not detecting some dead links
  11000.  
  11001. October 24, 2016
  11002. Version 1.3.3.8
  11003. added more french code for upload.af dead links
  11004.  
  11005. October 23, 2016
  11006. Version 1.3.3.7
  11007. added french for upload.af dead links
  11008.  
  11009. October 17, 2016
  11010. Version 1.3.3.6
  11011. fixed error (by Yurii)
  11012.  
  11013. October 17, 2016
  11014. Version 1.3.3.5
  11015. fixed file.al (by Yurii)
  11016.  
  11017. October 16, 2016
  11018. Version 1.3.3.4
  11019. test
  11020.  
  11021. October 11, 2016
  11022. Version 1.3.3.3
  11023. fixed subyshare.com not detecting some dead links
  11024. fixed mexashare.com
  11025. fixed pornfile.cz
  11026.  
  11027. October 10, 2016
  11028. Version 1.3.3.2
  11029. added fileflares.com
  11030. added erafile.com
  11031. added loop to subyshare.com & rockfile.eu
  11032.  
  11033. September 26, 2016
  11034. Version 1.3.3.1
  11035. added uploadocean.com
  11036.  
  11037. September 25, 2016
  11038. Version 1.3.3.0
  11039. added exbit.net
  11040.  
  11041. September 25, 2016
  11042. Version 1.3.2.9
  11043. fixed uptobox
  11044. fixed google (by kubbbie)
  11045.  
  11046. September 23, 2016
  11047. Version 1.3.2.8
  11048. added danish to rapidgator
  11049.  
  11050. September 22, 2016
  11051. Version 1.3.2.7
  11052. added wayupload.com
  11053.  
  11054. September 18, 2016
  11055. Version 1.3.2.6
  11056. added Portuguese language to rapidgator
  11057.  
  11058. September 15, 2016
  11059. Version 1.3.2.5
  11060. added languages to rapidgator
  11061. french
  11062. german
  11063. spanish
  11064. Italian
  11065. russian
  11066. polish
  11067. dutch
  11068. czech
  11069. chinese
  11070. japanese
  11071.  
  11072. September 14, 2016
  11073. Version 1.3.2.4
  11074. fixed spaceforfiles.com
  11075.  
  11076. September 09, 2016
  11077. Version 1.3.2.3
  11078. added bdupload.info
  11079. added german & deutsch language to workupload.com
  11080.  
  11081. September 08, 2016
  11082. Version 1.3.2.2
  11083. added...
  11084. storageserver.co.uk
  11085. cloud.mail.ru
  11086. fixed depositfiles
  11087.  
  11088. September 08, 2016
  11089. Version 1.3.2.1
  11090. added workupload.com
  11091.  
  11092. September 04, 2016
  11093. Version 1.3.2.0
  11094. made changes to euroshare.eu
  11095.  
  11096. September 03, 2016
  11097. Version 1.3.1.9
  11098. added usercloud.net
  11099. made changes to euroshare.eu
  11100.  
  11101. August 31, 2016
  11102. Version 1.3.1.8
  11103. fixed uptobox.com
  11104.  
  11105. August 30, 2016
  11106. Version 1.3.1.7
  11107. made changes to euroshare.eu
  11108.  
  11109. August 29, 2016
  11110. Version 1.3.1.6
  11111. made changes to data.hu
  11112.  
  11113. August 29, 2016
  11114. Version 1.3.1.5
  11115. fixed euroshare.eu not detecting dead links
  11116.  
  11117. August 23, 2016
  11118. Version 1.3.1.4
  11119. added ulozto.sk
  11120. added ulozto.cz
  11121.  
  11122. August 19, 2016
  11123. Version 1.3.1.3
  11124. fixed euroshare.eu
  11125. fixed 2share.com
  11126.  
  11127. August 17, 2016
  11128. Version 1.3.1.2
  11129. added french code for 1fichier
  11130.  
  11131. August 16, 2016
  11132. Version 1.3.1.1
  11133. fix for 1fichier folder links, by yurii
  11134.  
  11135. August 15, 2016
  11136. Version 1.3.1.0
  11137. another fix for 1fichier
  11138. added mystore.to
  11139.  
  11140. August 12, 2016
  11141. Version 1.3.0.9
  11142. fixed 1fichier
  11143.  
  11144. August 01, 2016
  11145. Version 1.3.0.8
  11146. fixed tezfiles.com not detecting some premium links
  11147.  
  11148. July 24, 2016
  11149. Version 1.3.0.7
  11150. added fileshareup.com
  11151.  
  11152. July 17, 2016
  11153. Version 1.3.0.6
  11154. added subyshare.com
  11155.  
  11156. july 10, 2016
  11157. Version 1.3.0.5
  11158. fixed ulozto.net
  11159.  
  11160. july 07, 2016
  11161. Version 1.3.0.4
  11162. fixed uloz.to
  11163.  
  11164. july 07, 2016
  11165. Version 1.3.0.3
  11166. added imagenetz.de
  11167.  
  11168. June 23, 2016
  11169. Version 1.3.0.2
  11170. excluded nexcess.net
  11171.  
  11172. June 20, 2016
  11173. Version 1.3.0.1
  11174. added daofile.com
  11175.  
  11176. June 16, 2016
  11177. Version 1.3.0.0
  11178. added mexashare.com
  11179.  
  11180. June 16, 2016
  11181. Version 1.2.9.9
  11182. added novafile.com
  11183. added uploadgig.com
  11184.  
  11185. June 15, 2016
  11186. Version 1.2.9.8
  11187. fixed upload.af
  11188.  
  11189. June 10, 2016
  11190. Version 1.2.9.7
  11191. added alltu.eu
  11192.  
  11193. June 09, 2016
  11194. Version 1.2.9.6
  11195. added code for french language to rapidgator.net & rg.to
  11196.  
  11197. June 04, 2016
  11198. Version 1.2.9.5
  11199. added upnito.sk
  11200.  
  11201. May 31, 2016
  11202. Version 1.2.9.4
  11203. fixed mega.co (by yurii)
  11204.  
  11205. May 31, 2016
  11206. Version 1.2.9.3
  11207. code cleanup
  11208.  
  11209. May 27, 2016
  11210. Version 1.2.9.2
  11211. added filesin.space
  11212.  
  11213. May 27, 2016
  11214. Version 1.2.9.1
  11215. added
  11216. filescdn.com
  11217. bankupload.com
  11218. katfile.com
  11219.  
  11220. May 18, 2016
  11221. Version 1.2.9.0
  11222. added warped.co to obsolete hosts
  11223.  
  11224. May 17, 2016
  11225. Version 1.2.8.9
  11226. fixed mega.nz
  11227.  
  11228. May 16, 2016
  11229. Version 1.2.8.8
  11230. added to obsolete hosts
  11231. fileband.com
  11232. filecloud.cc
  11233. filesmelt.com
  11234. goldbytez.com
  11235. hulkshare.com
  11236. idup.in
  11237. loudupload.net
  11238. muchshare.net
  11239. myupload.dk
  11240. nekaka.com
  11241. netkups.com
  11242. plunder.com
  11243. uploads.xxx
  11244. uploadspace.pl
  11245. xkeepfile.com
  11246.  
  11247. May 16, 2016
  11248. Version 1.2.8.7
  11249. added upnito.sk to obsolete hosts
  11250.  
  11251. May 15, 2016
  11252. Version 1.2.8.6
  11253. fixed uploading.site
  11254.  
  11255. May 15, 2016
  11256. Version 1.2.8.5
  11257. added oload.net
  11258.  
  11259. May 14, 2016
  11260. Version 1.2.8.4
  11261. added uploading.site
  11262.  
  11263. May 13, 2016
  11264. Version 1.2.8.3
  11265. added uploadc.ch
  11266. fixed vidspot.net
  11267.  
  11268. May 13, 2016
  11269. Version 1.2.8.2
  11270. added keepshare.net
  11271.  
  11272. May 11, 2016
  11273. Version 1.2.8.1
  11274. added uploadserv.com
  11275.  
  11276. May 09, 2016
  11277. Version 1.2.8.0
  11278. fixed upstore.net & upsto.re
  11279. added 24uploading.com to obsolete hosts
  11280.  
  11281. May 06, 2016
  11282. Version 1.2.7.9
  11283. added storagon.com to obsolete hosts
  11284. fixed worldbytez.com
  11285.  
  11286. May 02, 2016
  11287. Version 1.2.7.8
  11288. added myfiles.onl
  11289.  
  11290. april 28, 2016
  11291. Version 1.2.7.7
  11292. fixed bytewhale.com
  11293.  
  11294. april 27, 2016
  11295. Version 1.2.7.6
  11296. fixed rapidgator not detecting some premium links.
  11297.  
  11298. april 27, 2016
  11299. Version 1.2.7.5
  11300. added jeodrive.com
  11301.  
  11302. april 26, 2016
  11303. Version 1.2.7.4
  11304. added sanshare.com to obsolete hosts
  11305.  
  11306. april 26, 2016
  11307. Version 1.2.7.3
  11308. fixed vidspot.net
  11309.  
  11310. april 26, 2016
  11311. Version 1.2.7.2
  11312. added upx.nz
  11313.  
  11314. april 25, 2016
  11315. Version 1.2.7.1
  11316. added rapidfilehost.com to obsolete hosts
  11317. fixed bitster.cz
  11318.  
  11319. april 12, 2016
  11320. Version 1.2.7.0
  11321. fixed rapidgator not detecting some premium links.
  11322.  
  11323. april 11, 2016
  11324. Version 1.2.6.9
  11325. changed code for ncrypt.in
  11326.  
  11327. april 07, 2016
  11328. Version 1.2.6.8
  11329. added fileinz.com to obsolete hosts.
  11330.  
  11331. april 06, 2016
  11332. Version 1.2.6.7
  11333. added sharingmaster.com to obsolete hosts.
  11334.  
  11335. april 05, 2016
  11336. Version 1.2.6.6
  11337. added 4upfiles.com & elffiles.com to obsolete hosts
  11338.  
  11339. april 03, 2016
  11340. Version 1.2.6.5
  11341. updates to configuration page
  11342.  
  11343. March 31, 2016
  11344. Version 1.2.6.4
  11345. added code for tampermonkey 4.0 compatibility
  11346.  
  11347. March 31, 2016
  11348. Version 1.2.6.3
  11349. fixed uloz.to
  11350. fixed copy dead links to clipboard feature
  11351. added copy live links to clipboard feature.
  11352.  
  11353. March 24, 2016
  11354. Version 1.2.6.2
  11355. changed made to nitroflare. (yurri)
  11356.  
  11357. March 20, 2016
  11358. Version 1.2.6.1
  11359. fixed rapidgator
  11360. fixed dfiles
  11361. fixed dl.free.fr
  11362. fixed nitroflare.com (Fixed by Yurii)
  11363.  
  11364. March 15, 2016
  11365. Version 1.2.6.0
  11366. fixed rapidgator.net
  11367. fixed uploaded.net
  11368.  
  11369. March 13, 2016
  11370. Version 1.2.5.9
  11371. added
  11372. uploads.ws
  11373. upl.me
  11374. clicknupload.link
  11375. added fileover.net to obsolete hosts
  11376. fixed kingfiles.net
  11377.  
  11378. March 09, 2016
  11379. Version 1.2.5.8
  11380. added kingfiles.net to obsolete hosts
  11381. fixed 4upld.com/expressleech.com
  11382.  
  11383. March 08, 2016
  11384. Version 1.2.5.7
  11385. fixed solidfiles.com
  11386.  
  11387. March 01, 2016
  11388. Version 1.2.5.6
  11389. added filespace.com
  11390. fixed depositfiles (by yurii)
  11391.  
  11392. February 29, 2016
  11393. Version 1.2.5.5
  11394. made change to keep2share
  11395.  
  11396. February 28, 2016
  11397. Version 1.2.5.4
  11398. removed down4files.com from obsolete hosts.
  11399.  
  11400. February 26, 2016
  11401. Version 1.2.5.3
  11402. fixed userscloud.com
  11403.  
  11404. February 24, 2016
  11405. Version 1.2.5.2
  11406. added yandex.com
  11407. fixed datafile.com
  11408.  
  11409. February 22, 2016
  11410. Version 1.2.5.1
  11411. added bigfile.to
  11412.  
  11413. February 20, 2016
  11414. Version 1.2.5.0
  11415. added abelhas.pt
  11416.  
  11417. February 18, 2016
  11418. Version 1.2.4.9
  11419. made change to uptobox
  11420.  
  11421. February 17, 2016
  11422. Version 1.2.4.8
  11423. fixed yadi.sk
  11424.  
  11425. February 16, 2016
  11426. Version 1.2.4.7
  11427. fixed datafile.com
  11428. fixed filecad.com
  11429. added filecore.co & filestorm.to to obsolete hosts
  11430. added upload.af, filedwon.in & uplod.it
  11431.  
  11432. February 15, 2016
  11433. Version 1.2.4.6
  11434. fixed kumpulbagi.id
  11435. added sangfile.com to obsolete hosts
  11436.  
  11437. February 14, 2016
  11438. Version 1.2.4.5
  11439. fixed yandex.ru
  11440.  
  11441. February 13, 2016
  11442. Version 1.2.4.4
  11443. added lunaticfiles.com.
  11444.  
  11445. February 09, 2016
  11446. Version 1.2.4.3
  11447. added file.up09.com.
  11448.  
  11449. February 09, 2016
  11450. Version 1.2.4.2
  11451. tezfiles.com premium links now detected.
  11452.  
  11453. February 09, 2016
  11454. Version 1.2.4.1
  11455. added seenupload.com to obsolete hosts
  11456. fixed 180upload.com to show obsolete
  11457.  
  11458. February 08, 2016
  11459. Version 1.2.4.0
  11460. added tusfiles.com
  11461. added filesupload.org
  11462. added gigasize.com
  11463. added filecad.com
  11464. fixed filecloud.io
  11465. added uploadnet.co to obsolete hosts
  11466.  
  11467. February 07,2016
  11468. Vession 1.2.3.9
  11469. fixed depositfiles.com folders
  11470. fixed turbobit.net folders
  11471.  
  11472. February 06, 2016
  11473. Version 1.2.3.8
  11474. fixed 1fichier false dead links
  11475.  
  11476. February 04, 2106
  11477. Version 1.2.3.7
  11478. added geupload and lenfile to obsolete hosts
  11479. fixed kyc.pm/depfile
  11480.  
  11481. February 03, 2016
  11482. Version 1.2.3.6
  11483. fixed some nitroflare.com dead links not being detected
  11484.  
  11485. February 01, 2016
  11486. Version 1.2.3.5
  11487. script moved to new site
  11488.  
  11489. January 20, 2016
  11490. Version 1.2.3.3
  11491. fixed some rapidgator premium link not being detected
  11492.  
  11493. January 17, 2016
  11494. Version 1.2.3.2
  11495. added bytewhale.com
  11496. added rapidrar.com
  11497.  
  11498. Version 1.2.3.1
  11499. added 180upload.com to obsolete hosts
  11500. fixed hellspy.com
  11501. added dinoshare.cz,
  11502.  
  11503. January 13, 2016
  11504. Version 1.2.3.0
  11505. added rapidu.net
  11506. added uploadboy.me
  11507. fixed euroshare.eu
  11508.  
  11509. January 12, 2016
  11510. Version 1.2.2.9
  11511. added kb.simple-aja.info
  11512.  
  11513. January 10, 2016
  11514. Version 1.2.2.8
  11515. made changes to fastshare.cz
  11516.  
  11517. January 10, 2016
  11518. Version 1.2.2.7
  11519. fixed uptobox.com
  11520.  
  11521. January 09, 2016
  11522. Version 1.2.2.6
  11523. datoteke.com now detects premium links
  11524. fixed turbobit.net
  11525. fixed uptobox.com
  11526. added pornfile.cz
  11527. added pornoid.cz
  11528. added file-share.top
  11529. added bitster.cz
  11530.  
  11531. January 05, 2016
  11532. Version 1.2.2.5
  11533. fixed salefiles.com
  11534. fixed ozofile.com
  11535.  
  11536. January 04, 2016
  11537. Version 1.2.2.4
  11538. added sharehost.eu
  11539.  
  11540. December 30, 2015
  11541. Version 1.2.2.3
  11542. added tezfiles.com
  11543.  
  11544. December 28, 2015
  11545. Version 1.2.2.2
  11546. fixed some k2s & fboom dead link not getting detected
  11547. fixed some k2s premium links not getting detected.
  11548. fixed ssh.yt not detecting some dead links
  11549. fixed ncrypt.in dead links showing yellow
  11550.  
  11551. December 20, 2015
  11552. Version 1.2.2.0
  11553. added datoteke.com
  11554.  
  11555. December 19, 2015
  11556. Version 1.2.1.9
  11557. added secured.in & linksave.in to obsolete hosts
  11558.  
  11559. December 17, 2015
  11560. Version 1.2.1.8
  11561. added german for dead links to secureupload.eu.
  11562.  
  11563. December 17, 2015
  11564. Version 1.2.1.7
  11565. added french for dead links to secureupload.eu.
  11566. fixed problem with tooltip display.
  11567.  
  11568. December 13, 2015
  11569. Version 1.2.1.6
  11570. added netload.me & fileparadox.in to obsolete hosts
  11571.  
  11572. December 09, 2015
  11573. Version 1.2.1.5
  11574. added rapidsonic.com & fileparadox.com to obsolete hosts
  11575.  
  11576. December 04, 2015
  11577. Version 1.2.1.4
  11578. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  11579.  
  11580. December 03, 2015
  11581. Version 1.2.1.3
  11582. added dailyuploads.net
  11583.  
  11584. December 02, 2015
  11585. Version 1.2.1.2
  11586. fixed hitfile.net
  11587. fixed kingfiles.net
  11588.  
  11589. November 30, 2015
  11590. Version 1.2.1.1
  11591. added filepost.com to obsolete hosts
  11592. added devilshare.net
  11593.  
  11594. November 28, 2015
  11595. Version 1.2.1.0
  11596. fixed datafile.com not detecting some premium links.
  11597.  
  11598. November 25, 2015
  11599. Version 1.2.0.9
  11600. fixed filejoker.net
  11601. fixed toutbox.fr
  11602. fixed nowvideo.sx
  11603.  
  11604. November 24, 2015
  11605. Version 1.2.0.8
  11606. fixed openload.io
  11607.  
  11608. November 20, 2015
  11609. Version 1.2.0.7
  11610. //added file.al
  11611. //fixed nitroflare.com false live links
  11612. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  11613.  
  11614. November 17, 2015
  11615. Version 1.2.0.6
  11616. added clicknupload.me
  11617.  
  11618. November 09, 2015
  11619. Version 1.2.0.5
  11620. fixed some depfile premium links not being detected
  11621.  
  11622. November 08, 2015
  11623. Version 1.2.0.4
  11624. fixed some rapidgator premium links not being detected
  11625. fixed doraupload.com
  11626.  
  11627. November 08, 2015
  11628. Version 1.2.0.3
  11629. fixed uploaded false premium
  11630.  
  11631. November 07, 2015
  11632. Version 1.2.0.2
  11633. fixed redbunker.net
  11634.  
  11635. November 05, 2015
  11636. Version 1.2.0.1
  11637. fixed app.box.com
  11638. added multiup.org (does not detect all dead links)
  11639.  
  11640. November 01, 2015
  11641. Version 1.2.0.0
  11642. added more languages to rockfile and 1fichier
  11643.  
  11644. November 01, 2015
  11645. Version 1.1.9.9
  11646. fixed rockfile.eu
  11647. changed 1fichier code (Thanks yurri)
  11648. added to obsolete hosts... (Thanks Love Buzz)
  11649. burnupload.com
  11650. cramit.in
  11651. cramitin.net
  11652. down4files.com
  11653. edoc.com
  11654. jumbofile.net
  11655. krotix.net
  11656. migahost.com
  11657. movreel.com
  11658. netload.in
  11659. newfileland.com
  11660. quickshare.cz
  11661.  
  11662. October 30, 2015
  11663. Version 1.1.9.8
  11664. added alfafile.net
  11665.  
  11666. October 26, 2015
  11667. Version 1.1.9.7
  11668. changed datafile.com and uplea.com
  11669. added lolabits.es
  11670.  
  11671. October 26, 2015
  11672. Version 1.1.9.6
  11673. added toutbox.fr
  11674.  
  11675. October 25, 2015
  11676. Version 1.1.9.5
  11677. fixed counter error
  11678.  
  11679. October 25, 2015
  11680. Version 1.1.9.4
  11681. changed uptobox.com code
  11682.  
  11683. October 21, 2015
  11684. Version 1.1.9.3
  11685. fixed uptobox.com
  11686.  
  11687. October 20, 2015
  11688. Version 1.1.9.2
  11689. bug fixes and new method of detecting premium links.
  11690.  
  11691. October 15, 2015
  11692. Version 1.1.9.1
  11693. fixed hugefiles.net false premium
  11694. changed uptobox.com code
  11695.  
  11696. October 06, 2015
  11697. Version 1.1.9.0
  11698. fixed filefactory
  11699. fixed rockfile false premium
  11700. keep2share & fileboom now detect premium links (fixed by yurii)
  11701.  
  11702. October 01, 2015
  11703. Version 1.1.8.9
  11704. fixed free.fr false premium
  11705. fixed thevideo.me false premium
  11706.  
  11707. September 28, 2015
  11708. Version 1.1.8.8
  11709. added uplea.com and openload.co
  11710.  
  11711. September 27, 2015
  11712. Version 1.1.8.7
  11713. fixed fileparadox.in false premium
  11714. added kingfiles.net to obsolete hosts
  11715. removed inafile.com from obsolete hosts
  11716.  
  11717. September 22, 2015
  11718. Version 1.1.8.6
  11719. fixed nitroflare false premium
  11720.  
  11721. September 22, 2015
  11722. Version 1.1.8.5
  11723. fixed userscloud.com false premium
  11724. fixed usersfiles.com false premium
  11725. changed arabloads.com to arabloads.net
  11726. changed nowdownloads.eu to nowdownloads.ch
  11727.  
  11728. September 21, 2015
  11729. Version 1.1.8.3
  11730. added ryushare.com to obsolete hosts.
  11731.  
  11732. September 20, 2015
  11733. Version 1.1.8.2
  11734. fixed nitroflare not showing premium links
  11735. added down4files.com,storfiles.co,filehost.pw
  11736.  
  11737. September 16, 2015
  11738. Version 1.1.8.1
  11739. added crisshare.com to obsolete hosts
  11740. fixed filemoney.com false premium
  11741. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11742.  
  11743. September 14, 2015
  11744. Version 1.1.8.0
  11745. added to obsolete hosts...
  11746. sharebeast.com
  11747. tufiles.ru
  11748.  
  11749. September 12, 2015
  11750. Version 1.1.7.9
  11751. fixed rghost.net false premium
  11752. fixed unlimitzone.com false premium
  11753. fixed turbobit.net false live link
  11754.  
  11755. September 11, 2015
  11756. Version 1.1.7.8
  11757. Fixed filefactory.com false premium.
  11758.  
  11759. September 07, 2015
  11760. Version 1.1.7.7
  11761. fixed "depositfiles.com/en/files" links not checking
  11762.  
  11763. September 06, 2015
  11764. Version 1.1.7.6
  11765. added French code for 1fichier
  11766.  
  11767. August 29, 2015
  11768. Version 1.1.7.5
  11769. fixed depositfiles
  11770. fixed mega.co.nz/mega.nz
  11771. (fixed by yurii)
  11772.  
  11773. August 23, 2015
  11774. Version 1.1.7.4
  11775. Fixed uploadrocket (by yurii)
  11776.  
  11777. August 20, 2015
  11778. Version 1.1.7.3
  11779. fixed depfile.com false premium
  11780. fixed 1fichier false premium
  11781. fixed rapidgator false premium
  11782.  
  11783. August 08, 2015
  11784. Version 1.1.7.1
  11785. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11786.  
  11787. August 07, 2015
  11788. Version 1.1.7.0
  11789. fixed...
  11790. streamin.to
  11791. thefile.me
  11792. vidzi.tv
  11793. added...
  11794. filenuke.com
  11795. vidto.me
  11796. vidspot.net
  11797. sharesix.com
  11798. sharesix.net
  11799. movpod.in,
  11800.  
  11801. August 07, 2015
  11802. Version 1.1.6.9 added...
  11803. thefile.me
  11804. vidzi.tv
  11805. videoweed.es
  11806. vodlocker.com
  11807. nowvideo.sx
  11808. cloudtime.to
  11809. thevideo.me
  11810. vidbull.com
  11811. allmyvideos.net
  11812. novamov.com
  11813. filehoot.com
  11814. stagevu.com
  11815. gorillavid.in
  11816. streamin.to
  11817.  
  11818. August 02, 2015
  11819. Version 1.1.6.8
  11820. added cloudshares.net
  11821.  
  11822. August 01, 2015
  11823. Version 1.1.6.7
  11824. fixed depfile redirectors false premium
  11825.  
  11826. July 31, 2015
  11827. Version 1.1.6.6
  11828. fixed depfile.com false premium
  11829. */