W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-12-28 提交的版本,查看 最新版本

  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.4.0
  35. // ==/UserScript==
  36.  
  37. var War_version = "1.4.4.0 December 27, 2017";
  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. "gfycat.com",
  46. "4downfiles.org",
  47. "drop.me",
  48. "bittfox.com",
  49. "cloudyfiles.com|cloudyfiles.org",
  50. "backin.net",
  51. "bitshare.com",
  52. "filefox.cc",
  53. "sendit.cloud",
  54. "9xupload.me",
  55. "zapfile.net",
  56. "avatarshare.com",
  57. "uploadbank.com",
  58. "up-4ever.com",
  59. "owndrives.com",
  60. "fileshd.net",
  61. "media4up.com",
  62. "700files.com",
  63. "megafiles.us",
  64. "flexydrive.com",
  65. "hotlink.cc",
  66. "fileshark.pl",
  67. "pobierz.to",
  68. "kingfile.pl",
  69. "oload.tv",
  70. "uploads.to",
  71. "uploadify.net",
  72. "temp-share.com",
  73. "ausfile.com",
  74. "filesha.com",
  75. "upfiles.net",
  76. "dailyfiles.net",
  77. "upfile.mobi",
  78. "share.az",
  79. "crazyshare.cc",
  80. "uploadocean.com",
  81. "drive.google.com",
  82. "suprafiles.net",
  83. "suprafiles.co",
  84. "suprafiles.org",
  85. "fileflares.com",
  86. "erafile.com",
  87. "mystore.to",
  88. "littlebyte.net",
  89. "exbit.net",
  90. "bdupload.info",
  91. "workupload.com",
  92. "wayupload.com",
  93. "cloud.mail.ru",
  94. "fileshareup.com",
  95. "usercloud.net",
  96. "daofile.com",
  97. "subyshare.com",
  98. "mexashare.com",
  99. "uploadgig.com",
  100. "upload.af",
  101. "alltu.eu",
  102. "filesin.space",
  103. "imagenetz.de",
  104. "katfile.com",
  105. "bankupload.com",
  106. "dl.free.fr|getfile.pl",
  107. "keepshare.net",
  108. "filescdn.com",
  109. "myfiles.onl",
  110. "uploadserv.com",
  111. "uploading.site",
  112. "filedwon.info",
  113. "jeodrive.com",
  114. "ncrypt.in",
  115. "yandex.com",
  116. "down4files.com",
  117. 'filespace.com',
  118. "uplod.it",
  119. "rapidu.net",
  120. "uploads.ws|upl.me",
  121. "file.up09.com",
  122. "lunaticfiles.com",
  123. "filecad.com",
  124. "filesupload.org",
  125. "bytewhale.com",
  126. "rapidrar.com",
  127. "download.cz.hellshare.com",
  128. "pornfile.cz",
  129. "dinoshare.cz",
  130. "kb.simple-aja.info",
  131. "bitster.cz",
  132. "file-share.top",
  133. "pornoid.cz",
  134. "dailyuploads.net",
  135. "sharehost.eu",
  136. "tezfiles.com",
  137. "devilshare.net",
  138. "alfafile.net",
  139. "openload.co",
  140. "multiup.org",
  141. "filenuke.com",
  142. "file.al|1f.al",
  143. "vidto.me",
  144. "filehost.pw",
  145. "turbobit.ru",
  146. "sharesix.com|sharesix.net",
  147. "movpod.in",
  148. "thefile.me",
  149. "datoteke.com",
  150. "vidzi.tv",
  151. "videoweed.es",
  152. "nowvideo.sx",
  153. "cloudtime.to",
  154. "thevideo.me",
  155. "vidbull.com",
  156. "novamov.com",
  157. "filehoot.com",
  158. "stagevu.com",
  159. "gorillavid.in",
  160. "streamin.to",
  161. "4upld.com|expressleech.com",
  162. "cloudshares.net",
  163. "swoopshare.com",
  164. "2shared.com",
  165. "fileupload.pw",
  166. "zxcfiles.com",
  167. "up07.net",
  168. "4shared.com",
  169. "adrive.com",
  170. "aisfile.com",
  171. "bezvadata.cz",
  172. "usersfiles.com",
  173. "pan.baidu.com",
  174. "datei.to",
  175. "daten-hoster.de|filehosting.org|xtraupload.de",
  176. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  177. "divshare.com",
  178. "easy-share.com|crocko.com",
  179. "easybytez.com",
  180. "edisk.cz",
  181. "euroshare.eu",
  182. "file-upload.net",
  183. "file-upload.com",
  184. "yadi.sk",
  185. "wizupload.com",
  186. "fastshare.cz",
  187. "filefactory.com",
  188. "share.vnn.vn",
  189. "yunpan.cn",
  190. "tropicshare.com",
  191. "inclouddrive.com",
  192. "fileflyer.com",
  193. "filerio.com|filekeen.com",
  194. "up.4share.vn",
  195. "upfile.vn",
  196. "datafilehost.com",
  197. "worldbytez.com",
  198. "files.mail.ru",
  199. "filesflash.com",
  200. "box.com",
  201. "uptobox.com",
  202. "box.net",
  203. "sdilej.cz",
  204. "ex-load.com",
  205. "filesmonster.com",
  206. "filestore.to",
  207. "hulkload.com",
  208. "filedropper.com",
  209. "free-uploading.com",
  210. "gamefront.com|filefront.com",
  211. "gettyfile.ru",
  212. "gigapeta.com",
  213. "gigasize.com",
  214. "hellshare.com",
  215. "hellspy.com",
  216. "hitfile.net",
  217. "hostuje.net",
  218. "freefilehosting.net",
  219. "free.fr",
  220. "hyperfileshare.com",
  221. "filecloud.io|ifile.it",
  222. "ifolder.ru",
  223. "uploadrocket.net",
  224. "lafiles.com",
  225. "leteckaposta.cz|sharegadget.com",
  226. "load.to",
  227. "mediafire.com",
  228. "megafileupload.com",
  229. "movshare.net",
  230. "narod.ru|narod.yandex.ru",
  231. "fboom.me|fileboom.me",
  232. "partage-facile.com",
  233. "sharerapid.cz",
  234. "exclusiveloader.com",
  235. "acefile.net",
  236. "queenshare.com",
  237. "rapidgator.net",
  238. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  239. "oboom.com",
  240. "filepi.com",
  241. "rarefile.net",
  242. "rayfile.com",
  243. "rghost.net",
  244. "sendmyway.com",
  245. "clicknupload.com",
  246. "clicknupload.me",
  247. "clicknupload.link",
  248. "clicknupload.org",
  249. "uploadable.ch",
  250. "sharemods.com",
  251. "hostr.co",
  252. "sendspace.com",
  253. "sharecash.org",
  254. "share-links.biz",
  255. "share-online.biz|egoshare.com",
  256. "megarapid.cz",
  257. "shareflare.net",
  258. "solidfiles.com",
  259. "led.wf",
  260. "lan.wf",
  261. "adlink.wf",
  262. "click.tf",
  263. "kyc.pm",
  264. "ssh.tf",
  265. "ssh.yt",
  266. "yep.pm",
  267. "stahovanizasms.cz",
  268. "turbobit.net",
  269. "tikfile.com",
  270. "cloudsix.me",
  271. "turboupload.com",
  272. "uloz.to",
  273. "ulozto.net",
  274. "ulozto.sk",
  275. "ulozto.cz",
  276. "ulozisko.sk",
  277. "uloziste.com",
  278. "unibytes.com",
  279. "upload-il.net|przeslij.net",
  280. "uploaded.to|uploaded.net|ul.to",
  281. "chayfile.com",
  282. "rockfile.co",
  283. "usaupload.net",
  284. "veehd.com",
  285. "videobb.com",
  286. "vip-file.com",
  287. "webshare.cz",
  288. "xdisk.cz",
  289. "yunfile.com|filemarkets.com",
  290. "ziddu.com",
  291. "zippyshare.com",
  292. "rodfile.com",
  293. "wikiupload.com",
  294. "uploadstube.de",
  295. "faststore.org",
  296. "flyfiles.net",
  297. "prefiles.com",
  298. "hackerbox.org",
  299. "amonshare.com",
  300. "data.hu",
  301. "brupload.net",
  302. "kingfiles.net",
  303. "userscloud.com",
  304. "kumpulbagi.com|kumpulbagi.id",
  305. "uppit.com|up.ht|upx.nz",
  306. "downloadani.me",
  307. "filesabc.com",
  308. "extmatrix.com",
  309. "sendfiles.nl",
  310. "yourfilestore.com",
  311. "filebig.net",
  312. "file4safe.com",
  313. "tusfiles.net|tusfiles.com",
  314. "filemac.com",
  315. "ozofiles.com",
  316. "nosupload.com",
  317. "gboxes.com",
  318. "myvdrive.com|fileserving.com",
  319. "novafile.com",
  320. "longfiles.com",
  321. "bitupload.com",
  322. "indowebster.com",
  323. "superload.cz",
  324. "mafiastorage.com",
  325. "hellupload.com",
  326. "stiahni.si",
  327. "sendspace.pl",
  328. "fastshare.org",
  329. "filejoker.net",
  330. "filestore.com.ua",
  331. "rapidfileshare.net",
  332. "stiahnito.sk",
  333. "rusfolder.com",
  334. "catshare.net",
  335. "mixturecloud.com",
  336. "filedais.com",
  337. // "imdb.com",
  338. "nitroflare.com",
  339. "akafile.com",
  340. "up.top4top.net",
  341. "upload.ee",
  342. "shareplace.org",
  343. "uploadc.com",
  344. "uploadc.ch",
  345. "exoshare.com",
  346. "borncash.org",
  347. "2downloadz.com",
  348. "mightyupload.com",
  349. "anysend.com",
  350. "datafile.com",
  351. "upstore.net",
  352. "upsto.re",
  353. "speedy.sh",
  354. "ge.tt",
  355. "filesflash.net",
  356. "salefiles.com",
  357. "datoid.cz",
  358. "cloudstor.es",
  359. "streamfile.com",
  360. "eyesfile.ca",
  361. "filemoney.com",
  362. "uploadboy.com",
  363. "uploadboy.me",
  364. "speedshare.eu",
  365. "google.com|google.be",
  366. "unlimitzone.com",
  367. "rioupload.com",
  368. "rg.to",
  369. "jumbofiles.org",
  370. "fshare.vn",
  371. "spaceforfiles.com",
  372. "up.media1fire.com",
  373. "depfile.com",
  374. "depfile.us",
  375. "dipfile.com",
  376. "go4up.com",
  377. "dropbox.com",
  378. "redbunker.net",
  379. "divxpress.com",
  380. "mega.nz|mega.co.nz",
  381. "storageserver.co.uk",
  382. "anafile.com",
  383. "bigfile.to",
  384. "arabloads.net",
  385. "sharerepo.com",
  386. "sfshare.se",
  387. "files.fm",
  388. "koofile.com",
  389. "doraupload.com",
  390. "openload.io",
  391. "upnito.sk",
  392. "oload.net",
  393. "minhateca.com.br",
  394. ];
  395.  
  396. try
  397. {
  398. //iframes excluded
  399. if (window.top != window.self)
  400. {
  401. return;
  402. }
  403. //allHostNames sites excluded
  404. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  405. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  406. ")"))
  407. {
  408. return;
  409. }
  410. }
  411. catch (e)
  412. {
  413. return;
  414. }
  415.  
  416. //separate alternative domains with "|" char (first name is considered being main)
  417. var allContainerNames = [
  418. "adf.ly",
  419. "linkcrypt.ws",
  420. "linksafe.me",
  421. // "linksave.in",
  422. "linkto.net",
  423. "madlink.sk",
  424. "multiload.cz",
  425. "mirrorcreator.com",
  426. // "ncrypt.in",
  427. "redi.re",
  428. "relink.us",
  429. "safelinking.net",
  430. "theloo.katt.it",
  431. "bit.ly",
  432.  
  433. ];
  434.  
  435. //separate alternative domains with "|" char (first name is considered being main)
  436. var allObsoleteNames = [
  437. "black-label.pro",
  438. "4up.me",
  439. "anonfiles.com",
  440. "axifile.com",
  441. "creafile.net",
  442. "cloudzilla.to",
  443. "uplea.com",
  444. "neodrive.co",
  445. "demo.ovh.eu",
  446. "filesin.com",
  447. "fileswap.com",
  448. "junocloud.me",
  449. "gulfup.com",
  450. "hexupload.com",
  451. "secureupload.eu",
  452. "hugefiles.net",
  453. "jumbofiles.com",
  454. "letitbit.net",
  455. "lolabits.es",
  456. "nowdownload.ch",
  457. "openfile.ru",
  458. "radicalshare.com",
  459. "remixshare.com",
  460. "storefiles.co",
  461. "toutbox.fr",
  462. "uploadbaz.com",
  463. "uploadingit.com",
  464. "uploading.com",
  465. "verzend.be",
  466. "vidplay.net",
  467. "vidxden.com",
  468. "xfileload.com",
  469. "warped.co",
  470. "xkeepfile.com",
  471. "abelhas.pt",
  472. "uploadspace.pl",
  473. "allmyvideos.net",
  474. "uploads.xxx",
  475. "netkups.com",
  476. "nekaka.com",
  477. "vidspot.net",
  478. "myupload.dk",
  479. "muchshare.net",
  480. "loudupload.net",
  481. "idup.in",
  482. "hulkshare.com",
  483. "goldbytez.com",
  484. "filesmelt.com",
  485. "fileband.com",
  486. "uloz.cz",
  487. "secured.in",
  488. "rapidfilehost.com",
  489. "fileover.net",
  490. "fileinz.com",
  491. "linksave.in",
  492. "seenupload.com",
  493. "sangfile.com",
  494. "filepost.com|fp.io",
  495. "sharingmaster.com ",
  496. "24uploading.com",
  497. "storagon.com",
  498. "sanshare.com",
  499. "filestorm.to",
  500. "uploadnet.co",
  501. "180upload.com",
  502. "rapidsonic.com",
  503. "fileparadox.com",
  504. "4upfiles.com",
  505. "geupload.com",
  506. "lenfile.com",
  507. "fileparadox.in",
  508. "uploadhero.co",
  509. "uploadhero.com",
  510. "newfileland.com",
  511. "quickshare.cz",
  512. "elffiles.com",
  513. "netload.in",
  514. "netload.me",
  515. "movreel.com",
  516. "migahost.com",
  517. "krotix.net",
  518. "jumbofile.net",
  519. "edoc.com",
  520. "cramit.in|cramitin.net",
  521. "freakshare.com",
  522. "burnupload.com|burnupload.ihiphop.com",
  523. "freakshare.net",
  524. "daj.to",
  525. "bl.st",
  526. "2drive.net",
  527. "ryushare.com",
  528. "crisshare.com",
  529. "tufiles.ru",
  530. "uncapped-downloads.com",
  531. "sockshare.com",
  532. "ddlstorage.com",
  533. "dataport.cz",
  534. "dizzcloud.com",
  535. "sharebeast.com",
  536. "stahovadlo.cz",
  537. "shared.com",
  538. "storage.to",
  539. "putlocker.com",
  540. "lumfile.com",
  541. "lumfile.se",
  542. "lumfile.eu",
  543. "firedrive.com",
  544. "fileshare.in.ua",
  545. "filecore.co.nz",
  546. "filecore.co",
  547. "iskladka.cz",
  548. "file-rack.com",
  549. "fast-load.net",
  550. "subory.sk",
  551. "bigandfree.com",
  552. "fileop.com",
  553. "mujsoubor.cz",
  554. "sendfile.to",
  555. "superfastfile.com",
  556. "quickyshare.com",
  557. "duckload.com",
  558. "uploadstore.net",
  559. "meinupload.com",
  560. "dualshare.com",
  561. "2xupload.to|2xupload.de",
  562. "oxedion.com",
  563. "uploadline.com",
  564. "dll.bz",
  565. "movieshare.in",
  566. "milledrive.com",
  567. "quickupload.net",
  568. "safelink.in",
  569. "metadivx.com",
  570. "divxlink.com",
  571. "uploadrack.com",
  572. "teradepot.com",
  573. "dataup.to",
  574. "upit.to",
  575. "driveway.com",
  576. "eatlime.com",
  577. "a2zuploads.com",
  578. "friendlyfiles.net",
  579. "flyfile.us",
  580. "speedyshare.com",
  581. "uploadspace.eu",
  582. "keepfile.com",
  583. "piggyshare.com",
  584. "uplly.com",
  585. "filecrown.com",
  586. "6giga.com",
  587. "uploadjockey.com",
  588. "bluehost.to",
  589. "filegu.ru",
  590. "filebase.to",
  591. "up-file.com",
  592. "xvideos.com",
  593. "ufox.com",
  594. "filebling.com",
  595. "loaded.it",
  596. "uploadcell.com",
  597. "uploadshare.cz",
  598. "mangoshare.com",
  599. "filestab.com",
  600. "crazyupload.com",
  601. "gaiafile.com",
  602. "sharejunky.com",
  603. "fileho.com",
  604. "bigandfree.com",
  605. "bigfile.in",
  606. "bigshare.eu",
  607. "dahosting.org",
  608. "digisofts.net",
  609. "file4save.com",
  610. "filechip.com",
  611. "filescloud.com",
  612. "saveqube.com",
  613. "turboshare.de",
  614. "z-upload.com",
  615. "youshare.com",
  616. "jiffyupload.com",
  617. "gigeshare.com",
  618. "datenklo.net",
  619. "upload.dj",
  620. "loadfiles.in",
  621. "upit.to",
  622. "dsfileshare.com",
  623. "sharesimple.net",
  624. "4files.net",
  625. "wooupload.com",
  626. "odsiebie.com",
  627. "filenavi.com",
  628. "3oof.com",
  629. "meshwaar.com",
  630. "maxupload.com",
  631. "share.cx",
  632. "atserver.eu",
  633. "hotfiles.ws",
  634. "esnips.com",
  635. "tuxfile.com",
  636. "file2upload.net",
  637. "filebling.com",
  638. "turboshare.com",
  639. "rarhost.com",
  640. "isharehd.com",
  641. "i741.com",
  642. "dataup.de",
  643. "fofly.com",
  644. "shareonall.com",
  645. "sexuploader.com",
  646. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  647. "uploadhyper.com",
  648. "filespawn.com",
  649. "caizzii.com",
  650. "volnyweb.cz",
  651. "usershare.net",
  652. "filescash.net",
  653. "metahyper.com",
  654. "combozip.com",
  655. "x7.to",
  656. "uploadbox.com",
  657. "enterupload.com|flyupload.com",
  658. "filepoint.de",
  659. "mystream.to",
  660. "x-fs.com",
  661. "shareator.com",
  662. "srapid.eu",
  663. "sosame.cz",
  664. "filesdump.com",
  665. "2-klicks.de",
  666. "uploking.com",
  667. "silofiles.com",
  668. "upfile.in",
  669. "filehook.com",
  670. "uploadking.com",
  671. "uploadhere.com",
  672. "kewlshare.com",
  673. "rapidable.com",
  674. "uploadwaste.com",
  675. "filemup.com",
  676. "filesonic.com|sharingmatrix.com",
  677. "fileserve.com",
  678. "wupload.com",
  679. "skipfile.com",
  680. "smartuploader.com",
  681. "dualshare.com",
  682. "storeandserve.com",
  683. "mountfile.com",
  684. "transitfiles.com",
  685. "uploadstation.com",
  686. "filejungle.com",
  687. "shareshared.com",
  688. "quickyshare.com",
  689. "save.am",
  690. "petandrive.com",
  691. "file2box.com",
  692. "flyshare.cz",
  693. "yabadaba.ru",
  694. "cloudcache.cc",
  695. "yourfilehost.com",
  696. "jakfile.com",
  697. "kickload.com",
  698. "pyramidfiles.com",
  699. "refile.net",
  700. "zshare.net",
  701. "ddlani.me|ddlanime.com",
  702. "ftp2share.com",
  703. "fooget.com",
  704. "rapidhide.com",
  705. "gotupload.com",
  706. "mooload.com",
  707. "zupload.com",
  708. "mytempdir.com",
  709. "onionshare.com",
  710. "stahnu.to",
  711. "oron.com",
  712. "badongo.com",
  713. "filereactor.com",
  714. "filegaze.com",
  715. "4bytez.com",
  716. "1hostclick.com",
  717. "anonstream.com",
  718. "batshare.com",
  719. "bitroad.net",
  720. "brontofile.com",
  721. "cloudnxt.net",
  722. "cloudnator.com|shragle.com",
  723. "filesfrog.net",
  724. "coolshare.cz",
  725. "dotavi.com",
  726. "ezyfile.net",
  727. "file-bit.net",
  728. "filecosy.com",
  729. "fileduct.com|fileduct.net",
  730. "filefat.com",
  731. "filelaser.com",
  732. "filemashine.com",
  733. "fileserver.cc",
  734. "filetechnology.com",
  735. "fireuploads.net",
  736. "gigfiles.net",
  737. "holderfile.com",
  738. "ihostia.com",
  739. "k2files.com",
  740. "mojofile.com",
  741. "ovfile.com",
  742. "qshare.com",
  743. "shafiles.me",
  744. "sharefilehost.com",
  745. "shareupload.com",
  746. "stahuj.to",
  747. "ugotfile.com",
  748. "uploadboost.com",
  749. "fileom.com",
  750. "vidhog.com",
  751. "xfileshare.eu",
  752. "bzlink.us",
  753. "bulletupload.com",
  754. "bloggerarticles.com",
  755. "mojedata.sk",
  756. "sharpfile.com",
  757. "upgrand.com",
  758. "nasdilej.cz",
  759. "mediatack.cz",
  760. "share-it.to",
  761. "primeupload.com",
  762. "filebeer.info",
  763. "baberepublic",
  764. "xtu.me",
  765. "sharebase.de",
  766. "luckyshare.net",
  767. "filerobo.com",
  768. "filevelocity.com",
  769. "filezpro.com",
  770. "file4sharing.com",
  771. "cing.be",
  772. "ufile.eu",
  773. "pigsonic.com",
  774. "fileupped.com",
  775. "sharerun.com",
  776. "filesaur.com",
  777. "rapidslnare.com",
  778. "bestsharing.com",
  779. "savefiles.net",
  780. "file2share.biz",
  781. "filecache.de",
  782. "monsteruploads.eu",
  783. "b9bb.com",
  784. "aiotool.net",
  785. "jamber.info",
  786. "megaftp.com",
  787. "desiupload.net",
  788. "file27.com",
  789. "yastorage.com",
  790. "filehost.ws",
  791. "copyload.com",
  792. "venusfile.com",
  793. "aieshare.com",
  794. "terafile.co",
  795. "terafile.com",
  796. "fileza.net",
  797. "filerose.com",
  798. "squillion.com",
  799. "fileprohost.com",
  800. "bitbonus.com",
  801. "warserver.cz",
  802. "uload.to",
  803. "sharedbit.net",
  804. "megaload.it",
  805. "filewinds.com",
  806. "uploadcore.com",
  807. "syfiles.com",
  808. "eyesfile.com",
  809. "hotfile.com",
  810. "superupl.com",
  811. "oteupload.com",
  812. "henchfile.com",
  813. "filegag.com",
  814. "HenchFile.com",
  815. "filedefend.com",
  816. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  817. "megabitshare.com",
  818. "cloudzer.com",
  819. "asfile.com",
  820. "cloudzer.net",
  821. "clz.to",
  822. "extabit.com",
  823. "247upload.com",
  824. "2download.de",
  825. "4fastfile.com",
  826. "asixfiles.com",
  827. "berofile.com",
  828. "bigupload.com",
  829. "cepzo.com",
  830. "clouds.to",
  831. "cobrashare.sk",
  832. "coraldrive.net",
  833. "cyberlocker.ch",
  834. "czshare.com",
  835. "darkport.org",
  836. "dark-uploads.com",
  837. "davvas.com",
  838. "enigmashare.com",
  839. "erofly.cz",
  840. "fastsonic.net",
  841. "filebox.com",
  842. "filecity.net",
  843. "filedap.com",
  844. "filedino.com",
  845. "filedownloads.org",
  846. "filefolks.com",
  847. "fileking.co",
  848. "filemates.com",
  849. "files.to",
  850. "files2k.eu",
  851. "filesector.cc",
  852. "filesega.com",
  853. "filesend.net",
  854. "filestay.com",
  855. "filestrum.com",
  856. "fileuplo.de",
  857. "fileupup.com",
  858. "forunesia.com",
  859. "freeuploads.fr",
  860. "uploa.dk",
  861. "getthebit.com",
  862. "getzilla.net",
  863. "goldfile.eu",
  864. "good.com",
  865. "grupload.com",
  866. "hellfile.com",
  867. "hipfile.com",
  868. "hitfile.com",
  869. "hulkfile.eu|duckfile.net",
  870. "i-filez.com",
  871. "ifile.ws",
  872. "kupload.org",
  873. "packupload.com",
  874. "lemuploads.com",
  875. "limelinx.com",
  876. "maxshare.pl",
  877. "megarelease.org",
  878. "megashares.com",
  879. "megashare.com",
  880. "minus.com",
  881. "mlfat4arab.com",
  882. "multishare.cz",
  883. "nirafile.com",
  884. "ok2upload.com",
  885. "peejeshare.com",
  886. "premiuns.org",
  887. "przeklej.net",
  888. "qkup.net",
  889. "rapidupload.sk",
  890. "rockdizfile.com",
  891. "rocketfile.net",
  892. "share-now.net",
  893. "share76.com",
  894. "sharebees.com",
  895. "sharefiles.co",
  896. "slingfile.com",
  897. "sms4file.com",
  898. "space4file.com",
  899. "tigershare.net",
  900. "toucansharing.com",
  901. "ubuntuone.com",
  902. "unextfiles.com",
  903. "upaj.pl",
  904. "upfile.biz",
  905. "uploadbin.net",
  906. "uploadic.com",
  907. "uploadinc.com",
  908. "uploading4u.eu",
  909. "uploadjet.net",
  910. "uploadorb.com",
  911. "upthe.net",
  912. "uptorch.com",
  913. "vidbox.yt",
  914. "videozer.com",
  915. "vreer.com",
  916. "wallobit.com",
  917. "zooupload.com",
  918. "privatefiles.com",
  919. "xerver.co",
  920. "BillionUploads.com",
  921. "rapidshare.com",
  922. "rapidshare.ru",
  923. "4savefile.com",
  924. "bayfiles.com",
  925. "bayfiles.net",
  926. "dodane.pl",
  927. "dotsemper.com",
  928. "egofiles.com",
  929. "epicshare.net",
  930. "fiberupload.net",
  931. "filemonkey.in",
  932. "filemonster.net",
  933. "filepom.com",
  934. "filesbb.com",
  935. "filevice.com",
  936. "gigaup.fr",
  937. "isavelink.com",
  938. "loombo.com",
  939. "megafiles.se",
  940. "migupload.com",
  941. "mydisc.net",
  942. "nitrobits.com",
  943. "potload.com",
  944. "redload.net",
  945. "shareprofi.com",
  946. "sharesuper.info",
  947. "sinhro.net",
  948. "speedfile.cz",
  949. "speedshare.org",
  950. "storage.novoro.net",
  951. "swankshare.com",
  952. "swatupload.com",
  953. "upafile.com",
  954. "uploadmachine.com",
  955. "uploadsat.com",
  956. "upshared.com",
  957. "usefile.com",
  958. "yourfiles.to",
  959. "zomgupload.com",
  960. "ultramegabit.com",
  961. "uploadto.us",
  962. "inafile.com",
  963. "vodlocker.com",
  964. "megairon.net",
  965.  
  966. ];
  967. ///////////////////////////////////////////////////////////////////////////////////////
  968. var firstRun = GM_getValue("First_run", true);
  969.  
  970. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  971. //////////////////////////////////////////////////////////////////////////////////////
  972. try
  973. {
  974. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  975. var last_known_version = GM_getValue("last_known_version", "");
  976. if (!last_known_version)
  977. {
  978. last_known_version = thisVersion;
  979. GM_setValue("last_known_version", last_known_version);
  980. }
  981. //var newVersion = !(thisVersion == last_known_version);
  982. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  983. GM_setValue("last_known_version", thisVersion);
  984. }
  985. catch (err)
  986. {
  987. var newVersion = false;
  988. }
  989.  
  990. var now = (new Date()).getTime();
  991. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  992. if (!last_custom_rules_nag)
  993. {
  994. last_custom_rules_nag = now;
  995. GM_setValue('last_custom_rules_nag', ''+now);
  996. }
  997.  
  998.  
  999. allHostNames.sort();
  1000. allContainerNames.sort();
  1001. allObsoleteNames.sort();
  1002.  
  1003. var RAND_STRING = "8QyvpOSsRG3QWq";
  1004. var DEBUG_MODE = false;
  1005.  
  1006. var TOOLTIP_MAXWIDTH = 600; //in pixels
  1007. var TOOLTIP_THUMBWIDTH = 200;
  1008. var containers_processed = false;
  1009.  
  1010. //settings for keyboard functions start
  1011. var CHECK_ALL_LINKS_KEY = "A";
  1012. var CONFIGURATION_KEY = "C";
  1013. var copy_to_dead_key = "D";
  1014. var copy_to_live_key = "L";
  1015. var toggle_autocheck_key = "W";
  1016. var toggle_Enable_Anonymizer_key = "Z";
  1017. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  1018. var first_key_keycodename = 'CTRL';
  1019. var second_key_keycode = '18';
  1020. var second_key_keycodename = 'ALT';
  1021. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  1022. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  1023. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  1024. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  1025. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  1026. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1027. //settings for keyboard functions end
  1028.  
  1029. //global settings start
  1030. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1031. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1032. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1033. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1034. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1035. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1036. var Progress_box_refresh_rate;
  1037. var Obsolete_file_hosts;
  1038. var Custom_rules, Custom_rules_text;
  1039. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1040.  
  1041. var messageBox = document.createElement('b'); // top-left message box
  1042.  
  1043. var cLinksTotal = 0;
  1044. var cLinksDead = 0;
  1045. var cLinksAlive = 0;
  1046. var cLinksUnava = 0;
  1047. var cLinksprem = 0;
  1048. var cLinksProcessed = 0;
  1049.  
  1050. var intervalId; //for updateProgress()
  1051.  
  1052. //icon resources
  1053. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAG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Ho4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1064. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1065. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEA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75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1067.  
  1068. //global settings end
  1069. if (window.opera && !window.console)
  1070. {
  1071. window.console = {};
  1072.  
  1073. function fn()
  1074. {
  1075. opera.postError(arguments);
  1076. };
  1077. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1078. {
  1079. window.console[name] = fn;
  1080. });
  1081. }
  1082.  
  1083. //displays colored text in message box
  1084. function sendMessage(text, color)
  1085. {
  1086. var msgDiv = document.createElement('div');
  1087. msgDiv.style.color = color;
  1088. msgDiv.innerHTML = text;
  1089. messageBox.appendChild(msgDiv);
  1090. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1091. }
  1092.  
  1093. function linkify(totalourls)
  1094. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1095. var ikkeTilladteTags;
  1096. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1097. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1098. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1099. allLinksRegex = new RegExp(allLinksRegex, "g");
  1100. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1101.  
  1102. if (Do_not_linkify_DL_links)
  1103. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1104. else
  1105. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1106.  
  1107. var regex = new RegExp(regexy);
  1108. var textNode, muligtLink;
  1109.  
  1110. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1111. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1112.  
  1113. var i = textNodes.snapshotLength;
  1114. while (i--)
  1115. {
  1116. textNode = textNodes.snapshotItem(i);
  1117.  
  1118. muligtLink = textNode.nodeValue; //all links on page
  1119.  
  1120. var myArray = null;
  1121. var span = null;
  1122. var lastLastIndex = 0;
  1123. allLinksRegex.lastIndex = 0;
  1124. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1125. {
  1126. if (textNode.parentNode.className == "adead_link") continue;
  1127. var censoredLink = muligtLink;
  1128. var span = document.createElement('span');
  1129. span.className = "adead_link";
  1130. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1131. $(span).html(censoredLink);
  1132. span.addEventListener("mouseover", displayTooltipError, false);
  1133. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1134. textNode.parentNode.replaceChild(span, textNode);
  1135. continue;
  1136. alert(censoredLink);
  1137. }
  1138. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1139. {
  1140. if (!regex.test(myArray[0])) //this link is not recognized
  1141. {
  1142.  
  1143. continue;
  1144. }
  1145. if (!span)
  1146. span = document.createElement('span');
  1147.  
  1148. var link = myArray[0];
  1149. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1150.  
  1151. var $a = $("<a>" + link + "</a>")
  1152. if (!link.match(/https?:\/\//))
  1153. {
  1154. link = 'http://' + link;
  1155. }
  1156.  
  1157. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1158. .addClass("processing_link")
  1159. .appendTo(span);
  1160. lastLastIndex = allLinksRegex.lastIndex;
  1161. }
  1162. if (span)
  1163. {
  1164. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1165. textNode.parentNode.replaceChild(span, textNode);
  1166. }
  1167. }
  1168. }
  1169.  
  1170. function add_WARLC_style()
  1171. {
  1172. if (!(document.getElementsByTagName('WARLC')[0]))
  1173. {
  1174. var meta_not_to_add_more_style = document.createElement("WARLC");
  1175. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1176. meta_not_to_add_more_style.setAttribute('name', 'description');
  1177. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1178. alive_link_png = "";
  1179. adead_link_png = "";
  1180. unava_link_png = "";
  1181. prem_link_png = "";
  1182. switch(Icon_set)
  1183. {
  1184. //no icons
  1185. case 0: break;
  1186. // cat paws
  1187. case 1: alive_link_png = PAW_ICON_GREEN;
  1188. adead_link_png = PAW_ICON_RED;
  1189. unava_link_png = PAW_ICON_YELLOW;
  1190. prem_link_png = PAW_ICON_PINK;
  1191. break;
  1192. // classic RSLC look
  1193. case 2: alive_link_png = RSLC_ICON_GREEN;
  1194. adead_link_png = RSLC_ICON_RED;
  1195. unava_link_png = RSLC_ICON_YELLOW;
  1196. prem_link_png = RSLC_ICON_PINK;
  1197. break;
  1198. // New Icons
  1199. case 3: alive_link_png = NEW_ICON_GREEN;
  1200. adead_link_png = NEW_ICON_RED;
  1201. unava_link_png = NEW_ICON_YELLOW;
  1202. prem_link_png = NEW_ICON_PINK;
  1203. break;
  1204. // cat paws
  1205. default:alive_link_png = PAW_ICON_GREEN;
  1206. adead_link_png = PAW_ICON_RED;
  1207. unava_link_png = PAW_ICON_YELLOW;
  1208. prem_link_png = PAW_ICON_PINK;
  1209. break;
  1210. }
  1211. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1212. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1213.  
  1214. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1215.  
  1216. if (Color_DL_links)
  1217. {
  1218. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1219. live_color_css = 'color:' + Live_links_color + ' !important;';
  1220. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1221. container_color_css = 'color:' + Container_links_color + ' !important;';
  1222. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1223. }
  1224. else
  1225. {
  1226. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1227. }
  1228.  
  1229. if (Show_black_background_in_DL_links)
  1230. {
  1231. black_background_css = 'background-color: black !important;';
  1232. }
  1233. else
  1234. {
  1235. black_background_css = '';
  1236. }
  1237.  
  1238. if (Show_line_through_in_dead_links)
  1239. {
  1240. line_through_css = 'text-decoration: line-through !important;';
  1241. }
  1242. else
  1243. {
  1244. line_through_css = '';
  1245. }
  1246.  
  1247. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1248. 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 + "}");
  1249. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1250. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1251. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1252. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1253. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1254. }
  1255. }
  1256.  
  1257. var warlcTooltip = null;
  1258. var mouseoverLink = null; //link href with mouse cursor over it
  1259.  
  1260. var lastX = 0;
  1261. var lastY = 0;
  1262.  
  1263. $(document).ready(initTooltip);
  1264. //inits tooltip
  1265. function initTooltip()
  1266. { warlcTooltip = document.createElement("div");
  1267. 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;");
  1268. warlcTooltip.style.visibility = "hidden";
  1269. document.body.appendChild(warlcTooltip);
  1270. }
  1271.  
  1272. //"mousemove" event handler for all links
  1273. function moveTooltip(event)
  1274. {
  1275. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1276. { //no need to reflow if the cursor moved just a little
  1277. return;
  1278. }
  1279. else
  1280. {
  1281. lastX = event.clientX;
  1282. lastY = event.clientY;
  1283. }
  1284.  
  1285. posX = event.clientX + window.pageXOffset + 10;
  1286. posY = event.clientY + window.pageYOffset;
  1287. var ttHeight = warlcTooltip.offsetHeight;
  1288. var ttFreeSpace = window.innerHeight - event.clientY;
  1289. if (ttHeight > ttFreeSpace)
  1290. { //prevents tooltip from getting out of the window
  1291. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1292. }
  1293. else
  1294. {
  1295. posY += 7;
  1296. }
  1297. warlcTooltip.style.top = posY + "px";
  1298. warlcTooltip.style.left = posX + "px";
  1299. }
  1300.  
  1301. //"mouseout" event handler for all links
  1302. function hideTooltip(){
  1303. warlcTooltip.style.visibility = "hidden";
  1304. mouseoverLink = null;
  1305. }
  1306.  
  1307.  
  1308. //"mouseover" event handler for dead links
  1309. //displays tooltip error message on dead links
  1310. function displayTooltipError()
  1311. {
  1312. mouseoverLink = this.href;
  1313. this.addEventListener("mouseout", hideTooltip);
  1314. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1315. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1316. warlcTooltip.style.minWidth = 0;
  1317. warlcTooltip.style.visibility = "visible";
  1318. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1319. {
  1320. warlcTooltip.innerHTML = this.warlc_error;
  1321. }
  1322. else
  1323. {
  1324. loadErrorInfo(this);
  1325. }
  1326. function loadErrorInfo(link)
  1327. {
  1328. var href = link.href;
  1329. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1330. GM_xmlhttpRequest({
  1331. method: 'GET',
  1332. url: href.replace(Ref_anonymize_service, ""),
  1333. headers: {
  1334. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1335. 'Accept': 'text/xml',
  1336. 'Referer': ""
  1337. },
  1338. onload: function(result) {
  1339. var res = result.responseText;
  1340. //TODO: errorRegexs -
  1341. var errorRegexs = [ //generic error messages follow
  1342. /(empty directory)/i,
  1343. /(soubor nebyl nalezen)/i,
  1344. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1345. //server specific error messages follow
  1346. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1347. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1348. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1349. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1350. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1351. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1352. /class="red">(.+?)<(?:span|br)>/, //czshare
  1353. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1354. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1355. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1356. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1357. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1358. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1359. /(File has been removed due to Copyright Claim)/, //filerio
  1360. ];
  1361. var errorIdx = errorRegexs.length;
  1362. var error = "Cause of error: <b>unknown</b>";
  1363. var errorCandidate = "";
  1364. while(errorIdx--)
  1365. {
  1366. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1367. if (errorCandidate != null)
  1368. {
  1369. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1370. break;
  1371. }
  1372. }
  1373. //link attributes
  1374. link.warlc_error = error;
  1375. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1376. {
  1377. warlcTooltip.innerHTML = error;
  1378. }
  1379. }
  1380. });
  1381. }
  1382. }
  1383.  
  1384. //"mouseover" event handler for alive links
  1385. //displays tooltip info (file size, file name,...) on alive links
  1386. function displayTooltipInfo()
  1387. {
  1388. mouseoverLink = this.href;
  1389. //exclude direct download filehostings
  1390. 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)/))
  1391. {
  1392. return;
  1393. }
  1394. this.addEventListener("mouseout", hideTooltip);
  1395. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1396. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1397. warlcTooltip.style.minWidth = 0;
  1398. warlcTooltip.style.visibility = "visible";
  1399. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1400. {
  1401. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1402. }
  1403. else
  1404. {
  1405. loadInfo(this);
  1406. }
  1407. function loadInfo(link)
  1408. {
  1409. var href = link.href;
  1410. GM_xmlhttpRequest({
  1411. method: 'GET',
  1412. url: href.replace(Ref_anonymize_service, ""),
  1413. headers: {
  1414. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1415. 'Accept': 'text/xml',
  1416. 'Referer': ""
  1417. },
  1418. onload: function(result) {
  1419. var res = result.responseText;
  1420. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1421. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1422. /fl" title="(.+?)">/, //edisk
  1423. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1424. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1425. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1426. /title="download (.+?)">/, //sendspace
  1427. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1428. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1429. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1430. /d0FileName = "(.+?)";/, //letitbit
  1431. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1432. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1433. /fname" value="(.+?)">/, //syfiles, grupload,
  1434. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1435. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1436. /Complete name : (.+?)<br \/>/, //bezvadata
  1437. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1438. ];
  1439. var nameIdx = nameRegexs.length;
  1440. // [sizeRegexs]
  1441. // / \ \?
  1442. // prefix (size) postfix
  1443. // / \
  1444. // val quant
  1445. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1446. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1447. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1448. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1449. var postSizeRegex = '(?:\\))?';
  1450. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1451. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1452. ];
  1453. var sizeIdx = sizeRegexs.length;
  1454. //
  1455. //
  1456. var tooltip = "File Name: <b>";
  1457. var fileName = "unknown";
  1458. var nameCandidate = "";
  1459. while(nameIdx--)
  1460. {
  1461. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1462. if (nameCandidate != null)
  1463. {
  1464. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1465. break;
  1466. }
  1467. }
  1468. tooltip += fileName + "</b><br>File Size: <b>";
  1469. var fileSize = "unknown";
  1470. var sizeCandidate = "";
  1471. while(sizeIdx--)
  1472. {
  1473. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1474. if (sizeCandidate != null)
  1475. {
  1476. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1477. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1478. {
  1479. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1480. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1481. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1482. }
  1483. break;
  1484. }
  1485. }
  1486. tooltip += fileSize + "</b>";
  1487. // PROTOTYPE
  1488. // video thumbnails
  1489. if (href.match('hellshare'))
  1490. {
  1491. var thumbs;
  1492. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1493. if (thumbs)
  1494. {
  1495. tooltip += '<br>';
  1496. var j = Math.min(thumbs.length, 9);
  1497. for (var i = 0; i < j; i++)
  1498. {
  1499. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1500. }
  1501. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1502. }
  1503. }
  1504. if (href.match('czshare'))
  1505. {
  1506. var thumbs;
  1507. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1508. if (thumbs)
  1509. {
  1510. var thumbsServer = thumbs[1];
  1511. var thumbsId = thumbs[2];
  1512. tooltip += '<br>';
  1513. for (var i = 1; i < 9; i++)
  1514. {
  1515. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1516. }
  1517. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1518. }
  1519. }
  1520. if (href.match('bezvadata'))
  1521. {
  1522. var thumbs;
  1523. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1524. if (thumbs)
  1525. {
  1526. tooltip += '<br>';
  1527. var j = Math.min(thumbs.length, 9);
  1528. for (var i = 0; i < j; i++)
  1529. {
  1530. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1531. }
  1532. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1533. }
  1534. }
  1535. link.warlc_tooltipcache = tooltip;
  1536. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1537. {
  1538. warlcTooltip.innerHTML = tooltip;
  1539. }
  1540. }
  1541. });
  1542. }
  1543. }
  1544.  
  1545. function setVariables()
  1546. {
  1547. if (firstRun)
  1548. {
  1549. GM_log('First run, applying default settings...');
  1550. GM_setValue("Icon_set",1);
  1551. GM_setValue("Display_tooltip_info",true);
  1552. GM_setValue("Show_black_background_in_DL_links",false);
  1553. GM_setValue("Show_line_through_in_dead_links",false);
  1554. GM_setValue("Display_full_links_in_link_containers",false);
  1555. GM_setValue("Allow_spaces_in_DL_links",false);
  1556. GM_setValue("Autocheck",true);
  1557. GM_setValue("Enable_Anonymizer",false);
  1558. GM_setValue("Do_not_linkify_DL_links",false);
  1559. GM_setValue("Show_progress_stats",true);
  1560. GM_setValue("Keyboard_functions",true);
  1561. GM_setValue("Obsolete_file_hosts",false);
  1562. GM_setValue("Color_DL_links",true);
  1563. GM_setValue("Live_links_color","Green");
  1564. GM_setValue("Dead_links_color","#FF3300");
  1565. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1566. GM_setValue("Container_links_color","DarkKhaki");
  1567. GM_setValue("Premium_links_color","DeepPink");
  1568. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1569. GM_setValue("Custom_rules",false);
  1570. GM_setValue("Custom_rules_text","");
  1571. GM_setValue("Processbox_Pos_Y", 0);
  1572. GM_setValue("Processbox_Pos_X", 88);
  1573. GM_setValue("Progressbox_Scaling", 100);
  1574. GM_setValue("First_run", false);
  1575. }
  1576. //hidden settings
  1577. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1578. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1579. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1580. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1581. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1582. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1583. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1584. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1585. //hidden settings end
  1586.  
  1587. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1588. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1589. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1590. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1591. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1592. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1593. Autocheck = GM_getValue("Autocheck", true);
  1594. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1595. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1596. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1597. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1598. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1599. Color_DL_links = GM_getValue("Color_DL_links", true);
  1600. Live_links_color = GM_getValue("Live_links_color", "Green");
  1601. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1602. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1603. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1604. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1605. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1606. Custom_rules = GM_getValue("Custom_rules", false);
  1607. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1608. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1609. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1610. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1611. }
  1612.  
  1613.  
  1614. // Delinkifies the links
  1615. // params:
  1616. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1617. // e.g. 'uloz.to/xs68skxl8')
  1618. function delinkifySnapshot(snapshot)
  1619. {
  1620. var n = snapshot.snapshotLength;
  1621.  
  1622. while (n--)
  1623. {
  1624. thisLink = snapshot.snapshotItem(n);
  1625.  
  1626. var spanElm = document.createElement("span");
  1627. spanElm.className = thisLink.className;
  1628. spanElm.innerHTML = thisLink.innerHTML;
  1629.  
  1630. if (Display_tooltip_info)
  1631. {
  1632. spanElm.href = thisLink.href;
  1633. switch (thisLink.className){
  1634. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1635. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1636. case "unava_link": //reserved
  1637. default:
  1638. }
  1639. }
  1640. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1641. }
  1642. }
  1643.  
  1644. function processContainers()
  1645. {
  1646. var redirectorTypes = { "HTTP_302": 0,
  1647. "INNER_LINK": 1,
  1648. "THELOO_KATT_IT": 2,
  1649. "CING_BE": 3,
  1650. "ADF_LY": 4};
  1651. var cMultiloadTotal = 0;
  1652. var cMultiloadProcessed = 0;
  1653.  
  1654. var cMirrorcreatorComTotal = 0;
  1655. var cMirrorcreatorComProcessed = 0;
  1656.  
  1657. var hostRestrictionRegex = "";
  1658. var multiloadComRestriction = "";
  1659. var multiloadComRestrictionRegex;
  1660.  
  1661. //
  1662. //HANDLING REDIRECTORS START
  1663. //
  1664.  
  1665. var redirectors = new Array();
  1666. initRedirectors();
  1667.  
  1668. var redirectorsCount = redirectors.length;
  1669.  
  1670. if (redirectorsCount > 0)
  1671. {
  1672. var allRedirectorsRegex = "";
  1673.  
  1674. //linkify redirector links
  1675. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1676. {
  1677. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1678. }
  1679. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1680. linkify(allRedirectorsRegex);
  1681. //
  1682. //process redirector links
  1683. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1684. {
  1685. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1686. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1687.  
  1688. cLinksTotal += redirectors[redirIdx].cTotal;
  1689. var linkIdx = redirectors[redirIdx].cTotal;
  1690.  
  1691. while(linkIdx--)
  1692. {
  1693. switch(redirectors[redirIdx].type)
  1694. {
  1695. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1696. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1697. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1698. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1699. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1700. default:
  1701. }
  1702. }
  1703. }
  1704. //
  1705. }
  1706.  
  1707. //HTTP_302
  1708. function processRedirectorLink(link, redirectorId)
  1709. {
  1710. link.className = 'container_link';
  1711.  
  1712. GM_xmlhttpRequest({
  1713. method: 'HEAD',
  1714. url: link.href,
  1715. headers: {
  1716. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1717. 'Accept': 'text/xml',
  1718. 'Referer': ""
  1719. },
  1720. onload: function(result) {
  1721. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1722. {
  1723. processRedirectorLink(link, redirectorId);
  1724. }
  1725. else
  1726. {
  1727. redirectors[redirectorId].cProcessed++;
  1728. link.href = result.finalUrl;
  1729. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1730. checkLinks('container_link');
  1731. }
  1732. },
  1733. onerror: function(result) { //probably caused by unresponsive filehosting
  1734. redirectors[redirectorId].cProcessed++;
  1735. link.className = 'unava_link';
  1736. cLinksProcessed++;
  1737. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1738. checkLinks('container_link');
  1739. }
  1740. });
  1741. }
  1742. //INNER_LINK
  1743. function processRedirectorLinkEx(link, redirectorId)
  1744. {
  1745. link.className = 'container_link';
  1746. GM_xmlhttpRequest({
  1747. method: 'GET',
  1748. url: link.href,
  1749. headers: {
  1750. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1751. 'Accept': 'text/xml',
  1752. 'Referer': ""
  1753. },
  1754. onload: function(result) {
  1755. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1756. redirectors[redirectorId].cProcessed++;
  1757. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1758. checkLinks('container_link');
  1759. }
  1760. });
  1761. }
  1762. //theloo.katt.it (wrapped safelinking.net)
  1763. function processThelooKattItLink(link, redirectorId)
  1764. {
  1765. link.className = 'container_link';
  1766. GM_xmlhttpRequest({
  1767. method: 'GET',
  1768. url: link.href,
  1769. headers: {
  1770. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1771. 'Accept': 'text/xml',
  1772. 'Referer': ""
  1773. },
  1774. onload: function(result) {
  1775. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1776. redirectors[redirectorId].cProcessed++;
  1777. //the inner links are safelinking.net links, so lets proceed with it
  1778. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1779. {
  1780. processRedirectorLink(link, 0);
  1781. }
  1782. }
  1783. });
  1784. }
  1785. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1786. function processAdfLyLink(link, redirectorId)
  1787. {
  1788. link.className = 'container_link';
  1789. GM_xmlhttpRequest({
  1790. method: 'GET',
  1791. url: link.href,
  1792. headers: {
  1793. 'User-agent': 'Mozilla/4.0',
  1794. 'Accept': 'text/xml',
  1795. 'Referer': ""
  1796. },
  1797. onload: function(result) {
  1798. if (result.finalUrl.match('/locked/'))
  1799. {
  1800. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1801. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1802. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1803. }
  1804. else
  1805. {
  1806. // GM_log('Processing... ' + link.href);
  1807. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1808. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1809. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1810. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1811. //confirm advert
  1812. GM_xmlhttpRequest(
  1813. {
  1814. method: 'POST',
  1815. url: 'http://adf.ly/l.php',
  1816. headers: {
  1817. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1818. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1819. 'Referer': link.href
  1820. },
  1821. data: users + '&lt=' + logToken,
  1822. onload: function(result) {
  1823. //retrieve final url from .../go/... link
  1824. GM_xmlhttpRequest({
  1825. method: 'GET',
  1826. url: directLink,
  1827. headers: {
  1828. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1829. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1830. 'Referer': link.href
  1831. },
  1832. onload: function(result) {
  1833. link.href = result.finalUrl;
  1834. redirectors[redirectorId].cProcessed++;
  1835. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1836. checkLinks('container_link');
  1837. }
  1838. });
  1839. }
  1840. });
  1841. }
  1842. }
  1843. });
  1844. function proceedOK()
  1845. {
  1846. }
  1847. }
  1848. //MULTILOAD.CZ START
  1849. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1850. {
  1851. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1852. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1853.  
  1854. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1855.  
  1856. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1857. hostRestrictionRegex += 'hellshare|';
  1858. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1859. hostRestrictionRegex += 'downloadhellshare|';
  1860. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1861. hostRestrictionRegex += 'share-rapid\\.com|';
  1862. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1863. hostRestrictionRegex += 'quickshare\\.cz|';
  1864. if (GM_getValue("Check_czshare_dot_com_links", false))
  1865. hostRestrictionRegex += 'czshare\\.com|';
  1866. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1867. hostRestrictionRegex += 'hellspy|';
  1868. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1869. hostRestrictionRegex += 'multishare\\.cz|';
  1870.  
  1871. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1872.  
  1873. linkify(mlRegex);
  1874.  
  1875. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1876. var mlCount = mlSnapshot.snapshotLength;
  1877.  
  1878. if (mlCount > 0)
  1879. {
  1880. cMultiloadTotal += mlCount;
  1881.  
  1882. mlIdx = mlCount - 1;
  1883. do
  1884. {
  1885. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1886. }
  1887. while(mlIdx--)
  1888. }
  1889. }
  1890. //MULTILOAD.CZ END
  1891.  
  1892.  
  1893.  
  1894. function processMultiloadLink(mlLink)
  1895. {
  1896. GM_xmlhttpRequest({
  1897. method: 'GET',
  1898. url: mlLink.href,
  1899. headers: {
  1900. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1901. 'Accept': 'text/xml',
  1902. 'Referer': ""
  1903. },
  1904. onload: function(result) {
  1905. var res = result.responseText;
  1906.  
  1907. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1908. 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;
  1909. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1910. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1911.  
  1912. var blocks; // blocks of links
  1913. var blockIdx;
  1914.  
  1915. mlLink.className = '';
  1916.  
  1917. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1918. {
  1919. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1920. return;
  1921. }
  1922.  
  1923. blocks = res.match(innerBlockRegex);
  1924.  
  1925. if (blocks == null) //no links found, cancel further processing
  1926. {
  1927. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1928. cMultiloadProcessed++;
  1929. if (cMultiloadTotal <= cMultiloadProcessed)
  1930. {
  1931. startBulkCheck('container_link');
  1932. start('container_link');
  1933. }
  1934. return;
  1935. }
  1936.  
  1937. blockIdx = blocks.length;
  1938.  
  1939. if (Display_full_links_in_link_containers)
  1940. {
  1941. var ulElm = document.createElement('ul');
  1942. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1943.  
  1944. while(blockIdx--)
  1945. {
  1946. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1947. {
  1948. continue;
  1949. }
  1950.  
  1951. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1952.  
  1953. var linkIdx = innerLinks.length;
  1954. while (linkIdx--)
  1955. {
  1956. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1957.  
  1958. var liElm = document.createElement('li');
  1959.  
  1960. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1961. {
  1962. liElm.appendChild(document.createTextNode(innerLink));
  1963. }
  1964. else
  1965. {
  1966. var aElm = document.createElement('a');
  1967. aElm.innerHTML = innerLink;
  1968. aElm.href = innerLink;
  1969. aElm.className = 'container_link';
  1970.  
  1971. liElm.appendChild(aElm);
  1972. }
  1973.  
  1974. ulElm.appendChild(liElm);
  1975. cLinksTotal++;
  1976. }
  1977. }
  1978.  
  1979. mlLink.parentNode.appendChild(ulElm);
  1980. }
  1981. else //compact view
  1982. {
  1983. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1984.  
  1985. while(blockIdx--)
  1986. {
  1987. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1988. {
  1989. continue;
  1990. }
  1991.  
  1992. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1993.  
  1994. var linkIdx = innerLinks.length;
  1995. while (linkIdx--)
  1996. {
  1997. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1998.  
  1999. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  2000. {
  2001. mlLink.parentNode.appendChild(document.createTextNode("----"));
  2002. }
  2003. else
  2004. {
  2005. var aElm = document.createElement('a');
  2006.  
  2007. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  2008.  
  2009. //abbreviate host name
  2010. switch(hostName + ""){
  2011.  
  2012. case 'quickshare': aElm.innerHTML = 'QS'; break;
  2013. case 'hellshare': aElm.innerHTML = 'HS'; break;
  2014. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  2015. case 'multishare': aElm.innerHTML = 'MS'; break;
  2016. case 'hellspy': aElm.innerHTML = 'hs'; break;
  2017. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  2018. case 'czshare': aElm.innerHTML = 'CS'; break;
  2019. default: aElm.innerHTML = 'xx';
  2020.  
  2021. }
  2022.  
  2023. aElm.href = innerLink;
  2024. aElm.className = 'container_link';
  2025.  
  2026. mlLink.parentNode.appendChild(aElm);
  2027. cLinksTotal++;
  2028. }
  2029. }
  2030.  
  2031. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2032.  
  2033. }
  2034. }
  2035.  
  2036. cMultiloadProcessed++;
  2037. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2038. {
  2039. if (Do_not_linkify_DL_links)
  2040. {
  2041. delinkifySnapshot(mlSnapshot);
  2042. }
  2043. startBulkCheck('container_link');
  2044. start('container_link');
  2045. }
  2046. }
  2047. });
  2048. }
  2049.  
  2050.  
  2051. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2052. {
  2053. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2054. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2055. var mcShortHostNames =
  2056. '?? 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';
  2057. // 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
  2058. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2059. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2060. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2061. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2062.  
  2063. linkify(mcRegex);
  2064.  
  2065. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2066. var mcCount = mcSnapshot.snapshotLength;
  2067.  
  2068. cMirrorcreatorComTotal = mcCount;
  2069.  
  2070. if (mcCount > 0)
  2071. {
  2072. mcShortHostNames = mcShortHostNames.split(' ');
  2073. mcIdx = mcCount;
  2074. while(mcIdx--)
  2075. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2076. }
  2077.  
  2078. }
  2079. //MIRRORCREATOR.CZ END
  2080.  
  2081.  
  2082. //mirrorcreator.com checking works like this:
  2083. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2084. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2085. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2086. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2087. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2088. function processMirrorcreatorLink(mcLink)
  2089. {
  2090. var mcURL = mcLink.href.match(mcRegex);
  2091. if(!mcURL || !mcURL[1]) return;
  2092. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2093. GM_xmlhttpRequest({
  2094. method: 'GET',
  2095. url: mcURL,
  2096. headers: {
  2097. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2098. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2099. 'Referer': ""
  2100. },
  2101. onload: function(mcLinkResult) {
  2102. var mcLinkRes = mcLinkResult.responseText;
  2103.  
  2104. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2105. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2106.  
  2107. var mcRedirectors;
  2108. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2109. var m = mcLinkRes.match(mcLinkBlockRegex);
  2110. if (m)
  2111. mcHostsFound = m.length;
  2112. else
  2113. { //no files inside container
  2114. processMirrorcreatorFoundHosts(mcLink, []);
  2115. return;
  2116. }
  2117.  
  2118. var mcRedirectorURL, idx, timedOut = false;
  2119.  
  2120. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2121. GM_xmlhttpRequest({
  2122. method: 'GET',
  2123. url: mcRedirectorURL,
  2124. headers: {
  2125. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2126. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2127. 'Referer': ""
  2128. },
  2129. onload: function(mcHostResult) {
  2130. if (timedOut) return; //too late, the list is already displayed
  2131. var mcHostRes = mcHostResult.responseText;
  2132. var mcHost = mcHostRes.match(mcHostRegex);
  2133. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2134. if (mcHost && idx!=-1)
  2135. {
  2136. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2137. mcHostsRetrieved++;
  2138. mcHostsToProcess++;
  2139. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2140. {
  2141. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2142. mcHostsToProcess = 0;
  2143. }
  2144. }
  2145. } //end of onload: function
  2146. }); //end of GM_xmlhttpRequest call
  2147. };//end of var gmxhrFunc
  2148.  
  2149. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2150. { //load individual redirector pages
  2151. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2152. mcHostURLs.push(mcRedirectorURL);
  2153. mcRedirectorIDs.push(mcRedirectors[2]);
  2154. gmxhrFunc(mcRedirectorURL);
  2155. } //end of while block
  2156.  
  2157. setTimeout(function(){ //in case the last page fails to load and call the function
  2158. timedOut = true;
  2159. if (mcHostsToProcess)
  2160. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2161. }, 60000);
  2162.  
  2163. } //end of onload function
  2164. }); //end of GM_xmlhttpRequest call
  2165. } //end of function processMirrorcreatorLink
  2166.  
  2167.  
  2168. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2169. {
  2170. var aEl, liEl, docFrag;
  2171. var hostName, mcRedirectorID, trimFilename = false;
  2172. var i = mcHostURLs.length;
  2173. if (i == 0)
  2174. {
  2175. trimFilename = true;
  2176. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2177. }
  2178. else
  2179. {
  2180. if (Display_full_links_in_link_containers)
  2181. { //full view
  2182. var wrapperEl = document.createElement('span');
  2183. wrapperEl.style.display = 'block';
  2184. var ulistEl = document.createElement('ul');
  2185. ulistEl.className = 'container_list';
  2186. while (i--)
  2187. {
  2188. liEl = document.createElement('li');
  2189. aEl = document.createElement('a');
  2190. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2191. aEl.href = mcHostURLs[i];
  2192. aEl.className = 'container_link';
  2193. liEl.appendChild(aEl);
  2194. ulistEl.appendChild(liEl);
  2195. }
  2196. wrapperEl.appendChild(ulistEl);
  2197. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2198. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2199. }
  2200. else
  2201. { //compact view
  2202. trimFilename = true;
  2203. docFrag = document.createDocumentFragment();
  2204. docFrag.appendChild(document.createTextNode(' |'));
  2205. while (i--)
  2206. {
  2207. mcRedirectorID = mcRedirectorIDs[i];
  2208. hostName = mcHostURLs[i];
  2209. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2210. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2211. else
  2212. hostName = mcShortHostNames[mcRedirectorID];
  2213. aEl = document.createElement('a');
  2214. aEl.href = mcHostURLs[i];
  2215. aEl.className = 'container_link';
  2216. aEl.appendChild(document.createTextNode(hostName));
  2217. docFrag.appendChild(aEl);
  2218. docFrag.appendChild(document.createTextNode('|'));
  2219. }
  2220. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2221. } //end of else block
  2222. } //end of else block
  2223. mcLink.className = '';
  2224. if (trimFilename)
  2225. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2226. cMirrorcreatorComProcessed++;
  2227. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2228. {
  2229. if (Do_not_linkify_DL_links)
  2230. delinkifySnapshot(mcSnapshot);
  2231. startBulkCheck('container_link');
  2232. start('container_link');
  2233. }
  2234. } //end of function processMirrorcreatorFoundHosts
  2235.  
  2236. containers_processed = true;
  2237.  
  2238.  
  2239. function initRedirectors()
  2240. {
  2241. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2242. {
  2243. var redirector = new Object();
  2244. redirector.linkRegex = linkRegex;
  2245. redirector.xpath = xpathEx; //xpath expression
  2246. redirector.cProcessed = 0; //processed links count
  2247. redirector.cTotal = 0; //total links count
  2248. redirector.type = redirType; //redirectorTypes enum
  2249. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2250. redirectors.push(redirector);
  2251. }
  2252. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2253. {
  2254. addRedirector(
  2255. 'safelinking\\.net\/d\/\\w+',
  2256. "//a[contains(@href,'safelinking.net/d/')]",
  2257. redirectorTypes.HTTP_302,
  2258. null);
  2259. }
  2260. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2261. {
  2262. addRedirector(
  2263. 'linksafe\\.me\/d\/\\w+',
  2264. "//a[contains(@href,'linksafe.me/d/')]",
  2265. redirectorTypes.HTTP_302,
  2266. null);
  2267. }
  2268. if (GM_getValue("Check_linkto_dot_net_links", false))
  2269. {
  2270. addRedirector(
  2271. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2272. "//a[contains(@href,'linkto.net/?')]",
  2273. redirectorTypes.INNER_LINK,
  2274. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2275. }
  2276. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2277. {
  2278. addRedirector(
  2279. '(?:the)?loo\\.katt\\.it\/\\w+',
  2280. "//a[contains(@href,'loo.katt.it/')]",
  2281. redirectorTypes.THELOO_KATT_IT,
  2282. /Proceed to URL - <a href="(.+?)">/);
  2283. }
  2284. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2285. {
  2286. addRedirector(
  2287. 'madlink\\.sk\/\\w+',
  2288. "//a[contains(@href,'madlink.sk/')]",
  2289. redirectorTypes.INNER_LINK,
  2290. /name="url" value="(.+?)\s*"\/>/);
  2291. }
  2292. if (GM_getValue("Check_adf_dot_ly_links", false))
  2293. {
  2294. addRedirector(
  2295. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2296. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2297. redirectorTypes.ADF_LY,
  2298. null);
  2299. }
  2300. if (GM_getValue("Check_redi_dot_re_links", false))
  2301. {
  2302. addRedirector(
  2303. 'redi\\.re\/\\w+',
  2304. "//a[contains(@href,'redi.re/')]",
  2305. redirectorTypes.HTTP_302,
  2306. null);
  2307. }
  2308. if (GM_getValue("Check_bit_dot_ly_links", false))
  2309. {
  2310. addRedirector(
  2311. 'bit\\.ly\/\\w+',
  2312. "//a[contains(@href,'bit.ly/')]",
  2313. redirectorTypes.HTTP_302,
  2314. null);
  2315. }
  2316. }
  2317.  
  2318. }
  2319.  
  2320. var bulkHosts = new Array();
  2321. var bulkHostNames = new Array();
  2322. function initBulkCheck()
  2323. {
  2324. /////////////////////////////
  2325. // Inits filehost object
  2326. /////////////////////////////
  2327. // params :
  2328. // hostName -- [string] host name (multiple domains separated with coma)
  2329. // linkRegex -- [string] link regex
  2330. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2331. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2332. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2333. // corrReplWhat -- [regex] link correction regex (replace)
  2334. // corrReplWith -- [string]
  2335. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2336. //
  2337. // apiUrl -- [string] web linkchecker or API URL
  2338. // postData -- [string] POSTDATA of xmlhttprequest
  2339. // resLinkRegex -- [regex]
  2340. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2341. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2342. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2343. // func -- [function] bulkcheck handler, genBulkCheck if null
  2344. //
  2345. //////////////////////////////
  2346. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2347. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2348. {
  2349. var fileHost = new Object();
  2350.  
  2351. fileHost.linkRegex = linkRegex;
  2352. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2353. fileHost.xpath = xpath;
  2354. fileHost.cFound = 0; //found links counter
  2355. fileHost.links = new Array(); //found links
  2356. if (blockSize == null)
  2357. {
  2358. fileHost.blockSize = 50;
  2359. }
  2360. else
  2361. {
  2362. fileHost.blockSize = blockSize;
  2363. }
  2364. fileHost.corrMatch = corrMatch;
  2365. fileHost.corrReplWhat = corrReplWhat;
  2366. fileHost.corrReplWith = corrReplWith;
  2367. if (splitSeparator == null)
  2368. {
  2369. fileHost.splitSeparator = "\r\n";
  2370. }
  2371. else
  2372. {
  2373. fileHost.splitSeparator = splitSeparator;
  2374. }
  2375. fileHost.apiUrl = apiUrl;
  2376. fileHost.postData = postData;
  2377. fileHost.resLinkRegex = resLinkRegex;
  2378. fileHost.resLiveRegex = resLiveRegex;
  2379. fileHost.resDeadRegex = resDeadRegex;
  2380. fileHost.resUnavaRegex = resUnavaRegex;
  2381. if (func == null)
  2382. {
  2383. fileHost.func = genBulkCheck;
  2384. }
  2385. else
  2386. {
  2387. fileHost.func = func;
  2388. }
  2389. bulkHosts.push(fileHost);
  2390. var names = hostName.split(',');
  2391. var i = names.length;
  2392. while(i--)
  2393. {
  2394. bulkHostNames[names[i]] = fileHost;
  2395. }
  2396. }
  2397. var genType1 = [
  2398. "rodfile.com", "downloadani.me", //"migahost.com",
  2399. "rarefile.net",
  2400. "filesabc.com",
  2401. // "verzend.be",
  2402. // "movreel.com",
  2403. "file4safe.com", "filemac.com",
  2404. "longfiles.com",
  2405. "bitupload.com", //"4up.me",
  2406. //"uploadbaz.com"
  2407. ];
  2408. var genType2 = [ "queenshare.com",
  2409. "hulkload.com",
  2410. "amonshare.com", //"edoc.com",
  2411. ];
  2412. //xfilesharing 1.0
  2413. function addGenericType1()
  2414. {
  2415. var i = genType1.length;
  2416. while(i--)
  2417. {
  2418. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2419. {
  2420. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2421. addHost(
  2422. genType1[i].match(/[\w-]+/)[0], //hostname
  2423. regexSafe + "\/\\w+", //linkregex
  2424. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2425. null, //blocksize
  2426. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2427. null, //corrreplwhat
  2428. null, //corrreplwith
  2429. null, //separator
  2430. "http://" + genType1[i] + "/checkfiles.html", //api url
  2431. "op=checkfiles&process=Check+URLs&list=", //postdata
  2432. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2433. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2434. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2435. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2436. null //function delegate
  2437. )
  2438. }
  2439. }
  2440. }
  2441. //xfilesharing 2.0
  2442. function addGenericType2()
  2443. {
  2444. var i = genType2.length;
  2445. while(i--)
  2446. {
  2447. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2448. {
  2449. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2450. addHost(
  2451. genType2[i].match(/[\w-]+/)[0], //hostname
  2452. regexSafe + "\/\\w+", //linkregex
  2453. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2454. null, //blocksize
  2455. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2456. null, //corrreplwhat
  2457. null, //corrreplwith
  2458. null, //separator
  2459. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2460. "op=checkfiles&process=Check+URLs&list=", //postdata
  2461. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2462. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2463. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2464. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2465. null //function delegate
  2466. )
  2467. }
  2468. }
  2469. }
  2470. // TEMPLATE
  2471. // if (GM_getValue("Check__dot_com_links", false))
  2472. // {
  2473. // addHost(
  2474. // "", //hostname
  2475. // "", //linkregex
  2476. // "//a[contains(@href,'.com/')]", //xpath
  2477. // null, //blocksize
  2478. // null, //corrmatch
  2479. // null, //corrreplwhat
  2480. // null, //corrreplwith
  2481. // null, //separator
  2482. // "", //api url
  2483. // "", //postdata
  2484. // /()/, //linkregex
  2485. // //liveregex
  2486. // //deadregex
  2487. // //unavaregex
  2488. // null //function delegate
  2489. // )
  2490. // }
  2491. addGenericType1();
  2492. addGenericType2();
  2493.  
  2494. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2495. {
  2496. addHost(
  2497. "myvdrive,fileserving", //hostname
  2498. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2499. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2500. null, //blocksize
  2501. null, //corrmatch
  2502. null, //corrreplwhat
  2503. null, //corrreplwith
  2504. null, //separator
  2505. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2506. "links=", //postdata
  2507. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2508. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2509. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2510. null, //unavaregex
  2511. null //function delegate
  2512. )
  2513. }
  2514. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2515. {
  2516. addHost(
  2517. "hackerbox", //hostname
  2518. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2519. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2520. null, //blocksize
  2521. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2522. null, //corrreplwhat
  2523. null, //corrreplwith
  2524. null, //separator
  2525. "http://host.hackerbox.org/checkfiles.html", //api url
  2526. "op=checkfiles&process=Check+URLs&list=", //postdata
  2527. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2528. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2529. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2530. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2531. null //function delegate
  2532. )
  2533. }
  2534. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2535. {
  2536. addHost(
  2537. "hellshare", //hostname
  2538. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2539. "//a[contains(@href,'hellshare.')]", //xpath
  2540. 48, //blocksize
  2541. null, //corrmatch
  2542. null, //corrreplwhat
  2543. null, //corrreplwith
  2544. null, //separator
  2545. null, //api url
  2546. null, //postdata
  2547. null, //linkregex
  2548. null, //liveregex
  2549. null, //deadregex
  2550. null, //unavaregex
  2551. hellshareBulkCheck //function delegate
  2552. )
  2553. }
  2554. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2555. {
  2556. addHost(
  2557. "uploadrocket", //hostname
  2558. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2559. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2560. null, //blocksize
  2561. null, //corrmatch
  2562. null, //corrreplwhat
  2563. null, //corrreplwith
  2564. "\n", //separator
  2565. 'http://uploadrocket.net/?op=checkfiles',
  2566. 'op=checkfiles&process=Check+URLs&list=',
  2567. /uploadrocket.net\/(\w+)/,
  2568. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2569. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2570. null,
  2571. null //function delegate
  2572. )
  2573. }
  2574. if (GM_getValue("Check_uploading_dot_site_links", false))
  2575. {
  2576. addHost(
  2577. "uploading", //hostname
  2578. "(?:uploading\\.site)\/\\w+", //linkregex
  2579. "//a[contains(@href,'uploading.site/')]", //xpath
  2580. null, //blocksize
  2581. null, //corrmatch
  2582. null, //corrreplwhat
  2583. null, //corrreplwith
  2584. "\n", //separator
  2585. 'http://uploading.site/?op=checkfiles',
  2586. 'op=checkfiles&process=Check+URLs&list=',
  2587. /uploading.site\/(\w+)/,
  2588. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2589. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2590. null,
  2591. null //function delegate
  2592. )
  2593. }
  2594. if (GM_getValue("Check_1f_dot_al_links", false))
  2595. {
  2596. addHost(
  2597. "1f",
  2598. "(?:1f\\.al)\/d\/\\w+",
  2599. "//a[contains(@href,'1f.al/d/')]",
  2600. 100000, //blocksize
  2601. null, //corrmatch
  2602. null, //corrreplwhat
  2603. null, //corrreplwith
  2604. null, //separator
  2605. null,
  2606. null,
  2607. null,
  2608. null,
  2609. null,
  2610. null,
  2611. _1falBulkCheck //function delegate
  2612. )
  2613. }
  2614. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2615. {
  2616. addHost(
  2617. "k2s,keep2s,keep2share",
  2618. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2619. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2620. 100000, //blocksize
  2621. null, //corrmatch
  2622. null, //corrreplwhat
  2623. null, //corrreplwith
  2624. null, //separator
  2625. null,
  2626. null,
  2627. null,
  2628. null,
  2629. null,
  2630. null,
  2631. k2sBulkCheck //function delegate
  2632. )
  2633. }
  2634. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2635. {
  2636. addHost(
  2637. "tezfiles",
  2638. "(?:tezfiles\\.com)\/\\w+",
  2639. "//a[contains(@href,'tezfiles.com')]",
  2640. 100000, //blocksize
  2641. null, //corrmatch
  2642. null, //corrreplwhat
  2643. null, //corrreplwith
  2644. null, //separator
  2645. null,
  2646. null,
  2647. null,
  2648. null,
  2649. null,
  2650. null,
  2651. k2sBulkCheck //function delegate
  2652. )
  2653. }
  2654. if (GM_getValue("Check_fboom_dot_me_links", false))
  2655. {
  2656. addHost(
  2657. "fboom,fileboom",
  2658. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2659. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2660. 100000, //blocksize
  2661. null, //corrmatch
  2662. null, //corrreplwhat
  2663. null, //corrreplwith
  2664. null, //separator
  2665. null,
  2666. null,
  2667. null,
  2668. null,
  2669. null,
  2670. null,
  2671. fboomBulkCheck //function delegate
  2672. )
  2673. }
  2674. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2675. {
  2676. addHost(
  2677. "1fichier,dl4free",
  2678. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2679. "//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/?')]",
  2680. 100000, //blocksize
  2681. null, //corrmatch
  2682. null, //corrreplwhat
  2683. null, //corrreplwith
  2684. null, //separator
  2685. null,
  2686. null,
  2687. null,
  2688. null,
  2689. null,
  2690. null,
  2691. dl4free_1fichier_BulkCheck //function delegate
  2692. )
  2693. }
  2694. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2695. {
  2696. addHost(
  2697. "nitroflare",
  2698. "nitroflare\\.com\/\\w+",
  2699. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2700. 100000, //blocksize
  2701. null, //corrmatch
  2702. null, //corrreplwhat
  2703. null, //corrreplwith
  2704. null, //separator
  2705. null,
  2706. null,
  2707. null,
  2708. null,
  2709. null,
  2710. null,
  2711. nitroflareBulkCheck //function delegate
  2712. )
  2713. }
  2714. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2715. {
  2716. addHost(
  2717. "depositfiles,dfiles",
  2718. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2719. "//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/')]",
  2720. 100000, //blocksize
  2721. null, //corrmatch
  2722. null, //corrreplwhat
  2723. null, //corrreplwith
  2724. null, //separator
  2725. null,
  2726. null,
  2727. null,
  2728. null,
  2729. null,
  2730. null,
  2731. depositfilesBulkCheck //function delegate
  2732. )
  2733. }
  2734. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2735. {
  2736. addHost(
  2737. "filesflash", //hostname
  2738. "filesflash\\.com\/\\w+", //linkregex
  2739. "//a[contains(@href,'filesflash.com')]", //xpath
  2740. null, //blocksize
  2741. null, //corrmatch
  2742. /http:\/\//, //corrreplwhat
  2743. '', //corrreplwith
  2744. null, //separator
  2745. 'http://filesflash.com/checklinks.php',
  2746. 'submit=Go&links=',
  2747. /filesflash\.com\/(\w+)/,
  2748. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2749. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2750. null,
  2751. null //function delegate
  2752. )
  2753. }
  2754. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2755. {
  2756. addHost(
  2757. "jumbofiles", //hostname
  2758. "jumbofiles\\.com\/\\w+", //linkregex
  2759. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2760. null, //blocksize
  2761. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2762. null, //corrreplwhat
  2763. null, //corrreplwith
  2764. null, //separator
  2765. "http://jumbofiles.com/checkfiles.html", //api url
  2766. "op=checkfiles&process=Check+URLs&list=", //postdata
  2767. /(jumbofiles\.com\/\w+)/, //linkregex
  2768. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2769. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2770. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2771. null //function delegate
  2772. )
  2773. }*/
  2774. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2775. {
  2776. addHost(
  2777. "edisk", //hostname
  2778. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2779. "//a[contains(@href,'edisk.')]", //xpath
  2780. null, //blocksize
  2781. null, //corrmatch
  2782. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2783. 'edisk.cz/stahni', //corrreplwith
  2784. null, //separator
  2785. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2786. 'submitBtn=Zkontrolovat&checkFiles=',
  2787. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2788. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2789. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2790. null,
  2791. null //function delegate
  2792. )
  2793. }
  2794. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2795. {
  2796. GM_xmlhttpRequest( //age check skip
  2797. {
  2798. method: 'POST',
  2799. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2800. headers: {
  2801. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2802. 'Content-type': 'application/x-www-form-urlencoded',
  2803. 'Referer': ""
  2804. }
  2805. });
  2806. addHost(
  2807. "bezvadata", //hostname
  2808. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2809. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2810. null, //blocksize
  2811. null, //corrmatch
  2812. null, //corrreplwhat
  2813. null, //corrreplwith
  2814. null, //separator
  2815. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2816. 'zkontrolovat=Zkontrolovat&odkazy=',
  2817. /(bezvadata\.cz\/stahnout\/\d+)/,
  2818. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2819. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2820. null,
  2821. null //function delegate
  2822. )
  2823. }
  2824. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2825. {
  2826. addHost(
  2827. "linkcrypt", //hostname
  2828. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2829. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2830. 100000, //blocksize
  2831. null, //corrmatch
  2832. null, //corrreplwhat
  2833. null, //corrreplwith
  2834. null, //separator
  2835. null,
  2836. null,
  2837. null,
  2838. null,
  2839. null,
  2840. null,
  2841. linkcryptBulkCheck //function delegate
  2842. )
  2843. }
  2844. if (GM_getValue("Check_videobb_dot_com_links", false))
  2845. {
  2846. addHost(
  2847. "videobb", //hostname
  2848. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2849. "//a[contains(@href,'videobb.com')]", //xpath
  2850. null, //blocksize
  2851. null, //corrmatch
  2852. /watch_video\.php\?v=/, //corrreplwhat
  2853. 'video/', //corrreplwith
  2854. null, //separator
  2855. 'http://www.videobb.com/link_checker.php',
  2856. 'links=',
  2857. /videobb\.com\/video\/(\w+)/,
  2858. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2859. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2860. null,
  2861. null //function delegate
  2862. )
  2863. }
  2864. if (GM_getValue("Check_filerio_dot_com_links", false))
  2865. {
  2866. addHost(
  2867. "filekeen,filerio", //hostname
  2868. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2869. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2870. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2871. null, //blocksize
  2872. null, //corrmatch
  2873. null, //corrreplwhat
  2874. null, //corrreplwith
  2875. null, //separator
  2876. 'http://filerio.in/checkfiles.html',
  2877. 'op=checkfiles&process=Check+URLs&list=',
  2878. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2879. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2880. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2881. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2882. null //function delegate
  2883. )
  2884. }
  2885. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2886. {
  2887. addHost(
  2888. "share-online,egoshare", //hostname
  2889. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2890. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2891. null, //blocksize
  2892. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2893. null, //corrreplwhat
  2894. null, //corrreplwith
  2895. "\n", //separator
  2896. 'http://api.share-online.biz/linkcheck.php',
  2897. 'links=',
  2898. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2899. /\w+;OK/g,
  2900. /\w+;(?:NOTFOUND|DELETED)/g,
  2901. null,
  2902. null //function delegate
  2903. )
  2904. }
  2905. if (GM_getValue("Check_oboom_dot_com_links", false))
  2906. {
  2907. addHost(
  2908. "oboom", //hostname
  2909. "oboom\\.com\/#?\\w{8}", //linkregex
  2910. "//a[contains(@href,'oboom.com/')]", //xpath
  2911. null, //blocksize
  2912. /oboom\.com\/#?(\w{8})/, //corrmatch
  2913. null, //corrreplwhat
  2914. null, //corrreplwith
  2915. null, //separator
  2916. null,
  2917. null,
  2918. null,
  2919. null, //liveregex
  2920. null, //deadregex
  2921. null,
  2922. oboomBulk //function delegate
  2923. )
  2924. }
  2925. if (GM_getValue("Check_mega_dot_nz_links", false))
  2926. {
  2927. addHost(
  2928. "mega",
  2929. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2930. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2931. 100000, //blocksize
  2932. null, //corrmatch
  2933. null, //corrreplwhat
  2934. null, //corrreplwith
  2935. null, //separator
  2936. null,
  2937. null,
  2938. null,
  2939. null,
  2940. null,
  2941. null,
  2942. megaBulkCheck //function delegate
  2943. )
  2944. }
  2945.  
  2946. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2947.  
  2948. if (GM_getValue("Check_extabit_dot_com_links", false))
  2949. {
  2950. addHost(
  2951. "extabit", //hostname
  2952. "extabit\\.com\/file\/\\w+", //linkregex
  2953. "//a[contains(@href,'extabit.com')]", //xpath
  2954. null, //blocksize
  2955. null, //corrmatch
  2956. null, //corrreplwhat
  2957. null, //corrreplwith
  2958. "\n", //separator
  2959. "http://extabit.com/linkchecker.jsp", //api url
  2960. "url=", //postdata
  2961. /extabit\.com\/(file\/\w+)/, //linkregex
  2962. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2963. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2964. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2965. extabitBulkCheck //function delegate
  2966. )
  2967. }
  2968. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2969. {
  2970. addHost(
  2971. "junocloud", //hostname
  2972. "junocloud\\.me\/\\w+", //linkregex
  2973. "//a[contains(@href,'junocloud.me')]", //xpath
  2974. null, //blocksize
  2975. null, //corrmatch
  2976. null, //corrreplwhat
  2977. null, //corrreplwith
  2978. "\n", //separator
  2979. "http://junocloud.me/checkfiles.html", //api url
  2980. "op=checkfiles&process=Check+URLs&list=", //postdata
  2981. /(junocloud\.me\/\w+)/, //linkregex
  2982. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2983. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2984. null, //unavaregex
  2985. null //function delegate
  2986. )
  2987. } */
  2988. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2989. {
  2990. addHost(
  2991. "webshare", //hostname
  2992. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2993. "//a[contains(@href,'webshare.cz')]", //xpath
  2994. 100000, //blocksize
  2995. null, //corrmatch
  2996. null, //corrreplwhat
  2997. null, //corrreplwith
  2998. null, //separator
  2999. null, //api url
  3000. null, //postdata
  3001. null, //linkregex
  3002. null, //liveregex
  3003. null, //deadregex
  3004. null, //unavaregex
  3005. webshareBulkCheck //function delegate
  3006. )
  3007. }
  3008. /////////////////////////////
  3009. // Common function delegate to send links to get checked by host linkchecker
  3010. /////////////////////////////
  3011. // If you define a new delegate, you may use following properties
  3012. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  3013. // this.apiUrl [string] API or web linkchecker URL
  3014. // this.postData [string] POSTDATA for POST request
  3015. // this.resLiveRegex [regex] matches live substrings in the request response
  3016. // this.resDeadRegex [regex] matches dead substrings in the request response
  3017. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  3018. //
  3019. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  3020. //
  3021. // See the code below for standard bulkcheck handling reference.
  3022. //////////////////////////////
  3023. function genBulkCheck()
  3024. {
  3025. var blockIdx = this.links.length;
  3026. while (blockIdx--)
  3027. {
  3028. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3029. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3030. }
  3031. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3032. {
  3033. GM_xmlhttpRequest(
  3034. {
  3035. method: 'POST',
  3036. url: api,
  3037. headers: {
  3038. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3039. 'Content-type': 'application/x-www-form-urlencoded',
  3040. 'Referer': api,
  3041. 'X-Requested-With': 'XMLHttpRequest'
  3042. },
  3043. data: postData + encodeURIComponent(links),
  3044. onload: function (result)
  3045. {
  3046. var res = result.responseText;
  3047. // GM_log(res);
  3048. var i;
  3049.  
  3050. var livelinks = res.match(liveRegex);
  3051. var deadlinks = res.match(deadRegex);
  3052. // GM_log(livelinks);
  3053. // GM_log(deadlinks);
  3054. if (livelinks != null)
  3055. {
  3056. i = livelinks.length - 1;
  3057. do
  3058. {
  3059. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3060. }
  3061. while (i--);
  3062. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3063. }
  3064.  
  3065. if (deadlinks != null)
  3066. {
  3067. i = deadlinks.length - 1;
  3068. do
  3069. {
  3070. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3071. }
  3072. while (i--);
  3073. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3074. }
  3075.  
  3076. if (unavaRegex != null)
  3077. {
  3078. var unavalinks = res.match(unavaRegex);
  3079. if (unavalinks)
  3080. {
  3081. i = unavalinks.length - 1;
  3082. do
  3083. {
  3084. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3085. }
  3086. while (i--);
  3087. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3088. }
  3089. }
  3090. }
  3091. });
  3092. }
  3093. }
  3094. //specialized bulkchecking handlers follow
  3095. function webshareBulkCheck()
  3096. {
  3097. var arr = this.links[0].split("\r\n");
  3098. var i = arr.length;
  3099. while(i--)
  3100. {
  3101. postRequest(arr[i]);
  3102. }
  3103. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3104. function postRequest(wsLink)
  3105. {
  3106. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3107. GM_xmlhttpRequest(
  3108. {
  3109. method: 'POST',
  3110. url: "http://webshare.cz/api/file_info/",
  3111. headers: {
  3112. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3113. 'Content-type': 'application/x-www-form-urlencoded',
  3114. 'Referer': "",
  3115. },
  3116. data: "wst=&ident=" + id,
  3117. onload: function (result)
  3118. {
  3119. var res = result.responseText;
  3120. if (res.match(/<name>.+?<\/name>/))
  3121. {
  3122. DisplayTheCheckedLinks([id], 'alive_link');
  3123. }
  3124. else
  3125. {
  3126. DisplayTheCheckedLinks([id], 'adead_link');
  3127. }
  3128. }
  3129. });
  3130. }
  3131. }
  3132. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3133. //extabit also doesn't like requests in fast succession, so some delays are added.
  3134. function extabitBulkCheck()
  3135. {
  3136. var timeoutDelay = 0;
  3137. var blockIdx = this.links.length;
  3138. while (blockIdx--)
  3139. {
  3140. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3141. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3142. }
  3143. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3144. {
  3145. GM_xmlhttpRequest(
  3146. {
  3147. method: 'POST',
  3148. url: api,
  3149. headers: {
  3150. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3151. 'Content-type': 'application/x-www-form-urlencoded',
  3152. 'Referer': api,
  3153. 'X-Requested-With': 'XMLHttpRequest'
  3154. },
  3155. data: postData + encodeURIComponent(links),
  3156. onload: function (result)
  3157. {
  3158. var res = result.responseText;
  3159. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3160. {
  3161. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3162. {
  3163. //GM_log(tryID + ': ' + link);
  3164. GM_xmlhttpRequest(
  3165. {
  3166. method: 'GET',
  3167. url: link,
  3168. 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': ""},
  3169. onload: function(result2)
  3170. {
  3171. var res2 = result2.responseText;
  3172. var res2Status = result.status;
  3173. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3174. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3175. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3176. {
  3177. if (tryID < 7)
  3178. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3179. else
  3180. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3181. }
  3182. }
  3183. });
  3184. }
  3185. //split the hrefs and check them one by one
  3186. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3187. links = links.split('\n');
  3188. var i = links.length;
  3189. while (i--)
  3190. {
  3191. if (links[i])
  3192. {
  3193. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3194. timeoutDelay += 500;
  3195. }
  3196. }
  3197. return;
  3198. }
  3199. var i;
  3200.  
  3201. var livelinks = res.match(liveRegex);
  3202. var deadlinks = res.match(deadRegex);
  3203. if (livelinks != null)
  3204. {
  3205. i = livelinks.length - 1;
  3206. do
  3207. {
  3208. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3209. }
  3210. while (i--);
  3211. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3212. }
  3213.  
  3214. if (deadlinks != null)
  3215. {
  3216. i = deadlinks.length - 1;
  3217. do
  3218. {
  3219. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3220. }
  3221. while (i--);
  3222. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3223. }
  3224.  
  3225. if (unavaRegex != null)
  3226. {
  3227. var unavalinks = res.match(unavaRegex);
  3228. if (unavalinks)
  3229. {
  3230. i = unavalinks.length - 1;
  3231. do
  3232. {
  3233. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3234. }
  3235. while (i--);
  3236. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3237. }
  3238. }
  3239. }
  3240. });
  3241. }
  3242. }
  3243. function _1falBulkCheck()
  3244. {
  3245. var arr = this.links[0].split("\r\n");
  3246. var i = arr.length;
  3247. c=0;
  3248. arrIDs=[];
  3249. while(i--)
  3250. {
  3251. id = arr[i].match(/\/d\/(\w+)/)[1];
  3252.  
  3253. _1falalreadyexist=false;
  3254. for (j=0;j<arrIDs.length;j++)
  3255. {
  3256. if (arrIDs[j]==id)
  3257. {
  3258. _1falalreadyexist=g
  3259. break;
  3260. }
  3261. }
  3262. if (_1falalreadyexist) continue;
  3263. arrIDs.push(id);
  3264. c++;
  3265. setTimeout(_1falRequest,c*500,arr[i]);
  3266. }
  3267. }
  3268. function _1falRequest(_1falLink)
  3269. {
  3270. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3271. GM_xmlhttpRequest(
  3272. {
  3273. method: 'GET',
  3274. url: _1falLink,
  3275. headers: {
  3276. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3277. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3278. 'Referer': 'http://www.planetsuzy.org/'
  3279. },
  3280. onload: function (result)
  3281. {
  3282. var res = result.responseText;
  3283. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3284. if (FAarr!=null)
  3285. {
  3286. FALink=FAarr[1];
  3287. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3288. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3289. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3290. GM_xmlhttpRequest(
  3291. {
  3292. method: 'POST',
  3293. url: FALink,
  3294. headers: {
  3295. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3296. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3297. 'Content-Type': 'application/x-www-form-urlencoded',
  3298. 'Referer': _1falLink
  3299. },
  3300. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3301. onload: function (_2ndresult)
  3302. {
  3303. var newres = _2ndresult.responseText;
  3304. FAalivelink=new RegExp("method_free");
  3305. if (FAalivelink.test(newres))
  3306. {
  3307. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3308. return;
  3309. }
  3310. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3311. if (FAdeadlink.test(newres))
  3312. {
  3313. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3314. return;
  3315. }
  3316. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3317. return;
  3318. }
  3319. });
  3320. return;
  3321. }
  3322. else
  3323. {
  3324. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3325. return;
  3326. }
  3327. },
  3328. onerror: function ()
  3329. {
  3330. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3331. return;
  3332. }
  3333. });
  3334. }
  3335. function k2sBulkCheck()
  3336. {
  3337. var arr = this.links[0].split("\r\n");
  3338. var i = arr.length;
  3339. c=0;
  3340. arrIDs=[];
  3341. while(i--)
  3342. {
  3343. id = arr[i].match(/\/file\/(\w+)/)[1];
  3344. if (id=='info')
  3345. {
  3346. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3347. continue;
  3348. }
  3349. k2salreadyexist=false;
  3350. for (j=0;j<arrIDs.length;j++)
  3351. {
  3352. if (arrIDs[j]==id)
  3353. {
  3354. k2salreadyexist=g
  3355. break;
  3356. }
  3357. }
  3358. if (k2salreadyexist) continue;
  3359. arrIDs.push(id);
  3360. c++;
  3361. setTimeout(k2sRequest,c*500,arr[i]);
  3362. }
  3363. }
  3364. function k2sRequest(K2SLink)
  3365. {
  3366. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3367. while (K2SLink.indexOf("?http")>-1)
  3368. {
  3369. K2SLink=K2SLink.substring(K2SLink.indexOf("?http")+1);
  3370. }
  3371. GM_xmlhttpRequest(
  3372. {
  3373. method: 'GET',
  3374. url: K2SLink,
  3375. headers: {
  3376. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3377. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3378. 'Referer': ''
  3379. },
  3380. onload: function (result)
  3381. {
  3382. var res = result.responseText;
  3383. K2Dom='k2s.cc';
  3384. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3385. K2SLink2='https://'+K2Dom+'/file/'+id;
  3386.  
  3387. 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'))
  3388. {
  3389. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3390. return;
  3391. }
  3392. if (res.match('method="post">Displaying'))
  3393. {
  3394. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3395. return;
  3396. }
  3397. if (res.match('Premium only|only for Premium members'))
  3398. {
  3399. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3400. return;
  3401. }
  3402. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3403. {
  3404. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3405. slID=slow_id.exec(res)[1];
  3406. GM_xmlhttpRequest(
  3407. {
  3408. method: 'POST',
  3409. url: K2SLink2,
  3410. headers: {
  3411. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3412. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3413. 'Content-Type': 'application/x-www-form-urlencoded',
  3414. 'Referer': K2SLink
  3415. },
  3416. data: 'slow_id='+slID+'&yt0=',
  3417. onload: function (result)
  3418. {
  3419. var newres = result.responseText;
  3420. newoversizedtest=new RegExp("Free user can't download large files.");
  3421. if (newoversizedtest.test(newres))
  3422. {
  3423. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3424. return;
  3425. }
  3426. else
  3427. {
  3428. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3429. return;
  3430. }
  3431. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3432. return;
  3433. }
  3434. });
  3435. /////////////////////end additional check for oversized links
  3436. return;
  3437. }
  3438. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3439. return;
  3440. },
  3441. onerror: function ()
  3442. {
  3443. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3444. return;
  3445. }
  3446. });
  3447. }
  3448. function fboomBulkCheck()
  3449. {
  3450. var arr = this.links[0].split("\r\n");
  3451. var i = arr.length;
  3452. c=0;
  3453. arrIDs=[];
  3454. while(i--)
  3455. {
  3456. id = arr[i].match(/\/file\/(\w+)/)[1];
  3457. if (id=='info')
  3458. {
  3459. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3460. continue;
  3461. }
  3462. fbalreadyexist=false;
  3463. for (j=0;j<arrIDs.length;j++)
  3464. {
  3465. if (arrIDs[j]==id)
  3466. {
  3467. fbalreadyexist=true;
  3468. break;
  3469. }
  3470. }
  3471. if (fbalreadyexist) continue;
  3472. arrIDs.push(id);
  3473. c++;
  3474. setTimeout(fboomRequest,c*500,arr[i]);
  3475. }
  3476. }
  3477. function fboomRequest(FBoomLink)
  3478. {
  3479. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3480. while (FBoomLink.indexOf("?http")>-1)
  3481. {
  3482. FBoomLink=FBoomLink.substring(FBoomLink.indexOf("?http")+1);
  3483. }
  3484. FBoomLink2='https://fboom.me/file/'+id;
  3485. GM_xmlhttpRequest(
  3486. {
  3487. method: 'GET',
  3488. url: FBoomLink,
  3489. headers: {
  3490. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3491. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3492. 'Referer': ''
  3493. },
  3494. onload: function (result)
  3495. {
  3496. var res = result.responseText;
  3497. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3498. {
  3499. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3500. return;
  3501. }
  3502. if (res.match('method="post">Displaying'))
  3503. {
  3504. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3505. return;
  3506. }
  3507. if (res.match('only for premium members'))
  3508. {
  3509. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3510. return;
  3511. }
  3512. if (res.match('id="download-free" href="#"'))
  3513. {
  3514. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3515. slID=slow_id.exec(res)[1];
  3516. GM_xmlhttpRequest(
  3517. {
  3518. method: 'POST',
  3519. url: FBoomLink2,
  3520. headers: {
  3521. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3522. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3523. 'Content-Type': 'application/x-www-form-urlencoded',
  3524. 'Referer': FBoomLink
  3525. },
  3526. data: 'slow_id='+slID,
  3527. onload: function (result)
  3528. {
  3529. var newres = result.responseText;
  3530. newoversizedtest=new RegExp("Downloading is not possible");
  3531. if (newoversizedtest.test(newres))
  3532. {
  3533. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3534. return;
  3535. }
  3536. else
  3537. {
  3538. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3539. return;
  3540. }
  3541. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3542. return;
  3543. }
  3544. });
  3545. /////////////////////end additional check for oversized links
  3546. return;
  3547. }
  3548. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3549. return;
  3550. },
  3551. onerror: function ()
  3552. {
  3553. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3554. return;
  3555. }
  3556. });
  3557. }
  3558. function dl4free_1fichier_BulkCheck()
  3559. {
  3560. var arr = this.links[0].split("\r\n");
  3561. var i = arr.length;
  3562. while(i--)
  3563. {
  3564. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3565. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3566. gethead_dl4free_1fichier(arr[i]);
  3567. }
  3568. }
  3569. function gethead_dl4free_1fichier(link)
  3570. {
  3571. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3572. GM_xmlhttpRequest(
  3573. {
  3574. method: 'HEAD',
  3575. url: link,
  3576. headers: {
  3577. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3578. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3579. 'Referer': ''
  3580. },
  3581. onload: function (result)
  3582. {
  3583. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3584. {
  3585. DisplayTheCheckedLinks([id], 'alive_link');
  3586. return;
  3587. }
  3588. else
  3589. {
  3590. getlink_dl4free_1fichier(link);
  3591. }
  3592. return;
  3593. },
  3594. onerror: function ()
  3595. {
  3596. DisplayTheCheckedLinks([id], 'unava_link');
  3597. }
  3598. });
  3599. }
  3600. function getlink_dl4free_1fichier(link)
  3601. {
  3602. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3603. GM_xmlhttpRequest(
  3604. {
  3605. method: 'GET',
  3606. url: link,
  3607. headers: {
  3608. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3609. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3610. 'Referer': ''
  3611. },
  3612. onload: function (result)
  3613. {
  3614. var res = result.responseText;
  3615. 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');
  3616. if (deadRegex.test(res))
  3617. {
  3618. DisplayTheCheckedLinks([id], 'adead_link');
  3619. return;
  3620. }
  3621. premiumRegex=new RegExp('only for premium users');
  3622. if (premiumRegex.test(res))
  3623. {
  3624. DisplayTheCheckedLinks([id], 'prem_link');
  3625. return;
  3626. }
  3627. 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="');
  3628. if (liveRegex.test(res))
  3629. {
  3630. DisplayTheCheckedLinks([id], 'alive_link');
  3631. return;
  3632. }
  3633. DisplayTheCheckedLinks([id], 'unava_link');
  3634. },
  3635. onerror: function ()
  3636. {
  3637. DisplayTheCheckedLinks([id], 'unava_link');
  3638. }
  3639. });
  3640. }
  3641. function nitroflareBulkCheck()
  3642. {
  3643. var arr = this.links[0].split("\r\n");
  3644. var i = arr.length;
  3645. while(i--)
  3646. {
  3647. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3648. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3649. NitroFlareRequest(arr[i]);
  3650. }
  3651. }
  3652. function NitroFlareRequest(NFLink)
  3653. {
  3654. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3655. GM_xmlhttpRequest(
  3656. {
  3657. method: "GET",
  3658. url: NFLink,
  3659. headers: {
  3660. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3661. 'Content-Type': 'application/x-www-form-urlencoded',
  3662. 'Referer': ""
  3663. },
  3664. onload: function (result)
  3665. {
  3666. var res = result.responseText;
  3667. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3668. {
  3669. DisplayTheCheckedLinks([NFID], 'adead_link');
  3670. return;
  3671. }
  3672. if (res.match('Report this file<\/a>|id="slow-download'))
  3673. {
  3674. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3675. sizearr=measureRegex.exec(res);
  3676. if (sizearr[2]=='GB')
  3677. {
  3678. if (parseFloat(sizearr[1])>1)
  3679. {
  3680. DisplayTheCheckedLinks([NFID], 'prem_link');
  3681. }
  3682. else
  3683. {
  3684. DisplayTheCheckedLinks([NFID], 'alive_link');
  3685. }
  3686. }
  3687. else
  3688. {
  3689. DisplayTheCheckedLinks([NFID], 'alive_link');
  3690. }
  3691. return;
  3692. }
  3693. DisplayTheCheckedLinks([NFID], 'unava_link');
  3694. }
  3695. });
  3696. }
  3697. function depositfilesBulkCheck()
  3698. {
  3699. var arr = this.links[0].split("\r\n");
  3700. var i = arr.length;
  3701. var seqno = Math.floor(Math.random()*1000000000);
  3702. while(i--)
  3703. {
  3704. DFpostRequest(arr[i]);
  3705. }
  3706. }
  3707. function DFpostRequest(DFLink)
  3708. {
  3709. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3710. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3711. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3712. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3713. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3714. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3715. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3716. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3717. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3718. GM_xmlhttpRequest(
  3719. {
  3720. method: "GET",
  3721. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3722. headers: {
  3723. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3724. 'Content-Type': 'application/x-www-form-urlencoded',
  3725. 'Referer': ""
  3726. },
  3727. onload: function (result)
  3728. {
  3729. var res = result.responseText;
  3730. if (res.match('(?:no_file|file_ban)'))
  3731. {
  3732. DisplayTheCheckedLinks([id], 'adead_link');
  3733. return;
  3734. }
  3735. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3736. {
  3737. DisplayTheCheckedLinks([id], 'alive_link');
  3738. return;
  3739. }
  3740. DisplayTheCheckedLinks([id], 'unava_link');
  3741. }
  3742. });
  3743. }
  3744.  
  3745. function megaBulkCheck()
  3746. {
  3747. var arr = this.links[0].split("\r\n");
  3748. var i = arr.length;
  3749. var seqno = Math.floor(Math.random()*1000000000);
  3750. while(i--)
  3751. {
  3752. postRequest(arr[i]);
  3753. }
  3754. function postRequest(megaLink)
  3755. {
  3756. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3757. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3758. if (id=='F')
  3759. {
  3760. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3761. DisplayTheCheckedLinks([id], 'unava_link');
  3762. }
  3763. else
  3764. GM_xmlhttpRequest(
  3765. {
  3766. method: "POST",
  3767. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3768. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3769. headers: {
  3770. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3771. 'Content-Type': 'application/xml',
  3772. 'Referer': "https://mega.co.nz/"
  3773. },
  3774. onload: function (result)
  3775. {
  3776. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3777. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3778. {
  3779.  
  3780. DisplayTheCheckedLinks([id], 'adead_link');
  3781. }
  3782. if (res.at)
  3783. {
  3784. DisplayTheCheckedLinks([id], 'alive_link');
  3785. }
  3786. if (res.e == "ETEMPUNAVAIL")
  3787. {
  3788. DisplayTheCheckedLinks([id], 'unava_link');
  3789. }
  3790. }
  3791. });
  3792. }
  3793.  
  3794. }
  3795.  
  3796. function oboomBulk() {
  3797. var a = [], b = [], c = [];
  3798. var array = this.links;
  3799.  
  3800. GM_xmlhttpRequest({
  3801. method: 'GET',
  3802. url: 'https://www.oboom.com/1/guestsession',
  3803. headers: {
  3804. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3805. 'Content-type': 'application/x-www-form-urlencoded',
  3806. 'Referer': 'https://www.oboom.com',
  3807. 'X-Requested-With': 'XMLHttpRequest'
  3808. },
  3809. onload: function(result) {
  3810. var blockIdx = array.length;
  3811. var token = JSON.parse(result.responseText)[1];
  3812. while (blockIdx--) {
  3813. startCheck(array[blockIdx].split('\r\n'), token);
  3814. }
  3815. }
  3816. });
  3817.  
  3818. function startCheck(links, token) {
  3819. GM_xmlhttpRequest({
  3820. method: 'POST',
  3821. url: "https://api.oboom.com/1/info",
  3822. headers: {
  3823. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3824. 'Content-type': 'application/x-www-form-urlencoded',
  3825. 'Referer': 'https://www.oboom.com/',
  3826. 'X-Requested-With': 'XMLHttpRequest'
  3827. },
  3828. data: "token=" + token + "&items=" + links.join(","),
  3829. onload: function(result) {
  3830. var res = JSON.parse(result.responseText)[1];
  3831. var i = res.length, s;
  3832.  
  3833. while (i--) {
  3834. s = res[i].state;
  3835. if (s == 'online') a.push(res[i].id);
  3836. 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);
  3837. else c.push(res[i].id);
  3838. }
  3839.  
  3840. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3841. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3842. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3843. }
  3844. });
  3845. }
  3846. }
  3847. function linkcryptBulkCheck()
  3848. {
  3849. var arr = this.links[0].split("\r\n");
  3850. var i = arr.length;
  3851. while(i--)
  3852. {
  3853. postRequest(arr[i]);
  3854. }
  3855. function postRequest(lcLink)
  3856. {
  3857. GM_xmlhttpRequest(
  3858. {
  3859. method: "GET",
  3860. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3861. headers: {
  3862. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3863. 'Accept': 'text/xml',
  3864. 'Referer': ""
  3865. },
  3866. onload: function (result)
  3867. {
  3868. var res = result.responseText;
  3869. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3870. {
  3871. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3872. return;
  3873. }
  3874. if (res.match(/folderStatus>1/)) //Online status
  3875. {
  3876. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3877. }
  3878. else
  3879. {
  3880. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3881. }
  3882. }
  3883. });
  3884. }
  3885. }
  3886.  
  3887. /* function megashareBulkCheck()
  3888. {
  3889. var arr = this.links[0].split("\r\n");
  3890. var i = arr.length;
  3891. while(i--)
  3892. {
  3893. postRequest(arr[i]);
  3894. }
  3895. function postRequest(msLink)
  3896. {
  3897. GM_xmlhttpRequest(
  3898. {
  3899. method: "GET",
  3900. url: msLink,
  3901. headers: {
  3902. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3903. 'Content-Type': 'application/x-www-form-urlencoded',
  3904. 'Referer': ""
  3905. },
  3906. onload: function (result)
  3907. {
  3908. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3909. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3910. if ((prZVal == null) || (btn3Name == null))
  3911. {
  3912. return;
  3913. }
  3914. GM_xmlhttpRequest(
  3915. {
  3916. method: "POST",
  3917. url: msLink,
  3918. headers: {
  3919. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3920. 'Content-Type': 'application/x-www-form-urlencoded',
  3921. 'Referer': ""
  3922. },
  3923. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3924. onload: function (result)
  3925. {
  3926. var res = result.responseText;
  3927. if (res.match(/<div id="err">/))
  3928. {
  3929. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3930. }
  3931. else
  3932. {
  3933. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3934. }
  3935. }
  3936. });
  3937. }
  3938. });
  3939. }
  3940. } */
  3941. function hellshareBulkCheck()
  3942. {
  3943. var links = this.links;
  3944. GM_xmlhttpRequest(
  3945. {
  3946. method: "GET",
  3947. url: 'http://www.hellshare.com',
  3948. headers: {
  3949. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3950. 'Accept': 'text/xml',
  3951. 'Referer': ""
  3952. },
  3953. onload: function (result)
  3954. {
  3955. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3956.  
  3957. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3958. if (domain == 'sk')
  3959. loc = 'check=Skontrolova%C5%A5&links=';
  3960. if (domain == 'com')
  3961. loc = 'check=Check+availability&links=';
  3962. if (domain == 'hu')
  3963. loc = 'check=Kontrol%C3%A1lj&links=';
  3964. if (domain == 'pl')
  3965. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3966.  
  3967. genBulkCheck.call({ links: links,
  3968. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3969. postData: loc,
  3970. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3971. 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,
  3972. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3973. resUnavaRegex: null
  3974. });
  3975. }
  3976. });
  3977. }
  3978. /**
  3979. * Displays check result
  3980. * @param {Array} Array of links or link fragments.
  3981. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3982. */
  3983. function DisplayTheCheckedLinks(links, resultStatus)
  3984. {
  3985. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3986. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3987. if (Do_not_linkify_DL_links)
  3988. { //TODO into separate jQuery function
  3989. $links.replaceWith(function(){
  3990. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3991. });
  3992. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3993. }
  3994. $links.removeClass().addClass(resultStatus);
  3995. $links.each(function() {
  3996. this.href = Ref_anonymize_service + $(this).attr("href");
  3997. });
  3998. switch(resultStatus)
  3999. {
  4000. case "alive_link": cLinksAlive += $links.length;
  4001. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  4002. break;
  4003. case "adead_link": cLinksDead += $links.length;
  4004. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4005. break;
  4006. case "prem_link": cLinksprem += $links.length;
  4007. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  4008. break;
  4009. case "unava_link": cLinksUnava += $links.length; break;
  4010. default:
  4011. }
  4012. cLinksProcessed += $links.length;
  4013. }
  4014. }
  4015. // starts bulkchecking
  4016. //
  4017. // params
  4018. // filterId [string] restricts link detection with passed id attribute
  4019. function startBulkCheck(filterId)
  4020. {
  4021. var cHosts = bulkHosts.length;
  4022. if (cHosts == 0) //no filehostings selected
  4023. return;
  4024. // STEP 1 linkify the links
  4025. var linkifyRegex = '';
  4026. var hostIdx = cHosts;
  4027. while(hostIdx--)
  4028. {
  4029. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  4030. }
  4031. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  4032. linkify(linkifyRegex);
  4033. //
  4034. //STEP 2 detect link objects
  4035. var xpathAll = '';
  4036. var hostIdx = cHosts;
  4037. while(hostIdx--)
  4038. {
  4039. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4040. }
  4041. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4042. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4043. if (filterId != null) //insert id restriction in the xpath
  4044. {
  4045. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4046. }
  4047. else
  4048. {
  4049. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4050. }
  4051. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4052. if (filterId == null)
  4053. {
  4054. cLinksTotal += links.snapshotLength;
  4055. }
  4056. //
  4057. //STEP 3 bind links with hostings
  4058. var linkIdx = links.snapshotLength;
  4059. var href = null;
  4060. if (linkIdx == 0) // no links found
  4061. return;
  4062. var name;
  4063. while (linkIdx--)
  4064. {
  4065. href = links.snapshotItem(linkIdx).href;
  4066. try // DO NOT REMOVE, filters crap that went through xpath detection
  4067. {
  4068. name = gimmeHostName(href);
  4069. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4070. bulkHostNames[name].links.push(href);
  4071. }
  4072. catch(e)
  4073. {
  4074.  
  4075. }
  4076. }
  4077. //
  4078. //STEP 4 process the links for each filehosting
  4079. var hostIdx = cHosts;
  4080. var host;
  4081. var m,n;
  4082. var arr;
  4083. while (hostIdx--)
  4084. {
  4085. host = bulkHosts[hostIdx];
  4086. arr = host.links;
  4087. if (arr.length == 0) //no links for this hosting, skip
  4088. {
  4089. continue;
  4090. }
  4091. //links match corrections
  4092. if (host.corrMatch != null)
  4093. {
  4094. var idx = arr.length;
  4095. while (idx--)
  4096. {
  4097. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4098. }
  4099. }
  4100. //links replace corrections
  4101. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4102. {
  4103. var idx = arr.length;
  4104. while (idx--)
  4105. {
  4106. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4107. }
  4108. }
  4109. m = arr.length;
  4110. n = host.blockSize;
  4111. if (m > n)
  4112. {
  4113. //insert block separators (RAND_STRING) into the array
  4114. for(var i = n; i < m; i += n + 1)
  4115. {
  4116. arr.splice(i, 0, RAND_STRING);
  4117. }
  4118. }
  4119.  
  4120. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4121. apiUrl: host.apiUrl,
  4122. postData: host.postData,
  4123. resLinkRegex: host.resLinkRegex,
  4124. resLiveRegex: host.resLiveRegex,
  4125. resDeadRegex: host.resDeadRegex,
  4126. resUnavaRegex: host.resUnavaRegex
  4127. });
  4128. //clean up
  4129. arr.length = 0;
  4130. }
  4131. //
  4132.  
  4133. function gimmeHostName(link)
  4134. {
  4135. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4136. }
  4137. }
  4138. function checkLinks(filterId)
  4139. {
  4140. startBulkCheck(filterId);
  4141. start(filterId);
  4142. }
  4143.  
  4144. /**
  4145. * Initialises progress box including event binding and CSS
  4146. */
  4147. function initProgressBox()
  4148. {
  4149. if ($("#warlc-progressbox").length > 0)
  4150. return;
  4151. //progressbox css change size and color of progress box
  4152. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4153. "; opacity:" + (Progress_box_opacity / 100) +
  4154. "; bottom:" + Processbox_Pos_Y +
  4155. "%; left:" + Processbox_Pos_X +
  4156. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4157. \
  4158. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4159. \
  4160. .warlc-progressitem {}\
  4161. \
  4162. .alive {color:#00FF7F; " + Live_links_color +
  4163. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4164. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4165. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4166. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4167. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4168. //
  4169. if (Progressbox_Scaling != 100) {
  4170. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4171. 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
  4172. });
  4173. }
  4174. 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
  4175.  
  4176. GM_addStyle(progressboxCss);
  4177. $('body').append(' <div id="warlc-progressbox">\
  4178. <div class="warlc-progressbar"></div>\
  4179. <span class="warlc-progressitem alive"></span> - \
  4180. <span class="warlc-progressitem dead"></span> - \
  4181. <span class="warlc-progressitem unava"></span> - \
  4182. <span class="warlc-progressitem prem"></span> - \
  4183. <span class="warlc-progressitem processing"></span>\
  4184. </div>');
  4185. $('#warlc-progressbox').hide().click(function(){
  4186. clearInterval(intervalId);
  4187. $(this).hide();
  4188. return false;
  4189. });
  4190. $(".warlc-progressbar").progressbar({complete: function(){
  4191. $(this).fadeOut();
  4192. clearInterval(intervalId); //stop refreshing the stats
  4193. }
  4194. })
  4195. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4196. }
  4197. /**
  4198. * Updates progress data in progress box
  4199. */
  4200. function updateProgress()
  4201. {
  4202. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4203. if (cLinksTotal) // some links were detected on page
  4204. {
  4205. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4206. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4207. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4208. if ((cLinksTotal - cLinksProcessed) == 0)
  4209. {
  4210. $progressItems.first().text(cLinksAlive)
  4211. .next().text(cLinksDead)
  4212. .next().text(cLinksUnava)
  4213. .next().text(cLinksprem)
  4214. .next().remove();
  4215. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4216. $('#warlc-progressbox div:first-child').remove();
  4217. }
  4218. else
  4219. {
  4220. $progressItems.first().text(cLinksAlive)
  4221. .next().text(cLinksDead)
  4222. .next().text(cLinksUnava)
  4223. .next().text(cLinksprem)
  4224. .next().text(cLinksTotal - cLinksProcessed);
  4225. }
  4226. }
  4227. }
  4228.  
  4229. function check_all_links()
  4230. {
  4231. add_WARLC_style();
  4232.  
  4233. if (Show_progress_stats)
  4234. {
  4235. initProgressBox();
  4236. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4237. }
  4238.  
  4239. startBulkCheck(null);
  4240. start(null);
  4241.  
  4242. if (!containers_processed)
  4243. {
  4244. processContainers();
  4245. }
  4246. }
  4247.  
  4248. //Copies all found dead links to clipboard - right now for Scriptish only
  4249. function copy_dead_to_clipboard()
  4250. {
  4251. initClipBoardTools();
  4252.  
  4253. var deadlinksxpath = "//.[@class='adead_link']";
  4254.  
  4255. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4256. var foundlinkstext = '';
  4257.  
  4258. var foundlinkIdx = foundlinks.snapshotLength;
  4259.  
  4260. while(foundlinkIdx--)
  4261. {
  4262. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4263. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4264. }
  4265.  
  4266. GM_setClipboard(foundlinkstext);
  4267. }
  4268. //Copies all found live links to clipboard
  4269. function copy_live_to_clipboard()
  4270. {
  4271. initClipBoardTools();
  4272.  
  4273. var livelinksxpath = "//.[@class='alive_link']";
  4274.  
  4275. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4276. var foundlinks2text = '';
  4277.  
  4278. var foundlink2Idx = foundlinks2.snapshotLength;
  4279.  
  4280. while(foundlink2Idx--)
  4281. {
  4282. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4283. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4284. }
  4285.  
  4286. GM_setClipboard(foundlinks2text);
  4287. }
  4288.  
  4289. function toggle_autocheck()
  4290. {
  4291. var currentState = GM_getValue("Autocheck", false);
  4292. GM_setValue("Autocheck", !currentState);
  4293.  
  4294. if (currentState == true)
  4295. {
  4296. sendMessage('Autocheck disabled', 'red');
  4297. }
  4298. else
  4299. {
  4300. sendMessage('Autocheck enabled', 'SpringGreen');
  4301. }
  4302. }
  4303. function toggle_Enable_Anonymizer()
  4304. {
  4305. var currentState = GM_getValue("Enable_Anonymizer", false);
  4306. GM_setValue("Enable_Anonymizer", !currentState);
  4307.  
  4308. if (currentState == true)
  4309. {
  4310. GM_setValue("Ref_anonymize_service", "");
  4311. sendMessage('Anonymizer Disabled', 'red');
  4312. }
  4313. else
  4314. {
  4315. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4316. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4317. }
  4318. }
  4319.  
  4320. function KeyDownHandler(event)
  4321. {
  4322. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4323. if (event.ctrlKey && event.altKey)
  4324. {
  4325. switch(kcode)
  4326. {
  4327. case 65 : check_all_links(); break;
  4328. case 67 : configuration(); break;
  4329. case 68 : copy_dead_to_clipboard(); break;
  4330. case 76 : copy_live_to_clipboard(); break;
  4331. case 87 : toggle_autocheck(); break;
  4332. case 90 : toggle_Enable_Anonymizer(); break;
  4333. }
  4334. }
  4335. }
  4336.  
  4337. //
  4338. //
  4339. // SCRIPT EXECUTION START POINT
  4340. //
  4341. //
  4342. // Safari specific GM_getResourceText override
  4343. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4344. {
  4345. GM_getResourceText = function(res) {
  4346. var $cssText = GM_getValue("jquery_css", "");
  4347. if ($cssText == "")
  4348. {
  4349. GM_xmlhttpRequest(
  4350. {
  4351. method: 'GET',
  4352. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4353. onload: function (result)
  4354. {
  4355. GM_setValue("jquery_css", result.responseText);
  4356. window.location.reload();
  4357. }
  4358. });
  4359. }
  4360. else
  4361. {
  4362. return $cssText;
  4363. }
  4364. }
  4365. }
  4366. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4367. GM_addStyle(jQueryUICSS);
  4368. //init the stuff
  4369. setVariables();
  4370. initBulkCheck();
  4371. //init info boxes
  4372. messageBox.style.position = 'fixed';
  4373. messageBox.style.top = '20px';
  4374. messageBox.style.left = '10px';
  4375. messageBox.style.opacity = '0.85';
  4376. messageBox.style.background = 'DimGray';
  4377. messageBox.style.fontSize = '36px';
  4378. document.body.appendChild(messageBox);
  4379.  
  4380. //register GM menu commands & keyboard shortcut event handler
  4381. if (Keyboard_functions)
  4382. {
  4383. $(document).keydown(KeyDownHandler);
  4384. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4385. 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);
  4386. }
  4387. else
  4388. {
  4389. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4390. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4391. }
  4392.  
  4393. //start linkchecking
  4394. if (Autocheck)
  4395. {
  4396. $(document).ready(check_all_links);
  4397. }
  4398.  
  4399. //
  4400. //
  4401. // SCRIPT EXECUTION END POINT
  4402. //
  4403. //
  4404.  
  4405. //shows configuration box
  4406. function configuration()
  4407. {
  4408.  
  4409. //prevent multiple creating of config window
  4410. if ($("#hideshow").length)
  4411. {
  4412. $("#hideshow").show();
  4413. return;
  4414. }
  4415.  
  4416. var configcss = '\
  4417. .popup_block .popup fieldset{\
  4418. padding: 1%;\
  4419. border-style: solid;\
  4420. border-width: 1px;\
  4421. border-color: gray;\
  4422. margin-bottom: 1px;\
  4423. }\
  4424. #h3hideshowtitle{\
  4425. font-size: 2em;\
  4426. }\
  4427. #h3hideshow{\
  4428. font-size: 1.5em;\
  4429. }\
  4430. #imghideshow {\
  4431. border: none;\
  4432. }\
  4433. #plusimage{\
  4434. display:inline;\
  4435. }\
  4436. #hideshow {\
  4437. position: fixed;\
  4438. width: 100%;\
  4439. height: 100%;\
  4440. top: 0;\
  4441. left: 0;\
  4442. font-size:12px;\
  4443. z-index:2147483645;\
  4444. text-align:left;\
  4445. }\
  4446. #fade {\
  4447. background: #000;\
  4448. position: fixed;\
  4449. width: 100%;\
  4450. height: 100%;\
  4451. opacity: .80;\
  4452. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4453. left: 0;\
  4454. z-index: 10;\
  4455. }\
  4456. .popup_block {\
  4457. font-family:verdana;\
  4458. color:black;\
  4459. background: #ddd;\
  4460. padding: 10px 20px;\
  4461. border: 2px solid DarkOrange;\
  4462. float: left;\
  4463. width: 700px;\
  4464. position: absolute;\
  4465. top: 7%;\
  4466. left: 50%;\
  4467. bottom: 7%;\
  4468. margin: 0 0 0 -350px;\
  4469. -moz-border-radius:10px;\
  4470. z-index: 100;\
  4471. \
  4472. }\
  4473. .popup_block .popup {\
  4474. float: left;\
  4475. width: 100%;\
  4476. background: #fff;\
  4477. margin: 10px 0;\
  4478. padding: 0px 0 0px;\
  4479. border-left: 1px solid #bbb;\
  4480. border-top: 1px solid #bbb;\
  4481. border-right: 1px solid #bbb;\
  4482. }\
  4483. #h3hideshow{\
  4484. margin: 1px 0 0px;\
  4485. padding: 1px 10px;\
  4486. border-bottom: 1px solid #bbb;\
  4487. font-size: 1.5em;\
  4488. font-weight: normal;\
  4489. cursor:pointer;\
  4490. background:#DDDDDD none repeat scroll 0 0;\
  4491. }\
  4492. #h3hideshow:hover{\
  4493. background:#C0BEBE none repeat scroll 0 0;\
  4494. }\
  4495. #h3hideshowtitle{\
  4496. margin: 2px 0 0px;\
  4497. padding: 7px 10px;\
  4498. border-bottom: 1px solid #bbb;\
  4499. font-size: 1.5em;\
  4500. font-weight: normal;\
  4501. }\
  4502. .popup_block .popup a {\
  4503. color:DarkSkyBlue;\
  4504. text-decoration:none;\
  4505. }\
  4506. .popup p {\
  4507. padding: 1px 10px;\
  4508. margin: 0px 0;\
  4509. -x-system-font:none;\
  4510. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4511. font-size:10pt;\
  4512. font-size-adjust:none;\
  4513. font-stretch:normal;\
  4514. font-style:normal;\
  4515. font-variant:normal;\
  4516. font-weight:normal;\
  4517. line-height:normal;\
  4518. }\
  4519. #sites {\
  4520. padding: 1px 10px;\
  4521. margin: 0px 0;display:inline-block;width:16em;\
  4522. }\
  4523. #dev_ver {\
  4524. color: #00FF00;\
  4525. background: Black;\
  4526. text-align: right;\
  4527. }\
  4528. #sites_suspended {\
  4529. padding: 1px 10px;\
  4530. margin: 0px 0;display:inline-block;width:16em;\
  4531. text-decoration: line-through;\
  4532. }\
  4533. .popup img.cntrl {\
  4534. position: absolute;\
  4535. right: -15px;\
  4536. top: -15px;\
  4537. }\
  4538. #bulk {\
  4539. font-size:8pt;\
  4540. color:orange;\
  4541. padding: 1px 10px;\
  4542. margin: 0px 0;\
  4543. display:inline-block;\
  4544. width:100px;\
  4545. }\
  4546. #note {\
  4547. font-size:7pt;\
  4548. color:gray;\
  4549. padding: 1px 10px;\
  4550. margin: 0px 0;display:inline-block;\
  4551. min-width:100px;\
  4552. }\
  4553. #rednote {\
  4554. font-size:7pt;\
  4555. color:red;\
  4556. padding: 1px 10px;\
  4557. margin: 0px 0;display:inline-block;\
  4558. }\
  4559. #configinfo {\
  4560. font-size:8pt;\
  4561. color:gray;\
  4562. padding: 1px 10px;\
  4563. margin: 0px 0;display:inline-block;width:60em;\
  4564. }\
  4565. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4566. color:black;\
  4567. border-style: solid;\
  4568. border-width: 1px;\
  4569. border-color: gray;\
  4570. }\
  4571. #h3hideshowcontent {\
  4572. min-height:220px;\
  4573. max-height:220px;\
  4574. overflow:auto;\
  4575. display: none;\
  4576. padding: 10px 10px;\
  4577. }\
  4578. #specinfo{\
  4579. font-size:14px;\
  4580. }\
  4581. .warlc-ui-tab {\
  4582. height:300px;\
  4583. overflow:auto;\
  4584. }\
  4585. #warlcsitelist2, #warlcsitelist1 {\
  4586. height:220px;\
  4587. border-top: 1px solid #ddd;\
  4588. padding-top: 5px;\
  4589. overflow:auto;\
  4590. }\
  4591. input:hover+label {\
  4592. background:#F1F77C;\
  4593. font-size:110%;\
  4594. }\
  4595. ';
  4596.  
  4597. GM_addStyle(configcss);
  4598.  
  4599. var customRulesRefHTML =
  4600. '\
  4601. <br>\
  4602. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4603. <b>@keyword</b> <i>parameter</i>\
  4604. <br><br>\
  4605. 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. \
  4606. <br><br>\
  4607. 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.\
  4608. 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.\
  4609. 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.\
  4610. 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,\
  4611. but all commands until the next valid @customrule are ignored.<br><br>\
  4612. Available forms and types:\
  4613. <ul>\
  4614. <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.\
  4615. <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.\
  4616. <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.\
  4617. <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.\
  4618. </ul>\
  4619. Other available commands:<br>\
  4620. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4621. <ul>\
  4622. <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.\
  4623. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4624. <ul>examples:<br>\
  4625. <li>good: <i>filehost.com/download/</i><br>\
  4626. <li>good: <i>download.filehost.net/?d=</i><br>\
  4627. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4628. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4629. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4630. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4631. <li>bad: <i>filehost.com</i> - no slash<br>\
  4632. </ul>\
  4633. \
  4634. <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.\
  4635. 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 \
  4636. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4637. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4638. 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.)\
  4639. Two spaces again match any whitespace.\
  4640. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4641. Two spaces again match any whitespace.\
  4642. <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. \
  4643. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4644. </ul>\
  4645. \
  4646. ';
  4647.  
  4648. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4649. var configurationinnerHTML =
  4650. '<div id="fade"></div>\
  4651. <div class="popup_block">\
  4652. <div class="popup">\
  4653. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSil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qWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4655. <div id="warlc-conf-tabs">\
  4656. <ul>\
  4657. <li><a href="#tabs-1">Filehostings</a></li>\
  4658. <li><a href="#tabs-2">Containers</a></li>\
  4659. <li><a href="#tabs-5">Custom rules</a></li>\
  4660. <li><a href="#tabs-3">Settings</a></li>\
  4661. <li><a href="#tabs-4">About</a></li>\
  4662. </ul>\
  4663. <div id="tabs-1" class="warlc-ui-tab">\
  4664. <div class="warlc-ui-buttonset">\
  4665. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4666. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4667. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4668. </div><br>\
  4669. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4670. <div id="warlcsitelist1"><span>Empty</span></div>\
  4671. </div>\
  4672. <div id="tabs-2" class="warlc-ui-tab">\
  4673. <div class="warlc-ui-buttonset">\
  4674. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4675. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4676. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4677. </div><br>\
  4678. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4679. <div id="warlcsitelist2"><span>Empty</span></div>\
  4680. </div>\
  4681. <div id="tabs-5" class="warlc-ui-tab">\
  4682. <div class="warlcsettings">\
  4683. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4684. <br>\
  4685. <div>Edit custom rules: \
  4686. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4687. <div id="customRulesReference" style="display:none;">'
  4688. + customRulesRefHTML + '\
  4689. </div>\
  4690. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4691. </div>\
  4692. </div>\
  4693. </div>\
  4694. <div id="tabs-3" class="warlc-ui-tab">\
  4695. <div class="warlcsettings">\
  4696. <fieldset>\
  4697. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4698. <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>\
  4699. </fieldset>\
  4700. <fieldset>\
  4701. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4702. <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>\
  4703. <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>\
  4704. <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>\
  4705. <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>\
  4706. <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>\
  4707. <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>\
  4708. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4709. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4710. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4711. <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>\
  4712. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4713. <fieldset>\
  4714. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4715. <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>\
  4716. <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>\
  4717. <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>\
  4718. </fieldset>\
  4719. </fieldset>\
  4720. <fieldset>\
  4721. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4722. </fieldset>\
  4723. <fieldset>\
  4724. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4725. </fieldset>\
  4726. <fieldset>\
  4727. <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>\
  4728. </fieldset>\
  4729. <fieldset>\
  4730. <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>\
  4731. </fieldset>\
  4732. <fieldset>\
  4733. <legend>Progress box settings</legend>\
  4734. <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>\
  4735. <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>\
  4736. <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>\
  4737. </fieldset>\
  4738. </div>\
  4739. </div>\
  4740. <div id="tabs-4" class="warlc-ui-tab">\
  4741. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4742. <br />\
  4743. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4744. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4745. <br />\
  4746. <p><b>Currently supported:</b><br>\
  4747. Filehostings: ' + allHostNames.length + '<br />\
  4748. Containers: ' + allContainerNames.length + '<br />\
  4749. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4750. <br />\
  4751. <p><b>Based on:</b><br>\
  4752. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4753. <br />\
  4754. <p><b>Uses:</b></p>\
  4755. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4756. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4757. <br />\
  4758. <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>\
  4759. </div>\
  4760. </div>\
  4761. </div>\
  4762. </div>';
  4763. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4764. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4765. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4766. var elmHostList = document.getElementById("warlcsitelist1");
  4767. var elmContainerList = document.getElementById("warlcsitelist2");
  4768. buildSettings();
  4769. buildSitelist("", allHostNames, elmHostList);
  4770. buildSitelist("", allContainerNames, elmContainerList);
  4771. if (DEBUG_MODE)
  4772. {
  4773. //log all sites availability status
  4774. diagSites();
  4775. }
  4776. //handler for checkbox state change
  4777. function changeConfiguration(e)
  4778. {
  4779. var element = e.target;
  4780.  
  4781. if (element.type == 'checkbox')
  4782. {
  4783. if (element.checked == 1)
  4784. {
  4785. GM_setValue(element.id, true);
  4786. }
  4787. else
  4788. {
  4789. GM_setValue(element.id, false);
  4790. }
  4791.  
  4792. }
  4793. setVariables();
  4794. }
  4795.  
  4796. //Selects all filehosting checkboxes
  4797. function selectAll()
  4798. {
  4799. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4800. .each(function(index, element){GM_setValue(this.id, true)});
  4801. }
  4802.  
  4803. //Deselects all filehosting checkboxes
  4804. function selectNone()
  4805. {
  4806. $(":checkbox:visible:checked").prop("checked",false)
  4807. .each(function(index, element){GM_setValue(this.id, false)});
  4808. }
  4809. //Sets Processbox position setting
  4810. function changeProgBox(event) {
  4811. var setting;
  4812. switch(event.data.set) {
  4813. case "X": setting = "Processbox_Pos_X"; break;
  4814. case "Y": setting = "Processbox_Pos_Y"; break;
  4815. case "Scale": setting = "Progressbox_Scaling"; break;
  4816. }
  4817. var $setting = $("#" + setting);
  4818. var newSet = $setting.val().replace("%", "");
  4819. GM_setValue(setting, newSet);
  4820. }
  4821. //Sets value of Processbox position
  4822. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4823. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4824. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4825.  
  4826. //Inverts filehosting checkboxes selection
  4827. function selectInvert()
  4828. {
  4829. var $checked = $(":checkbox:visible:checked");
  4830. var $unchecked = $(":checkbox:visible:not(:checked)");
  4831. $unchecked.prop("checked",true)
  4832. .each(function(index, element){GM_setValue(this.id, true)});
  4833. $checked.prop("checked",false)
  4834. .each(function(index, element){GM_setValue(this.id, false)});
  4835. }
  4836. //toggles anonymizer on off
  4837. function Enable_Anonymizer()
  4838. {
  4839. var $checked = $(":checkbox:visible:checked");
  4840. var $unchecked = $(":checkbox:visible:not(:checked)");
  4841. $unchecked.prop("checked",true)
  4842. .each(function(index, element){GM_setValue(this.id, true)});
  4843. $checked.prop("checked",false)
  4844. .each(function(index, element){GM_setValue(this.id, false)});
  4845. }
  4846.  
  4847. function changeRefAnonymizer(){
  4848. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4849. }
  4850.  
  4851. //Sets live links color
  4852. function changeColorLive()
  4853. {
  4854. var inColorLive = document.getElementById("inputColorLive");
  4855. inColorLive.style.background = inColorLive.value;
  4856. GM_setValue("Live_links_color", inColorLive.value);
  4857. }
  4858.  
  4859. //Sets dead links color
  4860. function changeColorDead()
  4861. {
  4862. var inColorDead = document.getElementById("inputColorDead");
  4863. inColorDead.style.background = inColorDead.value;
  4864. GM_setValue("Dead_links_color", inColorDead.value);
  4865. }
  4866.  
  4867. //Sets temp. unavailable links color
  4868. function changeColorTemp()
  4869. {
  4870. var inColorTemp = document.getElementById("inputColorTemp");
  4871. inColorTemp.style.background = inColorTemp.value;
  4872. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4873. }
  4874.  
  4875. //Sets temp. unavailable links color
  4876. function changeColorCont()
  4877. {
  4878. var inColorCont = document.getElementById("inputColorCont");
  4879. inColorCont.style.background = inColorCont.value;
  4880. GM_setValue("Container_links_color", inColorCont.value);
  4881. }
  4882. //Sets premium. links color
  4883. function changeColorprem()
  4884. {
  4885. var inColorprem = document.getElementById("inputColorprem");
  4886. inColorprem.style.background = inColorprem.value;
  4887. GM_setValue("Premium_links_color", inColorprem.value);
  4888. }
  4889.  
  4890. //Diagnose sites for availability
  4891. function diagSites()
  4892. {
  4893. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4894.  
  4895. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4896. {
  4897. if (boxes[i].type == "checkbox")
  4898. {
  4899. checkAvailability(boxes[i]);
  4900. }
  4901. }
  4902.  
  4903. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4904.  
  4905. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4906. {
  4907. if (boxes[i].type == "checkbox")
  4908. {
  4909. checkAvailability(boxes[i]);
  4910. }
  4911. }
  4912.  
  4913. function checkAvailability(cbElm)
  4914. {
  4915. var cb = cbElm;
  4916. GM_xmlhttpRequest(
  4917. {
  4918. method: 'HEAD',
  4919. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4920. headers: {
  4921. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4922. 'Accept': 'text/xml',
  4923. 'Referer': ""
  4924. },
  4925. onload: function (result)
  4926. {
  4927. if (result.status != 200)
  4928. {
  4929. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4930. }
  4931. },
  4932. onerror: 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. //Sets Progress_box position setting
  4938. function changeProgBox(event) {
  4939. var setting;
  4940. switch(event.data.set) {
  4941. case "X": setting = "Progress_box_Pos_X"; break;
  4942. case "Y": setting = "Progress_box_Pos_Y"; break;
  4943. case "Scale": setting = "Progress_box_Scaling"; break;
  4944. }
  4945.  
  4946. var $setting = $("#" + setting);
  4947. var newSet = $setting.val().replace("%", "");
  4948. lsSetVal("general", setting, newSet);
  4949. }
  4950.  
  4951. //Sets value of Progress_box position
  4952. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4953. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4954. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4955. }
  4956. }
  4957. });
  4958. }
  4959. }
  4960. function buildSettings()
  4961. {
  4962. $(".warlcsettings :checkbox").each(function(){
  4963. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4964. .click(function(e){
  4965. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4966. setVariables();
  4967. });
  4968. })
  4969. }
  4970. //Dynamic build of host list
  4971. //param search [string] searches for hostnames matching search substring
  4972. //param siteNames [array] array of site names
  4973. //param targetNode [DOM Node] where the list should be built
  4974. // first child node is replaced
  4975. function buildSitelist(search, siteNames, targetNode)
  4976. {
  4977. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4978. var $targetNode = $(targetNode).empty();
  4979. var searchedSite = "";
  4980. $.each(siteNames, function(i, site){
  4981. if (searchedSite = site.match(searchRegex))
  4982. {
  4983. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4984. //ensuring backward compatibility with the rest of code, to be refactored later
  4985. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4986. //
  4987. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4988. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4989. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4990. );
  4991. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4992. .change(changeConfiguration);
  4993. $targetNode.append('<br />');
  4994. }
  4995. });
  4996. $targetNode.append("<hr>");
  4997. //obsolete hosts checkbox
  4998. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4999. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  5000. .change(changeConfiguration);
  5001. $targetNode.append('<br />');
  5002. var foundName = "";
  5003. $.each(allObsoleteNames, function(i, site){
  5004. if (foundName = allObsoleteNames[i].match(searchRegex))
  5005. {
  5006. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  5007. }
  5008. })
  5009. }
  5010. var hostSearchBox = document.getElementById("hostSearchBox");
  5011. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  5012. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  5013. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  5014. $(".warlc-ui-select-all").click(selectAll).button();
  5015. $(".warlc-ui-select-none").click(selectNone).button();
  5016. $(".warlc-ui-select-invert").click(selectInvert).button();
  5017. $(".warlc-ui-buttonset").buttonset();
  5018. var inColorLive = document.getElementById("inputColorLive");
  5019. inColorLive.addEventListener('keyup', changeColorLive, false);
  5020.  
  5021. var inColorDead = document.getElementById("inputColorDead");
  5022. inColorDead.addEventListener('keyup', changeColorDead, false);
  5023.  
  5024. var inColorTemp = document.getElementById("inputColorTemp");
  5025. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  5026.  
  5027. var inColorCont = document.getElementById("inputColorCont");
  5028. inColorCont.addEventListener('keyup', changeColorCont, false);
  5029. var inColorprem = document.getElementById("inputColorprem");
  5030. inColorprem.addEventListener('keyup', changeColorprem, false);
  5031. $("#refAnonymizer").change(changeRefAnonymizer);
  5032. //buttons and edit boxes init end
  5033.  
  5034. //icon sets radio buttons
  5035. var radioButtons = document.getElementsByName("warlciconset");
  5036. radioButtons[Icon_set].checked = "checked";
  5037.  
  5038. radioButtons[0].addEventListener("change", updateIconSet);
  5039. radioButtons[1].addEventListener("change", updateIconSet);
  5040. radioButtons[2].addEventListener("change", updateIconSet);
  5041. radioButtons[3].addEventListener("change", updateIconSet);
  5042. function updateIconSet()
  5043. {
  5044. GM_setValue("Icon_set", this.value * 1);
  5045. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5046. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5047. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5048. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5049. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5050.  
  5051. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5052. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5053.  
  5054. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5055. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5056. }
  5057. //
  5058. $('#showCustomRulesReference').click(function(e){
  5059. e.preventDefault();
  5060. $('#customRulesReference').toggle();
  5061. });
  5062. $('#Custom_rules_text')
  5063. .val(Custom_rules_text)
  5064. .change(saveCustomRules);
  5065. function saveCustomRules(e)
  5066. {
  5067. var cr = parseCustomRules(this.value);
  5068. if (cr.info.length)
  5069. 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, ' '));
  5070. GM_setValue('Custom_rules_text', this.value);
  5071. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5072. }
  5073. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5074. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5075. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5076. }
  5077.  
  5078. //begin standard link checking algorithm
  5079. function start(filterId)
  5080. {
  5081. var doNotLinkify = Do_not_linkify_DL_links;
  5082.  
  5083. // USER SELECTED FILE HOSTS INITIALIZATION START
  5084. var http_file_hosts = new Array(); //standard hostings
  5085. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5086. var http_file_hosts_obsolete = new Array(); //dead hostings
  5087. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5088.  
  5089. initFileHosts();
  5090. initFileHostsHeadersOnly();
  5091. initFileHostsCustom(); //CustomRules
  5092. // USER SELECTED FILE HOSTS INITIALIZATION END
  5093.  
  5094. // LINKIFICATION START
  5095. var totalxpath = '';
  5096. var totalxpathcoded = '';
  5097. var totalxpathobsolete = '';
  5098. var totalxpathheadersonly = '';
  5099. var totalourls = '';
  5100.  
  5101. var filehostLen = http_file_hosts.length;
  5102. var filehostCodedLen = http_file_hosts_coded.length;
  5103. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5104. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5105.  
  5106. var filehostIdx = filehostLen;
  5107. var filehostCodedIdx = filehostCodedLen;
  5108. var filehostObsoleteIdx = filehostObsoleteLen;
  5109. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5110.  
  5111. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5112. return;
  5113.  
  5114. while (filehostIdx--)
  5115. {
  5116. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5117. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5118. }
  5119.  
  5120. while (filehostCodedIdx--)
  5121. {
  5122. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5123. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5124. }
  5125.  
  5126. while (filehostObsoleteIdx--)
  5127. {
  5128. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5129. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5130. }
  5131.  
  5132. while (filehostHeadersOnlyIdx--)
  5133. {
  5134. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5135. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5136. }
  5137.  
  5138. totalourls = totalourls.replace(/\|$/g, "");
  5139. //TODO: further refactoring needed
  5140. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5141. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5142. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5143. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5144. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5145. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5146. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5147. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5148. if (filterId != null) //insert id restriction in the xpath
  5149. {
  5150. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5151. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5152. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5153. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5154. }
  5155. else
  5156. {
  5157. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5158. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5159. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5160. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5161. }
  5162. linkify(totalourls);
  5163. //LINKIFICATION END
  5164. //ENCRYPTED LINKS PROCESSING START
  5165. if (http_file_hosts_coded.length > 0)
  5166. {
  5167. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5168.  
  5169. // decrypt coded links (redirects, link protectors etc.)
  5170. if (linksCoded.snapshotLength > 0)
  5171. {
  5172. var link;
  5173. var reallinkreg;
  5174. var reallinkcorrection;
  5175.  
  5176. if (filterId == null)
  5177. {
  5178. cLinksTotal += linksCoded.snapshotLength;
  5179. }
  5180.  
  5181. var y = linksCoded.snapshotLength - 1;
  5182. do
  5183. {
  5184. // linksCoded.snapshotItem(y).id = 'processing_link';
  5185. link = linksCoded.snapshotItem(y);
  5186. filehostIdx = filehostCodedLen;
  5187. while (filehostIdx--)
  5188. {
  5189. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5190. {
  5191. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5192. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5193. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5194.  
  5195. decurl(link, reallinkreg, reallinkcorrection);
  5196. break;
  5197. }
  5198. }
  5199. }
  5200. while (y--);
  5201. }
  5202. }
  5203. //ENCRYPTED LINKS PROCESSING END
  5204.  
  5205. //STANDARD LINKCHECKING START
  5206. if (http_file_hosts.length > 0)
  5207. {
  5208. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5209.  
  5210. if (filterId == null)
  5211. {
  5212. cLinksTotal += lianks.snapshotLength;
  5213. }
  5214.  
  5215. if (lianks.snapshotLength > 0)
  5216. {
  5217. var link;
  5218.  
  5219. var URL = "";
  5220. var name = "";
  5221. var isAliveRegex = "";
  5222. var isDeadRegex = "";
  5223. var isUnavaRegex = "";
  5224. var ispremRegex = "";
  5225. var tryLoop = false;
  5226.  
  5227. var y = lianks.snapshotLength;
  5228.  
  5229. while (y--)
  5230. {
  5231. link = lianks.snapshotItem(y);
  5232. while (link.href.indexOf('anonym.to/?')>-1)
  5233. {
  5234. link.href=link.href.substring(link.href.indexOf('anonym.to/?')+11);
  5235. }
  5236. while (link.href.indexOf('anonym.to?')>-1)
  5237. {
  5238. link.href=link.href.substring(link.href.indexOf('anonym.to?')+10);
  5239. }
  5240.  
  5241. filehostIdx = filehostLen;
  5242. while (filehostIdx--)
  5243. {
  5244. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5245. {
  5246. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5247. isAliveRegex = http_file_hosts[filehostIdx][1];
  5248. isDeadRegex = http_file_hosts[filehostIdx][2];
  5249. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5250. ispremRegex = http_file_hosts[filehostIdx][6];
  5251. tryLoop = http_file_hosts[filehostIdx][5];
  5252.  
  5253. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5254.  
  5255. break;
  5256. }
  5257. }
  5258. }
  5259. }
  5260. }
  5261. //STANDARD LINKCHECKING END
  5262. //OBSOLETE FILE HOSTS PROCESSING START
  5263. if (filehostObsoleteLen > 0)
  5264. {
  5265. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5266.  
  5267. var obsoleteLink;
  5268.  
  5269. //check links
  5270. if (obsoletelinks.snapshotLength > 0)
  5271. {
  5272. var y = obsoletelinks.snapshotLength;
  5273.  
  5274. if (filterId == null)
  5275. {
  5276. cLinksTotal += y;
  5277. }
  5278.  
  5279. while (y--)
  5280. {
  5281. obsoleteLink = obsoletelinks.snapshotItem(y);
  5282.  
  5283. if (Display_tooltip_info)
  5284. {
  5285. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5286. }
  5287. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5288. }
  5289. }
  5290. }
  5291. //OBSOLETE FILE HOSTS PROCESSING END
  5292.  
  5293. //DIRECT LINKCHECKING START
  5294. if (http_file_hosts_headers_only.length > 0)
  5295. {
  5296. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5297.  
  5298. //check links
  5299. if (links.snapshotLength > 0)
  5300. {
  5301. var link;
  5302. var isAliveRegex;
  5303. var isDeadRegex;
  5304. var ispremRegex;
  5305.  
  5306. var y = links.snapshotLength;
  5307.  
  5308.  
  5309. if (filterId == null)
  5310. {
  5311. cLinksTotal += y;
  5312. }
  5313.  
  5314. while (y--)
  5315. {
  5316. // links.snapshotItem(y).id = 'processing_link';
  5317. link = links.snapshotItem(y);
  5318. filehostIdx = filehostHeadersOnlyLen;
  5319. while (filehostIdx--)
  5320. {
  5321. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5322. {
  5323. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5324. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5325. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5326. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5327.  
  5328. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5329.  
  5330. break;
  5331. }
  5332. }
  5333. }
  5334.  
  5335. }
  5336. }
  5337. //DIRECT LINKCHECKING END
  5338.  
  5339.  
  5340. //finds the real url on the page, replaces link.href with it and calls geturl
  5341. function decurl(link, reallinkreg, reallinkcorrection)
  5342. {
  5343.  
  5344. GM_xmlhttpRequest(
  5345. {
  5346. method: 'GET',
  5347. url: link.href,
  5348. headers: {
  5349. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5350. 'Accept': 'text/xml',
  5351. 'Referer': ""
  5352. },
  5353. onload: function (result)
  5354. {
  5355. // cLinksProcessed++;
  5356.  
  5357. var reallink = result.responseText.match(reallinkreg)[0];
  5358. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5359.  
  5360. link.href = reallink;
  5361.  
  5362. var i = http_file_hosts.length - 1;
  5363. do
  5364. {
  5365. if ((reallink.match(http_file_hosts[i][0])))
  5366. {
  5367. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5368. var isAliveRegex = http_file_hosts[i][1];
  5369. var isDeadRegex = http_file_hosts[i][2];
  5370. var isUnavaRegex = http_file_hosts[i][3];
  5371. var ispremRegex = http_file_hosts[i][4];
  5372.  
  5373. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5374.  
  5375. break;
  5376. }
  5377. }
  5378. while (i--);
  5379. }
  5380. });
  5381. }
  5382.  
  5383. function randUA()
  5384. {
  5385. //TODO
  5386. }
  5387. //Processes link
  5388. //
  5389. // [string] link link URL
  5390. // [string] isAliveRegex alive link regex
  5391. // [string] isDeadRegex dead link regex
  5392. // [string] isUnavaRegex unavailable link regex
  5393. // [string] ispremRegex premium link regex
  5394. // [boolean] tryLoop repeats request until succeeded
  5395. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5396. {
  5397. GM_xmlhttpRequest(
  5398. {
  5399. method: 'GET',
  5400. url: link.href,
  5401. headers: {
  5402. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5403. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5404. 'Referer': ""
  5405. },
  5406. onload: function (result)
  5407. {
  5408. var res = result.responseText;
  5409. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5410. {
  5411. displayTheCheckedLink(link, 'alive_link');
  5412. return;
  5413. }
  5414.  
  5415. if (res.match(isAliveRegex))
  5416. {
  5417. displayTheCheckedLink(link, 'alive_link');
  5418. return;
  5419. }
  5420.  
  5421. if (res.match(isDeadRegex))
  5422. {
  5423. displayTheCheckedLink(link, 'adead_link');
  5424. return;
  5425. }
  5426.  
  5427. if (isUnavaRegex && res.match(isUnavaRegex))
  5428. {
  5429. displayTheCheckedLink(link, 'unava_link');
  5430. return;
  5431. }
  5432. if (res.match(ispremRegex))
  5433. {
  5434. displayTheCheckedLink(link, 'prem_link');
  5435. return;
  5436. }
  5437.  
  5438. var resStatus = result.status;
  5439.  
  5440. if (resStatus == 404)
  5441. {
  5442. displayTheCheckedLink(link, 'adead_link');
  5443. }
  5444. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5445. {
  5446. if (tryLoop)
  5447. {
  5448. //wait 1-5 seconds and repeat the request
  5449. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5450. }
  5451. else
  5452. {
  5453. displayTheCheckedLink(link, 'unava_link');
  5454. }
  5455.  
  5456. return;
  5457. }
  5458. },
  5459. onerror: function ()
  5460. {
  5461. displayTheCheckedLink(link, 'unava_link');
  5462. }
  5463. });
  5464. }
  5465.  
  5466. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5467. {
  5468. GM_xmlhttpRequest(
  5469. {
  5470. method: 'HEAD',
  5471. url: link.href,
  5472. headers: {
  5473. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5474. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5475. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5476. 'Referer': ""
  5477. },
  5478. onload: function (result)
  5479. {
  5480. var resStatus = result.status;
  5481. var resHeaders = "";
  5482. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5483. {
  5484. displayTheCheckedLink(link, 'adead_link');
  5485. return;
  5486. }
  5487.  
  5488. resHeaders = result.responseHeaders;
  5489.  
  5490. if (resHeaders.match(isDeadRegex))
  5491. {
  5492. displayTheCheckedLink(link, 'adead_link');
  5493. return;
  5494. }
  5495.  
  5496. if (resHeaders.match(isAliveRegex))
  5497. {
  5498. displayTheCheckedLink(link, 'alive_link');
  5499. return;
  5500. }
  5501. if (resHeaders.match(ispremRegex))
  5502. {
  5503. displayTheCheckedLink(link, 'prem_link');
  5504. return;
  5505. }
  5506. },
  5507. onerror: function ()
  5508. {
  5509. displayTheCheckedLink(link, 'unava_link');
  5510. }
  5511. });
  5512. }
  5513.  
  5514. //Delinkfifies the <a> element object
  5515. function delinkifyLink(link)
  5516. {
  5517. var spanElm = document.createElement("span");
  5518. spanElm.className = link.className;
  5519. spanElm.innerHTML = link.innerHTML;
  5520.  
  5521. if (Display_tooltip_info)
  5522. {
  5523. spanElm.href = link.href;
  5524. spanElm.warlc_error = link.warlc_error;
  5525. switch (link.className){
  5526. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5527. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5528. case "unava_link": //reserved
  5529. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5530. default:
  5531. }
  5532. }
  5533. link.parentNode.replaceChild(spanElm, link);
  5534. }
  5535.  
  5536. //Assigns result status to the <a> element object and calls delinkifying eventually
  5537. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5538. function displayTheCheckedLink(link, resultStatus)
  5539. {
  5540. link.className = resultStatus;
  5541. link.href = Ref_anonymize_service + link.href;
  5542. if (Display_tooltip_info)
  5543. {
  5544. switch (resultStatus){
  5545. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5546. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5547. case "unava_link": //reserved
  5548. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5549. default:
  5550. }
  5551. }
  5552. if (doNotLinkify)
  5553. {
  5554. delinkifyLink(link);
  5555. }
  5556. cLinksProcessed++;
  5557.  
  5558. if (resultStatus == "alive_link")
  5559. {
  5560. cLinksAlive++;
  5561. return;
  5562. }
  5563.  
  5564. if (resultStatus == "adead_link")
  5565. {
  5566. cLinksDead++;
  5567. return;
  5568. }
  5569.  
  5570. if (resultStatus == "unava_link")
  5571. {
  5572. cLinksUnava++;
  5573. }
  5574. if (resultStatus == "prem_link")
  5575. {
  5576. cLinksprem++;
  5577. return;
  5578. }
  5579. }
  5580.  
  5581.  
  5582. function initFileHosts()
  5583. {
  5584.  
  5585. function addObsoleteHost(linkRegex, xpathEx)
  5586. {
  5587. var host = new Array(2);
  5588. host[0] = linkRegex;
  5589. host[1] = xpathEx;
  5590. http_file_hosts_obsolete.push(host);
  5591. }
  5592.  
  5593. //obsolete file hosts init start
  5594. if (Obsolete_file_hosts)
  5595. {
  5596. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5597. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5598. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5599. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5600. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5601. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5602. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5603. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5604. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5605. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5606. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5607. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5608. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5609. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5610. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5611. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5612. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5613. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5614. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5615. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5616. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5617. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5618. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5619. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5620. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5621. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5622. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5623. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5624. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5625. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5626. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5627. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5628. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5629. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5630. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5631. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5632. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5633. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5634. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5635. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5636. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5637. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5638. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5639. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5640. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5641. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5642. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5643. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5644. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5645. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5646. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5647. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5648. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5649. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5650. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5651. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5652. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5653. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5654. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5655. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5656. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5657. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5658. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5659. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5660. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5661. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5662. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5663. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5664. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5665. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5666. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5667. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5668. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5669. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5670. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5671. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5672. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5673. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5674. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5675. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5676. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5677. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5678. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5679. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5680. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5681. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5682. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5683. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5684. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5685. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5686. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5687. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5688. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5689. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5690. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5691. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5692. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5693. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5694. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5695. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5696. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5697. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5698. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5699. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5700. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5701. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5702. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5703. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5704. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5705. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5706. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5707. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5708. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5709. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5710. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5711. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5712. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5713. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5714. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5715. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5716. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5717. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5718. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5719. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5720. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5721. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5722. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5723. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5724. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5725. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5726. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5727. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5728. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5729. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5730. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5731. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5732. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5733. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5734. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5735. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5736. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5737. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5738. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5739. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5740. 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')]");
  5741. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5742. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5743. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5744. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5745. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5746. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5747. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5748. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5749. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5750. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5751. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5752. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5753. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5754. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5755. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5756. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5757. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5758. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5759. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5760. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5761. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5762. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5763. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5764. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5765. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5766. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5767. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5768. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5769. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5770. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5771. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5772. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5773. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5774. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5775. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5776. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5777. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5778. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5779. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5780. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5781. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5782. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5783. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5784. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5785. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5786. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5787. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5788. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5789. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5790. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5791. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5792. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5793. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5794. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5795. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5796. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5797. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5798. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5799. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5800. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5801. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5802. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5803. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5804. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5805. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5806. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5807. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5808. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5809. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5810. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5811. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5812. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5813. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5814. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5815. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5816. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5817. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5818. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5819. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5820. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5821. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5822. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5823. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5824. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5825. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5826. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5827. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5828. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5829. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5830. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5831. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5832. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5833. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5834. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5835. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5836. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5837. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5838. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5839. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5840. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5841. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5842. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5843. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5844. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5845. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5846. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5847. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5848. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5849. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5850. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5851. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5852. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5853. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5854. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5855. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5856. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5857. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5858. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5859. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5860. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5861. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5862. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5863. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5864. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5865. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5866. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5867. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5868. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5869. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5870. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5871. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5872. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5873. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5874. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5875. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5876. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5877. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5878. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5879. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5880. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5881. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5882. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5883. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5884. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5885. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5886. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5887. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5888. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5889. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5890. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5891. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5892. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5893. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5894. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5895. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5896. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5897. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5898. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5899. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5900. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5901. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5902. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5903. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5904. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5905. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5906. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5907. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5908. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5909. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5910. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5911. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5912. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5913. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5914. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5915. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5916. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5917. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5918. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5919. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5920. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5921. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5922. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5923. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5924. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5925. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5926. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5927. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5928. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5929. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5930. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5931. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5932. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5933. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5934. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5935. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5936. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5937. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5938. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5939. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5940. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5941. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5942. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5943. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5944. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5945. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5946. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5947. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5948. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5949. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5950. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5951. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5952. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5953. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5954. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5955. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5956. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5957. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5958. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5959. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5960. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5961. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5962. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5963. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5964. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5965. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5966. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5967. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5968. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5969. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5970. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5971. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5972. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5973. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5974. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5975. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5976. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5977. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5978. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5979. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5980. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5981. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5982. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5983. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5984. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5985. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5986. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5987. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5988. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5989. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5990. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5991. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5992. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5993. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5994. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5995. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5996. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5997. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5998. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5999. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  6000. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  6001. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  6002. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  6003. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  6004. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  6005. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  6006. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  6007. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  6008. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  6009. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  6010. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  6011. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  6012. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  6013. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  6014. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  6015. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  6016. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  6017. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  6018. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  6019. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  6020. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  6021. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  6022. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  6023. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  6024. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  6025. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  6026. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  6027. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  6028. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  6029. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  6030. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  6031. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  6032. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  6033. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  6034. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  6035. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  6036. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  6037. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  6038. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  6039. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  6040. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  6041. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6042. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6043. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6044. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6045. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6046. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6047. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6048. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6049. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6050. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6051. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6052. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6053. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6054. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6055. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6056. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6057. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6058. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6059. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6060. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6061. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6062. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6063. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6064. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6065. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6066. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6067. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6068. addObsoleteHost("fp\\.io\/\\w+","//a[contains(@href,'fp.io/')]");
  6069. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6070. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6071. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6072. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6073. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6074. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6075. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6076. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6077. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6078. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6079. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6080. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6081. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6082. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6083. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6084. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6085. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6086. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6087. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6088. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6089. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6090. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6091. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6092. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6093. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6094. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6095. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6096. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6097. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6098. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6099. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6100. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6101. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6102. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6103. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6104. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6105. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6106. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6107. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6108. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6109. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6110. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6111. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6112. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6113. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6114. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6115. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6116. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6117. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6118. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6119. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6120. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6121. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6122. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6123. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6124. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6125. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6126. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6127. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6128. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6129. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6130. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6131. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6132. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6133. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6134. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6135. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6136. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6137. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6138. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6139. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6140. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6141. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6142. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6143. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6144. addObsoleteHost("uplea\\.com\/\\w+","//a[contains(@href,'uplea.com/')]");
  6145. addObsoleteHost("vodlocker\\.com\/\\w+","//a[contains(@href,'vodlocker.com/')]");
  6146. addObsoleteHost("rockfile\\.eu\/\\w+","//a[contains(@href,'rockfile.eu/')]");
  6147.  
  6148. // obsolete start start2
  6149. }
  6150. //obsolete file hosts init end
  6151. //Add Host Example
  6152. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6153. {
  6154. addFileHost(
  6155. "datafile\.com\/\\w+",
  6156. 'var captchaPanel|<link href="/css/files_download.css"',
  6157. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6158. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6159. '<style type="text/css">',
  6160. "//a[contains(@href,'datafile.com')]",
  6161. true);
  6162. } */
  6163.  
  6164. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6165. {
  6166. var host = new Array(7);
  6167. host[0] = linkRegex;
  6168. host[1] = isAliveRegex;
  6169. host[2] = isDeadRegex;
  6170. host[3] = isUnavaRegex;
  6171. host[6] = ispremRegex;
  6172. host[4] = xpathEx;
  6173. tryLoop ? host[5] = true : host[5] = false;
  6174. http_file_hosts.push(host);
  6175. }
  6176. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6177. {
  6178. addFileHost(
  6179. "megafileupload\.com\/..\/file\/",
  6180. 'downloadbtn',
  6181. 'is not found',
  6182. 'optional--',
  6183. 'optional2--',
  6184. "//a[contains(@href,'megafileupload.com')]");
  6185. }
  6186. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6187. {
  6188. addFileHost(
  6189. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6190. 'download\\.gif"',
  6191. 'p_point">',
  6192. 'optional--',
  6193. 'optional2--',
  6194. "//a[contains(@href,'demo.ovh.eu')]");
  6195. }*/
  6196. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6197. {
  6198. addFileHost(
  6199. "safelinking\\.net\/p\/\\w+",
  6200. 'color:green;"',
  6201. 'color:(?:red|orange);"',
  6202. 'color:(?:grey|brown);"',
  6203. 'optional2--',
  6204. "//a[contains(@href,'safelinking.net/p/')]",
  6205. true);
  6206. }
  6207. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6208. {
  6209. addFileHost(
  6210. "fastshare\\.cz\/\\d+\/\\w*",
  6211. 'dwntable">|speed-low',
  6212. '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',
  6213. 'optional--',
  6214. 'optional2--',
  6215. "//a[contains(@href,'fastshare.cz')]");
  6216. }
  6217. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6218. {
  6219. addFileHost(
  6220. "[fF]ast[sS]hare\\.org\/download",
  6221. 'Download ">',
  6222. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6226. }
  6227. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6228. {
  6229. addFileHost(
  6230. "rapidgator\\.net\/file\/\\w+",
  6231. '/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.',
  6232. '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',
  6233. 'optional--',
  6234. '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',
  6235. "//a[contains(@href,'rapidgator.net/file')]",
  6236. true
  6237. );
  6238. }
  6239. if (GM_getValue("Check_rg_dot_to_links", false))
  6240. {
  6241. addFileHost(
  6242. "rg\.to\/\\w+",
  6243. '/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.',
  6244. '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',
  6245. 'optional--',
  6246. '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',
  6247. "//a[contains(@href,'rg.to')]");
  6248. }
  6249. if (GM_getValue("Check_relink_dot_us_links", false))
  6250. {
  6251. addFileHost(
  6252. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6253. 'online_detail\\.png" alt="Status',
  6254. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6255. 'unknown_detail\\.png" alt="Status',
  6256. 'optional2--',
  6257. "//a[contains(@href,'relink.us/')]"
  6258. );
  6259. }
  6260. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6261. {
  6262. addFileHost(
  6263. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6264. 'div id="dl"',
  6265. 'Sie haben den Link falsch',
  6266. 'optional--',
  6267. 'optional2--',
  6268. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6269. );
  6270. }
  6271. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6272. {
  6273. addFileHost(
  6274. "flyfiles\\.net\/\\w+",
  6275. 'download_button"|"Download file"',
  6276. 'File not found!|Файл не найден',
  6277. 'optional--',
  6278. 'optional2--',
  6279. "//a[contains(@href,'flyfiles.net/')]"
  6280. );
  6281. }
  6282. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6283. {
  6284. addFileHost(
  6285. "wikiupload\\.com\/\\w+",
  6286. 'download-button">',
  6287. 'Sorry, File not found',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'wikiupload.com/')]"
  6291. );
  6292. }
  6293. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6294. {
  6295. addFileHost(
  6296. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6297. 'file\\.php">|Pobierz Plik',
  6298. 'Podany plik nie zosta',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'hostuje.net/file')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6305. {
  6306. addFileHost(
  6307. "gettyfile\\.ru\/\\d+",
  6308. 'download\\.gif border',
  6309. '<center><font size="3">',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'gettyfile.ru/')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6316. {
  6317. addFileHost(
  6318. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6319. 'download\\-file">',
  6320. 'col-1">\\s*<h1>',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6324. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6325. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6326. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6327. );
  6328. }
  6329. if (GM_getValue("Check_data_dot_hu_links", false))
  6330. {
  6331. addFileHost(
  6332. "data\\.hu",
  6333. 'download_box_button|Lassú letöltés',
  6334. 'missing\\.php|Az adott fájl nem létezik',
  6335. 'optional--',
  6336. 'optional2--',
  6337. "//a[contains(@href,'data.hu')]",
  6338. true
  6339. );
  6340. }
  6341. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6342. {
  6343. addFileHost(
  6344. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6345. 'premiumBtn"',
  6346. 'errorMessage"',
  6347. 'optional--',
  6348. 'optional2--',
  6349. "//a[contains(@href,'indowebster.com/download')]"
  6350. );
  6351. }
  6352. if (GM_getValue("Check_superload_dot_cz_links", false))
  6353. {
  6354. addFileHost(
  6355. "superload\\.cz\/dl\/\\w+",
  6356. 'icon-download">',
  6357. 'soubor nebyl nalezen',
  6358. 'optional--',
  6359. 'optional2--',
  6360. "//a[contains(@href,'superload.cz/dl')]"
  6361. );
  6362. }
  6363. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6364. {
  6365. addFileHost(
  6366. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6367. 'op" value="download',
  6368. 'class="err">|width:500px;text-align:left;">',
  6369. 'optional--',
  6370. 'optional2--',
  6371. "//a[contains(@href,'hulkfile.')]"
  6372. );
  6373. }
  6374. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6375. {
  6376. addFileHost(
  6377. "easybytez\\.com\/\\w+",
  6378. 'op" value="download',
  6379. 'stop_error\\.gif',
  6380. 'optional--',
  6381. 'optional2--',
  6382. "//a[contains(@href,'easybytez.com/')]"
  6383. );
  6384. }
  6385. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6386. {
  6387. addFileHost(
  6388. "filestore\\.com\\.ua\/\\?d=\\w+",
  6389. 'tdrow1>',
  6390. 'class=warn',
  6391. 'optional--',
  6392. 'optional2--',
  6393. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6394. );
  6395. }
  6396. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6397. {
  6398. addFileHost(
  6399. "openfile\\.ru\/(?:video\/|)\\d+",
  6400. 'videobox_left">',
  6401. 'blog_title">|not found on this server',
  6402. 'optional--',
  6403. 'optional2--',
  6404. "//a[contains(@href,'openfile.ru/')]"
  6405. );
  6406. }*/
  6407. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6408. {
  6409. addFileHost(
  6410. "extmatrix\\.com\/files\/\\w+",
  6411. 'div class="success"',
  6412. 'div class="error"',
  6413. 'optional--',
  6414. 'optional2--',
  6415. "//a[contains(@href,'extmatrix.com/files')]"
  6416. );
  6417. }
  6418. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6419. {
  6420. addFileHost(
  6421. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6422. 'content_lnkDownload',
  6423. 'error\\.aspx\\?',
  6424. 'optional--',
  6425. 'optional2--',
  6426. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6427. );
  6428. }
  6429. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6430. {
  6431. addFileHost(
  6432. "yourfilestore\\.com\/download\/\\d+\/",
  6433. 'download_data">',
  6434. 'may have been deleted|<h1>Sorry!<\/h1>',
  6435. 'optional--',
  6436. 'optional2--',
  6437. "//a[contains(@href,'yourfilestore.com/download')]"
  6438. );
  6439. }
  6440. if (GM_getValue("Check_filebig_dot_net_links", false))
  6441. {
  6442. addFileHost(
  6443. "filebig\\.net\/files\/\\w+",
  6444. 'downloadFile">',
  6445. '<p>File not found<\/p>',
  6446. 'optional--',
  6447. 'optional2--',
  6448. "//a[contains(@href,'filebig.net/files')]"
  6449. );
  6450. }
  6451. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6452. {
  6453. addFileHost(
  6454. "files\\.filefront\\.com\/\/;\\d+;;",
  6455. 'downloadLink">',
  6456. 'File not found, you',
  6457. 'optional--',
  6458. 'optional2--',
  6459. "//a[contains(@href,'files.filefront.com')]"
  6460. );
  6461.  
  6462. addFileHost(
  6463. "gamefront\\.com\/files\/\\d+",
  6464. 'downloadLink">',
  6465. 'File not found, you',
  6466. 'optional--',
  6467. 'optional2--',
  6468. "//a[contains(@href,'gamefront.com/files')]"
  6469. );
  6470. }
  6471. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6472. {
  6473. addFileHost(
  6474. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6475. 'dnlLnk"',
  6476. 'already been deleted',
  6477. 'optional--',
  6478. 'optional2--',
  6479. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6480. );
  6481. }
  6482. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6483. {
  6484. addFileHost(
  6485. "hellupload\\.com\/\\w+",
  6486. '<h3>Download File<br',
  6487. 'id="podstrona">|AVOID_IE_BUG',
  6488. 'optional--',
  6489. 'optional2--',
  6490. "//a[contains(@href,'hellupload.com/')]"
  6491. );
  6492. }
  6493. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6494. {
  6495. addFileHost(
  6496. "free\\-uploading\\.com\/\\w+",
  6497. 'op" value="download',
  6498. 'class="err">|width:500px;text-align:left;">',
  6499. 'optional--',
  6500. 'optional2--',
  6501. "//a[contains(@href,'free-uploading.com/')]"
  6502. );
  6503. }
  6504. if (GM_getValue("Check_fileape_dot_com_links", false))
  6505. {
  6506. addFileHost(
  6507. "fileape\\.com\/download\\-",
  6508. 'button_dl\\.png',
  6509. 'does not exist\\.',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'fileape.com/')]"
  6513. );
  6514. }
  6515. if (GM_getValue("Check_uppit_dot_com_links", false))
  6516. {
  6517. addFileHost(
  6518. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6519. 'op" value="download',
  6520. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6521. 'optional--',
  6522. 'optional2--',
  6523. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6524. true
  6525. );
  6526. }
  6527. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6528. {
  6529. addFileHost(
  6530. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6531. 'op" value="download',
  6532. '>File Not Found<',
  6533. 'optional--',
  6534. 'optional2--',
  6535. "//a[contains(@href,'nosupload.com')]",
  6536. true
  6537. );
  6538. }
  6539. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6540. {
  6541. addFileHost(
  6542. "filesin\\.com\/\\w+\/download\\.html",
  6543. 'download_area">',
  6544. 'error_note">',
  6545. 'optional--',
  6546. 'optional2--',
  6547. "//a[contains(@href,'filesin.com/')]",
  6548. true
  6549. );
  6550. }*/
  6551. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6552. {
  6553. addFileHost(
  6554. "nowdownload\\.ch\/dl\/\\w+",
  6555. 'alert-success"',
  6556. 'This file does not exist!',
  6557. 'The file is being transfered',
  6558. 'optional2--',
  6559. "//a[contains(@href,'nowdownload.ch/dl')]"
  6560. );
  6561. }*/
  6562. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6563. {
  6564. addFileHost(
  6565. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6566. 'Dbutton_big"',
  6567. 'download\\-error\\.php',
  6568. 'optional--',
  6569. 'optional2--',
  6570. "//a[contains(@href,'axifile.com/')]"
  6571. );
  6572. }*/
  6573. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6574. {
  6575. addFileHost(
  6576. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6577. 'col-1">\\s*<s',
  6578. 'col-1">\\s*<h',
  6579. 'optional--',
  6580. 'optional2--',
  6581. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6582. );
  6583. }
  6584. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6585. {
  6586. addFileHost(
  6587. "turbobit\\.(?:net|pl)",
  6588. 'id="download-gate-info|id="file-list',
  6589. 'afterWait()|no files in this folder',
  6590. 'optional--',
  6591. 'optional2--',
  6592. "//a[contains(@href,'turbobit.net')]"
  6593. );
  6594. }
  6595. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6596. {
  6597. addFileHost(
  6598. "hitfile\\.net\/download\/folder\/\\d+",
  6599. 'content">\\s*<s',
  6600. 'content">\\s*<h',
  6601. 'optional--',
  6602. 'optional2--',
  6603. "//a[contains(@href,'hitfile.net/download/folder')]"
  6604. );
  6605. }
  6606. if (GM_getValue("Check_movshare_dot_net_links", false))
  6607. {
  6608. addFileHost(
  6609. "movshare\\.net\\/video\\/\\w+",
  6610. 'optional--"',
  6611. 'no longer exists',
  6612. 'optional--',
  6613. 'optional2--',
  6614. "//a[contains(@href,'movshare.net/video')]"
  6615. );
  6616. }
  6617. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6618. {
  6619. addFileHost(
  6620. "mafiastorage\\.com\/\\w+",
  6621. 'op" value="download',
  6622. 'class="err">|style="width:500px;text-align:left;"',
  6623. 'optional--',
  6624. 'optional2--',
  6625. "//a[contains(@href,'mafiastorage.com/')]"
  6626. );
  6627. }
  6628. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6629. {
  6630. addFileHost(
  6631. "uploadingit\\.com\/file\/\\w+",
  6632. 'downloadTitle">',
  6633. 'deleteContent">',
  6634. 'optional--',
  6635. 'optional2--',
  6636. "//a[contains(@href,'uploadingit.com/file')]"
  6637. );
  6638. }*/
  6639. if (GM_getValue("Check_rghost_dot_net_links", false))
  6640. {
  6641. addFileHost(
  6642. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6643. 'download_link|btn large download',
  6644. 'file is restricted|File is deleted|503 Service Unavailable',
  6645. 'optional--',
  6646. 'optional2--',
  6647. "//a[contains(@href,'rghost.')]"
  6648. );
  6649. }
  6650. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6651. {
  6652. addFileHost(
  6653. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6654. '">Staženo:\\s*<\/span>',
  6655. 'Soubor, který hledáte nenalezen',
  6656. 'optional--',
  6657. 'optional2--',
  6658. "//a[contains(@href,'xdisk.cz/')]"
  6659. );
  6660. }
  6661. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6662. {
  6663. addFileHost(
  6664. "2downloadz\.com\/\\w+",
  6665. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6666. 'color="#006DCC|File error',
  6667. 'optional--',
  6668. 'optional2--',
  6669. "//a[contains(@href,'2downloadz.com')]");
  6670. }
  6671. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6672. {
  6673. addFileHost(
  6674. "mightyupload\.com\/\\w+",
  6675. 'background:#ccc;text-align|CONTENT="Download File"',
  6676. 'style="background:#eee|var rr =|File Not Found',
  6677. 'error-code">1010',
  6678. 'optional2--',
  6679. "//a[contains(@href,'mightyupload.com')]");
  6680. }
  6681. if (GM_getValue("Check_anysend_dot_com_links", false))
  6682. {
  6683. addFileHost(
  6684. "anysend\.com\/\\w+",
  6685. 'var openCalled=false;|content="noindex"',
  6686. '_trackPageview',
  6687. 'optional--',
  6688. 'optional2--',
  6689. "//a[contains(@href,'anysend.com')]");
  6690. }
  6691. if (GM_getValue("Check_datafile_dot_com_links", false))
  6692. {
  6693. addFileHost(
  6694. "datafile\.com\/\\w+",
  6695. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6696. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6697. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6698. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6699. "//a[contains(@href,'datafile.com')]",
  6700. true);
  6701. }
  6702. if (GM_getValue("Check_upstore_dot_net_links", false))
  6703. {
  6704. addFileHost(
  6705. "upstore\.net\/\\w+",
  6706. 'name="free"',
  6707. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6708. 'optional--',
  6709. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6710. "//a[contains(@href,'upstore.net')]");
  6711. }
  6712. if (GM_getValue("Check_upsto_dot_re_links", false))
  6713. {
  6714. addFileHost(
  6715. "upsto\.re\/\\w+",
  6716. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6717. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6718. 'optional--',
  6719. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6720. "//a[contains(@href,'upsto.re')]");
  6721. }
  6722. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6723. {
  6724. addFileHost(
  6725. "speedy\.sh\/\\w+",
  6726. 'bgcolor=#eeeeee|class="addthis',
  6727. 'File not found|downloadfilenamenotfound>',
  6728. 'optional--',
  6729. 'optional2--',
  6730. "//a[contains(@href,'speedy.sh')]");
  6731. }
  6732. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6733. {
  6734. addFileHost(
  6735. "kingfiles\.net\/\\w+",
  6736. 'method_free|images/loading_small.gif"',
  6737. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6738. 'optional--',
  6739. 'optional2--',
  6740. "//a[contains(@href,'kingfiles.net')]");
  6741. }
  6742. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6743. {
  6744. addFileHost(
  6745. "secureupload\\.eu\/\\w+",
  6746. 'Downloading',
  6747. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6748. 'optional--',
  6749. 'optional2--',
  6750. "//a[contains(@href,'secureupload.eu')]"
  6751. );
  6752. } */
  6753. if (GM_getValue("Check_ge_dot_tt_links", false))
  6754. {
  6755. addFileHost(
  6756. "ge\.tt\/\\w+",
  6757. 'downloads pic',
  6758. 'is NOT the same as',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'ge.tt')]");
  6762. }
  6763. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6764. {
  6765. addFileHost(
  6766. "filefactory\\.com\/file\/\\w+",
  6767. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6768. '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">',
  6769. 'Server Maintenance|temporarily overloaded',
  6770. 'Premium Account Required',
  6771. "//a[contains(@href,'filefactory.com/file')]");
  6772. } */
  6773. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6774. {
  6775. addFileHost(
  6776. "filesflash\.net\/\\w+",
  6777. 'align:right">Filename:',
  6778. 'class="msg">',
  6779. 'optional--',
  6780. 'optional2--',
  6781. "//a[contains(@href,'filesflash.net')]");
  6782. }
  6783. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6784. {
  6785. addFileHost(
  6786. "rapidgator\\.net\/folder\/\\w+",
  6787. 'href="/folder/',
  6788. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6789. 'optional--',
  6790. 'optional2--',
  6791. "//a[contains(@href,'rapidgator.net/folder')]",
  6792. true
  6793. );
  6794. }
  6795. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6796. {
  6797. addFileHost(
  6798. "salefiles\.com\/\\w+",
  6799. 'name="method_free',
  6800. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6801. 'optional--',
  6802. 'optional2--',
  6803. "//a[contains(@href,'salefiles.com')]");
  6804. }
  6805. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6806. {
  6807. addFileHost(
  6808. "datoid\.cz\/\\w+",
  6809. 'btn-download|class="icon-download-large"',
  6810. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'datoid.cz')]");
  6814. }
  6815. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6816. {
  6817. addFileHost(
  6818. "stiahni\.si\/\\w+",
  6819. 'report_icon.png"|slow-download-button',
  6820. 'none.png|deleted|<h2>Error 500</h2>',
  6821. 'optional--',
  6822. 'optional2--',
  6823. "//a[contains(@href,'stiahni.si')]");
  6824. }
  6825. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6826. {
  6827. addFileHost(
  6828. "cloudstor\.es\/\\w+",
  6829. '"btn_download"',
  6830. '404: Page Not Found',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'cloudstor.es')]");
  6834. }
  6835. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6836. {
  6837. addFileHost(
  6838. "streamfile\.com\/\\w+",
  6839. 'class="btn',
  6840. 'class="green-btn',
  6841. 'optional--',
  6842. 'optional2--',
  6843. "//a[contains(@href,'streamfile.com')]");
  6844. }
  6845. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6846. {
  6847. addFileHost(
  6848. "eyesfile\.ca\/\\w+",
  6849. 'value="Get Link',
  6850. 'var rr =',
  6851. 'optional--',
  6852. 'optional2--',
  6853. "//a[contains(@href,'eyesfile.ca')]");
  6854. }
  6855. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6856. {
  6857. addFileHost(
  6858. "filemoney\.com\/\\w+",
  6859. 'og:title',
  6860. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6861. 'error-code">1010',
  6862. 'optional2--',
  6863. "//a[contains(@href,'filemoney.com')]");
  6864. }
  6865. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6866. {
  6867. addFileHost(
  6868. "uploadboy\.com\/\\w+",
  6869. 'width="740">|method_free',
  6870. 'var rr =|background:#ffffff|not be found|file was removed',
  6871. 'optional--',
  6872. 'optional2--',
  6873. "//a[contains(@href,'uploadboy.com')]");
  6874. }
  6875. if (GM_getValue("Check_uploadboy_dot_me_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.me')]");
  6884. }
  6885. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6886. {
  6887. addFileHost(
  6888. "speedshare\.eu\/\\w+",
  6889. 'favicon.png|color:#3d87c0|cross.png"|id="method_free',
  6890. 'var rr =|File Not Found|style="background:#eee',
  6891. 'optional--',
  6892. 'optional2--',
  6893. "//a[contains(@href,'speedshare.eu')]");
  6894. }
  6895. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6896. {
  6897. addFileHost(
  6898. "unlimitzone\.com\/\\w+",
  6899. 'name="method_free',
  6900. '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',
  6901. 'optional--',
  6902. 'optional2--',
  6903. "//a[contains(@href,'unlimitzone.com')]");
  6904. }
  6905. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6906. {
  6907. addFileHost(
  6908. "rioupload\.com\/\\w+",
  6909. 'sell.jpg',
  6910. 'var rr =',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'rioupload.com')]");
  6914. }
  6915. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6916. {
  6917. addFileHost(
  6918. "jumbofiles\.org\/\\w+",
  6919. 'H71C5.png|class="downloadtitle">',
  6920. 'var swfu|ViewSourceBIN.png',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'jumbofiles.org')]");
  6924. }
  6925. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6926. {
  6927. addFileHost(
  6928. "fshare\\.vn\/file\/\\w+",
  6929. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6930. 'không tồn tại|class="color_red m_t_50"',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'fshare.vn/file')]",
  6934. true
  6935. );
  6936. }
  6937. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6938. {
  6939. addFileHost(
  6940. "spaceforfiles\.com\/\\w+",
  6941. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6942. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6943. 'optional--',
  6944. 'optional2--',
  6945. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6946. }
  6947. if (GM_getValue("Check_google_dot_com_links", false))
  6948. {
  6949. addFileHost(
  6950. "google\\.com\/file\/\\w+",
  6951. 'content="!">|color:#2d2d2d',
  6952. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6953. 'optional--',
  6954. 'optional2--',
  6955. "//a[contains(@href,'google.com/file')]",
  6956. true
  6957. );
  6958. }
  6959. if (GM_getValue("Check_google_dot_com_links", false))
  6960. {
  6961. addFileHost(
  6962. "docs.google.com\/\\w+",
  6963. 'content="!">|color:#2d2d2d',
  6964. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6965. 'optional--',
  6966. 'optional2--',
  6967. "//a[contains(@href,'docs.google.com')]",
  6968. true
  6969. );
  6970. }
  6971. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6972. {
  6973. addFileHost(
  6974. "drive.google.com\/\\w+",
  6975. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6976. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6977. 'optional--',
  6978. 'optional2--',
  6979. "//a[contains(@href,'drive.google.com')]",
  6980. true
  6981. );
  6982. }
  6983. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6984. {
  6985. addFileHost(
  6986. "up.media1fire\.com\/\\w+",
  6987. 'class="addthis_|value="download',
  6988. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6989. 'optional--',
  6990. 'optional2--',
  6991. "//a[contains(@href,'up.media1fire.com')]");
  6992. }
  6993. if (GM_getValue("Check_depfile_dot_com_links", false))
  6994. {
  6995. addFileHost(
  6996. "depfile\.com\/\\w+",
  6997. 'logo_0.png|downloads.gif"|verifycode',
  6998. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6999. 'optional--',
  7000. 'available only for Premium users|Premium users can restore files',
  7001. "//a[contains(@href,'depfile.com')or contains(@href,'dipfile.com')]");
  7002. }
  7003. if (GM_getValue("Check_depfile_dot_us_links", false))
  7004. {
  7005. addFileHost(
  7006. "depfile\.us\/\\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.us')]");
  7012. }
  7013. if (GM_getValue("Check_dipfile_dot_com_links", false))
  7014. {
  7015. addFileHost(
  7016. "dipfile\.com\/\\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,'dipfile.com')or contains(@href,'depfile.com')]");
  7022. }
  7023. if (GM_getValue("Check_go4up_dot_com_links", false))
  7024. {
  7025. addFileHost(
  7026. "go4up\.com\/\\w+",
  7027. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  7028. '<title>GO4UP|dmca',
  7029. 'optional--',
  7030. 'optional2--',
  7031. "//a[contains(@href,'go4up.com')]");
  7032. }
  7033. if (GM_getValue("Check_redbunker_dot_net_links", false))
  7034. {
  7035. addFileHost(
  7036. "redbunker\.net\/\\w+",
  7037. 'name="method_free"',
  7038. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  7039. 'optional--',
  7040. '2.3 GB',
  7041. "//a[contains(@href,'redbunker.net')]");
  7042. }
  7043. if (GM_getValue("Check_divxpress_dot_com_links", false))
  7044. {
  7045. addFileHost(
  7046. "divxpress\.com\/\\w+",
  7047. 'btn_download|logo.png"',
  7048. 'AVOID_IE_BUG|var rr =',
  7049. 'optional--',
  7050. 'optional2--',
  7051. "//a[contains(@href,'divxpress.com')]");
  7052. }
  7053. if (GM_getValue("Check_anafile_dot_com_links", false))
  7054. {
  7055. addFileHost(
  7056. "anafile\.com\/\\w+",
  7057. 'width="881" valign="top|color="#800080"|name="go"',
  7058. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'anafile.com')]");
  7062. }
  7063. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  7064. {
  7065. addFileHost(
  7066. "uploadable\\.ch\/file\/\\w+",
  7067. 'captcha.js"|payment.js"|class="btn_download"',
  7068. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'uploadable.ch/file')]",
  7072. true
  7073. );
  7074. }
  7075. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7076. {
  7077. addFileHost(
  7078. "bigfile\\.to\/file\/\\w+",
  7079. 'captcha.js"|payment.js"|class="btn_download"',
  7080. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7081. 'optional--',
  7082. 'optional2--',
  7083. "//a[contains(@href,'bigfile.to/file')]",
  7084. true
  7085. );
  7086. }
  7087. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7088. {
  7089. addFileHost(
  7090. "arabloads\.net\/\\w+",
  7091. 'name="method_free"|name="method_premium"',
  7092. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7093. 'optional--',
  7094. 'optional2--',
  7095. "//a[contains(@href,'arabloads.net')]");
  7096. }
  7097. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7098. {
  7099. addFileHost(
  7100. "sharerepo\.com\/\\w+",
  7101. 'name="method_free"',
  7102. 'var public_on=|The file you were looking for could not be found',
  7103. 'optional--',
  7104. 'optional2--',
  7105. "//a[contains(@href,'sharerepo.com')]");
  7106. }
  7107. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7108. {
  7109. addFileHost(
  7110. "sfshare\.se\/\\w+",
  7111. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7112. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7113. 'optional--',
  7114. 'optional2--',
  7115. "//a[contains(@href,'sfshare.se')]");
  7116. }
  7117. if (GM_getValue("Check_files_dot_fm_links", false))
  7118. {
  7119. addFileHost(
  7120. "files\.fm\/\\w+",
  7121. 'dl.png"|background-color: transparent',
  7122. 'margin: 40px 40px|background: none;',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'files.fm')]");
  7126. }
  7127. if (GM_getValue("Check_koofile_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. "koofile\.com\/\\w+",
  7131. 'value="download1">|name="method_free"',
  7132. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'koofile.com')]");
  7136. }
  7137. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "vidxden\\.com\/\\w+",
  7141. 'Continue to Video"',
  7142. 'No such file',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'vidxden.com')]"
  7146. );
  7147. }*/
  7148. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7149. {
  7150. addFileHost(
  7151. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7152. 'Details zur Datei|Details page',
  7153. 'Jetzt hochladen|upload now',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7160. {
  7161. addFileHost(
  7162. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7163. 'downloadbtn"',
  7164. 'DL_FileNotFound',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7171. {
  7172. addFileHost(
  7173. "fileflyer\.com\/view\/\\w+",
  7174. '(?:dwl|locked)btn"',
  7175. 'error.gif"|link">Removed|removedlink">',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'fileflyer.com')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_filestore_dot_to_links", false))
  7182. {
  7183. addFileHost(
  7184. "filestore\.to\/\\?d=\\w+",
  7185. '"downloading"',
  7186. 'Datei wurde nicht gefunden',
  7187. 'optional--',
  7188. 'optional2--',
  7189. "//a[contains(@href,'filestore.to')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7193. {
  7194. addFileHost(
  7195. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7196. 'fz24">Download|class="pl15">',
  7197. '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',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_datei_dot_to_links", false))
  7204. {
  7205. addFileHost(
  7206. "datei\\.to\/\\??\\w+",
  7207. 'icon_downloaden\\.png|>Download starten<',
  7208. 'Datei wurde nicht gefunden|icon_deleted.png',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'datei.to')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7215. {
  7216. addFileHost(
  7217. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7218. '<body class="body" id="body">|value="Slow Download"',
  7219. '<body class="body" >',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7226. {
  7227. addFileHost(
  7228. "unibytes\\.com\/[\\w\.]+",
  7229. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7230. 'File not found|Файл не найден|',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'unibytes.com')]"
  7234. );
  7235. }
  7236. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7237. {
  7238. addFileHost(
  7239. "www\\.hellshare\\.com\/\\d+",
  7240. 'tab\\-details"',
  7241. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7242. 'optional--',
  7243. 'optional2--',
  7244. "//a[contains(@href,'www.hellshare.com')]"
  7245. );
  7246. }
  7247. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7248. {
  7249. addFileHost(
  7250. "www\\.download.cz.hellshare\\.com\/\\w+",
  7251. 'tab\\-details"',
  7252. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7253. 'optional--',
  7254. 'optional2--',
  7255. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7259. {
  7260. addFileHost(
  7261. "filefactory\\.com",
  7262. 'folderFileList">|icon-cloud|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7263. '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',
  7264. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7265. 'Premium Account Required',
  7266. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_load_dot_to_links", false))
  7270. {
  7271. addFileHost(
  7272. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7273. '"download_table_left">Size',
  7274. 'Can\'t find file',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_divshare_dot_com_links", false))
  7281. {
  7282. addFileHost(
  7283. "divshare\\.com\/download\/",
  7284. 'download_new\.png',
  7285. 'have been removed',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'divshare.com')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7292. {
  7293. addFileHost(
  7294. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7295. 'download=true"',
  7296. '<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>',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'euroshare.eu/file')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7303. {
  7304. addFileHost(
  7305. 'files\\.mail\\.ru/(?:\\w*)',
  7306. 'fileList',
  7307. 'errorMessage',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'files.mail.ru')]"
  7311. );
  7312. }
  7313. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7317. 'Filesize',
  7318. 'Invalid|deleted|Could not download file',
  7319. 'slots|scheduled maintenance',
  7320. 'optional2--',
  7321. "//a[contains(@href,'megashares.com/')]"
  7322. );
  7323. } */
  7324. if (GM_getValue("Check_narod_dot_ru_links", false))
  7325. {
  7326. addFileHost(
  7327. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7328. 'b-submit|action="resource.download"',
  7329. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7330. 'Внутренняя ошибка сервиса',
  7331. 'optional2--',
  7332. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7336. {
  7337. addFileHost(
  7338. "rayfile\\.com\/",
  7339. 'FILEtitleTXT',
  7340. 'blueRow',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7350. 'button_green_body"',
  7351. 'error">',
  7352. 'optional--',
  7353. 'optional2--',
  7354. "//a[contains(@href,'filesmonster.com/download')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7358. {
  7359. addFileHost(
  7360. 'usaupload\\.net\/d\/(?:\w*)',
  7361. '<strong>File size:</strong>',
  7362. 'is not available',
  7363. 'optional--',
  7364. 'optional2--',
  7365. "//a[contains(@href,'usaupload.net/d/')]"
  7366. );
  7367. }
  7368. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7369. {
  7370. addFileHost(
  7371. 'sendspace\\.com\/file\/\\w+',
  7372. 'file_description',
  7373. 'msg error"',
  7374. 'optional--',
  7375. 'optional2--',
  7376. "//a[contains(@href,'sendspace.com/file')]"
  7377. );
  7378. }
  7379. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7380. {
  7381. addFileHost(
  7382. 'sendspace\\.pl\/file\/\\w+',
  7383. 'download_file"',
  7384. 'Podany plik nie',
  7385. 'optional--',
  7386. 'optional2--',
  7387. "//a[contains(@href,'sendspace.pl/file')]"
  7388. );
  7389. }
  7390. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7391. {
  7392. addFileHost(
  7393. 'uploading\\.com\/(?:files\/)?\\w+',
  7394. 'free_method">',
  7395. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7396. 'optional--',
  7397. 'optional2--',
  7398. "//a[contains(@href,'uploading.com')]"
  7399. );
  7400. } */
  7401. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7402. {
  7403. addFileHost(
  7404. "gigasize\.com\/\\w+",
  7405. 'fileId"|class="estimate">',
  7406. 'error">',
  7407. 'optional--',
  7408. 'optional2--',
  7409. "//a[contains(@href,'gigasize.com/get')]"
  7410. );
  7411. }
  7412. if (GM_getValue("Check_good_dot_com_links", false))
  7413. {
  7414. addFileHost(
  7415. 'good\\.net\/(?:_|dl)',
  7416. 'Free Download',
  7417. 'Not Found',
  7418. 'Forbidden',
  7419. 'optional2--',
  7420. "//a[contains(@href,'good.net')]"
  7421. );
  7422. }
  7423. if (GM_getValue("Check_2shared_dot_com_links", false))
  7424. {
  7425. addFileHost(
  7426. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7427. 'File size',
  7428. 'File not found|is not valid|/images/important.gif',
  7429. 'optional--',
  7430. 'optional2--',
  7431. // "//a[contains(@href,'2shared.com')]"
  7432. "//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/')]"
  7433. );
  7434. }
  7435. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7436. {
  7437. addFileHost(
  7438. 'turboupload\\.com\/\\w*',
  7439. 'You have requested',
  7440. 'File Not Found',
  7441. 'optional--',
  7442. 'optional2--',
  7443. "//a[contains(@href,'turboupload.com')]"
  7444. );
  7445. }
  7446. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7447. {
  7448. addFileHost(
  7449. 'gigapeta\\.com\/dl\/',
  7450. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7451. '404|page_error',
  7452. 'optional--',
  7453. 'optional2--',
  7454. "//a[contains(@href,'gigapeta.com/dl')]"
  7455. );
  7456. }
  7457. if (GM_getValue("Check_veehd_dot_com_links", false))
  7458. {
  7459. addFileHost(
  7460. 'veehd\.com\/video\/.*?',
  7461. 'No sound|Download video',
  7462. 'Featured Videos',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7469. {
  7470. addFileHost(
  7471. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7472. 'fast_download_form">|submit_sms_download',
  7473. '<p style="text-align:center">',
  7474. 'optional--',
  7475. 'optional2--',
  7476. "//a[contains(@href,'vip-file.com/download')]"
  7477. );
  7478. }
  7479. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7480. {
  7481. addFileHost(
  7482. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7483. 'download\\-pnl ',
  7484. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7485. 'optional--',
  7486. 'optional2--',
  7487. "//a[contains(@href,'letitbit.net/download')]"
  7488. );
  7489. }*/
  7490. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7491. {
  7492. addFileHost(
  7493. 'ifolder\.ru\/\\d+',
  7494. 'file-info',
  7495. 'ui-state-error',
  7496. 'optional--',
  7497. 'optional2--',
  7498. "//a[contains(@href,'ifolder.ru')]"
  7499. );
  7500. }
  7501. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7502. {
  7503. addFileHost(
  7504. 'fileswap\\.com\/dl\/\\w+',
  7505. 'bttnDownloadLink"',
  7506. 'rounded_block_error"',
  7507. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7508. 'optional2--',
  7509. "//a[contains(@href,'fileswap.com/dl')]"
  7510. );
  7511. }*/
  7512. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7513. {
  7514. addFileHost(
  7515. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7516. 'var __error = 0|id="recaptchaPanel">',
  7517. 'FILES__DOESNT_EXIST|removed or did not exist',
  7518. 'optional--',
  7519. 'optional2--',
  7520. "//a[contains(@href,'filecloud.io/')]"
  7521. );
  7522. addFileHost(
  7523. 'ifile\\.it\/\\w+',
  7524. 'var __error = 0',
  7525. 'FILES__DOESNT_EXIST',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'ifile.it/')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7532. {
  7533. addFileHost(
  7534. 'solidfiles\\.com\/\\w+',
  7535. 'id="download"|content="Download',
  7536. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7537. 'optional--',
  7538. 'optional2--',
  7539. "//a[contains(@href,'solidfiles.com/')]"
  7540. );
  7541. }
  7542. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7543. {
  7544. addFileHost(
  7545. "(?:.\\.|)shareflare\\.net",
  7546. 'download-pnl|<div class="premium-block">',
  7547. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7548. 'optional--',
  7549. 'optional2--',
  7550. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7554. {
  7555. addFileHost(
  7556. "u18116681.shareflare\\.net",
  7557. 'download-pnl|<div class="premium-block">',
  7558. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7559. 'optional--',
  7560. 'optional2--',
  7561. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7565. {
  7566. addFileHost(
  7567. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7568. 'file\\-list-orderby|section-filedetail">',
  7569. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7570. 'optional--',
  7571. 'optional2--',
  7572. "//a[contains(@href,'hellspy.')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7576. {
  7577. addFileHost(
  7578. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7579. '<body onload="">',
  7580. 'neexistuje|not exist',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7587. {
  7588. addFileHost(
  7589. "stahovanizasms\\.cz\/\\w+",
  7590. 'download\\.png>|font-size:11px><tr>',
  7591. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'stahovanizasms.cz')]"
  7595. );
  7596. }
  7597. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7598. {
  7599. addFileHost(
  7600. "share-links\\.biz\/\\w*",
  7601. 'online\\.gif',
  7602. '(?:offline|parts)\\.gif',
  7603. 'optional--',
  7604. 'optional2--',
  7605. "//a[contains(@href,'share-links.biz')]"
  7606. );
  7607. }
  7608. if (GM_getValue("Check_4shared_dot_com_links", false))
  7609. {
  7610. addFileHost(
  7611. "4shared\\.com\/.+\/",
  7612. '<input type="hidden" class="jsSocialTwDefaultText" value=|class="fileName light-blue f23',
  7613. 'class="warn\"|big red"|GetDataBack',
  7614. 'Service Unavailable',
  7615. 'optional2--',
  7616. "//a[contains(@href,'4shared.com')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7620. {
  7621. addFileHost(
  7622. "(?:www\\d+\.|)zippyshare\.com\/",
  7623. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7624. 'not exist|Status 404',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7631. {
  7632. addFileHost(
  7633. "mediafire\.com\/",
  7634. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7635. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7636. 'set to private',
  7637. 'optional2--',
  7638. "//a[contains(@href,'mediafire.com')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7642. {
  7643. addFileHost(
  7644. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7645. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7646. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7647. 'We will be back shortly',
  7648. 'GB</small>',
  7649. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7653. {
  7654. addFileHost(
  7655. "ulozisko\.sk\/",
  7656. 'Detaily',
  7657. 'neexistuje',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'ulozisko.sk')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_box_dot_com_links", false))
  7664. {
  7665. addFileHost(
  7666. "box\.com\/\\w+",
  7667. 'download-file-btn|id="download_button|preview-download',
  7668. 'BIyMin.png| <div class="error_message|link has been removed',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'app.box.com')]");
  7672. }
  7673. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7674. {
  7675. addFileHost(
  7676. "uptobox\\.com\/\\w+",
  7677. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7678. '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|لا يوجد أي ملف',
  7679. 'Maintenance',
  7680. 'optional2--',
  7681. "//a[contains(@href,'uptobox.com')]",
  7682. true
  7683. );
  7684. }
  7685. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7686. {
  7687. addFileHost(
  7688. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7689. 'FILE DOWNLOAD<',
  7690. 'File Does Not Exist',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'sharecash.org/download.php')]"
  7694. );
  7695. }
  7696. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7697. {
  7698. addFileHost(
  7699. "1fichier\\.com\/dir\/\\w+",
  7700. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7701. 'Shared Folder Not Found',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'1fichier.com/dir')]"
  7705. );
  7706. }
  7707. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7708. {
  7709. addFileHost(
  7710. "depositfiles\\.com\/folders\/\\w+",
  7711. '<div class="progressContainer">',
  7712. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'depositfiles.com/folders')]"
  7716. );
  7717. }
  7718. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7719. {
  7720. addFileHost(
  7721. "rapidfileshare\\.net/\\w+",
  7722. '<div id="upload-header-bg">',
  7723. '<div style="width:500px;text-align:left;">',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'rapidfileshare.net/')]"
  7727. );
  7728. }
  7729. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7730. {
  7731. addFileHost(
  7732. "stiahnito\\.sk/",
  7733. '<span class="filesize right">',
  7734. '<ol class="list-purp-2">',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'stiahnito.sk/')]"
  7738. );
  7739. }
  7740. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7741. {
  7742. addFileHost(
  7743. "rusfolder\\.(?:com|net)",
  7744. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7745. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'rusfolder')]"
  7749. );
  7750. }
  7751. if (GM_getValue("Check_catshare_dot_net_links", false))
  7752. {
  7753. addFileHost(
  7754. "catshare\\.net/\\w+",
  7755. '"icon-share|"col-xs-12',
  7756. 'alert alert-error',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'catshare.net/')]"
  7760. );
  7761. }
  7762. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7763. {
  7764. addFileHost(
  7765. "anonfiles\\.com/\\w+",
  7766. '"download_button"',
  7767. '<legend><b>404</b>',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'anonfiles.com')]"
  7771. );
  7772. }*/
  7773. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7774. {
  7775. addFileHost(
  7776. "mixturecloud\\.com/media/\\w+",
  7777. '"btn icon i_globe gray share_150',
  7778. '"s_cross_close"></span> 404:',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'mixturecloud.com/media/')]"
  7782. );
  7783. }
  7784. if (GM_getValue("Check_akafile_dot_com_links", false))
  7785. {
  7786. addFileHost(
  7787. "akafile\\.com\/\\w+",
  7788. 'download1',
  7789. 'File Not Found',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'akafile.com/')]"
  7793. );
  7794. }
  7795. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7796. {
  7797. addFileHost(
  7798. "creafile\\.net\/\\w+",
  7799. 'downloadblock',
  7800. 'errtitle',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'creafile.net/')]"
  7804. );
  7805. }*/
  7806. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7807. {
  7808. addFileHost(
  7809. "hugefiles\\.net\/\\w+",
  7810. 'download1|class="btn-create-download" value="Create Download Link">',
  7811. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'hugefiles.net/')]"
  7815. );
  7816. }*/
  7817. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7818. {
  7819. addFileHost(
  7820. "sendmyway\\.com\/\\w+",
  7821. 'id="btn_download"',
  7822. '500px;text-align:left;"|<center><h3>',
  7823. 'optional--',
  7824. 'optional2--',
  7825. "//a[contains(@href,'sendmyway.com/')]"
  7826. );
  7827. }
  7828. if (GM_getValue("Check_upload_dot_ee_links", false))
  7829. {
  7830. addFileHost(
  7831. "upload\\.ee\/\\w+",
  7832. 'onmouseout="document.dllink.src',
  7833. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'upload.ee/')]"
  7837. );
  7838. }
  7839. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7840. {
  7841. addFileHost(
  7842. "shareplace\\.org\/\\?\\w+",
  7843. 'Download-Link',
  7844. 'Your requested file is not found|Select file to send',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'shareplace.org/?')]"
  7848. );
  7849. }
  7850. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7851. {
  7852. addFileHost(
  7853. "uploadc\\.com\/\\w+",
  7854. 'id="prebut"',
  7855. 'File Not Found|This file has been removed due',
  7856. 'optional--',
  7857. 'optional2--',
  7858. "//a[contains(@href,'uploadc.com/')]"
  7859. );
  7860. }
  7861. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7862. {
  7863. addFileHost(
  7864. "uploadc\\.ch\/\\w+",
  7865. 'id="prebut"',
  7866. 'File Not Found|This file has been removed due',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'uploadc.ch/')]"
  7870. );
  7871. }
  7872. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7873. {
  7874. addFileHost(
  7875. "remixshare\\.com\/\\w+",
  7876. 'id="dl2"',
  7877. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'remixshare.com/')]"
  7881. );
  7882. }*/
  7883. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7884. {
  7885. addFileHost(
  7886. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7887. 'Last Download :',
  7888. 'img src="\\/404.jpg"',
  7889. 'optional--',
  7890. 'optional2--',
  7891. "//a[contains(@href,'exoshare.com/download.php')]"
  7892. );
  7893. }
  7894. if (GM_getValue("Check_borncash_dot_org_links", false))
  7895. {
  7896. addFileHost(
  7897. "borncash\\.org\/download\/\\?a=\\w+",
  7898. 'class="knop_1"',
  7899. '\/error\/er00',
  7900. 'optional--',
  7901. 'optional2--',
  7902. "//a[contains(@href,'borncash.org/download/')]"
  7903. );
  7904. }
  7905. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7906. {
  7907. addFileHost(
  7908. "vidplay\.net\/\\w+",
  7909. 'solvemedia puzzle widget',
  7910. 'File not found|AVOID_IE_BUG',
  7911. 'optional--',
  7912. 'optional2--',
  7913. "//a[contains(@href,'vidplay.net')]");
  7914. }*/
  7915. if (GM_getValue("Check_filedais_dot_com_links", false))
  7916. {
  7917. addFileHost(
  7918. "filedais\.com\/\\w+",
  7919. 'class="btn btn-info"|name="method_free"',
  7920. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7921. 'optional--',
  7922. 'optional2--',
  7923. "//a[contains(@href,'filedais.com')]");
  7924. }
  7925. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7926. {
  7927. addFileHost(
  7928. "up.4share\.vn\/\\w+",
  7929. '<font size="2" face="Verdana">',
  7930. 'font: 13px Tahoma; color: Brown',
  7931. 'optional--',
  7932. 'optional2--',
  7933. "//a[contains(@href,'up.4share.vn')]");
  7934. }
  7935. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7936. {
  7937. addFileHost(
  7938. "share.vnn\.vn\/\\w+",
  7939. '"index,follow"|<div class="main" id="download-box">',
  7940. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7941. 'optional--',
  7942. 'optional2--',
  7943. "//a[contains(@href,'share.vnn.vn')]");
  7944. }
  7945. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7946. {
  7947. addFileHost(
  7948. "upfile\.vn\/\\w+",
  7949. 'download-timer',
  7950. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7951. 'optional--',
  7952. 'optional2--',
  7953. "//a[contains(@href,'upfile.vn')]");
  7954. }
  7955. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7956. {
  7957. addFileHost(
  7958. "aisfile\.com\/\\w+",
  7959. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7960. '<div style="width:500px;text-align:left;">|File Not Found',
  7961. 'optional--',
  7962. 'optional2--',
  7963. "//a[contains(@href,'aisfile.com')]");
  7964. }
  7965. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7966. {
  7967. addFileHost(
  7968. "usersfiles\.com\/\\w+",
  7969. 'class="btn btn-success|id="btn_download" class="btn"',
  7970. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7971. 'optional--',
  7972. 'optional2--',
  7973. "//a[contains(@href,'usersfiles.com')]");
  7974. }
  7975. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7976. {
  7977. addFileHost(
  7978. "pan.baidu\.com\/\\w+",
  7979. 'target="_blank" title=|share-personal-info',
  7980. 'share_notfound.png|background:#f9f9f9',
  7981. 'optional--',
  7982. 'optional2--',
  7983. "//a[contains(@href,'pan.baidu.com')]");
  7984. }
  7985. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7986. {
  7987. addFileHost(
  7988. "yunpan\.cn\/\\w+",
  7989. 'class="icon icon-download',
  7990. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7991. 'optional--',
  7992. 'optional2--',
  7993. "//a[contains(@href,'yunpan.cn')]");
  7994. }
  7995. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7996. {
  7997. addFileHost(
  7998. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7999. 'getElementById("downbild")|style.display',
  8000. 'hochgeladene Datei nicht gefunden werden|has not been found',
  8001. 'optional--',
  8002. 'optional2--',
  8003. "//a[contains(@href,'file-upload.net')]");
  8004. }
  8005. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  8006. {
  8007. addFileHost(
  8008. "file\\-upload\\.com\/",
  8009. 'name="method_free"',
  8010. 'File Not Found|exclamation-triangle',
  8011. 'optional--',
  8012. 'optional2--',
  8013. "//a[contains(@href,'file-upload.com')]");
  8014. }
  8015. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  8016. {
  8017. addFileHost(
  8018. "gulfup\.com\/",
  8019. '<!-- Downlod template -->|download.gif',
  8020. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  8021. 'optional--',
  8022. 'optional2--',
  8023. "//a[contains(@href,'gulfup.com')]");
  8024. }*/
  8025. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8026. {
  8027. addFileHost(
  8028. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8029. 'dldtable">',
  8030. 'does not exist\\.',
  8031. 'optional--',
  8032. 'optional2--',
  8033. "//a[contains(@href,'datafilehost.com')]");
  8034. }
  8035. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8036. {
  8037. addFileHost(
  8038. "dropbox\.com\/s\/\\w+",
  8039. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8040. '>Nothing Here<|>Error (404)<',
  8041. 'title>Dropbox - 509|Error (403)|Error: 429',
  8042. 'optional2--',
  8043. "//a[contains(@href,'dropbox.com')]");
  8044. }
  8045. if (GM_getValue("Check_box_dot_net_links", false))
  8046. {
  8047. addFileHost(
  8048. "box\.net\/\\w+",
  8049. 'download-file-btn|id="download_button',
  8050. 'BIyMin.png| <div class="error_message',
  8051. 'optional--',
  8052. 'optional2--',
  8053. "//a[contains(@href,'box.net')]");
  8054. }
  8055. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8056. {
  8057. addFileHost(
  8058. "filedropper\.com\/\\w+",
  8059. 'background:#ddd;|width:985px; ',
  8060. 'background-color:#FFFFFF;|margin-left: -400px;',
  8061. 'optional--',
  8062. 'optional2--',
  8063. "//a[contains(@href,'filedropper.com')]");
  8064. }
  8065. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8066. {
  8067. addFileHost(
  8068. "tropicshare\\.com\/files\/\\d+",
  8069. 'MB</span>|GB</span>|KB</span>',
  8070. '>FNF<|size: </span>',
  8071. 'optional--',
  8072. 'optional2--',
  8073. "//a[contains(@href,'tropicshare.com')]");
  8074. }
  8075. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8076. {
  8077. addFileHost(
  8078. "worldbytez\.com",
  8079. '<div class="download_type">|method_free',
  8080. '<div style="width:500px;text-align:left;">',
  8081. 'optional--',
  8082. 'optional2--',
  8083. "//a[contains(@href,'worldbytez.com')]",
  8084. true);
  8085. }
  8086. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8087. {
  8088. addFileHost(
  8089. "freefilehosting\.net\/\\w+",
  8090. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8091. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8092. 'optional--',
  8093. 'optional2--',
  8094. "//a[contains(@href,'freefilehosting.net')]");
  8095. }
  8096. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8097. {
  8098. addFileHost(
  8099. "ziddu\.com\/\\w+",
  8100. 'downloads.ziddu.com|downloadfilelinkicon',
  8101. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8102. 'optional--',
  8103. 'optional2--',
  8104. "//a[contains(@href,'ziddu.com')]");
  8105. }
  8106. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8107. {
  8108. addFileHost(
  8109. "exclusiveloader\.com\/\\w+",
  8110. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8111. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8112. 'optional--',
  8113. 'optional2--',
  8114. "//a[contains(@href,'exclusiveloader.com')]");
  8115. }
  8116. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8117. {
  8118. addFileHost(
  8119. "sharerapid\.cz\/\\w+",
  8120. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8121. 'error_div">|404 - Not Found',
  8122. 'optional--',
  8123. 'optional2--',
  8124. "//a[contains(@href,'sharerapid.cz')]");
  8125. }
  8126. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8127. {
  8128. addFileHost(
  8129. "sdilej\.cz\/\\w+",
  8130. 'class="page-download"',
  8131. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8132. 'optional--',
  8133. 'optional2--',
  8134. "//a[contains(@href,'sdilej.cz')]");
  8135. }
  8136. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8137. {
  8138. addFileHost(
  8139. "lafiles\.com\/\\w+",
  8140. '<div id="pay_modes">',
  8141. '<b class="err"></b>',
  8142. 'optional--',
  8143. 'optional2--',
  8144. "//a[contains(@href,'lafiles.com')]");
  8145. }
  8146. if (GM_getValue("Check_acefile_dot_net_links", false))
  8147. {
  8148. addFileHost(
  8149. "acefile\.net\/\\w+",
  8150. 'align=right nowrap><b>',
  8151. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8152. 'optional--',
  8153. 'optional2--',
  8154. "//a[contains(@href,'acefile.net')]");
  8155. }
  8156. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8157. {
  8158. addFileHost(
  8159. "megarapid\.cz\/\\w+",
  8160. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8161. 'error_div">|404 - Not Found',
  8162. 'optional--',
  8163. 'optional2--',
  8164. "//a[contains(@href,'megarapid.cz')]");
  8165. }
  8166. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8167. {
  8168. addFileHost(
  8169. "yadi\.sk\/\\w+",
  8170. 'nb-button _nb-small-button',
  8171. 'error code|Nothing found',
  8172. 'optional--',
  8173. 'optional2--',
  8174. "//a[contains(@href,'yadi.sk')]");
  8175. }
  8176. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8177. {
  8178. addFileHost(
  8179. "hitfile\.net\/\\w+",
  8180. 'class="download-file',
  8181. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8182. 'optional--',
  8183. 'optional2--',
  8184. "//a[contains(@href,'hitfile.net')]");
  8185. }
  8186. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8187. {
  8188. addFileHost(
  8189. "up.top4top\.net\/\\w+",
  8190. 'start Downlod template',
  8191. 'start err template',
  8192. 'optional--',
  8193. 'optional2--',
  8194. "//a[contains(@href,'up.top4top.net')]");
  8195. }
  8196. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8197. {
  8198. addFileHost(
  8199. "filejoker\.net",
  8200. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8201. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8202. 'optional--',
  8203. 'id="download" class="premium-only">',
  8204. "//a[contains(@href,'filejoker.net')]");
  8205. }
  8206. if (GM_getValue("Check_dl_dot_free_dot_fr_links", false))
  8207. {
  8208. addFileHost(
  8209. "dl(?:\\.free)?\\.fr\/\\w+",
  8210. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8211. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8212. 'optional--',
  8213. 'optional2--',
  8214. "//a[contains(@href,'dl.free.fr')]");
  8215. }
  8216. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8217. {
  8218. addFileHost(
  8219. "gboxes\.com\/\\w+",
  8220. 'You have requested|color="red">http://www.gboxes.com',
  8221. 'File Not Found|<div style="width:500px;text-align:left;">',
  8222. 'optional--',
  8223. 'optional2--',
  8224. "//a[contains(@href,'gboxes.com')]");
  8225. }
  8226. if (GM_getValue("Check_led_dot_wf_links", false))
  8227. {
  8228. addFileHost(
  8229. "led\.wf\/\\w+",
  8230. 'logo_0.png|downloads.gif"|verifycode',
  8231. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8232. 'optional--',
  8233. 'available only for Premium users|Premium users can restore files',
  8234. "//a[contains(@href,'led.wf')]");
  8235. }
  8236. if (GM_getValue("Check_lan_dot_wf_links", false))
  8237. {
  8238. addFileHost(
  8239. "lan\.wf\/\\w+",
  8240. 'logo_0.png|downloads.gif"|verifycode',
  8241. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8242. 'optional--',
  8243. 'available only for Premium users|Premium users can restore files',
  8244. "//a[contains(@href,'lan.wf')]");
  8245. }
  8246. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8247. {
  8248. addFileHost(
  8249. "adlink\.wf\/\\w+",
  8250. 'logo_0.png|downloads.gif"|verifycode',
  8251. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8252. 'optional--',
  8253. 'available only for Premium users|Premium users can restore files',
  8254. "//a[contains(@href,'adlink.wf')]");
  8255. }
  8256. if (GM_getValue("Check_click_dot_tf_links", false))
  8257. {
  8258. addFileHost(
  8259. "click\.tf\/\\w+",
  8260. 'logo_0.png|downloads.gif"|verifycode',
  8261. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8262. 'optional--',
  8263. 'available only for Premium users|Premium users can restore files',
  8264. "//a[contains(@href,'click.tf')]");
  8265. }
  8266. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8267. {
  8268. addFileHost(
  8269. "ssh\.tf\/\\w+",
  8270. 'logo_0.png|downloads.gif"|verifycode',
  8271. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8272. 'optional--',
  8273. 'available only for Premium users|Premium users can restore files',
  8274. "//a[contains(@href,'ssh.tf')]");
  8275. }
  8276. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8277. {
  8278. addFileHost(
  8279. "ssh\.yt\/\\w+",
  8280. 'logo_0.png|downloads.gif"|verifycode',
  8281. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8282. 'optional--',
  8283. 'available only for Premium users|Premium users can restore files',
  8284. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8285. }
  8286. if (GM_getValue("Check_yep_dot_pm_links", false))
  8287. {
  8288. addFileHost(
  8289. "yep\.pm\/\\w+",
  8290. 'logo_0.png|downloads.gif"|verifycode',
  8291. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8292. 'optional--',
  8293. 'available only for Premium users|Premium users can restore files',
  8294. "//a[contains(@href,'yep.pm')]");
  8295. }
  8296. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8297. {
  8298. addFileHost(
  8299. "kyc\.pm\/\\w+",
  8300. 'logo_0.png|downloads.gif"|verifycode',
  8301. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8302. 'optional--',
  8303. 'available only for Premium users|Premium users can restore files',
  8304. "//a[contains(@href,'kyc.pm')]");
  8305. }
  8306. if (GM_getValue("Check_brupload_dot_net_links", false))
  8307. {
  8308. addFileHost(
  8309. "brupload\.net\/\\w+",
  8310. 'Download Gratuito',
  8311. '<div style="width:500px;text-align:left;">',
  8312. 'optional--',
  8313. 'optional2--',
  8314. "//a[contains(@href,'brupload.net')]");
  8315. }
  8316. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8317. {
  8318. addFileHost(
  8319. "cloudzilla\.to\/\\w+",
  8320. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8321. 'File not found|/imgs/broken.png',
  8322. 'optional--',
  8323. 'optional2--',
  8324. "//a[contains(@href,'cloudzilla.to')]");
  8325. } */
  8326. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8327. {
  8328. addFileHost(
  8329. "clicknupload\.com\/\\w+",
  8330. 'name="method_free',
  8331. 'File Not Found',
  8332. 'optional--',
  8333. 'optional2--',
  8334. "//a[contains(@href,'clicknupload.com')]");
  8335. }
  8336. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8337. {
  8338. addFileHost(
  8339. "clicknupload\.me\/\\w+",
  8340. 'name="method_free',
  8341. 'File Not Found',
  8342. 'optional--',
  8343. 'optional2--',
  8344. "//a[contains(@href,'clicknupload.me')]");
  8345. }
  8346. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8347. {
  8348. addFileHost(
  8349. "clicknupload\.link\/\\w+",
  8350. 'name="method_free',
  8351. 'File Not Found',
  8352. 'optional--',
  8353. 'optional2--',
  8354. "//a[contains(@href,'clicknupload.link')]");
  8355. }
  8356. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8357. {
  8358. addFileHost(
  8359. "clicknupload\.org\/\\w+",
  8360. 'name="method_free',
  8361. 'File Not Found',
  8362. 'optional--',
  8363. 'optional2--',
  8364. "//a[contains(@href,'clicknupload.org')]");
  8365. }
  8366. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8367. {
  8368. addFileHost(
  8369. "ex-load\.com\/\\w+",
  8370. 'name="method_free|<p>Download File:</p>',
  8371. 'Folder Not Found|File Not Found|Error 404',
  8372. 'optional--',
  8373. 'class="downprem wow bounceInLeft',
  8374. "//a[contains(@href,'ex-load.com')]");
  8375. }
  8376. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8377. {
  8378. addFileHost(
  8379. "hexupload\.com\/\\w+",
  8380. 'button" value="Free|type="submit" value=""',
  8381. 'File Not Found|<div style="width:500px;text-align:left;">',
  8382. 'optional--',
  8383. 'optional2--',
  8384. "//a[contains(@href,'hexupload.com')]");
  8385. }*/
  8386. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8387. {
  8388. addFileHost(
  8389. "wizupload\.com\/\\w+",
  8390. 'btn_download|class="downloadbtn"',
  8391. '>File Not Found<',
  8392. 'optional--',
  8393. 'optional2--',
  8394. "//a[contains(@href,'wizupload.com')]");
  8395. }
  8396. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8397. {
  8398. addFileHost(
  8399. "inclouddrive\.com\/\\w+",
  8400. 'initfreedownload',
  8401. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8402. 'optional--',
  8403. 'optional2--',
  8404. "//a[contains(@href,'inclouddrive.com')]");
  8405. }
  8406. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8407. {
  8408. addFileHost(
  8409. "radicalshare\.com\/\\w+",
  8410. 'value="download1|name="method_free"',
  8411. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8412. 'optional--',
  8413. 'optional2--',
  8414. "//a[contains(@href,'radicalshare.com')]");
  8415. }*/
  8416. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8417. {
  8418. addFileHost(
  8419. "sharemods\.com\/\\w+",
  8420. 'name="method_free"',
  8421. 'File Not Found<',
  8422. 'optional--',
  8423. 'optional2--',
  8424. "//a[contains(@href,'sharemods.com')]");
  8425. }
  8426. if (GM_getValue("Check_hostr_dot_co_links", false))
  8427. {
  8428. addFileHost(
  8429. "hostr\.co\/\\w+",
  8430. 'method="get"',
  8431. 'File not found<|error-page',
  8432. 'optional--',
  8433. 'optional2--',
  8434. "//a[contains(@href,'hostr.co')]");
  8435. }
  8436. if (GM_getValue("Check_filepi_dot_com_links", false))
  8437. {
  8438. addFileHost(
  8439. "filepi\.com\/\\w+",
  8440. 'id="button_start">',
  8441. 'File not found',
  8442. 'optional--',
  8443. 'optional2--',
  8444. "//a[contains(@href,'filepi.com')]");
  8445. }
  8446. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8447. {
  8448. addFileHost(
  8449. "tikfile\.com\/\\w+",
  8450. 'btn_download',
  8451. 'File Not Found|file was removed|Reason for deletion',
  8452. 'optional--',
  8453. 'optional2--',
  8454. "//a[contains(@href,'tikfile.com')]");
  8455. }
  8456. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8457. {
  8458. addFileHost(
  8459. "cloudsix\.me\/\\w+",
  8460. 'name="method_free"',
  8461. 'File Not Found|width:500px;text-align:left;">',
  8462. 'optional--',
  8463. 'optional2--',
  8464. "//a[contains(@href,'cloudsix.me')]");
  8465. }
  8466. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8467. {
  8468. addFileHost(
  8469. "neodrive\.co\/\\w+",
  8470. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8471. 'File not found|/imgs/broken.png',
  8472. 'optional--',
  8473. 'optional2--',
  8474. "//a[contains(@href,'neodrive.co')]");
  8475. } */
  8476. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8477. {
  8478. addFileHost(
  8479. "chayfile\.com\/\\w+",
  8480. 'name="method_free"',
  8481. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8482. 'optional--',
  8483. 'optional2--',
  8484. "//a[contains(@href,'chayfile.com')]");
  8485. }
  8486. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8487. {
  8488. addFileHost(
  8489. "xfileload\.com\/\\w+",
  8490. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8491. '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..|הקובץ שחיפשת לא נמצא.',
  8492. 'optional--',
  8493. 'optional2--',
  8494. "//a[contains(@href,'xfileload.com')]");
  8495. }*/
  8496. if (GM_getValue("Check_rockfile_dot_co_links", false))
  8497. {
  8498. addFileHost(
  8499. "rockfile\.co\/\\w+",
  8500. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8501. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8502. 'optional--',
  8503. 'optional2--',
  8504. "//a[contains(@href,'rockfile.co')]",
  8505. true);
  8506. }
  8507. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8508. {
  8509. addFileHost(
  8510. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8511. 'i/icon/dll.png"|>Start download<br|method_free',
  8512. 'no longer available<|i/ino.png"|File Not Found',
  8513. 'optional--',
  8514. 'optional2--',
  8515. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8516. }
  8517. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8518. {
  8519. addFileHost(
  8520. "ozofiles\.com\/\\w+",
  8521. 'button" value="Free|name="method_free',
  8522. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'ozofiles.com')]");
  8526. }
  8527. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "userscloud\.com\/\\w+",
  8531. 'btn_download|class="label label-success">',
  8532. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'userscloud.com')]");
  8536. }
  8537. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8538. {
  8539. addFileHost(
  8540. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8541. 'class="button download',
  8542. 'internal server error',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8546. }
  8547. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8548. {
  8549. addFileHost(
  8550. "kb.simple-aja\.info\/\\w+",
  8551. 'class="button download',
  8552. 'internal server error|<p>404</p>',
  8553. 'optional--',
  8554. 'optional2--',
  8555. "//a[contains(@href,'kb.simple')]");
  8556. }
  8557. if (GM_getValue("Check_faststore_dot_org_links", false))
  8558. {
  8559. addFileHost(
  8560. "faststore\.org\/\\w+",
  8561. 'name="method_free',
  8562. 'File Not Found',
  8563. 'optional--',
  8564. 'optional2--',
  8565. "//a[contains(@href,'faststore.org')]");
  8566. }
  8567. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8568. {
  8569. addFileHost(
  8570. "prefiles\.com\/\\w+",
  8571. 'id="method_free',
  8572. 'File not Found',
  8573. 'optional--',
  8574. 'optional2--',
  8575. "//a[contains(@href,'prefiles.com')]");
  8576. }
  8577. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8578. {
  8579. addFileHost(
  8580. "doraupload\.com\/\\w+",
  8581. 'btn_download|name="method_free',
  8582. 'class="error-code|Could Not Be Found',
  8583. 'optional--',
  8584. 'optional2--',
  8585. "//a[contains(@href,'doraupload.com')]");
  8586. }
  8587. if (GM_getValue("Check_openload_dot_io_links", false))
  8588. {
  8589. addFileHost(
  8590. "openload\.io\/\\w+",
  8591. 'btn btn-primary|class="count">|secondsleftouter',
  8592. 'class="jumbotron">|We are sorry',
  8593. 'optional--',
  8594. 'optional2--',
  8595. "//a[contains(@href,'openload.io')]");
  8596. }
  8597. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8598. {
  8599. addFileHost(
  8600. "zxcfiles\.com\/\\w+",
  8601. 'class="downloadbtn',
  8602. 'File Not Found',
  8603. 'optional--',
  8604. 'optional2--',
  8605. "//a[contains(@href,'zxcfiles.com')]");
  8606. }
  8607. if (GM_getValue("Check_up07_dot_net_links", false))
  8608. {
  8609. addFileHost(
  8610. "up07\.net\/\\w+",
  8611. 'name="method_free',
  8612. 'File Not Found',
  8613. 'optional--',
  8614. 'optional2--',
  8615. "//a[contains(@href,'up07.net')]");
  8616. }
  8617. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8618. {
  8619. addFileHost(
  8620. "fileupload\.pw\/\\w+",
  8621. 'value="Free"',
  8622. 'File Not Found',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'fileupload.pw')]");
  8626. }
  8627. if (GM_getValue("Check_4upld_dot_com_links", false))
  8628. {
  8629. addFileHost(
  8630. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8631. 'alt="Download Now"|content="Download file">|btn-free-element',
  8632. '<title>Error|content="error|File not found',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8636. }
  8637. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8638. {
  8639. addFileHost(
  8640. "(?:.swoopshare)\\.com\/\\w+",
  8641. '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',
  8642. '<input type="file" name="f"',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'swoopshare.com')]"
  8646. );
  8647. }
  8648. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8649. {
  8650. addFileHost(
  8651. "cloudshares\.net\/\\w+",
  8652. '"method_free|"Low Speed Download|submit" name="go',
  8653. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8654. 'optional--',
  8655. 'optional2--',
  8656. "//a[contains(@href,'cloudshares.net')]"
  8657. );
  8658. }
  8659. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8660. {
  8661. addFileHost(
  8662. "allmyvideos\.net\/\\w+",
  8663. 'Continue to Video',
  8664. 'File Not Found|class="err">Removed for',
  8665. 'optional--',
  8666. 'optional2--',
  8667. "//a[contains(@href,'allmyvideos.net')]"
  8668. );
  8669. } */
  8670. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8671. {
  8672. addFileHost(
  8673. "voFdocker\.com\/\\w+",
  8674. 'Proceed to video',
  8675. 'Not Found',
  8676. 'optional--',
  8677. 'optional2--',
  8678. "//a[contains(@href,'vodlocker.com')]"
  8679. );
  8680. }
  8681. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8682. {
  8683. addFileHost(
  8684. "vidbull\.com\/\\w+",
  8685. 'Verifying Video Request',
  8686. 'File Not Found',
  8687. 'optional--',
  8688. 'optional2--',
  8689. "//a[contains(@href,'vidbull.com')]");
  8690. }
  8691. if (GM_getValue("Check_novamov_dot_com_links", false))
  8692. {
  8693. addFileHost(
  8694. "novamov\.com\/\\w+",
  8695. 'For version detection',
  8696. 'file no longer exists',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'novamov.com')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8703. {
  8704. addFileHost(
  8705. "filehoot\.com\/\\w+",
  8706. 'Continue to watch',
  8707. 'File Not Found',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'filehoot.com')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8714. {
  8715. addFileHost(
  8716. "stagevu\.com\/\\w+",
  8717. 'Video Info',
  8718. 'No video with the provided',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'stagevu.com')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8725. {
  8726. addFileHost(
  8727. "cloudtime\.to\/\\w+",
  8728. 'Download the video',
  8729. 'no longer exists',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'cloudtime.to')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_streamin_dot_to_links", false))
  8736. {
  8737. addFileHost(
  8738. "streamin\.to\/\\w+",
  8739. 'id="btn_download',
  8740. 'Not Found|Copyright Infringement|File Deleted',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'streamin.to')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8747. {
  8748. addFileHost(
  8749. "videoweed\.es\/\\w+",
  8750. 'version detection',
  8751. 'no longer exists',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'videoweed.es')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8758. {
  8759. addFileHost(
  8760. "nowvideo\.sx\/\\w+",
  8761. 'Download this video|value="submit">Continue',
  8762. 'no longer exists',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'nowvideo.sx')]"
  8766. );
  8767. }
  8768. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8769. {
  8770. addFileHost(
  8771. "thevideo\.me\/\\w+",
  8772. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8773. 'File Not Found',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'thevideo.me')]"
  8777. );
  8778. }
  8779. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8780. {
  8781. addFileHost(
  8782. "gorillavid\.in\/\\w+",
  8783. 'Wait 5 seconds',
  8784. 'File Not Found',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'gorillavid.in')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_thefile_dot_me_links", false))
  8791. {
  8792. addFileHost(
  8793. "thefile\.me\/\\w+",
  8794. 'Choose free or',
  8795. '',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'thefile.me')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8802. {
  8803. addFileHost(
  8804. "vidzi\.tv\/\\w+",
  8805. 'video-embed-modal row',
  8806. 'File Not Found|file was deleted',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'vidzi.tv')]"
  8810. );
  8811. }
  8812. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8813. {
  8814. addFileHost(
  8815. "filenuke\.com\/\\w+",
  8816. 'Download File',
  8817. 'Earn with us',
  8818. 'optional--',
  8819. 'optional2--',
  8820. "//a[contains(@href,'filenuke.com')]"
  8821. );
  8822. }
  8823. if (GM_getValue("Check_vidto_dot_me_links", false))
  8824. {
  8825. addFileHost(
  8826. "vidto\.me\/\\w+",
  8827. 'Proceed to video',
  8828. 'Not Found',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'vidto.me')]"
  8832. );
  8833. }
  8834. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8835. {
  8836. addFileHost(
  8837. "vidspot\.net\/\\w+",
  8838. 'Duration|method_free',
  8839. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8840. 'optional--',
  8841. 'optional2--',
  8842. "//a[contains(@href,'vidspot.net')]"
  8843. );
  8844. } */
  8845. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8846. {
  8847. addFileHost(
  8848. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8849. 'Download File',
  8850. 'File Not Found',
  8851. 'optional--',
  8852. 'optional2--',
  8853. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8854. );
  8855. }
  8856. if (GM_getValue("Check_movpod_dot_in_links", false))
  8857. {
  8858. addFileHost(
  8859. "movpod\.in\/\\w+",
  8860. 'Continue',
  8861. 'File Not Found',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'movpod.in')]"
  8865. );
  8866. }
  8867. if (GM_getValue("Check_down4files_dot_com_links", false))
  8868. {
  8869. addFileHost(
  8870. "down4files\.com\/\\w+",
  8871. 'down_table.png',
  8872. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8873. 'optional--',
  8874. 'optional2--',
  8875. "//a[contains(@href,'down4files.com')]"
  8876. );
  8877. }
  8878. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8879. {
  8880. addFileHost(
  8881. "storefiles\.co\/\\w+",
  8882. 'btn_download',
  8883. 'No such file|>Error<|mqmaintitle">',
  8884. 'optional--',
  8885. 'optional2--',
  8886. "//a[contains(@href,'storefiles.co')]"
  8887. );
  8888. }*/
  8889. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8890. {
  8891. addFileHost(
  8892. "filehost\.pw\/\\w+",
  8893. 'name="method_free',
  8894. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'filehost.pw')]"
  8898. );
  8899. }
  8900. /* if (GM_getValue("Check_uplea_dot_com_links", false))
  8901. {
  8902. addFileHost(
  8903. "uplea\.com\/\\w+",
  8904. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8905. 'expired link|ou est invalide',
  8906. 'optional--',
  8907. 'optional2--',
  8908. "//a[contains(@href,'uplea.com/dl')]",
  8909. true);
  8910. }
  8911. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8912. {
  8913. addFileHost(
  8914. "toutbox\.fr\/\\w+",
  8915. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8916. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8917. 'Serviço temporariamente indisponível',
  8918. 'optional2--',
  8919. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8920. );
  8921. }*/
  8922. if (GM_getValue("Check_openload_dot_co_links", false))
  8923. {
  8924. addFileHost(
  8925. "openload\.co\/\\w+",
  8926. 'id="downloadTimer">|button dlbutton',
  8927. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8928. 'optional--',
  8929. 'optional2--',
  8930. "//a[contains(@href,'openload.co')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_oload_dot_tv_links", false))
  8934. {
  8935. addFileHost(
  8936. "oload\.tv\/\\w+",
  8937. 'id="downloadTimer">|button dlbutton',
  8938. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8939. 'optional--',
  8940. 'optional2--',
  8941. "//a[contains(@href,'oload.tv')]"
  8942. );
  8943. }
  8944. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8945. {
  8946. addFileHost(
  8947. "lolabits\.es\/\\w+",
  8948. 'Descargar:',
  8949. '<title>Archivos de usuario',
  8950. 'Service Unavailable',
  8951. 'optional2--',
  8952. "//a[contains(@href,'lolabits.es')]"
  8953. );
  8954. }*/
  8955. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8956. {
  8957. addFileHost(
  8958. "alfafile\.net\/\\w+",
  8959. 'id="slow_download_btn',
  8960. 'class="error-box">',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'alfafile.net')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_multiup_dot_org_links", false))
  8967. {
  8968. addFileHost(
  8969. "multiup\\.(?:org|eu)\/\\w+",
  8970. '<title>Download|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8971. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable|<title>Télécharger - Multi Upload',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_file_dot_al_links", false))
  8978. {
  8979. addFileHost(
  8980. "file\\.al|1f.al",
  8981. 'method_free',
  8982. 'style="width:500px;text-align:left;">|invalid license_key',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8989. {
  8990. addFileHost(
  8991. "devilshare\.net\/\\w+",
  8992. '<div class="large-12" id="download">',
  8993. '(Link: 0 Invalid)|File Not Found',
  8994. 'optional--',
  8995. 'optional2--',
  8996. "//a[contains(@href,'devilshare.net')]"
  8997. );
  8998. }
  8999. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9000. {
  9001. addFileHost(
  9002. "dailyuploads\.net\/\\w+",
  9003. 'id="downloadBtnClickOrignal',
  9004. '<div style="width:500px;text-align:left;">',
  9005. 'optional--',
  9006. 'optional2--',
  9007. "//a[contains(@href,'dailyuploads.net')]"
  9008. );
  9009. }
  9010. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9011. {
  9012. addFileHost(
  9013. "datoteke\.com\/\\w+",
  9014. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9015. '&nbsp;File has been removed',
  9016. 'optional--',
  9017. '<title>Error - Datoteke',
  9018. "//a[contains(@href,'datoteke.com')]"
  9019. );
  9020. }
  9021. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9022. {
  9023. addFileHost(
  9024. "sharehost\.eu\/\\w+",
  9025. '/?v=download_free&',
  9026. 'Errors occured|Wystąpiły błędy',
  9027. 'optional--',
  9028. 'optional2--',
  9029. "//a[contains(@href,'sharehost.eu')]"
  9030. );
  9031. }
  9032. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9033. {
  9034. addFileHost(
  9035. "pornfile\.cz",
  9036. 'Stáhnout soubor|Stáhnout pomalu',
  9037. 'Soubor byl smazán|Stránka nenalezena',
  9038. 'optional--',
  9039. 'optional2--',
  9040. "//a[contains(@href,'pornfile.cz')]"
  9041. );
  9042. }
  9043. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9044. {
  9045. addFileHost(
  9046. "pornoid\.cz\/\\w+",
  9047. 'class="btn btn-large btn-download',
  9048. 'Soubor byl smazán',
  9049. 'optional--',
  9050. 'optional2--',
  9051. "//a[contains(@href,'pornoid.cz')]"
  9052. );
  9053. }
  9054. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9055. {
  9056. addFileHost(
  9057. "file-share\.top\/\\w+",
  9058. 'btn-success btn-lg download',
  9059. 'Stránka neexistuje|404 Not Found',
  9060. 'optional--',
  9061. 'optional2--',
  9062. "//a[contains(@href,'file-share.top')]"
  9063. );
  9064. }
  9065. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9066. {
  9067. addFileHost(
  9068. "bitster\.cz\/",
  9069. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9070. 'section" content=""',
  9071. 'optional--',
  9072. 'optional2--',
  9073. "//a[contains(@href,'bitster.cz')]"
  9074. );
  9075. }
  9076. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9077. {
  9078. addFileHost(
  9079. "rapidu\.net\/\\w+",
  9080. 'onclick="downloadFreeFile',
  9081. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9082. 'optional--',
  9083. 'optional2--',
  9084. "//a[contains(@href,'rapidu.net')]"
  9085. );
  9086. }
  9087. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9088. {
  9089. addFileHost(
  9090. "dinoshare\.cz\/\\w+",
  9091. 'class="download-button"',
  9092. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9093. 'optional--',
  9094. 'optional2--',
  9095. "//a[contains(@href,'dinoshare.cz')]"
  9096. );
  9097. }
  9098. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9099. {
  9100. addFileHost(
  9101. "bytewhale\.com\/\\w+",
  9102. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9103. 'var rawest = "0 MB|Copyrights Claim</div>',
  9104. 'optional--',
  9105. 'This file is available for premium members only',
  9106. "//a[contains(@href,'bytewhale.com')]"
  9107. );
  9108. }
  9109. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9110. {
  9111. addFileHost(
  9112. "rapidrar\.com\/\\w+",
  9113. 'value="Free Download',
  9114. '<div style="width:500px;text-align:left;">',
  9115. 'optional--',
  9116. 'optional--',
  9117. "//a[contains(@href,'rapidrar.com')]"
  9118. );
  9119. }
  9120. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9121. {
  9122. addFileHost(
  9123. "filesupload\.org\/\\w+",
  9124. '<a href="/download-or-watch/',
  9125. 'File not found',
  9126. 'optional--',
  9127. 'optional--',
  9128. "//a[contains(@href,'filesupload.org')]"
  9129. );
  9130. }
  9131. if (GM_getValue("Check_filecad_dot_com_links", false))
  9132. {
  9133. addFileHost(
  9134. "filecad\.com\/\\w+",
  9135. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9136. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9137. 'optional--',
  9138. 'optional--',
  9139. "//a[contains(@href,'filecad.com')]"
  9140. );
  9141. }
  9142. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9143. {
  9144. addFileHost(
  9145. "file.up09\.com\/\\w+",
  9146. 'name="method_free',
  9147. 'style="width:500px;text-align:left;">',
  9148. 'optional--',
  9149. 'optional--',
  9150. "//a[contains(@href,'file.up09.com')]"
  9151. );
  9152. }
  9153. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9154. {
  9155. addFileHost(
  9156. "lunaticfiles\.com\/\\w+",
  9157. 'name="method_free"',
  9158. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9159. 'optional--',
  9160. 'optional--',
  9161. "//a[contains(@href,'lunaticfiles.com')]"
  9162. );
  9163. }
  9164. if (GM_getValue("Check_upload_dot_af_links", false))
  9165. {
  9166. addFileHost(
  9167. "upload\.af\/\\w+",
  9168. 'id="method_free"',
  9169. '<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|ファイルが見つかりません',
  9170. 'optional--',
  9171. 'optional--',
  9172. "//a[contains(@href,'upload.af')]"
  9173. );
  9174. }
  9175. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9176. {
  9177. addFileHost(
  9178. "filedwon\.info\/\\w+",
  9179. 'name="method_free"',
  9180. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9181. 'optional--',
  9182. 'optional--',
  9183. "//a[contains(@href,'filedwon.info')]"
  9184. );
  9185. }
  9186. if (GM_getValue("Check_uplod_dot_it_links", false))
  9187. {
  9188. addFileHost(
  9189. "uplod\.it\/\\w+",
  9190. 'value="download2">|name="method_free',
  9191. '<Title>Download </Title>',
  9192. 'optional--',
  9193. 'optional--',
  9194. "//a[contains(@href,'uplod.it')]"
  9195. );
  9196. }
  9197. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9198. {
  9199. addFileHost(
  9200. "abelhas\.pt\/\\w+",
  9201. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9202. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9203. 'optional--',
  9204. 'optional--',
  9205. "//a[contains(@href,'abelhas.pt')]"
  9206. );
  9207. } */
  9208. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9209. {
  9210. addFileHost(
  9211. "disk.yandex\.com\/\\w+",
  9212. 'nb-button _nb-small-button',
  9213. 'error code|Nothing found',
  9214. 'optional--',
  9215. 'optional2--',
  9216. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9217. }
  9218. if (GM_getValue("Check_filespace_dot_com_links", false))
  9219. {
  9220. addFileHost(
  9221. "filespace\.com\/\\w+",
  9222. '"method_free',
  9223. '<div style="text-align:left;"><ul>|>File not found.<',
  9224. 'optional1--',
  9225. 'optional2--',
  9226. "//a[contains(@href,'filespace.com')]");
  9227. }
  9228. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9229. {
  9230. addFileHost(
  9231. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9232. 'name="downloadFile|id="downloadFile|value="Wait',
  9233. '<title>File not found</title>|>Error:<',
  9234. 'optional1--',
  9235. 'optional2--',
  9236. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9237. }
  9238. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9239. {
  9240. addFileHost(
  9241. "ncrypt\.in\/\\w+",
  9242. 'Sicherheitsabfrage:|Securitycheck:',
  9243. 'does not exist|existiert nicht',
  9244. 'optional1--',
  9245. 'optional2--',
  9246. "//a[contains(@href,'ncrypt.in')]");
  9247. }
  9248. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9249. {
  9250. addFileHost(
  9251. "jeodrive\.com\/\\w+",
  9252. 'btn-lg regular',
  9253. 'Not found',
  9254. 'optional1--',
  9255. 'optional2--',
  9256. "//a[contains(@href,'jeodrive.com')]");
  9257. }
  9258. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9259. {
  9260. addFileHost(
  9261. "myfiles\.onl\/\\w+",
  9262. 'value="Free"',
  9263. '<div style="width:500px;text-align:left;">',
  9264. 'optional1--',
  9265. 'optional2--',
  9266. "//a[contains(@href,'myfiles.onl')]");
  9267. }
  9268. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9269. {
  9270. addFileHost(
  9271. "uploadserv\.com\/\\w+",
  9272. 'color="red">http://uploadserv.com/',
  9273. 'content="Download File ">|<title>Download </title>',
  9274. 'optional1--',
  9275. 'optional2--',
  9276. "//a[contains(@href,'uploadserv.com')]");
  9277. }
  9278. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9279. {
  9280. addFileHost(
  9281. "keepshare\.net\/\\w+",
  9282. 'method_free',
  9283. '<div style="width:500px;text-align:left;">',
  9284. 'optional1--',
  9285. 'optional2--',
  9286. "//a[contains(@href,'keepshare.net')]");
  9287. }
  9288. if (GM_getValue("Check_oload_dot_net_links", false))
  9289. {
  9290. addFileHost(
  9291. "oload\.net\/\\w+",
  9292. '<font color="red">http://oload.net',
  9293. 'class="page-ttl">',
  9294. 'optional1--',
  9295. 'optional2--',
  9296. "//a[contains(@href,'oload.net')]");
  9297. }
  9298. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9299. {
  9300. addFileHost(
  9301. "filescdn\.com\/\\w+",
  9302. 'btn_download',
  9303. 'icon-warning text-danger|no longer available',
  9304. 'optional1--',
  9305. 'optional2--',
  9306. "//a[contains(@href,'filescdn.com')]");
  9307. }
  9308. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9309. {
  9310. addFileHost(
  9311. "bankupload\.com\/\\w+",
  9312. 'id="btn_download"|1.0 GB',
  9313. '<div style="width:500px;text-align:left;">',
  9314. 'optional1--',
  9315. ' GB',
  9316. "//a[contains(@href,'bankupload.com')]");
  9317. }
  9318. if (GM_getValue("Check_katfile_dot_com_links", false))
  9319. {
  9320. addFileHost(
  9321. "katfile\.com\/\\w+",
  9322. 'KB| MB|1.0 GB|id="method_free',
  9323. 'images/file_not_found.png"',
  9324. 'optional1--',
  9325. ' GB',
  9326. "//a[contains(@href,'katfile.com')]");
  9327. }
  9328. if (GM_getValue("Check_filesin_dot_space_links", false))
  9329. {
  9330. addFileHost(
  9331. "filesin\.space\/\\w+",
  9332. 'id="btn_download"',
  9333. 'class="err">',
  9334. 'optional1--',
  9335. 'optional2',
  9336. "//a[contains(@href,'filesin.space')]");
  9337. }
  9338. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9339. {
  9340. addFileHost(
  9341. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9342. 'download.php',
  9343. 'notfound|upload\\-suborov\\.php"',
  9344. 'optional--',
  9345. 'optional2--',
  9346. "//a[contains(@href,'upnito.sk')]"
  9347. );
  9348. }
  9349. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9350. {
  9351. addFileHost(
  9352. "alltu\.eu\/\\w+",
  9353. 'download-timer',
  9354. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9355. 'optional1--',
  9356. 'optional2',
  9357. "//a[contains(@href,'alltu.eu')]");
  9358. }
  9359. if (GM_getValue("Check_novafile_dot_com_links", false))
  9360. {
  9361. addFileHost(
  9362. "novafile\.com\/\\w+",
  9363. 'id="regular-download|download1slow',
  9364. 'id="file-not-found',
  9365. 'optional1--',
  9366. 'id="premium-only',
  9367. "//a[contains(@href,'novafile.com')]");
  9368. }
  9369. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9370. {
  9371. addFileHost(
  9372. "uploadgig\.com",
  9373. 'id="countdownContainer',
  9374. 'File not found',
  9375. 'optional1--',
  9376. 'Premium Member only',
  9377. "//a[contains(@href,'uploadgig.com')]");
  9378. }
  9379. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9380. {
  9381. addFileHost(
  9382. "mexashare\.com\/\\w+",
  9383. 'method_free',
  9384. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9385. 'optional1--',
  9386. 'optional2',
  9387. "//a[contains(@href,'mexashare.com')]");
  9388. }
  9389. if (GM_getValue("Check_daofile_dot_com_links", false))
  9390. {
  9391. addFileHost(
  9392. "daofile\.com\/\\w+",
  9393. 'class="captcha_code',
  9394. 'style="width:500px;text-align:left;">',
  9395. 'optional1--',
  9396. 'optional2',
  9397. "//a[contains(@href,'daofile.com')]");
  9398. }
  9399. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9400. {
  9401. addFileHost(
  9402. "imagenetz\.de\/\\w+",
  9403. 'id="download',
  9404. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9405. 'optional1--',
  9406. 'optional2',
  9407. "//a[contains(@href,'imagenetz.de')]");
  9408. }
  9409. if (GM_getValue("Check_uloz_dot_to_links", false))
  9410. {
  9411. addFileHost(
  9412. "uloz\.to\/\\w+",
  9413. 'limitedDownloadButton|Stáhnout pomalu',
  9414. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9415. 'optional1--',
  9416. 'optional2',
  9417. "//a[contains(@href,'uloz.to')]");
  9418. }
  9419. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9420. {
  9421. addFileHost(
  9422. "ulozto.net",
  9423. 'limitedDownloadButton|Stáhnout pomalu',
  9424. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9425. 'optional1--',
  9426. 'optional2',
  9427. "//a[contains(@href,'ulozto.net')]");
  9428. }
  9429. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9430. {
  9431. addFileHost(
  9432. "ulozto\.sk",
  9433. 'limitedDownloadButton|Stáhnout pomalu',
  9434. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9435. 'optional1--',
  9436. 'optional2',
  9437. "//a[contains(@href,'ulozto.sk')]");
  9438. }
  9439. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9440. {
  9441. addFileHost(
  9442. "ulozto\.cz",
  9443. 'limitedDownloadButton|Stáhnout pomalu',
  9444. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9445. 'optional1--',
  9446. 'optional2',
  9447. "//a[contains(@href,'ulozto.cz')]");
  9448. }
  9449. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9450. {
  9451. addFileHost(
  9452. "subyshare\.com\/\\w+",
  9453. 'id="method_free',
  9454. 'file was removed|class="err">|1s">404',
  9455. 'This server is in maintenance mode|m human"',
  9456. 'optional2',
  9457. "//a[contains(@href,'subyshare.com')]",
  9458. true);
  9459. }
  9460. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9461. {
  9462. addFileHost(
  9463. "fileshareup\.com\/\\w+",
  9464. 'download-timer|btn-free-element|content="Download file',
  9465. 'content="Error"|content="error|heading-1">Error<',
  9466. 'optional1--',
  9467. 'optional2',
  9468. "//a[contains(@href,'fileshareup.com')]");
  9469. }
  9470. if (GM_getValue("Check_mystore_dot_to_links", false))
  9471. {
  9472. addFileHost(
  9473. "mystore\.to\/\\w+",
  9474. 'Download File',
  9475. 'file not found',
  9476. 'optional1--',
  9477. 'optional2',
  9478. "//a[contains(@href,'mystore.to/dl')]");
  9479. }
  9480. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9481. {
  9482. addFileHost(
  9483. "usercloud\.net\/\\w+",
  9484. 'content="download|var seconds = 60|type="password',
  9485. 'content="error|report_file.html">',
  9486. 'optional1--',
  9487. 'optional2',
  9488. "//a[contains(@href,'usercloud.net')]");
  9489. }
  9490. if (GM_getValue("Check_workupload_dot_com_links", false))
  9491. {
  9492. addFileHost(
  9493. "workupload\.com\/\\w+",
  9494. 'content="Download|id="download"',
  9495. 'File not found|img/not-found.jpg|Error message',
  9496. 'optional1--',
  9497. 'optional2',
  9498. "//a[contains(@href,'workupload.com')]");
  9499. }
  9500. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9501. {
  9502. addFileHost(
  9503. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9504. 'class="download">',
  9505. 'class="error center',
  9506. 'optional1--',
  9507. 'optional2',
  9508. "//a[contains(@href,'storageserver.co.uk')]");
  9509. }
  9510. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9511. {
  9512. addFileHost(
  9513. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9514. '"kind": "file"',
  9515. '"error": "not_exists"',
  9516. 'optional1--',
  9517. 'optional2',
  9518. "//a[contains(@href,'cloud.mail.ru')]");
  9519. }
  9520. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9521. {
  9522. addFileHost(
  9523. "bdupload\.info\/\\w+",
  9524. 'class="downloadbtn">|id="downloadbtn"',
  9525. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9526. 'optional1--',
  9527. 'optional2',
  9528. "//a[contains(@href,'bdupload.info')]");
  9529. }
  9530. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9531. {
  9532. addFileHost(
  9533. "wayupload\.com\/\\w+",
  9534. 'class="nopay-btn gray"',
  9535. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9536. 'optional1--',
  9537. 'optional2',
  9538. "//a[contains(@href,'wayupload.com')]");
  9539. }
  9540. if (GM_getValue("Check_exbit_dot_net_links", false))
  9541. {
  9542. addFileHost(
  9543. "exbit\.net\/\\w+",
  9544. 'class="nopay-btn|href="/download/free/',
  9545. 'File not found',
  9546. 'optional1--',
  9547. 'optional2',
  9548. "//a[contains(@href,'exbit.net')]");
  9549. }
  9550. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9551. {
  9552. addFileHost(
  9553. "uploadocean\.com\/\\w+",
  9554. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9555. 'deleted.png"',
  9556. 'optional1--',
  9557. 'optional2',
  9558. "//a[contains(@href,'uploadocean.com')]");
  9559. }
  9560. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9561. {
  9562. addFileHost(
  9563. "fileflares\.com\/\\w+",
  9564. 'id="downloadbtn"',
  9565. '<div style="width:500px;text-align:left;">',
  9566. 'optional1--',
  9567. 'optional2',
  9568. "//a[contains(@href,'fileflares.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.net') or 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',
  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. }
  10024. //start here
  10025.  
  10026. //hosts with direct download, so they must be requested for headers only
  10027. function initFileHostsHeadersOnly()
  10028. {
  10029. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  10030. {
  10031. var host = new Array(5);
  10032. host[0] = linkRegex;
  10033. host[1] = isAliveRegex;
  10034. host[2] = isDeadRegex;
  10035. host[4] = ispremRegex;
  10036. host[3] = xpathEx;
  10037. http_file_hosts_headers_only.push(host);
  10038. }
  10039. if (GM_getValue("Check_uloziste_dot_com_links", false))
  10040. {
  10041. addFileHostHeadersOnly(
  10042. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  10043. 'Connection: Keep-Alive',
  10044. 'Content-Length: 3857',
  10045. 'optional2',
  10046. "//a[contains(@href,'uloziste.com')]"
  10047. )
  10048. }
  10049. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  10050. {
  10051. addFileHostHeadersOnly(
  10052. "filescdn\.com\/\\w+",
  10053. 'Connection: keep-alive',
  10054. 'Company</Title>',
  10055. 'optional2',
  10056. "//a[contains(@href,'filescdn.com')]"
  10057. )
  10058. } */
  10059. if (GM_getValue("Check_adrive_dot_com_links", false))
  10060. {
  10061. addFileHostHeadersOnly(
  10062. "adrive\\.com\/public\/\\w+",
  10063. 'Connection: keep-alive',
  10064. 'orig_ref=deleted',
  10065. 'optional2',
  10066. "//a[contains(@href,'adrive.com')]"
  10067. )
  10068. }
  10069. }
  10070.  
  10071. //CustomRules
  10072. //functions add...Host copied here
  10073. function addObsoleteHost(linkRegex, xpathEx)
  10074. {
  10075. var host = new Array(2);
  10076. host[0] = linkRegex;
  10077. host[1] = xpathEx;
  10078. http_file_hosts_obsolete.push(host);
  10079. }
  10080. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  10081. {
  10082. var host = new Array(7);
  10083. host[0] = linkRegex;
  10084. host[1] = isAliveRegex;
  10085. host[2] = isDeadRegex;
  10086. host[3] = isUnavaRegex;
  10087. host[4] = xpathEx;
  10088. tryLoop ? host[5] = true : host[5] = false;
  10089. host[6] = ispremRegex;
  10090. http_file_hosts.push(host);
  10091. }
  10092. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  10093. {
  10094. var host = new Array(5);
  10095. host[0] = linkRegex;
  10096. host[1] = isAliveRegex;
  10097. host[2] = isDeadRegex;
  10098. host[3] = xpathEx;
  10099. host[4] = ispremRegex;
  10100. http_file_hosts_headers_only.push(host);
  10101. }
  10102. //takes a fully built rules array and adds the rules to WARLC
  10103. function applyCustomRules(customRules)
  10104. {
  10105. if (!customRules) return;
  10106. var rules, r, i;
  10107. rules = customRules.rules;
  10108. for (i = 0 ; i < rules.length ; i++)
  10109. {
  10110. r = rules[i];
  10111. if (r.enabled)
  10112. {
  10113. switch (r.type)
  10114. {
  10115. case 'single':
  10116. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  10117. break;
  10118. case 'headers':
  10119. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  10120. break;
  10121. case 'obsolete':
  10122. addObsoleteHost(r.urlregex, r.xpath)
  10123. break;
  10124. }
  10125. }
  10126. }
  10127. }
  10128.  
  10129.  
  10130. function initFileHostsCustom()
  10131. {
  10132. if (Custom_rules && Custom_rules_text)
  10133. {
  10134. var msg = '';
  10135. if (newVersion)
  10136. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  10137. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  10138. msg = '60 or more days have passed since this notification.\n\n';
  10139. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  10140. {
  10141. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  10142. msg +=
  10143. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  10144. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  10145. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  10146. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  10147. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  10148. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  10149. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  10150. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  10151. setTimeout(function(){alert(msg)},0);
  10152. }
  10153. var customRules = parseCustomRules(Custom_rules_text);
  10154. if (customRules.warning || customRules.error)
  10155. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  10156. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  10157. JSON.stringify(customRules.info, null, ' '));
  10158. applyCustomRules(customRules);
  10159. }
  10160. }
  10161. //end of CustomRules processing
  10162.  
  10163.  
  10164.  
  10165. } //end of function start
  10166.  
  10167.  
  10168.  
  10169. function initClipBoardTools()
  10170. {
  10171. unsafeWindow.copyToClipboard = function(text)
  10172. {
  10173. try
  10174. {
  10175. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  10176.  
  10177. var str = Components.classes["@mozilla.org/supports-string;1"].
  10178. createInstance(Components.interfaces.nsISupportsString);
  10179. if (!str) return false;
  10180.  
  10181. str.data = text;
  10182.  
  10183. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  10184. createInstance(Components.interfaces.nsITransferable);
  10185. if (!trans) return false;
  10186.  
  10187. trans.addDataFlavor("text/unicode");
  10188. trans.setTransferData("text/unicode", str, text.length * 2);
  10189.  
  10190. var clipid = Components.interfaces.nsIClipboard;
  10191. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  10192. if (!clip) return false;
  10193.  
  10194. clip.setData(trans, null, clipid.kGlobalClipboard);
  10195. } catch (e) {
  10196. GM_log("Error copyToClipboard : " + e);
  10197. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  10198. }
  10199. }
  10200. }
  10201.  
  10202.  
  10203.  
  10204. //CustomRules
  10205.  
  10206. function escapeRegex(str)
  10207. {
  10208. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  10209. }
  10210.  
  10211.  
  10212. //called internally from parseCustomRules.
  10213. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  10214. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  10215. function makeCustomRule(rule)
  10216. {
  10217. function makeMatchRegex(arrmatch)
  10218. {
  10219. return escapeRegex(arrmatch.join('\n'))
  10220. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  10221. .replace(/\n/g,'|'); //join together
  10222. }
  10223. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  10224. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  10225. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  10226. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  10227. if (rule.baseurl)
  10228. {
  10229. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  10230. for (i = 0 ; i < len ; i++)
  10231. {
  10232. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  10233. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  10234. {
  10235. 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'])
  10236. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  10237. }
  10238. else //baseurl in the form: example.com/xxx
  10239. {
  10240. xpath.push(m[0]);
  10241. urlregex.push(escapeRegex(m[0]) + '.');
  10242. }
  10243. }
  10244. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  10245. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  10246. }
  10247. return rule;
  10248. } //function makeCustomRule
  10249.  
  10250.  
  10251. /*
  10252. Takes a string containing custom link checking rules.
  10253. Returns an object with fields:
  10254. info - contains notes, warnings and errors found during parsing
  10255. rules - the array of custom rules
  10256. note, warning, error - number of each of them found during parsing
  10257. Format of the input string:
  10258. One command per line. Command format: @keyword parameter
  10259. Keywords:
  10260. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  10261. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  10262. These keywords can be multiple (any of them will work):
  10263. @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...)
  10264. @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+
  10265. @alivelink, @deadlink - example links
  10266. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  10267. Lines starting with // and empty lines are ignored.
  10268. Invalid parameters generate errors and those lines are skipped.
  10269. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  10270. Example:
  10271. @customrule filehost
  10272. @baseurl filehost.com/download/
  10273. @baseurl filehost2. com net /d?=
  10274. @alivematch id="download">
  10275. @deadmatch File not found
  10276. @deadmatch File deleted
  10277. */
  10278. function parseCustomRules(rulesStr)
  10279. {
  10280. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  10281. function addInfo(type, msg, ln){
  10282. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  10283. customRules[type]++;
  10284. }
  10285. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  10286. if (!lines) return null;
  10287. lines.push('@#customrule _'); //to save the last rule
  10288. var m, linecount = lines.length;
  10289. var keyword, param, constr, rule, err;
  10290. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  10291. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  10292. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  10293. var constraints = {
  10294. 'baseurl': {
  10295. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10296. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10297. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  10298. 'alivematch': {
  10299. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10300. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10301. 'deadmatch': {
  10302. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10303. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10304. 'unavamatch': {
  10305. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  10306. 'alivelink': {
  10307. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10308. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10309. 'deadlink': {
  10310. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10311. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10312. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10313. };
  10314. for (linenum = 0 ; linenum < linecount ; linenum++)
  10315. {
  10316. //capturing groups: 1 23 4 5 6
  10317. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10318. if (m)
  10319. {
  10320. if (m[1] || !m[2])
  10321. continue; // ignore empty lines and lines starting with //
  10322. keyword = (m[4] || m[2]).toLowerCase();
  10323. param = m[6];
  10324. if (keyword == 'customrule')
  10325. {
  10326. //save the current rule if all required fields are provided
  10327. if (rule)
  10328. {
  10329. err = false;
  10330. $.each(constraints, function(kw, constraint){
  10331. var l, constr = constraint[rule.type];
  10332. if (constr)
  10333. {
  10334. l = rule[kw] ? rule[kw].length : 0;
  10335. if (l < constr.min || l > constr.max)
  10336. {
  10337. 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);
  10338. err = true;
  10339. }
  10340. }
  10341. });
  10342. if (!err)
  10343. customRules.rules.push(makeCustomRule(rule));
  10344. }
  10345. //start a new rule
  10346. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10347. {
  10348. rule = {
  10349. 'enabled': !m[3],
  10350. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10351. 'name': param
  10352. };
  10353. }
  10354. else
  10355. {
  10356. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10357. rule = null;
  10358. }
  10359. }
  10360. else //good line format, but keyword other than customrule
  10361. {
  10362. if (!rule)
  10363. {
  10364. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10365. continue;
  10366. }
  10367. if (constraints[keyword])
  10368. {
  10369. constr = constraints[keyword][rule.type];
  10370. if (constr)
  10371. {
  10372. if (constr.paramRE && !constr.paramRE.test(param))
  10373. {
  10374. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10375. continue;
  10376. }
  10377. }
  10378. else
  10379. {
  10380. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10381. continue;
  10382. }
  10383. }
  10384. //line OK, save
  10385. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10386. }
  10387. } //if (m)
  10388. else
  10389. addInfo('warning', 'Unknown line format. Line skipped.');
  10390. } //for loop
  10391. return customRules;
  10392. } //function parseCustomRules
  10393.  
  10394.  
  10395. /* ********************UPDATES********************
  10396.  
  10397. December 27, 2017
  10398. Version 1.4.4.0
  10399. fixed dl.free.fr/getfile.pl
  10400. added dead code for minhateca.com
  10401.  
  10402. December 26, 2017
  10403. Version 1.4.3.9
  10404. added https://minhateca.com.br
  10405.  
  10406. December 25, 2017
  10407. Version 1.4.3.8
  10408. excluded
  10409. https://www.express-scripts.com
  10410.  
  10411. December 23, 2017
  10412. Version 1.4.3.7
  10413. added 4downfiles.org
  10414. fixed rapidgator.net/rg.to premium
  10415. by J0N4S
  10416.  
  10417. December 20, 2017
  10418. Version 1.4.3.6
  10419. added gfycat.com
  10420.  
  10421. December 17, 2017
  10422. Version 1.4.3.5
  10423. added suprafiles.org
  10424. fixed subyshare
  10425.  
  10426. December 16, 2017
  10427. Version 1.4.3.4
  10428. added
  10429. anonfile.com
  10430. vshare.io
  10431.  
  10432. December 16, 2017
  10433. Version 1.4.3.3
  10434. fixed cloudyfiles.com/org
  10435.  
  10436. December 16, 2017
  10437. Version 1.4.3.2
  10438. fixed keep2share not detecting some premium links
  10439.  
  10440.  
  10441. December 15, 2017
  10442. Version 1.4.3.1
  10443. fixed uloz.to
  10444.  
  10445. December 09, 2017
  10446. Version 1.4.3.0
  10447. added temp unavialable to subyshare.com
  10448.  
  10449. November 27, 2017
  10450. Version 1.4.2.9
  10451. added k-upload.fr & k-upload.com
  10452.  
  10453. November 24, 2017
  10454. Version 1.4.2.8
  10455. added rockfile.co
  10456. added rockfile.eu to obsolete hosts
  10457.  
  10458. November 10, 2017
  10459. Version 1.4.2.7
  10460. added drop.me
  10461.  
  10462. November 01, 2017
  10463. Version 1.4.2.6
  10464. added vodlocker.com to obsolete hosts
  10465.  
  10466. October 31, 2017
  10467. Version 1.4.2.5
  10468. fixed suprafiles
  10469.  
  10470. October 25, 2017
  10471. Version 1.4.2.4
  10472. excluded google.*
  10473.  
  10474. October 24, 2017
  10475. Version 1.4.2.3
  10476. added fp.io to obsolete hosts
  10477.  
  10478. October 21, 2017
  10479. Version 1.4.2.2
  10480. excluded https://www.google.de.*
  10481.  
  10482. October 10, 2017
  10483. Version 1.4.2.1
  10484. fixed error
  10485.  
  10486. October 07, 2017
  10487. Version 1.4.2.0
  10488. excluded https://www.google.co.*
  10489.  
  10490. September 20, 2017
  10491. Version 1.4.1.9
  10492. added bittfox.com
  10493.  
  10494. September 18, 2017
  10495. Version 1.4.1.8
  10496. added cloudyfiles.com
  10497.  
  10498. August 22, 2017
  10499. Version 1.4.1.7
  10500. fixed speedshare.eu
  10501.  
  10502. August 08, 2017
  10503. Version 1.4.1.5
  10504. fixed 4share.com
  10505.  
  10506. August 06, 2017
  10507. Version 1.4.1.4
  10508. added depfile.us
  10509.  
  10510. July 24, 2017
  10511. Version 1.4.1.3
  10512. added bitshare.com
  10513.  
  10514. July 22, 2017
  10515. Version 1.4.1.2
  10516. fixed novafile.com
  10517.  
  10518. July 21, 2017
  10519. Version 1.4.1.1
  10520. added premium link detection for filefox.cc
  10521.  
  10522. July 20, 2017
  10523. Version 1.4.1.0
  10524. added filefox.cc
  10525.  
  10526. July 16, 2017
  10527. Version 1.4.0.9
  10528. added
  10529. sendit.cloud
  10530. 9xupload.me
  10531.  
  10532. July 13, 2017
  10533. Version 1.4.0.8
  10534. added backin.net
  10535.  
  10536. July 12, 2017
  10537. Version 1.4.0.7
  10538. added uplea.com to obsolete hosts
  10539.  
  10540. July 11, 2017
  10541. Version 1.4.0.6
  10542. Added
  10543. fileshd.net
  10544. media4up.com
  10545. 700files.com
  10546. megafiles.us
  10547. flexydrive.com
  10548.  
  10549. July 09, 2017
  10550. Version 1.4.0.5
  10551. added dipfile.com
  10552.  
  10553. June 29, 2017
  10554. Version 1.4.0.4
  10555. fixed problem with anonym.to (By yurii)
  10556.  
  10557. June 28, 2017
  10558. Version 1.4.0.3
  10559. fixed fboom & k2s (By yurii)
  10560.  
  10561. June 26, 2017
  10562. Version 1.4.0.2
  10563. fixed filefactory
  10564.  
  10565. June 25, 2017
  10566. Version 1.4.0.1
  10567. added zapfile.net
  10568.  
  10569. June 24, 2017
  10570. Version 1.4.0.0
  10571. added suprafiles.co
  10572.  
  10573. June 24, 2017
  10574. Version 1.3.9.9
  10575. added up-4ever.com
  10576.  
  10577. June 19, 2017
  10578. Version 1.3.9.8
  10579. fixed depfile
  10580.  
  10581. June 16, 2017
  10582. Version 1.3.9.7
  10583. fixed filefactory
  10584.  
  10585. June 06, 2017
  10586. Version 1.3.9.6
  10587. fixed uploads.to
  10588.  
  10589. June 06, 2017
  10590. Version 1.3.9.5
  10591. fixed uploadgig.com
  10592.  
  10593. June 05, 2017
  10594. Version 1.3.9.4
  10595. added clicknupload.org
  10596.  
  10597. May 31, 2017
  10598. Version 1.3.9.3
  10599. fixed tusfiles
  10600.  
  10601. May 25, 2017
  10602. Version 1.3.9.2
  10603. added avatarshare.com
  10604.  
  10605. May 15, 2017
  10606. Version 1.3.9.1
  10607. excluded google.pl
  10608. added code to fileshark.pl
  10609.  
  10610. May 12, 2017
  10611. Version 1.3.9.0
  10612. added owndrives.com
  10613.  
  10614. May 12, 2017
  10615. Version 1.3.8.9
  10616. added hotlink.cc
  10617.  
  10618. May 09, 2017
  10619. Version 1.3.8.8
  10620. added code for kingfile.pl
  10621. added code for catshare.net
  10622.  
  10623. May 08, 2017
  10624. Version 1.3.8.7
  10625. added file-upload.com
  10626.  
  10627. May 04, 2017
  10628. Version 1.3.8.6
  10629. fixed rapidgator
  10630.  
  10631. April 30, 2017
  10632. Version 1.3.8.5
  10633. fixed rapidgator
  10634.  
  10635. April 30, 2017
  10636. Version 1.3.8.4
  10637. added code for kingfile.pl
  10638.  
  10639. April 30, 2017
  10640. Version 1.3.8.3
  10641. changed code for kingfile.pl
  10642.  
  10643. April 29, 2017
  10644. Version 1.3.8.2
  10645. added code to kingfile.pl
  10646.  
  10647. April 29, 2017
  10648. Version 1.3.8.1
  10649. added code to kingfile.pl
  10650.  
  10651. April 28, 2017
  10652. Version 1.3.8.0
  10653. fileshark.pl
  10654. kingfile.pl
  10655. pobierz.to
  10656.  
  10657. April 26, 2017
  10658. Version 1.3.7.9
  10659. fixed 1f.al
  10660.  
  10661. April 16, 2017
  10662. Version 1.3.7.8
  10663. added crazyshare.cc
  10664.  
  10665. April 16, 2017
  10666. Version 1.3.7.7
  10667. fixed uploadgig.com
  10668.  
  10669. April 13, 2017
  10670. Version 1.3.7.6
  10671. added neodrive.co to obsolete hosts
  10672.  
  10673. April 07, 2017
  10674. Version 1.3.7.5
  10675. added french code for rg premium links
  10676.  
  10677. April 05, 2017
  10678. Version 1.3.7.4
  10679. added oload.tv
  10680.  
  10681. March 30, 2017
  10682. Version 1.3.7.3
  10683. added uploads.to
  10684.  
  10685. March 20, 2017
  10686. Version 1.3.7.2
  10687. added black-label.pro to obsolete hosts
  10688.  
  10689. March 13, 2017
  10690. Version 1.3.7.1
  10691. fixed filescdn.com
  10692.  
  10693. February 27, 2017
  10694. Version 1.3.7.0
  10695. fixed openload.co
  10696.  
  10697. February 26, 2017
  10698. Version 1.3.6.9
  10699. fixed drive.google.com
  10700. fixed uptobox.com (by dodoxp)
  10701.  
  10702. February 25, 2017
  10703. Version 1.3.6.8
  10704. added uploading.com to obsolete hosts
  10705.  
  10706. February 24, 2017
  10707. Version 1.3.6.7
  10708. cloudzilla.to added to obsolete hosts
  10709.  
  10710. February 23, 2017
  10711. Version 1.3.6.6
  10712. uploadify.net
  10713.  
  10714. February 22, 2017
  10715. Version 1.3.6.5
  10716. fixed katfile.com
  10717.  
  10718. February 12, 2017
  10719. Version 1.3.6.3
  10720. added junocloud.me to obsolete hosts
  10721.  
  10722. January 12, 2017
  10723. Version 1.3.6.2
  10724. added share.az & upfile.mobi
  10725.  
  10726. January 07, 2017
  10727. Version 1.3.6.1
  10728. added ausfile.com
  10729.  
  10730. January 05, 2017
  10731. Version 1.3.6.0
  10732. removed uploadable.ch from obsolete hosts
  10733.  
  10734. January 04, 2017e
  10735.  
  10736. December 31, 2016
  10737. Version 1.3.5.8
  10738. disabled on pizzaonline.dominos
  10739.  
  10740. December 31, 2016
  10741. Version 1.3.5.7
  10742. added uploadable.ch to obsolete hosts
  10743.  
  10744. December 30, 2016
  10745. Version 1.3.5.6
  10746. restored kingfiles.net
  10747.  
  10748. December 14, 2016
  10749. Version 1.3.5.5
  10750. fixed some 1fichier links not checking (yurii)
  10751.  
  10752. December 01, 2016
  10753. Version 1.3.5.4
  10754. added temp-share.com & filesha.com
  10755.  
  10756. November 30, 2016
  10757. Version 1.3.5.3
  10758. fixed mexashare.com not detecting some dead links
  10759.  
  10760. November 29, 2016
  10761. Version 1.3.5.2
  10762. added black-label.pro (live links only)
  10763.  
  10764. November 27, 2016
  10765. Version 1.3.5.1
  10766. made changes to filefactory
  10767.  
  10768. November 23, 2016
  10769. Version 1.3.5.0
  10770. added megashares.com to obsolete hosts
  10771. fixed letitbit not showing as obsolete
  10772. added littlebyte.net
  10773.  
  10774. November 22, 2016
  10775. Version 1.3.4.9
  10776. added code for live links to rapidgator
  10777. added dailyfiles.net
  10778. added upfiles.net
  10779. added multiup.eu
  10780.  
  10781. November 17, 2016
  10782. Version 1.3.4.8
  10783. fixed filefactory, again
  10784.  
  10785. November 17, 2016
  10786. Version 1.3.4.7
  10787. fixed filefactory folders
  10788.  
  10789. November 15, 2016
  10790. Version 1.3.4.6
  10791. fixed filefactory
  10792.  
  10793. November 14, 2016
  10794. Version 1.3.4.5
  10795. fixed rapidgator
  10796. fixed filefactory folders
  10797.  
  10798.  
  10799. November 13, 2016
  10800. Version 1.3.4.4
  10801. fixed problem with drive.google.com
  10802. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10803.  
  10804. November 06, 2016
  10805. Version 1.3.4.3
  10806. added to obsolete hosts (by love buzz)
  10807. 4up.me
  10808. a nonfiles.com
  10809. axifile.com
  10810. creafile.net
  10811. demo.ovh.eu
  10812. filesin.com
  10813. file swap.com
  10814. gulfup.com
  10815. hexupload.com
  10816. hugefiles.net
  10817. jumbofiles.com
  10818. kingfiles.net
  10819. letitbit.net
  10820. lolabits.es
  10821. nowdownload.ch
  10822. openfile.ru
  10823. radicalshare.com
  10824. remixshare.com
  10825. storefiles.co
  10826. toutbox.fr
  10827. uploadbaz.com
  10828. uploadingit.com
  10829. verzend.be
  10830. vidplay.net
  10831. vidxden.com
  10832. xfileload.com
  10833.  
  10834. November 04, 2016
  10835. Version 1.3.4.2
  10836. added french code for rapidgator premium links
  10837. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10838.  
  10839. November 03, 2016
  10840. Version 1.3.4.1
  10841. added Portuguese code for rapidgator premium links
  10842. added suprafiles.net
  10843.  
  10844. November 02, 2016
  10845. Version 1.3.4.0
  10846. fixed depositfiles not detecting depositfiles.com/de links
  10847.  
  10848. October 27, 2016
  10849. Version 1.3.3.9
  10850. fixed uploaded.net not detecting some dead links
  10851.  
  10852. October 24, 2016
  10853. Version 1.3.3.8
  10854. added more french code for upload.af dead links
  10855.  
  10856. October 23, 2016
  10857. Version 1.3.3.7
  10858. added french for upload.af dead links
  10859.  
  10860. October 17, 2016
  10861. Version 1.3.3.6
  10862. fixed error (by Yurii)
  10863.  
  10864. October 17, 2016
  10865. Version 1.3.3.5
  10866. fixed file.al (by Yurii)
  10867.  
  10868. October 16, 2016
  10869. Version 1.3.3.4
  10870. test
  10871.  
  10872. October 11, 2016
  10873. Version 1.3.3.3
  10874. fixed subyshare.com not detecting some dead links
  10875. fixed mexashare.com
  10876. fixed pornfile.cz
  10877.  
  10878. October 10, 2016
  10879. Version 1.3.3.2
  10880. added fileflares.com
  10881. added erafile.com
  10882. added loop to subyshare.com & rockfile.eu
  10883.  
  10884. September 26, 2016
  10885. Version 1.3.3.1
  10886. added uploadocean.com
  10887.  
  10888. September 25, 2016
  10889. Version 1.3.3.0
  10890. added exbit.net
  10891.  
  10892. September 25, 2016
  10893. Version 1.3.2.9
  10894. fixed uptobox
  10895. fixed google (by kubbbie)
  10896.  
  10897. September 23, 2016
  10898. Version 1.3.2.8
  10899. added danish to rapidgator
  10900.  
  10901. September 22, 2016
  10902. Version 1.3.2.7
  10903. added wayupload.com
  10904.  
  10905. September 18, 2016
  10906. Version 1.3.2.6
  10907. added Portuguese language to rapidgator
  10908.  
  10909. September 15, 2016
  10910. Version 1.3.2.5
  10911. added languages to rapidgator
  10912. french
  10913. german
  10914. spanish
  10915. Italian
  10916. russian
  10917. polish
  10918. dutch
  10919. czech
  10920. chinese
  10921. japanese
  10922.  
  10923. September 14, 2016
  10924. Version 1.3.2.4
  10925. fixed spaceforfiles.com
  10926.  
  10927. September 09, 2016
  10928. Version 1.3.2.3
  10929. added bdupload.info
  10930. added german & deutsch language to workupload.com
  10931.  
  10932. September 08, 2016
  10933. Version 1.3.2.2
  10934. added...
  10935. storageserver.co.uk
  10936. cloud.mail.ru
  10937. fixed depositfiles
  10938.  
  10939. September 08, 2016
  10940. Version 1.3.2.1
  10941. added workupload.com
  10942.  
  10943. September 04, 2016
  10944. Version 1.3.2.0
  10945. made changes to euroshare.eu
  10946.  
  10947. September 03, 2016
  10948. Version 1.3.1.9
  10949. added usercloud.net
  10950. made changes to euroshare.eu
  10951.  
  10952. August 31, 2016
  10953. Version 1.3.1.8
  10954. fixed uptobox.com
  10955.  
  10956. August 30, 2016
  10957. Version 1.3.1.7
  10958. made changes to euroshare.eu
  10959.  
  10960. August 29, 2016
  10961. Version 1.3.1.6
  10962. made changes to data.hu
  10963.  
  10964. August 29, 2016
  10965. Version 1.3.1.5
  10966. fixed euroshare.eu not detecting dead links
  10967.  
  10968. August 23, 2016
  10969. Version 1.3.1.4
  10970. added ulozto.sk
  10971. added ulozto.cz
  10972.  
  10973. August 19, 2016
  10974. Version 1.3.1.3
  10975. fixed euroshare.eu
  10976. fixed 2share.com
  10977.  
  10978. August 17, 2016
  10979. Version 1.3.1.2
  10980. added french code for 1fichier
  10981.  
  10982. August 16, 2016
  10983. Version 1.3.1.1
  10984. fix for 1fichier folder links, by yurii
  10985.  
  10986. August 15, 2016
  10987. Version 1.3.1.0
  10988. another fix for 1fichier
  10989. added mystore.to
  10990.  
  10991. August 12, 2016
  10992. Version 1.3.0.9
  10993. fixed 1fichier
  10994.  
  10995. August 01, 2016
  10996. Version 1.3.0.8
  10997. fixed tezfiles.com not detecting some premium links
  10998.  
  10999. July 24, 2016
  11000. Version 1.3.0.7
  11001. added fileshareup.com
  11002.  
  11003. July 17, 2016
  11004. Version 1.3.0.6
  11005. added subyshare.com
  11006.  
  11007. july 10, 2016
  11008. Version 1.3.0.5
  11009. fixed ulozto.net
  11010.  
  11011. july 07, 2016
  11012. Version 1.3.0.4
  11013. fixed uloz.to
  11014.  
  11015. july 07, 2016
  11016. Version 1.3.0.3
  11017. added imagenetz.de
  11018.  
  11019. June 23, 2016
  11020. Version 1.3.0.2
  11021. excluded nexcess.net
  11022.  
  11023. June 20, 2016
  11024. Version 1.3.0.1
  11025. added daofile.com
  11026.  
  11027. June 16, 2016
  11028. Version 1.3.0.0
  11029. added mexashare.com
  11030.  
  11031. June 16, 2016
  11032. Version 1.2.9.9
  11033. added novafile.com
  11034. added uploadgig.com
  11035.  
  11036. June 15, 2016
  11037. Version 1.2.9.8
  11038. fixed upload.af
  11039.  
  11040. June 10, 2016
  11041. Version 1.2.9.7
  11042. added alltu.eu
  11043.  
  11044. June 09, 2016
  11045. Version 1.2.9.6
  11046. added code for french language to rapidgator.net & rg.to
  11047.  
  11048. June 04, 2016
  11049. Version 1.2.9.5
  11050. added upnito.sk
  11051.  
  11052. May 31, 2016
  11053. Version 1.2.9.4
  11054. fixed mega.co (by yurii)
  11055.  
  11056. May 31, 2016
  11057. Version 1.2.9.3
  11058. code cleanup
  11059.  
  11060. May 27, 2016
  11061. Version 1.2.9.2
  11062. added filesin.space
  11063.  
  11064. May 27, 2016
  11065. Version 1.2.9.1
  11066. added
  11067. filescdn.com
  11068. bankupload.com
  11069. katfile.com
  11070.  
  11071. May 18, 2016
  11072. Version 1.2.9.0
  11073. added warped.co to obsolete hosts
  11074.  
  11075. May 17, 2016
  11076. Version 1.2.8.9
  11077. fixed mega.nz
  11078.  
  11079. May 16, 2016
  11080. Version 1.2.8.8
  11081. added to obsolete hosts
  11082. fileband.com
  11083. filecloud.cc
  11084. filesmelt.com
  11085. goldbytez.com
  11086. hulkshare.com
  11087. idup.in
  11088. loudupload.net
  11089. muchshare.net
  11090. myupload.dk
  11091. nekaka.com
  11092. netkups.com
  11093. plunder.com
  11094. uploads.xxx
  11095. uploadspace.pl
  11096. xkeepfile.com
  11097.  
  11098. May 16, 2016
  11099. Version 1.2.8.7
  11100. added upnito.sk to obsolete hosts
  11101.  
  11102. May 15, 2016
  11103. Version 1.2.8.6
  11104. fixed uploading.site
  11105.  
  11106. May 15, 2016
  11107. Version 1.2.8.5
  11108. added oload.net
  11109.  
  11110. May 14, 2016
  11111. Version 1.2.8.4
  11112. added uploading.site
  11113.  
  11114. May 13, 2016
  11115. Version 1.2.8.3
  11116. added uploadc.ch
  11117. fixed vidspot.net
  11118.  
  11119. May 13, 2016
  11120. Version 1.2.8.2
  11121. added keepshare.net
  11122.  
  11123. May 11, 2016
  11124. Version 1.2.8.1
  11125. added uploadserv.com
  11126.  
  11127. May 09, 2016
  11128. Version 1.2.8.0
  11129. fixed upstore.net & upsto.re
  11130. added 24uploading.com to obsolete hosts
  11131.  
  11132. May 06, 2016
  11133. Version 1.2.7.9
  11134. added storagon.com to obsolete hosts
  11135. fixed worldbytez.com
  11136.  
  11137. May 02, 2016
  11138. Version 1.2.7.8
  11139. added myfiles.onl
  11140.  
  11141. april 28, 2016
  11142. Version 1.2.7.7
  11143. fixed bytewhale.com
  11144.  
  11145. april 27, 2016
  11146. Version 1.2.7.6
  11147. fixed rapidgator not detecting some premium links.
  11148.  
  11149. april 27, 2016
  11150. Version 1.2.7.5
  11151. added jeodrive.com
  11152.  
  11153. april 26, 2016
  11154. Version 1.2.7.4
  11155. added sanshare.com to obsolete hosts
  11156.  
  11157. april 26, 2016
  11158. Version 1.2.7.3
  11159. fixed vidspot.net
  11160.  
  11161. april 26, 2016
  11162. Version 1.2.7.2
  11163. added upx.nz
  11164.  
  11165. april 25, 2016
  11166. Version 1.2.7.1
  11167. added rapidfilehost.com to obsolete hosts
  11168. fixed bitster.cz
  11169.  
  11170. april 12, 2016
  11171. Version 1.2.7.0
  11172. fixed rapidgator not detecting some premium links.
  11173.  
  11174. april 11, 2016
  11175. Version 1.2.6.9
  11176. changed code for ncrypt.in
  11177.  
  11178. april 07, 2016
  11179. Version 1.2.6.8
  11180. added fileinz.com to obsolete hosts.
  11181.  
  11182. april 06, 2016
  11183. Version 1.2.6.7
  11184. added sharingmaster.com to obsolete hosts.
  11185.  
  11186. april 05, 2016
  11187. Version 1.2.6.6
  11188. added 4upfiles.com & elffiles.com to obsolete hosts
  11189.  
  11190. april 03, 2016
  11191. Version 1.2.6.5
  11192. updates to configuration page
  11193.  
  11194. March 31, 2016
  11195. Version 1.2.6.4
  11196. added code for tampermonkey 4.0 compatibility
  11197.  
  11198. March 31, 2016
  11199. Version 1.2.6.3
  11200. fixed uloz.to
  11201. fixed copy dead links to clipboard feature
  11202. added copy live links to clipboard feature.
  11203.  
  11204. March 24, 2016
  11205. Version 1.2.6.2
  11206. changed made to nitroflare. (yurri)
  11207.  
  11208. March 20, 2016
  11209. Version 1.2.6.1
  11210. fixed rapidgator
  11211. fixed dfiles
  11212. fixed dl.free.fr
  11213. fixed nitroflare.com (Fixed by Yurii)
  11214.  
  11215. March 15, 2016
  11216. Version 1.2.6.0
  11217. fixed rapidgator.net
  11218. fixed uploaded.net
  11219.  
  11220. March 13, 2016
  11221. Version 1.2.5.9
  11222. added
  11223. uploads.ws
  11224. upl.me
  11225. clicknupload.link
  11226. added fileover.net to obsolete hosts
  11227. fixed kingfiles.net
  11228.  
  11229. March 09, 2016
  11230. Version 1.2.5.8
  11231. added kingfiles.net to obsolete hosts
  11232. fixed 4upld.com/expressleech.com
  11233.  
  11234. March 08, 2016
  11235. Version 1.2.5.7
  11236. fixed solidfiles.com
  11237.  
  11238. March 01, 2016
  11239. Version 1.2.5.6
  11240. added filespace.com
  11241. fixed depositfiles (by yurii)
  11242.  
  11243. February 29, 2016
  11244. Version 1.2.5.5
  11245. made change to keep2share
  11246.  
  11247. February 28, 2016
  11248. Version 1.2.5.4
  11249. removed down4files.com from obsolete hosts.
  11250.  
  11251. February 26, 2016
  11252. Version 1.2.5.3
  11253. fixed userscloud.com
  11254.  
  11255. February 24, 2016
  11256. Version 1.2.5.2
  11257. added yandex.com
  11258. fixed datafile.com
  11259.  
  11260. February 22, 2016
  11261. Version 1.2.5.1
  11262. added bigfile.to
  11263.  
  11264. February 20, 2016
  11265. Version 1.2.5.0
  11266. added abelhas.pt
  11267.  
  11268. February 18, 2016
  11269. Version 1.2.4.9
  11270. made change to uptobox
  11271.  
  11272. February 17, 2016
  11273. Version 1.2.4.8
  11274. fixed yadi.sk
  11275.  
  11276. February 16, 2016
  11277. Version 1.2.4.7
  11278. fixed datafile.com
  11279. fixed filecad.com
  11280. added filecore.co & filestorm.to to obsolete hosts
  11281. added upload.af, filedwon.in & uplod.it
  11282.  
  11283. February 15, 2016
  11284. Version 1.2.4.6
  11285. fixed kumpulbagi.id
  11286. added sangfile.com to obsolete hosts
  11287.  
  11288. February 14, 2016
  11289. Version 1.2.4.5
  11290. fixed yandex.ru
  11291.  
  11292. February 13, 2016
  11293. Version 1.2.4.4
  11294. added lunaticfiles.com.
  11295.  
  11296. February 09, 2016
  11297. Version 1.2.4.3
  11298. added file.up09.com.
  11299.  
  11300. February 09, 2016
  11301. Version 1.2.4.2
  11302. tezfiles.com premium links now detected.
  11303.  
  11304. February 09, 2016
  11305. Version 1.2.4.1
  11306. added seenupload.com to obsolete hosts
  11307. fixed 180upload.com to show obsolete
  11308.  
  11309. February 08, 2016
  11310. Version 1.2.4.0
  11311. added tusfiles.com
  11312. added filesupload.org
  11313. added gigasize.com
  11314. added filecad.com
  11315. fixed filecloud.io
  11316. added uploadnet.co to obsolete hosts
  11317.  
  11318. February 07,2016
  11319. Vession 1.2.3.9
  11320. fixed depositfiles.com folders
  11321. fixed turbobit.net folders
  11322.  
  11323. February 06, 2016
  11324. Version 1.2.3.8
  11325. fixed 1fichier false dead links
  11326.  
  11327. February 04, 2106
  11328. Version 1.2.3.7
  11329. added geupload and lenfile to obsolete hosts
  11330. fixed kyc.pm/depfile
  11331.  
  11332. February 03, 2016
  11333. Version 1.2.3.6
  11334. fixed some nitroflare.com dead links not being detected
  11335.  
  11336. February 01, 2016
  11337. Version 1.2.3.5
  11338. script moved to new site
  11339.  
  11340. January 20, 2016
  11341. Version 1.2.3.3
  11342. fixed some rapidgator premium link not being detected
  11343.  
  11344. January 17, 2016
  11345. Version 1.2.3.2
  11346. added bytewhale.com
  11347. added rapidrar.com
  11348.  
  11349. Version 1.2.3.1
  11350. added 180upload.com to obsolete hosts
  11351. fixed hellspy.com
  11352. added dinoshare.cz,
  11353.  
  11354. January 13, 2016
  11355. Version 1.2.3.0
  11356. added rapidu.net
  11357. added uploadboy.me
  11358. fixed euroshare.eu
  11359.  
  11360. January 12, 2016
  11361. Version 1.2.2.9
  11362. added kb.simple-aja.info
  11363.  
  11364. January 10, 2016
  11365. Version 1.2.2.8
  11366. made changes to fastshare.cz
  11367.  
  11368. January 10, 2016
  11369. Version 1.2.2.7
  11370. fixed uptobox.com
  11371.  
  11372. January 09, 2016
  11373. Version 1.2.2.6
  11374. datoteke.com now detects premium links
  11375. fixed turbobit.net
  11376. fixed uptobox.com
  11377. added pornfile.cz
  11378. added pornoid.cz
  11379. added file-share.top
  11380. added bitster.cz
  11381.  
  11382. January 05, 2016
  11383. Version 1.2.2.5
  11384. fixed salefiles.com
  11385. fixed ozofile.com
  11386.  
  11387. January 04, 2016
  11388. Version 1.2.2.4
  11389. added sharehost.eu
  11390.  
  11391. December 30, 2015
  11392. Version 1.2.2.3
  11393. added tezfiles.com
  11394.  
  11395. December 28, 2015
  11396. Version 1.2.2.2
  11397. fixed some k2s & fboom dead link not getting detected
  11398. fixed some k2s premium links not getting detected.
  11399. fixed ssh.yt not detecting some dead links
  11400. fixed ncrypt.in dead links showing yellow
  11401.  
  11402. December 20, 2015
  11403. Version 1.2.2.0
  11404. added datoteke.com
  11405.  
  11406. December 19, 2015
  11407. Version 1.2.1.9
  11408. added secured.in & linksave.in to obsolete hosts
  11409.  
  11410. December 17, 2015
  11411. Version 1.2.1.8
  11412. added german for dead links to secureupload.eu.
  11413.  
  11414. December 17, 2015
  11415. Version 1.2.1.7
  11416. added french for dead links to secureupload.eu.
  11417. fixed problem with tooltip display.
  11418.  
  11419. December 13, 2015
  11420. Version 1.2.1.6
  11421. added netload.me & fileparadox.in to obsolete hosts
  11422.  
  11423. December 09, 2015
  11424. Version 1.2.1.5
  11425. added rapidsonic.com & fileparadox.com to obsolete hosts
  11426.  
  11427. December 04, 2015
  11428. Version 1.2.1.4
  11429. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  11430.  
  11431. December 03, 2015
  11432. Version 1.2.1.3
  11433. added dailyuploads.net
  11434.  
  11435. December 02, 2015
  11436. Version 1.2.1.2
  11437. fixed hitfile.net
  11438. fixed kingfiles.net
  11439.  
  11440. November 30, 2015
  11441. Version 1.2.1.1
  11442. added filepost.com to obsolete hosts
  11443. added devilshare.net
  11444.  
  11445. November 28, 2015
  11446. Version 1.2.1.0
  11447. fixed datafile.com not detecting some premium links.
  11448.  
  11449. November 25, 2015
  11450. Version 1.2.0.9
  11451. fixed filejoker.net
  11452. fixed toutbox.fr
  11453. fixed nowvideo.sx
  11454.  
  11455. November 24, 2015
  11456. Version 1.2.0.8
  11457. fixed openload.io
  11458.  
  11459. November 20, 2015
  11460. Version 1.2.0.7
  11461. //added file.al
  11462. //fixed nitroflare.com false live links
  11463. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  11464.  
  11465. November 17, 2015
  11466. Version 1.2.0.6
  11467. added clicknupload.me
  11468.  
  11469. November 09, 2015
  11470. Version 1.2.0.5
  11471. fixed some depfile premium links not being detected
  11472.  
  11473. November 08, 2015
  11474. Version 1.2.0.4
  11475. fixed some rapidgator premium links not being detected
  11476. fixed doraupload.com
  11477.  
  11478. November 08, 2015
  11479. Version 1.2.0.3
  11480. fixed uploaded false premium
  11481.  
  11482. November 07, 2015
  11483. Version 1.2.0.2
  11484. fixed redbunker.net
  11485.  
  11486. November 05, 2015
  11487. Version 1.2.0.1
  11488. fixed app.box.com
  11489. added multiup.org (does not detect all dead links)
  11490.  
  11491. November 01, 2015
  11492. Version 1.2.0.0
  11493. added more languages to rockfile and 1fichier
  11494.  
  11495. November 01, 2015
  11496. Version 1.1.9.9
  11497. fixed rockfile.eu
  11498. changed 1fichier code (Thanks yurri)
  11499. added to obsolete hosts... (Thanks Love Buzz)
  11500. burnupload.com
  11501. cramit.in
  11502. cramitin.net
  11503. down4files.com
  11504. edoc.com
  11505. jumbofile.net
  11506. krotix.net
  11507. migahost.com
  11508. movreel.com
  11509. netload.in
  11510. newfileland.com
  11511. quickshare.cz
  11512.  
  11513. October 30, 2015
  11514. Version 1.1.9.8
  11515. added alfafile.net
  11516.  
  11517. October 26, 2015
  11518. Version 1.1.9.7
  11519. changed datafile.com and uplea.com
  11520. added lolabits.es
  11521.  
  11522. October 26, 2015
  11523. Version 1.1.9.6
  11524. added toutbox.fr
  11525.  
  11526. October 25, 2015
  11527. Version 1.1.9.5
  11528. fixed counter error
  11529.  
  11530. October 25, 2015
  11531. Version 1.1.9.4
  11532. changed uptobox.com code
  11533.  
  11534. October 21, 2015
  11535. Version 1.1.9.3
  11536. fixed uptobox.com
  11537.  
  11538. October 20, 2015
  11539. Version 1.1.9.2
  11540. bug fixes and new method of detecting premium links.
  11541.  
  11542. October 15, 2015
  11543. Version 1.1.9.1
  11544. fixed hugefiles.net false premium
  11545. changed uptobox.com code
  11546.  
  11547. October 06, 2015
  11548. Version 1.1.9.0
  11549. fixed filefactory
  11550. fixed rockfile false premium
  11551. keep2share & fileboom now detect premium links (fixed by yurii)
  11552.  
  11553. October 01, 2015
  11554. Version 1.1.8.9
  11555. fixed free.fr false premium
  11556. fixed thevideo.me false premium
  11557.  
  11558. September 28, 2015
  11559. Version 1.1.8.8
  11560. added uplea.com and openload.co
  11561.  
  11562. September 27, 2015
  11563. Version 1.1.8.7
  11564. fixed fileparadox.in false premium
  11565. added kingfiles.net to obsolete hosts
  11566. removed inafile.com from obsolete hosts
  11567.  
  11568. September 22, 2015
  11569. Version 1.1.8.6
  11570. fixed nitroflare false premium
  11571.  
  11572. September 22, 2015
  11573. Version 1.1.8.5
  11574. fixed userscloud.com false premium
  11575. fixed usersfiles.com false premium
  11576. changed arabloads.com to arabloads.net
  11577. changed nowdownloads.eu to nowdownloads.ch
  11578.  
  11579. September 21, 2015
  11580. Version 1.1.8.3
  11581. added ryushare.com to obsolete hosts.
  11582.  
  11583. September 20, 2015
  11584. Version 1.1.8.2
  11585. fixed nitroflare not showing premium links
  11586. added down4files.com,storfiles.co,filehost.pw
  11587.  
  11588. September 16, 2015
  11589. Version 1.1.8.1
  11590. added crisshare.com to obsolete hosts
  11591. fixed filemoney.com false premium
  11592. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11593.  
  11594. September 14, 2015
  11595. Version 1.1.8.0
  11596. added to obsolete hosts...
  11597. sharebeast.com
  11598. tufiles.ru
  11599.  
  11600. September 12, 2015
  11601. Version 1.1.7.9
  11602. fixed rghost.net false premium
  11603. fixed unlimitzone.com false premium
  11604. fixed turbobit.net false live link
  11605.  
  11606. September 11, 2015
  11607. Version 1.1.7.8
  11608. Fixed filefactory.com false premium.
  11609.  
  11610. September 07, 2015
  11611. Version 1.1.7.7
  11612. fixed "depositfiles.com/en/files" links not checking
  11613.  
  11614. September 06, 2015
  11615. Version 1.1.7.6
  11616. added French code for 1fichier
  11617.  
  11618. August 29, 2015
  11619. Version 1.1.7.5
  11620. fixed depositfiles
  11621. fixed mega.co.nz/mega.nz
  11622. (fixed by yurii)
  11623.  
  11624. August 23, 2015
  11625. Version 1.1.7.4
  11626. Fixed uploadrocket (by yurii)
  11627.  
  11628. August 20, 2015
  11629. Version 1.1.7.3
  11630. fixed depfile.com false premium
  11631. fixed 1fichier false premium
  11632. fixed rapidgator false premium
  11633.  
  11634. August 08, 2015
  11635. Version 1.1.7.1
  11636. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11637.  
  11638. August 07, 2015
  11639. Version 1.1.7.0
  11640. fixed...
  11641. streamin.to
  11642. thefile.me
  11643. vidzi.tv
  11644. added...
  11645. filenuke.com
  11646. vidto.me
  11647. vidspot.net
  11648. sharesix.com
  11649. sharesix.net
  11650. movpod.in,
  11651.  
  11652. August 07, 2015
  11653. Version 1.1.6.9 added...
  11654. thefile.me
  11655. vidzi.tv
  11656. videoweed.es
  11657. vodlocker.com
  11658. nowvideo.sx
  11659. cloudtime.to
  11660. thevideo.me
  11661. vidbull.com
  11662. allmyvideos.net
  11663. novamov.com
  11664. filehoot.com
  11665. stagevu.com
  11666. gorillavid.in
  11667. streamin.to
  11668.  
  11669. August 02, 2015
  11670. Version 1.1.6.8
  11671. added cloudshares.net
  11672.  
  11673. August 01, 2015
  11674. Version 1.1.6.7
  11675. fixed depfile redirectors false premium
  11676.  
  11677. July 31, 2015
  11678. Version 1.1.6.6
  11679. fixed depfile.com false premium
  11680. */