W.A.R. Links Checker Premium

detects live, dead and premium links.

目前為 2017-06-18 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAY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LiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @exclude https://www.google.pl*
  15. // @include http://*
  16. // @include https://*
  17. // @include file:///*
  18. // @grant GM_setValue
  19. // @grant GM_getValue
  20. // @grant GM_xmlhttpRequest
  21. // @grant GM_log
  22. // @grant GM_addStyle
  23. // @grant GM_registerMenuCommand
  24. // @grant GM_getResourceText
  25. // @grant GM_info
  26. // @grant GM_setClipboard
  27. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  28. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  29. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  30. // @homepage http://usa.x10host.com/mybb
  31. // @namespace war premium
  32. // @noframes
  33. // @version 1.3.9.7
  34. // ==/UserScript==
  35.  
  36. var War_version = "1.3.9.7 June 16, 2017";
  37.  
  38. //separate alternative domains with "|" char (first name is considered being main)
  39. var allHostNames = [
  40. "1fichier.com|dl4free.com",
  41. "avatarshare.com",
  42. "owndrives.com",
  43. "hotlink.cc",
  44. "fileshark.pl",
  45. "pobierz.to",
  46. "kingfile.pl",
  47. "oload.tv",
  48. "uploads.to",
  49. "uploadify.net",
  50. "temp-share.com",
  51. "ausfile.com",
  52. "filesha.com",
  53. "upfiles.net",
  54. "dailyfiles.net",
  55. "upfile.mobi",
  56. "share.az",
  57. "crazyshare.cc",
  58. "uploadocean.com",
  59. "drive.google.com",
  60. "suprafiles.net",
  61. "fileflares.com",
  62. "erafile.com",
  63. "mystore.to",
  64. "littlebyte.net",
  65. "exbit.net",
  66. "bdupload.info",
  67. "workupload.com",
  68. "wayupload.com",
  69. "cloud.mail.ru",
  70. "fileshareup.com",
  71. "usercloud.net",
  72. "daofile.com",
  73. "subyshare.com",
  74. "mexashare.com",
  75. "uploadgig.com",
  76. "upload.af",
  77. "alltu.eu",
  78. "filesin.space",
  79. "imagenetz.de",
  80. "katfile.com",
  81. "bankupload.com",
  82. "keepshare.net",
  83. "filescdn.com",
  84. "myfiles.onl",
  85. "uploadserv.com",
  86. "uploading.site",
  87. "filedwon.info",
  88. "jeodrive.com",
  89. "ncrypt.in",
  90. "yandex.com",
  91. "down4files.com",
  92. 'filespace.com',
  93. "uplod.it",
  94. "rapidu.net",
  95. "uploads.ws|upl.me",
  96. "file.up09.com",
  97. "lunaticfiles.com",
  98. "filecad.com",
  99. "filesupload.org",
  100. "bytewhale.com",
  101. "rapidrar.com",
  102. "download.cz.hellshare.com",
  103. "pornfile.cz",
  104. "dinoshare.cz",
  105. "kb.simple-aja.info",
  106. "bitster.cz",
  107. "file-share.top",
  108. "pornoid.cz",
  109. "dailyuploads.net",
  110. "sharehost.eu",
  111. "tezfiles.com",
  112. "devilshare.net",
  113. "alfafile.net",
  114. "openload.co",
  115. "multiup.org",
  116. "uplea.com",
  117. "filenuke.com",
  118. "file.al|1f.al",
  119. "vidto.me",
  120. "filehost.pw",
  121. "turbobit.ru",
  122. "sharesix.com|sharesix.net",
  123. "movpod.in",
  124. "thefile.me",
  125. "datoteke.com",
  126. "vidzi.tv",
  127. "videoweed.es",
  128. "vodlocker.com",
  129. "nowvideo.sx",
  130. "cloudtime.to",
  131. "thevideo.me",
  132. "vidbull.com",
  133. "novamov.com",
  134. "filehoot.com",
  135. "stagevu.com",
  136. "gorillavid.in",
  137. "streamin.to",
  138. "4upld.com|expressleech.com",
  139. "cloudshares.net",
  140. "swoopshare.com",
  141. "2shared.com",
  142. "fileupload.pw",
  143. "zxcfiles.com",
  144. "up07.net",
  145. "4shared.com",
  146. "adrive.com",
  147. "aisfile.com",
  148. "bezvadata.cz",
  149. "usersfiles.com",
  150. "pan.baidu.com",
  151. "datei.to",
  152. "daten-hoster.de|filehosting.org|xtraupload.de",
  153. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  154. "divshare.com",
  155. "easy-share.com|crocko.com",
  156. "easybytez.com",
  157. "edisk.cz",
  158. "euroshare.eu",
  159. "file-upload.net",
  160. "file-upload.com",
  161. "yadi.sk",
  162. "wizupload.com",
  163. "fastshare.cz",
  164. "filefactory.com",
  165. "share.vnn.vn",
  166. "yunpan.cn",
  167. "tropicshare.com",
  168. "inclouddrive.com",
  169. "fileflyer.com",
  170. "filerio.com|filekeen.com",
  171. "up.4share.vn",
  172. "upfile.vn",
  173. "datafilehost.com",
  174. "worldbytez.com",
  175. "files.mail.ru",
  176. "filesflash.com",
  177. "box.com",
  178. "uptobox.com",
  179. "box.net",
  180. "sdilej.cz",
  181. "ex-load.com",
  182. "filesmonster.com",
  183. "filestore.to",
  184. "hulkload.com",
  185. "filedropper.com",
  186. "free-uploading.com",
  187. "gamefront.com|filefront.com",
  188. "gettyfile.ru",
  189. "gigapeta.com",
  190. "gigasize.com",
  191. "hellshare.com",
  192. "hellspy.com",
  193. "hitfile.net",
  194. "hostuje.net",
  195. "freefilehosting.net",
  196. "free.fr",
  197. "hyperfileshare.com",
  198. "filecloud.io|ifile.it",
  199. "ifolder.ru",
  200. "uploadrocket.net",
  201. "lafiles.com",
  202. "leteckaposta.cz|sharegadget.com",
  203. "load.to",
  204. "mediafire.com",
  205. "megafileupload.com",
  206. "movshare.net",
  207. "narod.ru|narod.yandex.ru",
  208. "fboom.me|fileboom.me",
  209. "partage-facile.com",
  210. "sharerapid.cz",
  211. "exclusiveloader.com",
  212. "acefile.net",
  213. "queenshare.com",
  214. "rapidgator.net",
  215. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  216. "oboom.com",
  217. "filepi.com",
  218. "rarefile.net",
  219. "rayfile.com",
  220. "rghost.net",
  221. "sendmyway.com",
  222. "clicknupload.com",
  223. "clicknupload.me",
  224. "clicknupload.link",
  225. "clicknupload.org",
  226. "uploadable.ch",
  227. "sharemods.com",
  228. "hostr.co",
  229. "sendspace.com",
  230. "sharecash.org",
  231. "share-links.biz",
  232. "share-online.biz|egoshare.com",
  233. "megarapid.cz",
  234. "shareflare.net",
  235. "solidfiles.com",
  236. "led.wf",
  237. "lan.wf",
  238. "adlink.wf",
  239. "click.tf",
  240. "kyc.pm",
  241. "ssh.tf",
  242. "ssh.yt",
  243. "yep.pm",
  244. "stahovanizasms.cz",
  245. "turbobit.net",
  246. "tikfile.com",
  247. "cloudsix.me",
  248. "turboupload.com",
  249. "uloz.to",
  250. "ulozto.net",
  251. "ulozto.sk",
  252. "ulozto.cz",
  253. "ulozisko.sk",
  254. "uloziste.com",
  255. "unibytes.com",
  256. "upload-il.net|przeslij.net",
  257. "uploaded.to|uploaded.net|ul.to",
  258. "chayfile.com",
  259. "rockfile.eu",
  260. "usaupload.net",
  261. "veehd.com",
  262. "videobb.com",
  263. "vip-file.com",
  264. "webshare.cz",
  265. "xdisk.cz",
  266. "yunfile.com|filemarkets.com",
  267. "ziddu.com",
  268. "zippyshare.com",
  269. "rodfile.com",
  270. "wikiupload.com",
  271. "uploadstube.de",
  272. "faststore.org",
  273. "flyfiles.net",
  274. "prefiles.com",
  275. "hackerbox.org",
  276. "amonshare.com",
  277. "data.hu",
  278. "brupload.net",
  279. "kingfiles.net",
  280. "userscloud.com",
  281. "kumpulbagi.com|kumpulbagi.id",
  282. "uppit.com|up.ht|upx.nz",
  283. "downloadani.me",
  284. "filesabc.com",
  285. "extmatrix.com",
  286. "sendfiles.nl",
  287. "yourfilestore.com",
  288. "filebig.net",
  289. "file4safe.com",
  290. "tusfiles.net|tusfiles.com",
  291. "filemac.com",
  292. "ozofiles.com",
  293. "nosupload.com",
  294. "gboxes.com",
  295. "myvdrive.com|fileserving.com",
  296. "novafile.com",
  297. "longfiles.com",
  298. "bitupload.com",
  299. "indowebster.com",
  300. "superload.cz",
  301. "mafiastorage.com",
  302. "hellupload.com",
  303. "stiahni.si",
  304. "sendspace.pl",
  305. "fastshare.org",
  306. "filejoker.net",
  307. "filestore.com.ua",
  308. "rapidfileshare.net",
  309. "stiahnito.sk",
  310. "rusfolder.com",
  311. "catshare.net",
  312. "mixturecloud.com",
  313. "filedais.com",
  314. // "imdb.com",
  315. "nitroflare.com",
  316. "akafile.com",
  317. "up.top4top.net",
  318. "upload.ee",
  319. "shareplace.org",
  320. "uploadc.com",
  321. "uploadc.ch",
  322. "exoshare.com",
  323. "borncash.org",
  324. "2downloadz.com",
  325. "mightyupload.com",
  326. "anysend.com",
  327. "datafile.com",
  328. "upstore.net",
  329. "upsto.re",
  330. "speedy.sh",
  331. "ge.tt",
  332. "filesflash.net",
  333. "salefiles.com",
  334. "datoid.cz",
  335. "cloudstor.es",
  336. "streamfile.com",
  337. "eyesfile.ca",
  338. "filemoney.com",
  339. "uploadboy.com",
  340. "uploadboy.me",
  341. "speedshare.eu",
  342. "google.com|google.be",
  343. "unlimitzone.com",
  344. "rioupload.com",
  345. "rg.to",
  346. "jumbofiles.org",
  347. "fshare.vn",
  348. "spaceforfiles.com",
  349. "up.media1fire.com",
  350. "depfile.com",
  351. "go4up.com",
  352. "dropbox.com",
  353. "redbunker.net",
  354. "divxpress.com",
  355. "mega.nz|mega.co.nz",
  356. "storageserver.co.uk",
  357. "anafile.com",
  358. "bigfile.to",
  359. "arabloads.net",
  360. "sharerepo.com",
  361. "sfshare.se",
  362. "files.fm",
  363. "koofile.com",
  364. "doraupload.com",
  365. "openload.io",
  366. "upnito.sk",
  367. "oload.net",
  368. ];
  369.  
  370. try
  371. {
  372. //iframes excluded
  373. if (window.top != window.self)
  374. {
  375. return;
  376. }
  377. //allHostNames sites excluded
  378. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  379. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  380. ")"))
  381. {
  382. return;
  383. }
  384. }
  385. catch (e)
  386. {
  387. return;
  388. }
  389.  
  390. //separate alternative domains with "|" char (first name is considered being main)
  391. var allContainerNames = [
  392. "adf.ly",
  393. "linkcrypt.ws",
  394. "linksafe.me",
  395. // "linksave.in",
  396. "linkto.net",
  397. "madlink.sk",
  398. "multiload.cz",
  399. "mirrorcreator.com",
  400. // "ncrypt.in",
  401. "redi.re",
  402. "relink.us",
  403. "safelinking.net",
  404. "theloo.katt.it",
  405. "bit.ly",
  406.  
  407. ];
  408.  
  409. //separate alternative domains with "|" char (first name is considered being main)
  410. var allObsoleteNames = [
  411. "black-label.pro",
  412. "4up.me",
  413. "anonfiles.com",
  414. "axifile.com",
  415. "creafile.net",
  416. "cloudzilla.to",
  417. "neodrive.co",
  418. "demo.ovh.eu",
  419. "filesin.com",
  420. "fileswap.com",
  421. "junocloud.me",
  422. "gulfup.com",
  423. "hexupload.com",
  424. "secureupload.eu",
  425. "hugefiles.net",
  426. "jumbofiles.com",
  427. "letitbit.net",
  428. "lolabits.es",
  429. "nowdownload.ch",
  430. "openfile.ru",
  431. "radicalshare.com",
  432. "remixshare.com",
  433. "storefiles.co",
  434. "toutbox.fr",
  435. "uploadbaz.com",
  436. "uploadingit.com",
  437. "uploading.com",
  438. "verzend.be",
  439. "vidplay.net",
  440. "vidxden.com",
  441. "xfileload.com",
  442. "warped.co",
  443. "xkeepfile.com",
  444. "abelhas.pt",
  445. "uploadspace.pl",
  446. "allmyvideos.net",
  447. "uploads.xxx",
  448. "netkups.com",
  449. "nekaka.com",
  450. "vidspot.net",
  451. "myupload.dk",
  452. "muchshare.net",
  453. "loudupload.net",
  454. "idup.in",
  455. "hulkshare.com",
  456. "goldbytez.com",
  457. "filesmelt.com",
  458. "fileband.com",
  459. "uloz.cz",
  460. "secured.in",
  461. "rapidfilehost.com",
  462. "fileover.net",
  463. "fileinz.com",
  464. "linksave.in",
  465. "seenupload.com",
  466. "sangfile.com",
  467. "filepost.com|fp.io",
  468. "sharingmaster.com ",
  469. "24uploading.com",
  470. "storagon.com",
  471. "sanshare.com",
  472. "filestorm.to",
  473. "uploadnet.co",
  474. "180upload.com",
  475. "rapidsonic.com",
  476. "fileparadox.com",
  477. "4upfiles.com",
  478. "geupload.com",
  479. "lenfile.com",
  480. "fileparadox.in",
  481. "uploadhero.co",
  482. "uploadhero.com",
  483. "newfileland.com",
  484. "quickshare.cz",
  485. "elffiles.com",
  486. "netload.in",
  487. "netload.me",
  488. "movreel.com",
  489. "migahost.com",
  490. "krotix.net",
  491. "jumbofile.net",
  492. "edoc.com",
  493. "cramit.in|cramitin.net",
  494. "freakshare.com",
  495. "burnupload.com|burnupload.ihiphop.com",
  496. "freakshare.net",
  497. "daj.to",
  498. "bl.st",
  499. "2drive.net",
  500. "ryushare.com",
  501. "crisshare.com",
  502. "tufiles.ru",
  503. "uncapped-downloads.com",
  504. "sockshare.com",
  505. "ddlstorage.com",
  506. "dataport.cz",
  507. "dizzcloud.com",
  508. "sharebeast.com",
  509. "stahovadlo.cz",
  510. "shared.com",
  511. "storage.to",
  512. "putlocker.com",
  513. "lumfile.com",
  514. "lumfile.se",
  515. "lumfile.eu",
  516. "firedrive.com",
  517. "fileshare.in.ua",
  518. "filecore.co.nz",
  519. "filecore.co",
  520. "iskladka.cz",
  521. "file-rack.com",
  522. "fast-load.net",
  523. "subory.sk",
  524. "bigandfree.com",
  525. "fileop.com",
  526. "mujsoubor.cz",
  527. "sendfile.to",
  528. "superfastfile.com",
  529. "quickyshare.com",
  530. "duckload.com",
  531. "uploadstore.net",
  532. "meinupload.com",
  533. "dualshare.com",
  534. "2xupload.to|2xupload.de",
  535. "oxedion.com",
  536. "uploadline.com",
  537. "dll.bz",
  538. "movieshare.in",
  539. "milledrive.com",
  540. "quickupload.net",
  541. "safelink.in",
  542. "metadivx.com",
  543. "divxlink.com",
  544. "uploadrack.com",
  545. "teradepot.com",
  546. "dataup.to",
  547. "upit.to",
  548. "driveway.com",
  549. "eatlime.com",
  550. "a2zuploads.com",
  551. "friendlyfiles.net",
  552. "flyfile.us",
  553. "speedyshare.com",
  554. "uploadspace.eu",
  555. "keepfile.com",
  556. "piggyshare.com",
  557. "uplly.com",
  558. "filecrown.com",
  559. "6giga.com",
  560. "uploadjockey.com",
  561. "bluehost.to",
  562. "filegu.ru",
  563. "filebase.to",
  564. "up-file.com",
  565. "xvideos.com",
  566. "ufox.com",
  567. "filebling.com",
  568. "loaded.it",
  569. "uploadcell.com",
  570. "uploadshare.cz",
  571. "mangoshare.com",
  572. "filestab.com",
  573. "crazyupload.com",
  574. "gaiafile.com",
  575. "sharejunky.com",
  576. "fileho.com",
  577. "bigandfree.com",
  578. "bigfile.in",
  579. "bigshare.eu",
  580. "dahosting.org",
  581. "digisofts.net",
  582. "file4save.com",
  583. "filechip.com",
  584. "filescloud.com",
  585. "saveqube.com",
  586. "turboshare.de",
  587. "z-upload.com",
  588. "youshare.com",
  589. "jiffyupload.com",
  590. "gigeshare.com",
  591. "datenklo.net",
  592. "upload.dj",
  593. "loadfiles.in",
  594. "upit.to",
  595. "dsfileshare.com",
  596. "sharesimple.net",
  597. "4files.net",
  598. "wooupload.com",
  599. "odsiebie.com",
  600. "filenavi.com",
  601. "3oof.com",
  602. "meshwaar.com",
  603. "maxupload.com",
  604. "share.cx",
  605. "atserver.eu",
  606. "hotfiles.ws",
  607. "esnips.com",
  608. "tuxfile.com",
  609. "file2upload.net",
  610. "filebling.com",
  611. "turboshare.com",
  612. "rarhost.com",
  613. "isharehd.com",
  614. "i741.com",
  615. "dataup.de",
  616. "fofly.com",
  617. "shareonall.com",
  618. "sexuploader.com",
  619. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  620. "uploadhyper.com",
  621. "filespawn.com",
  622. "caizzii.com",
  623. "volnyweb.cz",
  624. "usershare.net",
  625. "filescash.net",
  626. "metahyper.com",
  627. "combozip.com",
  628. "x7.to",
  629. "uploadbox.com",
  630. "enterupload.com|flyupload.com",
  631. "filepoint.de",
  632. "mystream.to",
  633. "x-fs.com",
  634. "shareator.com",
  635. "srapid.eu",
  636. "sosame.cz",
  637. "filesdump.com",
  638. "2-klicks.de",
  639. "uploking.com",
  640. "silofiles.com",
  641. "upfile.in",
  642. "filehook.com",
  643. "uploadking.com",
  644. "uploadhere.com",
  645. "kewlshare.com",
  646. "rapidable.com",
  647. "uploadwaste.com",
  648. "filemup.com",
  649. "filesonic.com|sharingmatrix.com",
  650. "fileserve.com",
  651. "wupload.com",
  652. "skipfile.com",
  653. "smartuploader.com",
  654. "dualshare.com",
  655. "storeandserve.com",
  656. "mountfile.com",
  657. "transitfiles.com",
  658. "uploadstation.com",
  659. "filejungle.com",
  660. "shareshared.com",
  661. "quickyshare.com",
  662. "save.am",
  663. "petandrive.com",
  664. "file2box.com",
  665. "flyshare.cz",
  666. "yabadaba.ru",
  667. "cloudcache.cc",
  668. "yourfilehost.com",
  669. "jakfile.com",
  670. "kickload.com",
  671. "pyramidfiles.com",
  672. "refile.net",
  673. "zshare.net",
  674. "ddlani.me|ddlanime.com",
  675. "ftp2share.com",
  676. "fooget.com",
  677. "rapidhide.com",
  678. "gotupload.com",
  679. "mooload.com",
  680. "zupload.com",
  681. "mytempdir.com",
  682. "onionshare.com",
  683. "stahnu.to",
  684. "oron.com",
  685. "badongo.com",
  686. "filereactor.com",
  687. "filegaze.com",
  688. "4bytez.com",
  689. "1hostclick.com",
  690. "anonstream.com",
  691. "batshare.com",
  692. "bitroad.net",
  693. "brontofile.com",
  694. "cloudnxt.net",
  695. "cloudnator.com|shragle.com",
  696. "filesfrog.net",
  697. "coolshare.cz",
  698. "dotavi.com",
  699. "ezyfile.net",
  700. "file-bit.net",
  701. "filecosy.com",
  702. "fileduct.com|fileduct.net",
  703. "filefat.com",
  704. "filelaser.com",
  705. "filemashine.com",
  706. "fileserver.cc",
  707. "filetechnology.com",
  708. "fireuploads.net",
  709. "gigfiles.net",
  710. "holderfile.com",
  711. "ihostia.com",
  712. "k2files.com",
  713. "mojofile.com",
  714. "ovfile.com",
  715. "qshare.com",
  716. "shafiles.me",
  717. "sharefilehost.com",
  718. "shareupload.com",
  719. "stahuj.to",
  720. "ugotfile.com",
  721. "uploadboost.com",
  722. "fileom.com",
  723. "vidhog.com",
  724. "xfileshare.eu",
  725. "bzlink.us",
  726. "bulletupload.com",
  727. "bloggerarticles.com",
  728. "mojedata.sk",
  729. "sharpfile.com",
  730. "upgrand.com",
  731. "nasdilej.cz",
  732. "mediatack.cz",
  733. "share-it.to",
  734. "primeupload.com",
  735. "filebeer.info",
  736. "baberepublic",
  737. "xtu.me",
  738. "sharebase.de",
  739. "luckyshare.net",
  740. "filerobo.com",
  741. "filevelocity.com",
  742. "filezpro.com",
  743. "file4sharing.com",
  744. "cing.be",
  745. "ufile.eu",
  746. "pigsonic.com",
  747. "fileupped.com",
  748. "sharerun.com",
  749. "filesaur.com",
  750. "rapidslnare.com",
  751. "bestsharing.com",
  752. "savefiles.net",
  753. "file2share.biz",
  754. "filecache.de",
  755. "monsteruploads.eu",
  756. "b9bb.com",
  757. "aiotool.net",
  758. "jamber.info",
  759. "megaftp.com",
  760. "desiupload.net",
  761. "file27.com",
  762. "yastorage.com",
  763. "filehost.ws",
  764. "copyload.com",
  765. "venusfile.com",
  766. "aieshare.com",
  767. "terafile.co",
  768. "terafile.com",
  769. "fileza.net",
  770. "filerose.com",
  771. "squillion.com",
  772. "fileprohost.com",
  773. "bitbonus.com",
  774. "warserver.cz",
  775. "uload.to",
  776. "sharedbit.net",
  777. "megaload.it",
  778. "filewinds.com",
  779. "uploadcore.com",
  780. "syfiles.com",
  781. "eyesfile.com",
  782. "hotfile.com",
  783. "superupl.com",
  784. "oteupload.com",
  785. "henchfile.com",
  786. "filegag.com",
  787. "HenchFile.com",
  788. "filedefend.com",
  789. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  790. "megabitshare.com",
  791. "cloudzer.com",
  792. "asfile.com",
  793. "cloudzer.net",
  794. "clz.to",
  795. "extabit.com",
  796. "247upload.com",
  797. "2download.de",
  798. "4fastfile.com",
  799. "asixfiles.com",
  800. "berofile.com",
  801. "bigupload.com",
  802. "cepzo.com",
  803. "clouds.to",
  804. "cobrashare.sk",
  805. "coraldrive.net",
  806. "cyberlocker.ch",
  807. "czshare.com",
  808. "darkport.org",
  809. "dark-uploads.com",
  810. "davvas.com",
  811. "enigmashare.com",
  812. "erofly.cz",
  813. "fastsonic.net",
  814. "filebox.com",
  815. "filecity.net",
  816. "filedap.com",
  817. "filedino.com",
  818. "filedownloads.org",
  819. "filefolks.com",
  820. "fileking.co",
  821. "filemates.com",
  822. "files.to",
  823. "files2k.eu",
  824. "filesector.cc",
  825. "bitshare.com",
  826. "filesega.com",
  827. "filesend.net",
  828. "filestay.com",
  829. "filestrum.com",
  830. "fileuplo.de",
  831. "fileupup.com",
  832. "forunesia.com",
  833. "freeuploads.fr",
  834. "uploa.dk",
  835. "getthebit.com",
  836. "getzilla.net",
  837. "goldfile.eu",
  838. "good.com",
  839. "grupload.com",
  840. "hellfile.com",
  841. "hipfile.com",
  842. "hitfile.com",
  843. "hulkfile.eu|duckfile.net",
  844. "i-filez.com",
  845. "ifile.ws",
  846. "kupload.org",
  847. "packupload.com",
  848. "lemuploads.com",
  849. "limelinx.com",
  850. "maxshare.pl",
  851. "megarelease.org",
  852. "megashares.com",
  853. "megashare.com",
  854. "minus.com",
  855. "mlfat4arab.com",
  856. "multishare.cz",
  857. "nirafile.com",
  858. "ok2upload.com",
  859. "peejeshare.com",
  860. "premiuns.org",
  861. "przeklej.net",
  862. "qkup.net",
  863. "rapidupload.sk",
  864. "rockdizfile.com",
  865. "rocketfile.net",
  866. "share-now.net",
  867. "share76.com",
  868. "sharebees.com",
  869. "sharefiles.co",
  870. "slingfile.com",
  871. "sms4file.com",
  872. "space4file.com",
  873. "tigershare.net",
  874. "toucansharing.com",
  875. "ubuntuone.com",
  876. "unextfiles.com",
  877. "upaj.pl",
  878. "upfile.biz",
  879. "uploadbin.net",
  880. "uploadic.com",
  881. "uploadinc.com",
  882. "uploading4u.eu",
  883. "uploadjet.net",
  884. "uploadorb.com",
  885. "upthe.net",
  886. "uptorch.com",
  887. "vidbox.yt",
  888. "videozer.com",
  889. "vreer.com",
  890. "wallobit.com",
  891. "zooupload.com",
  892. "privatefiles.com",
  893. "xerver.co",
  894. "BillionUploads.com",
  895. "rapidshare.com",
  896. "rapidshare.ru",
  897. "4savefile.com",
  898. "bayfiles.com",
  899. "bayfiles.net",
  900. "dodane.pl",
  901. "dotsemper.com",
  902. "egofiles.com",
  903. "epicshare.net",
  904. "fiberupload.net",
  905. "filemonkey.in",
  906. "filemonster.net",
  907. "filepom.com",
  908. "filesbb.com",
  909. "filevice.com",
  910. "gigaup.fr",
  911. "isavelink.com",
  912. "loombo.com",
  913. "megafiles.se",
  914. "migupload.com",
  915. "mydisc.net",
  916. "nitrobits.com",
  917. "potload.com",
  918. "redload.net",
  919. "shareprofi.com",
  920. "sharesuper.info",
  921. "sinhro.net",
  922. "speedfile.cz",
  923. "speedshare.org",
  924. "storage.novoro.net",
  925. "swankshare.com",
  926. "swatupload.com",
  927. "upafile.com",
  928. "uploadmachine.com",
  929. "uploadsat.com",
  930. "upshared.com",
  931. "usefile.com",
  932. "yourfiles.to",
  933. "zomgupload.com",
  934. "ultramegabit.com",
  935. "uploadto.us",
  936. "inafile.com",
  937. "megairon.net",
  938.  
  939. ];
  940. ///////////////////////////////////////////////////////////////////////////////////////
  941. var firstRun = GM_getValue("First_run", true);
  942.  
  943. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  944. //////////////////////////////////////////////////////////////////////////////////////
  945. try
  946. {
  947. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  948. var last_known_version = GM_getValue("last_known_version", "");
  949. if (!last_known_version)
  950. {
  951. last_known_version = thisVersion;
  952. GM_setValue("last_known_version", last_known_version);
  953. }
  954. //var newVersion = !(thisVersion == last_known_version);
  955. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  956. GM_setValue("last_known_version", thisVersion);
  957. }
  958. catch (err)
  959. {
  960. var newVersion = false;
  961. }
  962.  
  963. var now = (new Date()).getTime();
  964. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  965. if (!last_custom_rules_nag)
  966. {
  967. last_custom_rules_nag = now;
  968. GM_setValue('last_custom_rules_nag', ''+now);
  969. }
  970.  
  971.  
  972. allHostNames.sort();
  973. allContainerNames.sort();
  974. allObsoleteNames.sort();
  975.  
  976. var RAND_STRING = "8QyvpOSsRG3QWq";
  977. var DEBUG_MODE = false;
  978.  
  979. var TOOLTIP_MAXWIDTH = 600; //in pixels
  980. var TOOLTIP_THUMBWIDTH = 200;
  981. var containers_processed = false;
  982.  
  983. //settings for keyboard functions start
  984. var CHECK_ALL_LINKS_KEY = "A";
  985. var CONFIGURATION_KEY = "C";
  986. var copy_to_dead_key = "D";
  987. var copy_to_live_key = "L";
  988. var toggle_autocheck_key = "W";
  989. var toggle_Enable_Anonymizer_key = "Z";
  990. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  991. var first_key_keycodename = 'CTRL';
  992. var second_key_keycode = '18';
  993. var second_key_keycodename = 'ALT';
  994. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  995. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  996. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  997. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  998. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  999. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1000. //settings for keyboard functions end
  1001.  
  1002. //global settings start
  1003. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1004. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1005. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1006. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1007. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1008. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1009. var Progress_box_refresh_rate;
  1010. var Obsolete_file_hosts;
  1011. var Custom_rules, Custom_rules_text;
  1012. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1013.  
  1014. var messageBox = document.createElement('b'); // top-left message box
  1015.  
  1016. var cLinksTotal = 0;
  1017. var cLinksDead = 0;
  1018. var cLinksAlive = 0;
  1019. var cLinksUnava = 0;
  1020. var cLinksprem = 0;
  1021. var cLinksProcessed = 0;
  1022.  
  1023. var intervalId; //for updateProgress()
  1024.  
  1025. //icon resources
  1026. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+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AAAAASUVORK5CYII=';
  1035.  
  1036. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1037. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZ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eZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1039. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1040.  
  1041. //global settings end
  1042. if (window.opera && !window.console)
  1043. {
  1044. window.console = {};
  1045.  
  1046. function fn()
  1047. {
  1048. opera.postError(arguments);
  1049. };
  1050. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1051. {
  1052. window.console[name] = fn;
  1053. });
  1054. }
  1055.  
  1056. //displays colored text in message box
  1057. function sendMessage(text, color)
  1058. {
  1059. var msgDiv = document.createElement('div');
  1060. msgDiv.style.color = color;
  1061. msgDiv.innerHTML = text;
  1062. messageBox.appendChild(msgDiv);
  1063. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1064. }
  1065.  
  1066. function linkify(totalourls)
  1067. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1068. var ikkeTilladteTags;
  1069. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1070. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1071. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1072. allLinksRegex = new RegExp(allLinksRegex, "g");
  1073. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1074.  
  1075. if (Do_not_linkify_DL_links)
  1076. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1077. else
  1078. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1079.  
  1080. var regex = new RegExp(regexy);
  1081. var textNode, muligtLink;
  1082.  
  1083. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1084. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1085.  
  1086. var i = textNodes.snapshotLength;
  1087. while (i--)
  1088. {
  1089. textNode = textNodes.snapshotItem(i);
  1090.  
  1091. muligtLink = textNode.nodeValue; //all links on page
  1092.  
  1093. var myArray = null;
  1094. var span = null;
  1095. var lastLastIndex = 0;
  1096. allLinksRegex.lastIndex = 0;
  1097. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1098. {
  1099. if (textNode.parentNode.className == "adead_link") continue;
  1100. var censoredLink = muligtLink;
  1101. var span = document.createElement('span');
  1102. span.className = "adead_link";
  1103. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1104. $(span).html(censoredLink);
  1105. span.addEventListener("mouseover", displayTooltipError, false);
  1106. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1107. textNode.parentNode.replaceChild(span, textNode);
  1108. continue;
  1109. alert(censoredLink);
  1110. }
  1111. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1112. {
  1113. if (!regex.test(myArray[0])) //this link is not recognized
  1114. {
  1115.  
  1116. continue;
  1117. }
  1118. if (!span)
  1119. span = document.createElement('span');
  1120.  
  1121. var link = myArray[0];
  1122. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1123.  
  1124. var $a = $("<a>" + link + "</a>")
  1125. if (!link.match(/https?:\/\//))
  1126. {
  1127. link = 'http://' + link;
  1128. }
  1129.  
  1130. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1131. .addClass("processing_link")
  1132. .appendTo(span);
  1133. lastLastIndex = allLinksRegex.lastIndex;
  1134. }
  1135. if (span)
  1136. {
  1137. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1138. textNode.parentNode.replaceChild(span, textNode);
  1139. }
  1140. }
  1141. }
  1142.  
  1143. function add_WARLC_style()
  1144. {
  1145. if (!(document.getElementsByTagName('WARLC')[0]))
  1146. {
  1147. var meta_not_to_add_more_style = document.createElement("WARLC");
  1148. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1149. meta_not_to_add_more_style.setAttribute('name', 'description');
  1150. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1151. alive_link_png = "";
  1152. adead_link_png = "";
  1153. unava_link_png = "";
  1154. prem_link_png = "";
  1155. switch(Icon_set)
  1156. {
  1157. //no icons
  1158. case 0: break;
  1159. // cat paws
  1160. case 1: alive_link_png = PAW_ICON_GREEN;
  1161. adead_link_png = PAW_ICON_RED;
  1162. unava_link_png = PAW_ICON_YELLOW;
  1163. prem_link_png = PAW_ICON_PINK;
  1164. break;
  1165. // classic RSLC look
  1166. case 2: alive_link_png = RSLC_ICON_GREEN;
  1167. adead_link_png = RSLC_ICON_RED;
  1168. unava_link_png = RSLC_ICON_YELLOW;
  1169. prem_link_png = RSLC_ICON_PINK;
  1170. break;
  1171. // New Icons
  1172. case 3: alive_link_png = NEW_ICON_GREEN;
  1173. adead_link_png = NEW_ICON_RED;
  1174. unava_link_png = NEW_ICON_YELLOW;
  1175. prem_link_png = NEW_ICON_PINK;
  1176. break;
  1177. // cat paws
  1178. default:alive_link_png = PAW_ICON_GREEN;
  1179. adead_link_png = PAW_ICON_RED;
  1180. unava_link_png = PAW_ICON_YELLOW;
  1181. prem_link_png = PAW_ICON_PINK;
  1182. break;
  1183. }
  1184. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1185. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1186.  
  1187. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1188.  
  1189. if (Color_DL_links)
  1190. {
  1191. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1192. live_color_css = 'color:' + Live_links_color + ' !important;';
  1193. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1194. container_color_css = 'color:' + Container_links_color + ' !important;';
  1195. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1196. }
  1197. else
  1198. {
  1199. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1200. }
  1201.  
  1202. if (Show_black_background_in_DL_links)
  1203. {
  1204. black_background_css = 'background-color: black !important;';
  1205. }
  1206. else
  1207. {
  1208. black_background_css = '';
  1209. }
  1210.  
  1211. if (Show_line_through_in_dead_links)
  1212. {
  1213. line_through_css = 'text-decoration: line-through !important;';
  1214. }
  1215. else
  1216. {
  1217. line_through_css = '';
  1218. }
  1219.  
  1220. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1221. 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 + "}");
  1222. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1223. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1224. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1225. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1226. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1227. }
  1228. }
  1229.  
  1230. var warlcTooltip = null;
  1231. var mouseoverLink = null; //link href with mouse cursor over it
  1232.  
  1233. var lastX = 0;
  1234. var lastY = 0;
  1235.  
  1236. $(document).ready(initTooltip);
  1237. //inits tooltip
  1238. function initTooltip()
  1239. { warlcTooltip = document.createElement("div");
  1240. 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;");
  1241. warlcTooltip.style.visibility = "hidden";
  1242. document.body.appendChild(warlcTooltip);
  1243. }
  1244.  
  1245. //"mousemove" event handler for all links
  1246. function moveTooltip(event)
  1247. {
  1248. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1249. { //no need to reflow if the cursor moved just a little
  1250. return;
  1251. }
  1252. else
  1253. {
  1254. lastX = event.clientX;
  1255. lastY = event.clientY;
  1256. }
  1257.  
  1258. posX = event.clientX + window.pageXOffset + 10;
  1259. posY = event.clientY + window.pageYOffset;
  1260. var ttHeight = warlcTooltip.offsetHeight;
  1261. var ttFreeSpace = window.innerHeight - event.clientY;
  1262. if (ttHeight > ttFreeSpace)
  1263. { //prevents tooltip from getting out of the window
  1264. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1265. }
  1266. else
  1267. {
  1268. posY += 7;
  1269. }
  1270. warlcTooltip.style.top = posY + "px";
  1271. warlcTooltip.style.left = posX + "px";
  1272. }
  1273.  
  1274. //"mouseout" event handler for all links
  1275. function hideTooltip(){
  1276. warlcTooltip.style.visibility = "hidden";
  1277. mouseoverLink = null;
  1278. }
  1279.  
  1280.  
  1281. //"mouseover" event handler for dead links
  1282. //displays tooltip error message on dead links
  1283. function displayTooltipError()
  1284. {
  1285. mouseoverLink = this.href;
  1286. this.addEventListener("mouseout", hideTooltip);
  1287. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1288. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1289. warlcTooltip.style.minWidth = 0;
  1290. warlcTooltip.style.visibility = "visible";
  1291. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1292. {
  1293. warlcTooltip.innerHTML = this.warlc_error;
  1294. }
  1295. else
  1296. {
  1297. loadErrorInfo(this);
  1298. }
  1299. function loadErrorInfo(link)
  1300. {
  1301. var href = link.href;
  1302. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1303. GM_xmlhttpRequest({
  1304. method: 'GET',
  1305. url: href.replace(Ref_anonymize_service, ""),
  1306. headers: {
  1307. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1308. 'Accept': 'text/xml',
  1309. 'Referer': ""
  1310. },
  1311. onload: function(result) {
  1312. var res = result.responseText;
  1313. //TODO: errorRegexs -
  1314. var errorRegexs = [ //generic error messages follow
  1315. /(empty directory)/i,
  1316. /(soubor nebyl nalezen)/i,
  1317. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1318. //server specific error messages follow
  1319. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1320. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1321. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1322. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1323. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1324. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1325. /class="red">(.+?)<(?:span|br)>/, //czshare
  1326. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1327. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1328. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1329. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1330. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1331. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1332. /(File has been removed due to Copyright Claim)/, //filerio
  1333. ];
  1334. var errorIdx = errorRegexs.length;
  1335. var error = "Cause of error: <b>unknown</b>";
  1336. var errorCandidate = "";
  1337. while(errorIdx--)
  1338. {
  1339. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1340. if (errorCandidate != null)
  1341. {
  1342. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1343. break;
  1344. }
  1345. }
  1346. //link attributes
  1347. link.warlc_error = error;
  1348. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1349. {
  1350. warlcTooltip.innerHTML = error;
  1351. }
  1352. }
  1353. });
  1354. }
  1355. }
  1356.  
  1357. //"mouseover" event handler for alive links
  1358. //displays tooltip info (file size, file name,...) on alive links
  1359. function displayTooltipInfo()
  1360. {
  1361. mouseoverLink = this.href;
  1362. //exclude direct download filehostings
  1363. 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)/))
  1364. {
  1365. return;
  1366. }
  1367. this.addEventListener("mouseout", hideTooltip);
  1368. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1369. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1370. warlcTooltip.style.minWidth = 0;
  1371. warlcTooltip.style.visibility = "visible";
  1372. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1373. {
  1374. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1375. }
  1376. else
  1377. {
  1378. loadInfo(this);
  1379. }
  1380. function loadInfo(link)
  1381. {
  1382. var href = link.href;
  1383. GM_xmlhttpRequest({
  1384. method: 'GET',
  1385. url: href.replace(Ref_anonymize_service, ""),
  1386. headers: {
  1387. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1388. 'Accept': 'text/xml',
  1389. 'Referer': ""
  1390. },
  1391. onload: function(result) {
  1392. var res = result.responseText;
  1393. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1394. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1395. /fl" title="(.+?)">/, //edisk
  1396. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1397. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1398. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1399. /title="download (.+?)">/, //sendspace
  1400. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1401. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1402. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1403. /d0FileName = "(.+?)";/, //letitbit
  1404. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1405. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1406. /fname" value="(.+?)">/, //syfiles, grupload,
  1407. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1408. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1409. /Complete name : (.+?)<br \/>/, //bezvadata
  1410. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1411. ];
  1412. var nameIdx = nameRegexs.length;
  1413. // [sizeRegexs]
  1414. // / \ \?
  1415. // prefix (size) postfix
  1416. // / \
  1417. // val quant
  1418. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1419. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1420. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1421. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1422. var postSizeRegex = '(?:\\))?';
  1423. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1424. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1425. ];
  1426. var sizeIdx = sizeRegexs.length;
  1427. //
  1428. //
  1429. var tooltip = "File Name: <b>";
  1430. var fileName = "unknown";
  1431. var nameCandidate = "";
  1432. while(nameIdx--)
  1433. {
  1434. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1435. if (nameCandidate != null)
  1436. {
  1437. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1438. break;
  1439. }
  1440. }
  1441. tooltip += fileName + "</b><br>File Size: <b>";
  1442. var fileSize = "unknown";
  1443. var sizeCandidate = "";
  1444. while(sizeIdx--)
  1445. {
  1446. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1447. if (sizeCandidate != null)
  1448. {
  1449. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1450. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1451. {
  1452. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1453. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1454. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1455. }
  1456. break;
  1457. }
  1458. }
  1459. tooltip += fileSize + "</b>";
  1460. // PROTOTYPE
  1461. // video thumbnails
  1462. if (href.match('hellshare'))
  1463. {
  1464. var thumbs;
  1465. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1466. if (thumbs)
  1467. {
  1468. tooltip += '<br>';
  1469. var j = Math.min(thumbs.length, 9);
  1470. for (var i = 0; i < j; i++)
  1471. {
  1472. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1473. }
  1474. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1475. }
  1476. }
  1477. if (href.match('czshare'))
  1478. {
  1479. var thumbs;
  1480. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1481. if (thumbs)
  1482. {
  1483. var thumbsServer = thumbs[1];
  1484. var thumbsId = thumbs[2];
  1485. tooltip += '<br>';
  1486. for (var i = 1; i < 9; i++)
  1487. {
  1488. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1489. }
  1490. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1491. }
  1492. }
  1493. if (href.match('bezvadata'))
  1494. {
  1495. var thumbs;
  1496. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1497. if (thumbs)
  1498. {
  1499. tooltip += '<br>';
  1500. var j = Math.min(thumbs.length, 9);
  1501. for (var i = 0; i < j; i++)
  1502. {
  1503. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1504. }
  1505. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1506. }
  1507. }
  1508. link.warlc_tooltipcache = tooltip;
  1509. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1510. {
  1511. warlcTooltip.innerHTML = tooltip;
  1512. }
  1513. }
  1514. });
  1515. }
  1516. }
  1517.  
  1518. function setVariables()
  1519. {
  1520. if (firstRun)
  1521. {
  1522. GM_log('First run, applying default settings...');
  1523. GM_setValue("Icon_set",1);
  1524. GM_setValue("Display_tooltip_info",true);
  1525. GM_setValue("Show_black_background_in_DL_links",false);
  1526. GM_setValue("Show_line_through_in_dead_links",false);
  1527. GM_setValue("Display_full_links_in_link_containers",false);
  1528. GM_setValue("Allow_spaces_in_DL_links",false);
  1529. GM_setValue("Autocheck",true);
  1530. GM_setValue("Enable_Anonymizer",false);
  1531. GM_setValue("Do_not_linkify_DL_links",false);
  1532. GM_setValue("Show_progress_stats",true);
  1533. GM_setValue("Keyboard_functions",true);
  1534. GM_setValue("Obsolete_file_hosts",false);
  1535. GM_setValue("Color_DL_links",true);
  1536. GM_setValue("Live_links_color","Green");
  1537. GM_setValue("Dead_links_color","#FF3300");
  1538. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1539. GM_setValue("Container_links_color","DarkKhaki");
  1540. GM_setValue("Premium_links_color","DeepPink");
  1541. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1542. GM_setValue("Custom_rules",false);
  1543. GM_setValue("Custom_rules_text","");
  1544. GM_setValue("Processbox_Pos_Y", 0);
  1545. GM_setValue("Processbox_Pos_X", 88);
  1546. GM_setValue("Progressbox_Scaling", 100);
  1547. GM_setValue("First_run", false);
  1548. }
  1549. //hidden settings
  1550. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1551. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1552. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1553. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1554. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1555. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1556. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1557. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1558. //hidden settings end
  1559.  
  1560. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1561. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1562. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1563. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1564. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1565. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1566. Autocheck = GM_getValue("Autocheck", true);
  1567. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1568. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1569. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1570. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1571. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1572. Color_DL_links = GM_getValue("Color_DL_links", true);
  1573. Live_links_color = GM_getValue("Live_links_color", "Green");
  1574. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1575. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1576. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1577. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1578. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1579. Custom_rules = GM_getValue("Custom_rules", false);
  1580. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1581. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1582. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1583. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1584. }
  1585.  
  1586.  
  1587. // Delinkifies the links
  1588. // params:
  1589. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1590. // e.g. 'uloz.to/xs68skxl8')
  1591. function delinkifySnapshot(snapshot)
  1592. {
  1593. var n = snapshot.snapshotLength;
  1594.  
  1595. while (n--)
  1596. {
  1597. thisLink = snapshot.snapshotItem(n);
  1598.  
  1599. var spanElm = document.createElement("span");
  1600. spanElm.className = thisLink.className;
  1601. spanElm.innerHTML = thisLink.innerHTML;
  1602.  
  1603. if (Display_tooltip_info)
  1604. {
  1605. spanElm.href = thisLink.href;
  1606. switch (thisLink.className){
  1607. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1608. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1609. case "unava_link": //reserved
  1610. default:
  1611. }
  1612. }
  1613. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1614. }
  1615. }
  1616.  
  1617. function processContainers()
  1618. {
  1619. var redirectorTypes = { "HTTP_302": 0,
  1620. "INNER_LINK": 1,
  1621. "THELOO_KATT_IT": 2,
  1622. "CING_BE": 3,
  1623. "ADF_LY": 4};
  1624. var cMultiloadTotal = 0;
  1625. var cMultiloadProcessed = 0;
  1626.  
  1627. var cMirrorcreatorComTotal = 0;
  1628. var cMirrorcreatorComProcessed = 0;
  1629.  
  1630. var hostRestrictionRegex = "";
  1631. var multiloadComRestriction = "";
  1632. var multiloadComRestrictionRegex;
  1633.  
  1634. //
  1635. //HANDLING REDIRECTORS START
  1636. //
  1637.  
  1638. var redirectors = new Array();
  1639. initRedirectors();
  1640.  
  1641. var redirectorsCount = redirectors.length;
  1642.  
  1643. if (redirectorsCount > 0)
  1644. {
  1645. var allRedirectorsRegex = "";
  1646.  
  1647. //linkify redirector links
  1648. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1649. {
  1650. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1651. }
  1652. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1653. linkify(allRedirectorsRegex);
  1654. //
  1655. //process redirector links
  1656. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1657. {
  1658. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1659. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1660.  
  1661. cLinksTotal += redirectors[redirIdx].cTotal;
  1662. var linkIdx = redirectors[redirIdx].cTotal;
  1663.  
  1664. while(linkIdx--)
  1665. {
  1666. switch(redirectors[redirIdx].type)
  1667. {
  1668. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1669. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1670. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1671. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1672. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1673. default:
  1674. }
  1675. }
  1676. }
  1677. //
  1678. }
  1679.  
  1680. //HTTP_302
  1681. function processRedirectorLink(link, redirectorId)
  1682. {
  1683. link.className = 'container_link';
  1684.  
  1685. GM_xmlhttpRequest({
  1686. method: 'HEAD',
  1687. url: link.href,
  1688. headers: {
  1689. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1690. 'Accept': 'text/xml',
  1691. 'Referer': ""
  1692. },
  1693. onload: function(result) {
  1694. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1695. {
  1696. processRedirectorLink(link, redirectorId);
  1697. }
  1698. else
  1699. {
  1700. redirectors[redirectorId].cProcessed++;
  1701. link.href = result.finalUrl;
  1702. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1703. checkLinks('container_link');
  1704. }
  1705. },
  1706. onerror: function(result) { //probably caused by unresponsive filehosting
  1707. redirectors[redirectorId].cProcessed++;
  1708. link.className = 'unava_link';
  1709. cLinksProcessed++;
  1710. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1711. checkLinks('container_link');
  1712. }
  1713. });
  1714. }
  1715. //INNER_LINK
  1716. function processRedirectorLinkEx(link, redirectorId)
  1717. {
  1718. link.className = 'container_link';
  1719. GM_xmlhttpRequest({
  1720. method: 'GET',
  1721. url: link.href,
  1722. headers: {
  1723. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1724. 'Accept': 'text/xml',
  1725. 'Referer': ""
  1726. },
  1727. onload: function(result) {
  1728. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1729. redirectors[redirectorId].cProcessed++;
  1730. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1731. checkLinks('container_link');
  1732. }
  1733. });
  1734. }
  1735. //theloo.katt.it (wrapped safelinking.net)
  1736. function processThelooKattItLink(link, redirectorId)
  1737. {
  1738. link.className = 'container_link';
  1739. GM_xmlhttpRequest({
  1740. method: 'GET',
  1741. url: link.href,
  1742. headers: {
  1743. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1744. 'Accept': 'text/xml',
  1745. 'Referer': ""
  1746. },
  1747. onload: function(result) {
  1748. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1749. redirectors[redirectorId].cProcessed++;
  1750. //the inner links are safelinking.net links, so lets proceed with it
  1751. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1752. {
  1753. processRedirectorLink(link, 0);
  1754. }
  1755. }
  1756. });
  1757. }
  1758. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1759. function processAdfLyLink(link, redirectorId)
  1760. {
  1761. link.className = 'container_link';
  1762. GM_xmlhttpRequest({
  1763. method: 'GET',
  1764. url: link.href,
  1765. headers: {
  1766. 'User-agent': 'Mozilla/4.0',
  1767. 'Accept': 'text/xml',
  1768. 'Referer': ""
  1769. },
  1770. onload: function(result) {
  1771. if (result.finalUrl.match('/locked/'))
  1772. {
  1773. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1774. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1775. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1776. }
  1777. else
  1778. {
  1779. // GM_log('Processing... ' + link.href);
  1780. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1781. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1782. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1783. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1784. //confirm advert
  1785. GM_xmlhttpRequest(
  1786. {
  1787. method: 'POST',
  1788. url: 'http://adf.ly/l.php',
  1789. headers: {
  1790. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1791. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1792. 'Referer': link.href
  1793. },
  1794. data: users + '&lt=' + logToken,
  1795. onload: function(result) {
  1796. //retrieve final url from .../go/... link
  1797. GM_xmlhttpRequest({
  1798. method: 'GET',
  1799. url: directLink,
  1800. headers: {
  1801. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1802. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1803. 'Referer': link.href
  1804. },
  1805. onload: function(result) {
  1806. link.href = result.finalUrl;
  1807. redirectors[redirectorId].cProcessed++;
  1808. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1809. checkLinks('container_link');
  1810. }
  1811. });
  1812. }
  1813. });
  1814. }
  1815. }
  1816. });
  1817. function proceedOK()
  1818. {
  1819. }
  1820. }
  1821. //MULTILOAD.CZ START
  1822. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1823. {
  1824. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1825. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1826.  
  1827. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1828.  
  1829. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1830. hostRestrictionRegex += 'hellshare|';
  1831. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1832. hostRestrictionRegex += 'downloadhellshare|';
  1833. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1834. hostRestrictionRegex += 'share-rapid\\.com|';
  1835. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1836. hostRestrictionRegex += 'quickshare\\.cz|';
  1837. if (GM_getValue("Check_czshare_dot_com_links", false))
  1838. hostRestrictionRegex += 'czshare\\.com|';
  1839. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1840. hostRestrictionRegex += 'hellspy|';
  1841. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1842. hostRestrictionRegex += 'multishare\\.cz|';
  1843.  
  1844. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1845.  
  1846. linkify(mlRegex);
  1847.  
  1848. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1849. var mlCount = mlSnapshot.snapshotLength;
  1850.  
  1851. if (mlCount > 0)
  1852. {
  1853. cMultiloadTotal += mlCount;
  1854.  
  1855. mlIdx = mlCount - 1;
  1856. do
  1857. {
  1858. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1859. }
  1860. while(mlIdx--)
  1861. }
  1862. }
  1863. //MULTILOAD.CZ END
  1864.  
  1865.  
  1866.  
  1867. function processMultiloadLink(mlLink)
  1868. {
  1869. GM_xmlhttpRequest({
  1870. method: 'GET',
  1871. url: mlLink.href,
  1872. headers: {
  1873. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1874. 'Accept': 'text/xml',
  1875. 'Referer': ""
  1876. },
  1877. onload: function(result) {
  1878. var res = result.responseText;
  1879.  
  1880. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1881. 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;
  1882. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1883. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1884.  
  1885. var blocks; // blocks of links
  1886. var blockIdx;
  1887.  
  1888. mlLink.className = '';
  1889.  
  1890. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1891. {
  1892. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1893. return;
  1894. }
  1895.  
  1896. blocks = res.match(innerBlockRegex);
  1897.  
  1898. if (blocks == null) //no links found, cancel further processing
  1899. {
  1900. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1901. cMultiloadProcessed++;
  1902. if (cMultiloadTotal <= cMultiloadProcessed)
  1903. {
  1904. startBulkCheck('container_link');
  1905. start('container_link');
  1906. }
  1907. return;
  1908. }
  1909.  
  1910. blockIdx = blocks.length;
  1911.  
  1912. if (Display_full_links_in_link_containers)
  1913. {
  1914. var ulElm = document.createElement('ul');
  1915. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1916.  
  1917. while(blockIdx--)
  1918. {
  1919. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1920. {
  1921. continue;
  1922. }
  1923.  
  1924. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1925.  
  1926. var linkIdx = innerLinks.length;
  1927. while (linkIdx--)
  1928. {
  1929. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1930.  
  1931. var liElm = document.createElement('li');
  1932.  
  1933. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1934. {
  1935. liElm.appendChild(document.createTextNode(innerLink));
  1936. }
  1937. else
  1938. {
  1939. var aElm = document.createElement('a');
  1940. aElm.innerHTML = innerLink;
  1941. aElm.href = innerLink;
  1942. aElm.className = 'container_link';
  1943.  
  1944. liElm.appendChild(aElm);
  1945. }
  1946.  
  1947. ulElm.appendChild(liElm);
  1948. cLinksTotal++;
  1949. }
  1950. }
  1951.  
  1952. mlLink.parentNode.appendChild(ulElm);
  1953. }
  1954. else //compact view
  1955. {
  1956. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1957.  
  1958. while(blockIdx--)
  1959. {
  1960. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1961. {
  1962. continue;
  1963. }
  1964.  
  1965. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1966.  
  1967. var linkIdx = innerLinks.length;
  1968. while (linkIdx--)
  1969. {
  1970. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1971.  
  1972. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1973. {
  1974. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1975. }
  1976. else
  1977. {
  1978. var aElm = document.createElement('a');
  1979.  
  1980. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1981.  
  1982. //abbreviate host name
  1983. switch(hostName + ""){
  1984.  
  1985. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1986. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1987. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1988. case 'multishare': aElm.innerHTML = 'MS'; break;
  1989. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1990. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1991. case 'czshare': aElm.innerHTML = 'CS'; break;
  1992. default: aElm.innerHTML = 'xx';
  1993.  
  1994. }
  1995.  
  1996. aElm.href = innerLink;
  1997. aElm.className = 'container_link';
  1998.  
  1999. mlLink.parentNode.appendChild(aElm);
  2000. cLinksTotal++;
  2001. }
  2002. }
  2003.  
  2004. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2005.  
  2006. }
  2007. }
  2008.  
  2009. cMultiloadProcessed++;
  2010. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2011. {
  2012. if (Do_not_linkify_DL_links)
  2013. {
  2014. delinkifySnapshot(mlSnapshot);
  2015. }
  2016. startBulkCheck('container_link');
  2017. start('container_link');
  2018. }
  2019. }
  2020. });
  2021. }
  2022.  
  2023.  
  2024. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2025. {
  2026. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2027. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2028. var mcShortHostNames =
  2029. '?? 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';
  2030. // 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
  2031. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2032. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2033. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2034. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2035.  
  2036. linkify(mcRegex);
  2037.  
  2038. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2039. var mcCount = mcSnapshot.snapshotLength;
  2040.  
  2041. cMirrorcreatorComTotal = mcCount;
  2042.  
  2043. if (mcCount > 0)
  2044. {
  2045. mcShortHostNames = mcShortHostNames.split(' ');
  2046. mcIdx = mcCount;
  2047. while(mcIdx--)
  2048. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2049. }
  2050.  
  2051. }
  2052. //MIRRORCREATOR.CZ END
  2053.  
  2054.  
  2055. //mirrorcreator.com checking works like this:
  2056. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2057. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2058. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2059. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2060. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2061. function processMirrorcreatorLink(mcLink)
  2062. {
  2063. var mcURL = mcLink.href.match(mcRegex);
  2064. if(!mcURL || !mcURL[1]) return;
  2065. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2066. GM_xmlhttpRequest({
  2067. method: 'GET',
  2068. url: mcURL,
  2069. headers: {
  2070. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2071. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2072. 'Referer': ""
  2073. },
  2074. onload: function(mcLinkResult) {
  2075. var mcLinkRes = mcLinkResult.responseText;
  2076.  
  2077. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2078. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2079.  
  2080. var mcRedirectors;
  2081. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2082. var m = mcLinkRes.match(mcLinkBlockRegex);
  2083. if (m)
  2084. mcHostsFound = m.length;
  2085. else
  2086. { //no files inside container
  2087. processMirrorcreatorFoundHosts(mcLink, []);
  2088. return;
  2089. }
  2090.  
  2091. var mcRedirectorURL, idx, timedOut = false;
  2092.  
  2093. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2094. GM_xmlhttpRequest({
  2095. method: 'GET',
  2096. url: mcRedirectorURL,
  2097. headers: {
  2098. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2099. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2100. 'Referer': ""
  2101. },
  2102. onload: function(mcHostResult) {
  2103. if (timedOut) return; //too late, the list is already displayed
  2104. var mcHostRes = mcHostResult.responseText;
  2105. var mcHost = mcHostRes.match(mcHostRegex);
  2106. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2107. if (mcHost && idx!=-1)
  2108. {
  2109. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2110. mcHostsRetrieved++;
  2111. mcHostsToProcess++;
  2112. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2113. {
  2114. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2115. mcHostsToProcess = 0;
  2116. }
  2117. }
  2118. } //end of onload: function
  2119. }); //end of GM_xmlhttpRequest call
  2120. };//end of var gmxhrFunc
  2121.  
  2122. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2123. { //load individual redirector pages
  2124. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2125. mcHostURLs.push(mcRedirectorURL);
  2126. mcRedirectorIDs.push(mcRedirectors[2]);
  2127. gmxhrFunc(mcRedirectorURL);
  2128. } //end of while block
  2129.  
  2130. setTimeout(function(){ //in case the last page fails to load and call the function
  2131. timedOut = true;
  2132. if (mcHostsToProcess)
  2133. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2134. }, 60000);
  2135.  
  2136. } //end of onload function
  2137. }); //end of GM_xmlhttpRequest call
  2138. } //end of function processMirrorcreatorLink
  2139.  
  2140.  
  2141. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2142. {
  2143. var aEl, liEl, docFrag;
  2144. var hostName, mcRedirectorID, trimFilename = false;
  2145. var i = mcHostURLs.length;
  2146. if (i == 0)
  2147. {
  2148. trimFilename = true;
  2149. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2150. }
  2151. else
  2152. {
  2153. if (Display_full_links_in_link_containers)
  2154. { //full view
  2155. var wrapperEl = document.createElement('span');
  2156. wrapperEl.style.display = 'block';
  2157. var ulistEl = document.createElement('ul');
  2158. ulistEl.className = 'container_list';
  2159. while (i--)
  2160. {
  2161. liEl = document.createElement('li');
  2162. aEl = document.createElement('a');
  2163. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2164. aEl.href = mcHostURLs[i];
  2165. aEl.className = 'container_link';
  2166. liEl.appendChild(aEl);
  2167. ulistEl.appendChild(liEl);
  2168. }
  2169. wrapperEl.appendChild(ulistEl);
  2170. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2171. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2172. }
  2173. else
  2174. { //compact view
  2175. trimFilename = true;
  2176. docFrag = document.createDocumentFragment();
  2177. docFrag.appendChild(document.createTextNode(' |'));
  2178. while (i--)
  2179. {
  2180. mcRedirectorID = mcRedirectorIDs[i];
  2181. hostName = mcHostURLs[i];
  2182. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2183. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2184. else
  2185. hostName = mcShortHostNames[mcRedirectorID];
  2186. aEl = document.createElement('a');
  2187. aEl.href = mcHostURLs[i];
  2188. aEl.className = 'container_link';
  2189. aEl.appendChild(document.createTextNode(hostName));
  2190. docFrag.appendChild(aEl);
  2191. docFrag.appendChild(document.createTextNode('|'));
  2192. }
  2193. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2194. } //end of else block
  2195. } //end of else block
  2196. mcLink.className = '';
  2197. if (trimFilename)
  2198. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2199. cMirrorcreatorComProcessed++;
  2200. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2201. {
  2202. if (Do_not_linkify_DL_links)
  2203. delinkifySnapshot(mcSnapshot);
  2204. startBulkCheck('container_link');
  2205. start('container_link');
  2206. }
  2207. } //end of function processMirrorcreatorFoundHosts
  2208.  
  2209. containers_processed = true;
  2210.  
  2211.  
  2212. function initRedirectors()
  2213. {
  2214. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2215. {
  2216. var redirector = new Object();
  2217. redirector.linkRegex = linkRegex;
  2218. redirector.xpath = xpathEx; //xpath expression
  2219. redirector.cProcessed = 0; //processed links count
  2220. redirector.cTotal = 0; //total links count
  2221. redirector.type = redirType; //redirectorTypes enum
  2222. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2223. redirectors.push(redirector);
  2224. }
  2225. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2226. {
  2227. addRedirector(
  2228. 'safelinking\\.net\/d\/\\w+',
  2229. "//a[contains(@href,'safelinking.net/d/')]",
  2230. redirectorTypes.HTTP_302,
  2231. null);
  2232. }
  2233. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2234. {
  2235. addRedirector(
  2236. 'linksafe\\.me\/d\/\\w+',
  2237. "//a[contains(@href,'linksafe.me/d/')]",
  2238. redirectorTypes.HTTP_302,
  2239. null);
  2240. }
  2241. if (GM_getValue("Check_linkto_dot_net_links", false))
  2242. {
  2243. addRedirector(
  2244. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2245. "//a[contains(@href,'linkto.net/?')]",
  2246. redirectorTypes.INNER_LINK,
  2247. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2248. }
  2249. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2250. {
  2251. addRedirector(
  2252. '(?:the)?loo\\.katt\\.it\/\\w+',
  2253. "//a[contains(@href,'loo.katt.it/')]",
  2254. redirectorTypes.THELOO_KATT_IT,
  2255. /Proceed to URL - <a href="(.+?)">/);
  2256. }
  2257. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2258. {
  2259. addRedirector(
  2260. 'madlink\\.sk\/\\w+',
  2261. "//a[contains(@href,'madlink.sk/')]",
  2262. redirectorTypes.INNER_LINK,
  2263. /name="url" value="(.+?)\s*"\/>/);
  2264. }
  2265. if (GM_getValue("Check_adf_dot_ly_links", false))
  2266. {
  2267. addRedirector(
  2268. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2269. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2270. redirectorTypes.ADF_LY,
  2271. null);
  2272. }
  2273. if (GM_getValue("Check_redi_dot_re_links", false))
  2274. {
  2275. addRedirector(
  2276. 'redi\\.re\/\\w+',
  2277. "//a[contains(@href,'redi.re/')]",
  2278. redirectorTypes.HTTP_302,
  2279. null);
  2280. }
  2281. if (GM_getValue("Check_bit_dot_ly_links", false))
  2282. {
  2283. addRedirector(
  2284. 'bit\\.ly\/\\w+',
  2285. "//a[contains(@href,'bit.ly/')]",
  2286. redirectorTypes.HTTP_302,
  2287. null);
  2288. }
  2289. }
  2290.  
  2291. }
  2292.  
  2293. var bulkHosts = new Array();
  2294. var bulkHostNames = new Array();
  2295. function initBulkCheck()
  2296. {
  2297. /////////////////////////////
  2298. // Inits filehost object
  2299. /////////////////////////////
  2300. // params :
  2301. // hostName -- [string] host name (multiple domains separated with coma)
  2302. // linkRegex -- [string] link regex
  2303. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2304. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2305. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2306. // corrReplWhat -- [regex] link correction regex (replace)
  2307. // corrReplWith -- [string]
  2308. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2309. //
  2310. // apiUrl -- [string] web linkchecker or API URL
  2311. // postData -- [string] POSTDATA of xmlhttprequest
  2312. // resLinkRegex -- [regex]
  2313. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2314. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2315. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2316. // func -- [function] bulkcheck handler, genBulkCheck if null
  2317. //
  2318. //////////////////////////////
  2319. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2320. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2321. {
  2322. var fileHost = new Object();
  2323.  
  2324. fileHost.linkRegex = linkRegex;
  2325. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2326. fileHost.xpath = xpath;
  2327. fileHost.cFound = 0; //found links counter
  2328. fileHost.links = new Array(); //found links
  2329. if (blockSize == null)
  2330. {
  2331. fileHost.blockSize = 50;
  2332. }
  2333. else
  2334. {
  2335. fileHost.blockSize = blockSize;
  2336. }
  2337. fileHost.corrMatch = corrMatch;
  2338. fileHost.corrReplWhat = corrReplWhat;
  2339. fileHost.corrReplWith = corrReplWith;
  2340. if (splitSeparator == null)
  2341. {
  2342. fileHost.splitSeparator = "\r\n";
  2343. }
  2344. else
  2345. {
  2346. fileHost.splitSeparator = splitSeparator;
  2347. }
  2348. fileHost.apiUrl = apiUrl;
  2349. fileHost.postData = postData;
  2350. fileHost.resLinkRegex = resLinkRegex;
  2351. fileHost.resLiveRegex = resLiveRegex;
  2352. fileHost.resDeadRegex = resDeadRegex;
  2353. fileHost.resUnavaRegex = resUnavaRegex;
  2354. if (func == null)
  2355. {
  2356. fileHost.func = genBulkCheck;
  2357. }
  2358. else
  2359. {
  2360. fileHost.func = func;
  2361. }
  2362. bulkHosts.push(fileHost);
  2363. var names = hostName.split(',');
  2364. var i = names.length;
  2365. while(i--)
  2366. {
  2367. bulkHostNames[names[i]] = fileHost;
  2368. }
  2369. }
  2370. var genType1 = [
  2371. "rodfile.com", "downloadani.me", //"migahost.com",
  2372. "rarefile.net",
  2373. "filesabc.com",
  2374. // "verzend.be",
  2375. // "movreel.com",
  2376. "file4safe.com", "filemac.com",
  2377. "longfiles.com",
  2378. "bitupload.com", //"4up.me",
  2379. //"uploadbaz.com"
  2380. ];
  2381. var genType2 = [ "queenshare.com",
  2382. "hulkload.com",
  2383. "amonshare.com", //"edoc.com",
  2384. ];
  2385. //xfilesharing 1.0
  2386. function addGenericType1()
  2387. {
  2388. var i = genType1.length;
  2389. while(i--)
  2390. {
  2391. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2392. {
  2393. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2394. addHost(
  2395. genType1[i].match(/[\w-]+/)[0], //hostname
  2396. regexSafe + "\/\\w+", //linkregex
  2397. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2398. null, //blocksize
  2399. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2400. null, //corrreplwhat
  2401. null, //corrreplwith
  2402. null, //separator
  2403. "http://" + genType1[i] + "/checkfiles.html", //api url
  2404. "op=checkfiles&process=Check+URLs&list=", //postdata
  2405. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2406. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2407. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2408. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2409. null //function delegate
  2410. )
  2411. }
  2412. }
  2413. }
  2414. //xfilesharing 2.0
  2415. function addGenericType2()
  2416. {
  2417. var i = genType2.length;
  2418. while(i--)
  2419. {
  2420. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2421. {
  2422. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2423. addHost(
  2424. genType2[i].match(/[\w-]+/)[0], //hostname
  2425. regexSafe + "\/\\w+", //linkregex
  2426. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2427. null, //blocksize
  2428. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2429. null, //corrreplwhat
  2430. null, //corrreplwith
  2431. null, //separator
  2432. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2433. "op=checkfiles&process=Check+URLs&list=", //postdata
  2434. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2435. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2436. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2437. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2438. null //function delegate
  2439. )
  2440. }
  2441. }
  2442. }
  2443. // TEMPLATE
  2444. // if (GM_getValue("Check__dot_com_links", false))
  2445. // {
  2446. // addHost(
  2447. // "", //hostname
  2448. // "", //linkregex
  2449. // "//a[contains(@href,'.com/')]", //xpath
  2450. // null, //blocksize
  2451. // null, //corrmatch
  2452. // null, //corrreplwhat
  2453. // null, //corrreplwith
  2454. // null, //separator
  2455. // "", //api url
  2456. // "", //postdata
  2457. // /()/, //linkregex
  2458. // //liveregex
  2459. // //deadregex
  2460. // //unavaregex
  2461. // null //function delegate
  2462. // )
  2463. // }
  2464. addGenericType1();
  2465. addGenericType2();
  2466.  
  2467. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2468. {
  2469. addHost(
  2470. "myvdrive,fileserving", //hostname
  2471. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2472. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2473. null, //blocksize
  2474. null, //corrmatch
  2475. null, //corrreplwhat
  2476. null, //corrreplwith
  2477. null, //separator
  2478. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2479. "links=", //postdata
  2480. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2481. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2482. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2483. null, //unavaregex
  2484. null //function delegate
  2485. )
  2486. }
  2487. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2488. {
  2489. addHost(
  2490. "hackerbox", //hostname
  2491. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2492. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2493. null, //blocksize
  2494. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2495. null, //corrreplwhat
  2496. null, //corrreplwith
  2497. null, //separator
  2498. "http://host.hackerbox.org/checkfiles.html", //api url
  2499. "op=checkfiles&process=Check+URLs&list=", //postdata
  2500. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2501. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2502. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2503. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2504. null //function delegate
  2505. )
  2506. }
  2507. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2508. {
  2509. addHost(
  2510. "hellshare", //hostname
  2511. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2512. "//a[contains(@href,'hellshare.')]", //xpath
  2513. 48, //blocksize
  2514. null, //corrmatch
  2515. null, //corrreplwhat
  2516. null, //corrreplwith
  2517. null, //separator
  2518. null, //api url
  2519. null, //postdata
  2520. null, //linkregex
  2521. null, //liveregex
  2522. null, //deadregex
  2523. null, //unavaregex
  2524. hellshareBulkCheck //function delegate
  2525. )
  2526. }
  2527. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2528. {
  2529. addHost(
  2530. "uploadrocket", //hostname
  2531. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2532. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2533. null, //blocksize
  2534. null, //corrmatch
  2535. null, //corrreplwhat
  2536. null, //corrreplwith
  2537. "\n", //separator
  2538. 'http://uploadrocket.net/?op=checkfiles',
  2539. 'op=checkfiles&process=Check+URLs&list=',
  2540. /uploadrocket.net\/(\w+)/,
  2541. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2542. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2543. null,
  2544. null //function delegate
  2545. )
  2546. }
  2547. if (GM_getValue("Check_uploading_dot_site_links", false))
  2548. {
  2549. addHost(
  2550. "uploading", //hostname
  2551. "(?:uploading\\.site)\/\\w+", //linkregex
  2552. "//a[contains(@href,'uploading.site/')]", //xpath
  2553. null, //blocksize
  2554. null, //corrmatch
  2555. null, //corrreplwhat
  2556. null, //corrreplwith
  2557. "\n", //separator
  2558. 'http://uploading.site/?op=checkfiles',
  2559. 'op=checkfiles&process=Check+URLs&list=',
  2560. /uploading.site\/(\w+)/,
  2561. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2562. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2563. null,
  2564. null //function delegate
  2565. )
  2566. }
  2567. if (GM_getValue("Check_1f_dot_al_links", false))
  2568. {
  2569. addHost(
  2570. "1f",
  2571. "(?:1f\\.al)\/d\/\\w+",
  2572. "//a[contains(@href,'1f.al/d/')]",
  2573. 100000, //blocksize
  2574. null, //corrmatch
  2575. null, //corrreplwhat
  2576. null, //corrreplwith
  2577. null, //separator
  2578. null,
  2579. null,
  2580. null,
  2581. null,
  2582. null,
  2583. null,
  2584. _1falBulkCheck //function delegate
  2585. )
  2586. }
  2587. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2588. {
  2589. addHost(
  2590. "k2s,keep2s,keep2share",
  2591. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2592. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2593. 100000, //blocksize
  2594. null, //corrmatch
  2595. null, //corrreplwhat
  2596. null, //corrreplwith
  2597. null, //separator
  2598. null,
  2599. null,
  2600. null,
  2601. null,
  2602. null,
  2603. null,
  2604. k2sBulkCheck //function delegate
  2605. )
  2606. }
  2607. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2608. {
  2609. addHost(
  2610. "tezfiles",
  2611. "(?:tezfiles\\.com)\/\\w+",
  2612. "//a[contains(@href,'tezfiles.com')]",
  2613. 100000, //blocksize
  2614. null, //corrmatch
  2615. null, //corrreplwhat
  2616. null, //corrreplwith
  2617. null, //separator
  2618. null,
  2619. null,
  2620. null,
  2621. null,
  2622. null,
  2623. null,
  2624. k2sBulkCheck //function delegate
  2625. )
  2626. }
  2627. if (GM_getValue("Check_fboom_dot_me_links", false))
  2628. {
  2629. addHost(
  2630. "fboom,fileboom",
  2631. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2632. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2633. 100000, //blocksize
  2634. null, //corrmatch
  2635. null, //corrreplwhat
  2636. null, //corrreplwith
  2637. null, //separator
  2638. null,
  2639. null,
  2640. null,
  2641. null,
  2642. null,
  2643. null,
  2644. fboomBulkCheck //function delegate
  2645. )
  2646. }
  2647. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2648. {
  2649. addHost(
  2650. "1fichier,dl4free",
  2651. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2652. "//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/?')]",
  2653. 100000, //blocksize
  2654. null, //corrmatch
  2655. null, //corrreplwhat
  2656. null, //corrreplwith
  2657. null, //separator
  2658. null,
  2659. null,
  2660. null,
  2661. null,
  2662. null,
  2663. null,
  2664. dl4free_1fichier_BulkCheck //function delegate
  2665. )
  2666. }
  2667. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2668. {
  2669. addHost(
  2670. "nitroflare",
  2671. "nitroflare\\.com\/\\w+",
  2672. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2673. 100000, //blocksize
  2674. null, //corrmatch
  2675. null, //corrreplwhat
  2676. null, //corrreplwith
  2677. null, //separator
  2678. null,
  2679. null,
  2680. null,
  2681. null,
  2682. null,
  2683. null,
  2684. nitroflareBulkCheck //function delegate
  2685. )
  2686. }
  2687. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2688. {
  2689. addHost(
  2690. "depositfiles,dfiles",
  2691. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2692. "//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/')]",
  2693. 100000, //blocksize
  2694. null, //corrmatch
  2695. null, //corrreplwhat
  2696. null, //corrreplwith
  2697. null, //separator
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. null,
  2704. depositfilesBulkCheck //function delegate
  2705. )
  2706. }
  2707. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2708. {
  2709. addHost(
  2710. "filesflash", //hostname
  2711. "filesflash\\.com\/\\w+", //linkregex
  2712. "//a[contains(@href,'filesflash.com')]", //xpath
  2713. null, //blocksize
  2714. null, //corrmatch
  2715. /http:\/\//, //corrreplwhat
  2716. '', //corrreplwith
  2717. null, //separator
  2718. 'http://filesflash.com/checklinks.php',
  2719. 'submit=Go&links=',
  2720. /filesflash\.com\/(\w+)/,
  2721. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2722. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2723. null,
  2724. null //function delegate
  2725. )
  2726. }
  2727. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2728. {
  2729. addHost(
  2730. "jumbofiles", //hostname
  2731. "jumbofiles\\.com\/\\w+", //linkregex
  2732. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2733. null, //blocksize
  2734. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2735. null, //corrreplwhat
  2736. null, //corrreplwith
  2737. null, //separator
  2738. "http://jumbofiles.com/checkfiles.html", //api url
  2739. "op=checkfiles&process=Check+URLs&list=", //postdata
  2740. /(jumbofiles\.com\/\w+)/, //linkregex
  2741. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2742. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2743. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2744. null //function delegate
  2745. )
  2746. }*/
  2747. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2748. {
  2749. addHost(
  2750. "edisk", //hostname
  2751. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2752. "//a[contains(@href,'edisk.')]", //xpath
  2753. null, //blocksize
  2754. null, //corrmatch
  2755. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2756. 'edisk.cz/stahni', //corrreplwith
  2757. null, //separator
  2758. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2759. 'submitBtn=Zkontrolovat&checkFiles=',
  2760. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2761. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2762. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2763. null,
  2764. null //function delegate
  2765. )
  2766. }
  2767. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2768. {
  2769. GM_xmlhttpRequest( //age check skip
  2770. {
  2771. method: 'POST',
  2772. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2773. headers: {
  2774. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2775. 'Content-type': 'application/x-www-form-urlencoded',
  2776. 'Referer': ""
  2777. }
  2778. });
  2779. addHost(
  2780. "bezvadata", //hostname
  2781. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2782. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2783. null, //blocksize
  2784. null, //corrmatch
  2785. null, //corrreplwhat
  2786. null, //corrreplwith
  2787. null, //separator
  2788. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2789. 'zkontrolovat=Zkontrolovat&odkazy=',
  2790. /(bezvadata\.cz\/stahnout\/\d+)/,
  2791. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2792. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2793. null,
  2794. null //function delegate
  2795. )
  2796. }
  2797. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2798. {
  2799. addHost(
  2800. "linkcrypt", //hostname
  2801. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2802. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2803. 100000, //blocksize
  2804. null, //corrmatch
  2805. null, //corrreplwhat
  2806. null, //corrreplwith
  2807. null, //separator
  2808. null,
  2809. null,
  2810. null,
  2811. null,
  2812. null,
  2813. null,
  2814. linkcryptBulkCheck //function delegate
  2815. )
  2816. }
  2817. if (GM_getValue("Check_videobb_dot_com_links", false))
  2818. {
  2819. addHost(
  2820. "videobb", //hostname
  2821. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2822. "//a[contains(@href,'videobb.com')]", //xpath
  2823. null, //blocksize
  2824. null, //corrmatch
  2825. /watch_video\.php\?v=/, //corrreplwhat
  2826. 'video/', //corrreplwith
  2827. null, //separator
  2828. 'http://www.videobb.com/link_checker.php',
  2829. 'links=',
  2830. /videobb\.com\/video\/(\w+)/,
  2831. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2832. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2833. null,
  2834. null //function delegate
  2835. )
  2836. }
  2837. if (GM_getValue("Check_filerio_dot_com_links", false))
  2838. {
  2839. addHost(
  2840. "filekeen,filerio", //hostname
  2841. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2842. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2843. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2844. null, //blocksize
  2845. null, //corrmatch
  2846. null, //corrreplwhat
  2847. null, //corrreplwith
  2848. null, //separator
  2849. 'http://filerio.in/checkfiles.html',
  2850. 'op=checkfiles&process=Check+URLs&list=',
  2851. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2852. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2853. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2854. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2855. null //function delegate
  2856. )
  2857. }
  2858. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2859. {
  2860. addHost(
  2861. "share-online,egoshare", //hostname
  2862. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2863. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2864. null, //blocksize
  2865. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2866. null, //corrreplwhat
  2867. null, //corrreplwith
  2868. "\n", //separator
  2869. 'http://api.share-online.biz/linkcheck.php',
  2870. 'links=',
  2871. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2872. /\w+;OK/g,
  2873. /\w+;(?:NOTFOUND|DELETED)/g,
  2874. null,
  2875. null //function delegate
  2876. )
  2877. }
  2878. if (GM_getValue("Check_oboom_dot_com_links", false))
  2879. {
  2880. addHost(
  2881. "oboom", //hostname
  2882. "oboom\\.com\/#?\\w{8}", //linkregex
  2883. "//a[contains(@href,'oboom.com/')]", //xpath
  2884. null, //blocksize
  2885. /oboom\.com\/#?(\w{8})/, //corrmatch
  2886. null, //corrreplwhat
  2887. null, //corrreplwith
  2888. null, //separator
  2889. null,
  2890. null,
  2891. null,
  2892. null, //liveregex
  2893. null, //deadregex
  2894. null,
  2895. oboomBulk //function delegate
  2896. )
  2897. }
  2898. if (GM_getValue("Check_mega_dot_nz_links", false))
  2899. {
  2900. addHost(
  2901. "mega",
  2902. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2903. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2904. 100000, //blocksize
  2905. null, //corrmatch
  2906. null, //corrreplwhat
  2907. null, //corrreplwith
  2908. null, //separator
  2909. null,
  2910. null,
  2911. null,
  2912. null,
  2913. null,
  2914. null,
  2915. megaBulkCheck //function delegate
  2916. )
  2917. }
  2918.  
  2919. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2920.  
  2921. if (GM_getValue("Check_extabit_dot_com_links", false))
  2922. {
  2923. addHost(
  2924. "extabit", //hostname
  2925. "extabit\\.com\/file\/\\w+", //linkregex
  2926. "//a[contains(@href,'extabit.com')]", //xpath
  2927. null, //blocksize
  2928. null, //corrmatch
  2929. null, //corrreplwhat
  2930. null, //corrreplwith
  2931. "\n", //separator
  2932. "http://extabit.com/linkchecker.jsp", //api url
  2933. "url=", //postdata
  2934. /extabit\.com\/(file\/\w+)/, //linkregex
  2935. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2936. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2937. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2938. extabitBulkCheck //function delegate
  2939. )
  2940. }
  2941. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2942. {
  2943. addHost(
  2944. "junocloud", //hostname
  2945. "junocloud\\.me\/\\w+", //linkregex
  2946. "//a[contains(@href,'junocloud.me')]", //xpath
  2947. null, //blocksize
  2948. null, //corrmatch
  2949. null, //corrreplwhat
  2950. null, //corrreplwith
  2951. "\n", //separator
  2952. "http://junocloud.me/checkfiles.html", //api url
  2953. "op=checkfiles&process=Check+URLs&list=", //postdata
  2954. /(junocloud\.me\/\w+)/, //linkregex
  2955. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2956. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2957. null, //unavaregex
  2958. null //function delegate
  2959. )
  2960. } */
  2961. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2962. {
  2963. addHost(
  2964. "webshare", //hostname
  2965. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2966. "//a[contains(@href,'webshare.cz')]", //xpath
  2967. 100000, //blocksize
  2968. null, //corrmatch
  2969. null, //corrreplwhat
  2970. null, //corrreplwith
  2971. null, //separator
  2972. null, //api url
  2973. null, //postdata
  2974. null, //linkregex
  2975. null, //liveregex
  2976. null, //deadregex
  2977. null, //unavaregex
  2978. webshareBulkCheck //function delegate
  2979. )
  2980. }
  2981. /////////////////////////////
  2982. // Common function delegate to send links to get checked by host linkchecker
  2983. /////////////////////////////
  2984. // If you define a new delegate, you may use following properties
  2985. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2986. // this.apiUrl [string] API or web linkchecker URL
  2987. // this.postData [string] POSTDATA for POST request
  2988. // this.resLiveRegex [regex] matches live substrings in the request response
  2989. // this.resDeadRegex [regex] matches dead substrings in the request response
  2990. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2991. //
  2992. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2993. //
  2994. // See the code below for standard bulkcheck handling reference.
  2995. //////////////////////////////
  2996. function genBulkCheck()
  2997. {
  2998. var blockIdx = this.links.length;
  2999. while (blockIdx--)
  3000. {
  3001. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3002. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3003. }
  3004. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3005. {
  3006. GM_xmlhttpRequest(
  3007. {
  3008. method: 'POST',
  3009. url: api,
  3010. headers: {
  3011. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3012. 'Content-type': 'application/x-www-form-urlencoded',
  3013. 'Referer': api,
  3014. 'X-Requested-With': 'XMLHttpRequest'
  3015. },
  3016. data: postData + encodeURIComponent(links),
  3017. onload: function (result)
  3018. {
  3019. var res = result.responseText;
  3020. // GM_log(res);
  3021. var i;
  3022.  
  3023. var livelinks = res.match(liveRegex);
  3024. var deadlinks = res.match(deadRegex);
  3025. // GM_log(livelinks);
  3026. // GM_log(deadlinks);
  3027. if (livelinks != null)
  3028. {
  3029. i = livelinks.length - 1;
  3030. do
  3031. {
  3032. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3033. }
  3034. while (i--);
  3035. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3036. }
  3037.  
  3038. if (deadlinks != null)
  3039. {
  3040. i = deadlinks.length - 1;
  3041. do
  3042. {
  3043. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3044. }
  3045. while (i--);
  3046. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3047. }
  3048.  
  3049. if (unavaRegex != null)
  3050. {
  3051. var unavalinks = res.match(unavaRegex);
  3052. if (unavalinks)
  3053. {
  3054. i = unavalinks.length - 1;
  3055. do
  3056. {
  3057. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3058. }
  3059. while (i--);
  3060. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3061. }
  3062. }
  3063. }
  3064. });
  3065. }
  3066. }
  3067. //specialized bulkchecking handlers follow
  3068. function webshareBulkCheck()
  3069. {
  3070. var arr = this.links[0].split("\r\n");
  3071. var i = arr.length;
  3072. while(i--)
  3073. {
  3074. postRequest(arr[i]);
  3075. }
  3076. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3077. function postRequest(wsLink)
  3078. {
  3079. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3080. GM_xmlhttpRequest(
  3081. {
  3082. method: 'POST',
  3083. url: "http://webshare.cz/api/file_info/",
  3084. headers: {
  3085. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3086. 'Content-type': 'application/x-www-form-urlencoded',
  3087. 'Referer': "",
  3088. },
  3089. data: "wst=&ident=" + id,
  3090. onload: function (result)
  3091. {
  3092. var res = result.responseText;
  3093. if (res.match(/<name>.+?<\/name>/))
  3094. {
  3095. DisplayTheCheckedLinks([id], 'alive_link');
  3096. }
  3097. else
  3098. {
  3099. DisplayTheCheckedLinks([id], 'adead_link');
  3100. }
  3101. }
  3102. });
  3103. }
  3104. }
  3105. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3106. //extabit also doesn't like requests in fast succession, so some delays are added.
  3107. function extabitBulkCheck()
  3108. {
  3109. var timeoutDelay = 0;
  3110. var blockIdx = this.links.length;
  3111. while (blockIdx--)
  3112. {
  3113. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3114. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3115. }
  3116. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3117. {
  3118. GM_xmlhttpRequest(
  3119. {
  3120. method: 'POST',
  3121. url: api,
  3122. headers: {
  3123. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3124. 'Content-type': 'application/x-www-form-urlencoded',
  3125. 'Referer': api,
  3126. 'X-Requested-With': 'XMLHttpRequest'
  3127. },
  3128. data: postData + encodeURIComponent(links),
  3129. onload: function (result)
  3130. {
  3131. var res = result.responseText;
  3132. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3133. {
  3134. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3135. {
  3136. //GM_log(tryID + ': ' + link);
  3137. GM_xmlhttpRequest(
  3138. {
  3139. method: 'GET',
  3140. url: link,
  3141. 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': ""},
  3142. onload: function(result2)
  3143. {
  3144. var res2 = result2.responseText;
  3145. var res2Status = result.status;
  3146. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3147. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3148. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3149. {
  3150. if (tryID < 7)
  3151. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3152. else
  3153. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3154. }
  3155. }
  3156. });
  3157. }
  3158. //split the hrefs and check them one by one
  3159. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3160. links = links.split('\n');
  3161. var i = links.length;
  3162. while (i--)
  3163. {
  3164. if (links[i])
  3165. {
  3166. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3167. timeoutDelay += 500;
  3168. }
  3169. }
  3170. return;
  3171. }
  3172. var i;
  3173.  
  3174. var livelinks = res.match(liveRegex);
  3175. var deadlinks = res.match(deadRegex);
  3176. if (livelinks != null)
  3177. {
  3178. i = livelinks.length - 1;
  3179. do
  3180. {
  3181. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3182. }
  3183. while (i--);
  3184. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3185. }
  3186.  
  3187. if (deadlinks != null)
  3188. {
  3189. i = deadlinks.length - 1;
  3190. do
  3191. {
  3192. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3193. }
  3194. while (i--);
  3195. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3196. }
  3197.  
  3198. if (unavaRegex != null)
  3199. {
  3200. var unavalinks = res.match(unavaRegex);
  3201. if (unavalinks)
  3202. {
  3203. i = unavalinks.length - 1;
  3204. do
  3205. {
  3206. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3207. }
  3208. while (i--);
  3209. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3210. }
  3211. }
  3212. }
  3213. });
  3214. }
  3215. }
  3216. function _1falBulkCheck()
  3217. {
  3218. var arr = this.links[0].split("\r\n");
  3219. var i = arr.length;
  3220. c=0;
  3221. arrIDs=[];
  3222. while(i--)
  3223. {
  3224. id = arr[i].match(/\/d\/(\w+)/)[1];
  3225.  
  3226. _1falalreadyexist=false;
  3227. for (j=0;j<arrIDs.length;j++)
  3228. {
  3229. if (arrIDs[j]==id)
  3230. {
  3231. _1falalreadyexist=g
  3232. break;
  3233. }
  3234. }
  3235. if (_1falalreadyexist) continue;
  3236. arrIDs.push(id);
  3237. c++;
  3238. setTimeout(_1falRequest,c*500,arr[i]);
  3239. }
  3240. }
  3241. function _1falRequest(_1falLink)
  3242. {
  3243. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3244. GM_xmlhttpRequest(
  3245. {
  3246. method: 'GET',
  3247. url: _1falLink,
  3248. headers: {
  3249. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3250. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3251. 'Referer': 'http://www.planetsuzy.org/'
  3252. },
  3253. onload: function (result)
  3254. {
  3255. var res = result.responseText;
  3256. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3257. if (FAarr!=null)
  3258. {
  3259. FALink=FAarr[1];
  3260. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3261. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3262. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3263. GM_xmlhttpRequest(
  3264. {
  3265. method: 'POST',
  3266. url: FALink,
  3267. headers: {
  3268. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3269. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3270. 'Content-Type': 'application/x-www-form-urlencoded',
  3271. 'Referer': _1falLink
  3272. },
  3273. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3274. onload: function (_2ndresult)
  3275. {
  3276. var newres = _2ndresult.responseText;
  3277. FAalivelink=new RegExp("method_free");
  3278. if (FAalivelink.test(newres))
  3279. {
  3280. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3281. return;
  3282. }
  3283. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3284. if (FAdeadlink.test(newres))
  3285. {
  3286. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3287. return;
  3288. }
  3289. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3290. return;
  3291. }
  3292. });
  3293. return;
  3294. }
  3295. else
  3296. {
  3297. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3298. return;
  3299. }
  3300. },
  3301. onerror: function ()
  3302. {
  3303. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3304. return;
  3305. }
  3306. });
  3307. }
  3308. function k2sBulkCheck()
  3309. {
  3310. var arr = this.links[0].split("\r\n");
  3311. var i = arr.length;
  3312. c=0;
  3313. arrIDs=[];
  3314. while(i--)
  3315. {
  3316. id = arr[i].match(/\/file\/(\w+)/)[1];
  3317. if (id=='info')
  3318. {
  3319. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3320. continue;
  3321. }
  3322. k2salreadyexist=false;
  3323. for (j=0;j<arrIDs.length;j++)
  3324. {
  3325. if (arrIDs[j]==id)
  3326. {
  3327. k2salreadyexist=g
  3328. break;
  3329. }
  3330. }
  3331. if (k2salreadyexist) continue;
  3332. arrIDs.push(id);
  3333. c++;
  3334. setTimeout(k2sRequest,c*500,arr[i]);
  3335. }
  3336. }
  3337. function k2sRequest(K2SLink)
  3338. {
  3339. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3340. GM_xmlhttpRequest(
  3341. {
  3342. method: 'GET',
  3343. url: K2SLink,
  3344. headers: {
  3345. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3346. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3347. 'Referer': ''
  3348. },
  3349. onload: function (result)
  3350. {
  3351. var res = result.responseText;
  3352. K2Dom='k2s.cc';
  3353. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3354. K2SLink2='http://'+K2Dom+'/file/'+id;
  3355.  
  3356. 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'))
  3357. {
  3358. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3359. return;
  3360. }
  3361. if (res.match('method="post">Displaying'))
  3362. {
  3363. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3364. return;
  3365. }
  3366. if (res.match('Premium only|only for premium members'))
  3367. {
  3368. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3369. return;
  3370. }
  3371. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3372. {
  3373. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3374. slID=slow_id.exec(res)[1];
  3375. GM_xmlhttpRequest(
  3376. {
  3377. method: 'POST',
  3378. url: K2SLink2,
  3379. headers: {
  3380. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3381. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3382. 'Content-Type': 'application/x-www-form-urlencoded',
  3383. 'Referer': K2SLink
  3384. },
  3385. data: 'slow_id='+slID+'&yt0=',
  3386. onload: function (result)
  3387. {
  3388. var newres = result.responseText;
  3389. newoversizedtest=new RegExp("Free user can't download large files.");
  3390. if (newoversizedtest.test(newres))
  3391. {
  3392. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3393. return;
  3394. }
  3395. else
  3396. {
  3397. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3398. return;
  3399. }
  3400. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3401. return;
  3402. }
  3403. });
  3404. /////////////////////end additional check for oversized links
  3405. return;
  3406. }
  3407. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3408. return;
  3409. },
  3410. onerror: function ()
  3411. {
  3412. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3413. return;
  3414. }
  3415. });
  3416. }
  3417. function fboomBulkCheck()
  3418. {
  3419. var arr = this.links[0].split("\r\n");
  3420. var i = arr.length;
  3421. c=0;
  3422. arrIDs=[];
  3423. while(i--)
  3424. {
  3425. id = arr[i].match(/\/file\/(\w+)/)[1];
  3426. if (id=='info')
  3427. {
  3428. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3429. continue;
  3430. }
  3431. fbalreadyexist=false;
  3432. for (j=0;j<arrIDs.length;j++)
  3433. {
  3434. if (arrIDs[j]==id)
  3435. {
  3436. fbalreadyexist=true;
  3437. break;
  3438. }
  3439. }
  3440. if (fbalreadyexist) continue;
  3441. arrIDs.push(id);
  3442. c++;
  3443. setTimeout(fboomRequest,c*500,arr[i]);
  3444. }
  3445. }
  3446. function fboomRequest(FBoomLink)
  3447. {
  3448. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3449. FBoomLink2='http://fboom.me/file/'+id;
  3450. GM_xmlhttpRequest(
  3451. {
  3452. method: 'GET',
  3453. url: FBoomLink,
  3454. headers: {
  3455. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3456. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3457. 'Referer': ''
  3458. },
  3459. onload: function (result)
  3460. {
  3461. var res = result.responseText;
  3462. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3463. {
  3464. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3465. return;
  3466. }
  3467. if (res.match('method="post">Displaying'))
  3468. {
  3469. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3470. return;
  3471. }
  3472. if (res.match('only for premium members'))
  3473. {
  3474. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3475. return;
  3476. }
  3477. if (res.match('id="download-free" href="#"'))
  3478. {
  3479. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3480. slID=slow_id.exec(res)[1];
  3481. GM_xmlhttpRequest(
  3482. {
  3483. method: 'POST',
  3484. url: FBoomLink2,
  3485. headers: {
  3486. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3487. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3488. 'Content-Type': 'application/x-www-form-urlencoded',
  3489. 'Referer': FBoomLink
  3490. },
  3491. data: 'slow_id='+slID,
  3492. onload: function (result)
  3493. {
  3494. var newres = result.responseText;
  3495. newoversizedtest=new RegExp("Downloading is not possible");
  3496. if (newoversizedtest.test(newres))
  3497. {
  3498. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3499. return;
  3500. }
  3501. else
  3502. {
  3503. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3504. return;
  3505. }
  3506. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3507. return;
  3508. }
  3509. });
  3510. /////////////////////end additional check for oversized links
  3511. return;
  3512. }
  3513. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3514. return;
  3515. },
  3516. onerror: function ()
  3517. {
  3518. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3519. return;
  3520. }
  3521. });
  3522. }
  3523. function dl4free_1fichier_BulkCheck()
  3524. {
  3525. var arr = this.links[0].split("\r\n");
  3526. var i = arr.length;
  3527. while(i--)
  3528. {
  3529. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3530. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3531. gethead_dl4free_1fichier(arr[i]);
  3532. }
  3533. }
  3534. function gethead_dl4free_1fichier(link)
  3535. {
  3536. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3537. GM_xmlhttpRequest(
  3538. {
  3539. method: 'HEAD',
  3540. url: link,
  3541. headers: {
  3542. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3543. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3544. 'Referer': ''
  3545. },
  3546. onload: function (result)
  3547. {
  3548. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3549. {
  3550. DisplayTheCheckedLinks([id], 'alive_link');
  3551. return;
  3552. }
  3553. else
  3554. {
  3555. getlink_dl4free_1fichier(link);
  3556. }
  3557. return;
  3558. },
  3559. onerror: function ()
  3560. {
  3561. DisplayTheCheckedLinks([id], 'unava_link');
  3562. }
  3563. });
  3564. }
  3565. function getlink_dl4free_1fichier(link)
  3566. {
  3567. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3568. GM_xmlhttpRequest(
  3569. {
  3570. method: 'GET',
  3571. url: link,
  3572. headers: {
  3573. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3574. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3575. 'Referer': ''
  3576. },
  3577. onload: function (result)
  3578. {
  3579. var res = result.responseText;
  3580. 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');
  3581. if (deadRegex.test(res))
  3582. {
  3583. DisplayTheCheckedLinks([id], 'adead_link');
  3584. return;
  3585. }
  3586. premiumRegex=new RegExp('only for premium users');
  3587. if (premiumRegex.test(res))
  3588. {
  3589. DisplayTheCheckedLinks([id], 'prem_link');
  3590. return;
  3591. }
  3592. 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="');
  3593. if (liveRegex.test(res))
  3594. {
  3595. DisplayTheCheckedLinks([id], 'alive_link');
  3596. return;
  3597. }
  3598. DisplayTheCheckedLinks([id], 'unava_link');
  3599. },
  3600. onerror: function ()
  3601. {
  3602. DisplayTheCheckedLinks([id], 'unava_link');
  3603. }
  3604. });
  3605. }
  3606. function nitroflareBulkCheck()
  3607. {
  3608. var arr = this.links[0].split("\r\n");
  3609. var i = arr.length;
  3610. while(i--)
  3611. {
  3612. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3613. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3614. NitroFlareRequest(arr[i]);
  3615. }
  3616. }
  3617. function NitroFlareRequest(NFLink)
  3618. {
  3619. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3620. GM_xmlhttpRequest(
  3621. {
  3622. method: "GET",
  3623. url: NFLink,
  3624. headers: {
  3625. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3626. 'Content-Type': 'application/x-www-form-urlencoded',
  3627. 'Referer': ""
  3628. },
  3629. onload: function (result)
  3630. {
  3631. var res = result.responseText;
  3632. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3633. {
  3634. DisplayTheCheckedLinks([NFID], 'adead_link');
  3635. return;
  3636. }
  3637. if (res.match('Report this file<\/a>'))
  3638. {
  3639. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3640. sizearr=measureRegex.exec(res);
  3641. if (sizearr[2]=='GB')
  3642. {
  3643. if (parseFloat(sizearr[1])>1)
  3644. {
  3645. DisplayTheCheckedLinks([NFID], 'prem_link');
  3646. }
  3647. else
  3648. {
  3649. DisplayTheCheckedLinks([NFID], 'alive_link');
  3650. }
  3651. }
  3652. else
  3653. {
  3654. DisplayTheCheckedLinks([NFID], 'alive_link');
  3655. }
  3656. return;
  3657. }
  3658. DisplayTheCheckedLinks([NFID], 'unava_link');
  3659. }
  3660. });
  3661. }
  3662. function depositfilesBulkCheck()
  3663. {
  3664. var arr = this.links[0].split("\r\n");
  3665. var i = arr.length;
  3666. var seqno = Math.floor(Math.random()*1000000000);
  3667. while(i--)
  3668. {
  3669. DFpostRequest(arr[i]);
  3670. }
  3671. }
  3672. function DFpostRequest(DFLink)
  3673. {
  3674. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3675. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3676. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3677. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3678. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3679. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3680. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3681. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3682. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3683. GM_xmlhttpRequest(
  3684. {
  3685. method: "GET",
  3686. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3687. headers: {
  3688. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3689. 'Content-Type': 'application/x-www-form-urlencoded',
  3690. 'Referer': ""
  3691. },
  3692. onload: function (result)
  3693. {
  3694. var res = result.responseText;
  3695. if (res.match('(?:no_file|file_ban)'))
  3696. {
  3697. DisplayTheCheckedLinks([id], 'adead_link');
  3698. return;
  3699. }
  3700. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3701. {
  3702. DisplayTheCheckedLinks([id], 'alive_link');
  3703. return;
  3704. }
  3705. DisplayTheCheckedLinks([id], 'unava_link');
  3706. }
  3707. });
  3708. }
  3709.  
  3710. function megaBulkCheck()
  3711. {
  3712. var arr = this.links[0].split("\r\n");
  3713. var i = arr.length;
  3714. var seqno = Math.floor(Math.random()*1000000000);
  3715. while(i--)
  3716. {
  3717. postRequest(arr[i]);
  3718. }
  3719. function postRequest(megaLink)
  3720. {
  3721. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3722. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3723. if (id=='F')
  3724. {
  3725. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3726. DisplayTheCheckedLinks([id], 'unava_link');
  3727. }
  3728. else
  3729. GM_xmlhttpRequest(
  3730. {
  3731. method: "POST",
  3732. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3733. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3734. headers: {
  3735. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3736. 'Content-Type': 'application/xml',
  3737. 'Referer': "https://mega.co.nz/"
  3738. },
  3739. onload: function (result)
  3740. {
  3741. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3742. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3743. {
  3744.  
  3745. DisplayTheCheckedLinks([id], 'adead_link');
  3746. }
  3747. if (res.at)
  3748. {
  3749. DisplayTheCheckedLinks([id], 'alive_link');
  3750. }
  3751. if (res.e == "ETEMPUNAVAIL")
  3752. {
  3753. DisplayTheCheckedLinks([id], 'unava_link');
  3754. }
  3755. }
  3756. });
  3757. }
  3758.  
  3759. }
  3760.  
  3761. function oboomBulk() {
  3762. var a = [], b = [], c = [];
  3763. var array = this.links;
  3764.  
  3765. GM_xmlhttpRequest({
  3766. method: 'GET',
  3767. url: 'https://www.oboom.com/1/guestsession',
  3768. headers: {
  3769. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3770. 'Content-type': 'application/x-www-form-urlencoded',
  3771. 'Referer': 'https://www.oboom.com',
  3772. 'X-Requested-With': 'XMLHttpRequest'
  3773. },
  3774. onload: function(result) {
  3775. var blockIdx = array.length;
  3776. var token = JSON.parse(result.responseText)[1];
  3777. while (blockIdx--) {
  3778. startCheck(array[blockIdx].split('\r\n'), token);
  3779. }
  3780. }
  3781. });
  3782.  
  3783. function startCheck(links, token) {
  3784. GM_xmlhttpRequest({
  3785. method: 'POST',
  3786. url: "https://api.oboom.com/1/info",
  3787. headers: {
  3788. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3789. 'Content-type': 'application/x-www-form-urlencoded',
  3790. 'Referer': 'https://www.oboom.com/',
  3791. 'X-Requested-With': 'XMLHttpRequest'
  3792. },
  3793. data: "token=" + token + "&items=" + links.join(","),
  3794. onload: function(result) {
  3795. var res = JSON.parse(result.responseText)[1];
  3796. var i = res.length, s;
  3797.  
  3798. while (i--) {
  3799. s = res[i].state;
  3800. if (s == 'online') a.push(res[i].id);
  3801. 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);
  3802. else c.push(res[i].id);
  3803. }
  3804.  
  3805. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3806. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3807. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3808. }
  3809. });
  3810. }
  3811. }
  3812. function linkcryptBulkCheck()
  3813. {
  3814. var arr = this.links[0].split("\r\n");
  3815. var i = arr.length;
  3816. while(i--)
  3817. {
  3818. postRequest(arr[i]);
  3819. }
  3820. function postRequest(lcLink)
  3821. {
  3822. GM_xmlhttpRequest(
  3823. {
  3824. method: "GET",
  3825. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3826. headers: {
  3827. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3828. 'Accept': 'text/xml',
  3829. 'Referer': ""
  3830. },
  3831. onload: function (result)
  3832. {
  3833. var res = result.responseText;
  3834. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3835. {
  3836. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3837. return;
  3838. }
  3839. if (res.match(/folderStatus>1/)) //Online status
  3840. {
  3841. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3842. }
  3843. else
  3844. {
  3845. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3846. }
  3847. }
  3848. });
  3849. }
  3850. }
  3851.  
  3852. /* function megashareBulkCheck()
  3853. {
  3854. var arr = this.links[0].split("\r\n");
  3855. var i = arr.length;
  3856. while(i--)
  3857. {
  3858. postRequest(arr[i]);
  3859. }
  3860. function postRequest(msLink)
  3861. {
  3862. GM_xmlhttpRequest(
  3863. {
  3864. method: "GET",
  3865. url: msLink,
  3866. headers: {
  3867. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3868. 'Content-Type': 'application/x-www-form-urlencoded',
  3869. 'Referer': ""
  3870. },
  3871. onload: function (result)
  3872. {
  3873. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3874. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3875. if ((prZVal == null) || (btn3Name == null))
  3876. {
  3877. return;
  3878. }
  3879. GM_xmlhttpRequest(
  3880. {
  3881. method: "POST",
  3882. url: msLink,
  3883. headers: {
  3884. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3885. 'Content-Type': 'application/x-www-form-urlencoded',
  3886. 'Referer': ""
  3887. },
  3888. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3889. onload: function (result)
  3890. {
  3891. var res = result.responseText;
  3892. if (res.match(/<div id="err">/))
  3893. {
  3894. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3895. }
  3896. else
  3897. {
  3898. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3899. }
  3900. }
  3901. });
  3902. }
  3903. });
  3904. }
  3905. } */
  3906. function hellshareBulkCheck()
  3907. {
  3908. var links = this.links;
  3909. GM_xmlhttpRequest(
  3910. {
  3911. method: "GET",
  3912. url: 'http://www.hellshare.com',
  3913. headers: {
  3914. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3915. 'Accept': 'text/xml',
  3916. 'Referer': ""
  3917. },
  3918. onload: function (result)
  3919. {
  3920. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3921.  
  3922. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3923. if (domain == 'sk')
  3924. loc = 'check=Skontrolova%C5%A5&links=';
  3925. if (domain == 'com')
  3926. loc = 'check=Check+availability&links=';
  3927. if (domain == 'hu')
  3928. loc = 'check=Kontrol%C3%A1lj&links=';
  3929. if (domain == 'pl')
  3930. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3931.  
  3932. genBulkCheck.call({ links: links,
  3933. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3934. postData: loc,
  3935. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3936. 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,
  3937. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3938. resUnavaRegex: null
  3939. });
  3940. }
  3941. });
  3942. }
  3943. /**
  3944. * Displays check result
  3945. * @param {Array} Array of links or link fragments.
  3946. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3947. */
  3948. function DisplayTheCheckedLinks(links, resultStatus)
  3949. {
  3950. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3951. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3952. if (Do_not_linkify_DL_links)
  3953. { //TODO into separate jQuery function
  3954. $links.replaceWith(function(){
  3955. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3956. });
  3957. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3958. }
  3959. $links.removeClass().addClass(resultStatus);
  3960. $links.each(function() {
  3961. this.href = Ref_anonymize_service + $(this).attr("href");
  3962. });
  3963. switch(resultStatus)
  3964. {
  3965. case "alive_link": cLinksAlive += $links.length;
  3966. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3967. break;
  3968. case "adead_link": cLinksDead += $links.length;
  3969. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3970. break;
  3971. case "prem_link": cLinksprem += $links.length;
  3972. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3973. break;
  3974. case "unava_link": cLinksUnava += $links.length; break;
  3975. default:
  3976. }
  3977. cLinksProcessed += $links.length;
  3978. }
  3979. }
  3980. // starts bulkchecking
  3981. //
  3982. // params
  3983. // filterId [string] restricts link detection with passed id attribute
  3984. function startBulkCheck(filterId)
  3985. {
  3986. var cHosts = bulkHosts.length;
  3987. if (cHosts == 0) //no filehostings selected
  3988. return;
  3989. // STEP 1 linkify the links
  3990. var linkifyRegex = '';
  3991. var hostIdx = cHosts;
  3992. while(hostIdx--)
  3993. {
  3994. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3995. }
  3996. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3997. linkify(linkifyRegex);
  3998. //
  3999. //STEP 2 detect link objects
  4000. var xpathAll = '';
  4001. var hostIdx = cHosts;
  4002. while(hostIdx--)
  4003. {
  4004. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4005. }
  4006. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4007. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4008. if (filterId != null) //insert id restriction in the xpath
  4009. {
  4010. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4011. }
  4012. else
  4013. {
  4014. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4015. }
  4016. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4017. if (filterId == null)
  4018. {
  4019. cLinksTotal += links.snapshotLength;
  4020. }
  4021. //
  4022. //STEP 3 bind links with hostings
  4023. var linkIdx = links.snapshotLength;
  4024. var href = null;
  4025. if (linkIdx == 0) // no links found
  4026. return;
  4027. var name;
  4028. while (linkIdx--)
  4029. {
  4030. href = links.snapshotItem(linkIdx).href;
  4031. try // DO NOT REMOVE, filters crap that went through xpath detection
  4032. {
  4033. name = gimmeHostName(href);
  4034. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4035. bulkHostNames[name].links.push(href);
  4036. }
  4037. catch(e)
  4038. {
  4039.  
  4040. }
  4041. }
  4042. //
  4043. //STEP 4 process the links for each filehosting
  4044. var hostIdx = cHosts;
  4045. var host;
  4046. var m,n;
  4047. var arr;
  4048. while (hostIdx--)
  4049. {
  4050. host = bulkHosts[hostIdx];
  4051. arr = host.links;
  4052. if (arr.length == 0) //no links for this hosting, skip
  4053. {
  4054. continue;
  4055. }
  4056. //links match corrections
  4057. if (host.corrMatch != null)
  4058. {
  4059. var idx = arr.length;
  4060. while (idx--)
  4061. {
  4062. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4063. }
  4064. }
  4065. //links replace corrections
  4066. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4067. {
  4068. var idx = arr.length;
  4069. while (idx--)
  4070. {
  4071. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4072. }
  4073. }
  4074. m = arr.length;
  4075. n = host.blockSize;
  4076. if (m > n)
  4077. {
  4078. //insert block separators (RAND_STRING) into the array
  4079. for(var i = n; i < m; i += n + 1)
  4080. {
  4081. arr.splice(i, 0, RAND_STRING);
  4082. }
  4083. }
  4084.  
  4085. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4086. apiUrl: host.apiUrl,
  4087. postData: host.postData,
  4088. resLinkRegex: host.resLinkRegex,
  4089. resLiveRegex: host.resLiveRegex,
  4090. resDeadRegex: host.resDeadRegex,
  4091. resUnavaRegex: host.resUnavaRegex
  4092. });
  4093. //clean up
  4094. arr.length = 0;
  4095. }
  4096. //
  4097.  
  4098. function gimmeHostName(link)
  4099. {
  4100. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4101. }
  4102. }
  4103. function checkLinks(filterId)
  4104. {
  4105. startBulkCheck(filterId);
  4106. start(filterId);
  4107. }
  4108.  
  4109. /**
  4110. * Initialises progress box including event binding and CSS
  4111. */
  4112. function initProgressBox()
  4113. {
  4114. if ($("#warlc-progressbox").length > 0)
  4115. return;
  4116. //progressbox css change size and color of progress box
  4117. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4118. "; opacity:" + (Progress_box_opacity / 100) +
  4119. "; bottom:" + Processbox_Pos_Y +
  4120. "%; left:" + Processbox_Pos_X +
  4121. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4122. \
  4123. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4124. \
  4125. .warlc-progressitem {}\
  4126. \
  4127. .alive {color:#00FF7F; " + Live_links_color +
  4128. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4129. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4130. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4131. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4132. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4133. //
  4134. if (Progressbox_Scaling != 100) {
  4135. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4136. 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
  4137. });
  4138. }
  4139. 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
  4140.  
  4141. GM_addStyle(progressboxCss);
  4142. $('body').append(' <div id="warlc-progressbox">\
  4143. <div class="warlc-progressbar"></div>\
  4144. <span class="warlc-progressitem alive"></span> - \
  4145. <span class="warlc-progressitem dead"></span> - \
  4146. <span class="warlc-progressitem unava"></span> - \
  4147. <span class="warlc-progressitem prem"></span> - \
  4148. <span class="warlc-progressitem processing"></span>\
  4149. </div>');
  4150. $('#warlc-progressbox').hide().click(function(){
  4151. clearInterval(intervalId);
  4152. $(this).hide();
  4153. return false;
  4154. });
  4155. $(".warlc-progressbar").progressbar({complete: function(){
  4156. $(this).fadeOut();
  4157. clearInterval(intervalId); //stop refreshing the stats
  4158. }
  4159. })
  4160. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4161. }
  4162. /**
  4163. * Updates progress data in progress box
  4164. */
  4165. function updateProgress()
  4166. {
  4167. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4168. if (cLinksTotal) // some links were detected on page
  4169. {
  4170. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4171. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4172. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4173. if ((cLinksTotal - cLinksProcessed) == 0)
  4174. {
  4175. $progressItems.first().text(cLinksAlive)
  4176. .next().text(cLinksDead)
  4177. .next().text(cLinksUnava)
  4178. .next().text(cLinksprem)
  4179. .next().remove();
  4180. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4181. $('#warlc-progressbox div:first-child').remove();
  4182. }
  4183. else
  4184. {
  4185. $progressItems.first().text(cLinksAlive)
  4186. .next().text(cLinksDead)
  4187. .next().text(cLinksUnava)
  4188. .next().text(cLinksprem)
  4189. .next().text(cLinksTotal - cLinksProcessed);
  4190. }
  4191. }
  4192. }
  4193.  
  4194. function check_all_links()
  4195. {
  4196. add_WARLC_style();
  4197.  
  4198. if (Show_progress_stats)
  4199. {
  4200. initProgressBox();
  4201. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4202. }
  4203.  
  4204. startBulkCheck(null);
  4205. start(null);
  4206.  
  4207. if (!containers_processed)
  4208. {
  4209. processContainers();
  4210. }
  4211. }
  4212.  
  4213. //Copies all found dead links to clipboard - right now for Scriptish only
  4214. function copy_dead_to_clipboard()
  4215. {
  4216. initClipBoardTools();
  4217.  
  4218. var deadlinksxpath = "//.[@class='adead_link']";
  4219.  
  4220. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4221. var foundlinkstext = '';
  4222.  
  4223. var foundlinkIdx = foundlinks.snapshotLength;
  4224.  
  4225. while(foundlinkIdx--)
  4226. {
  4227. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4228. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4229. }
  4230.  
  4231. GM_setClipboard(foundlinkstext);
  4232. }
  4233. //Copies all found live links to clipboard
  4234. function copy_live_to_clipboard()
  4235. {
  4236. initClipBoardTools();
  4237.  
  4238. var livelinksxpath = "//.[@class='alive_link']";
  4239.  
  4240. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4241. var foundlinks2text = '';
  4242.  
  4243. var foundlink2Idx = foundlinks2.snapshotLength;
  4244.  
  4245. while(foundlink2Idx--)
  4246. {
  4247. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4248. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4249. }
  4250.  
  4251. GM_setClipboard(foundlinks2text);
  4252. }
  4253.  
  4254. function toggle_autocheck()
  4255. {
  4256. var currentState = GM_getValue("Autocheck", false);
  4257. GM_setValue("Autocheck", !currentState);
  4258.  
  4259. if (currentState == true)
  4260. {
  4261. sendMessage('Autocheck disabled', 'red');
  4262. }
  4263. else
  4264. {
  4265. sendMessage('Autocheck enabled', 'SpringGreen');
  4266. }
  4267. }
  4268. function toggle_Enable_Anonymizer()
  4269. {
  4270. var currentState = GM_getValue("Enable_Anonymizer", false);
  4271. GM_setValue("Enable_Anonymizer", !currentState);
  4272.  
  4273. if (currentState == true)
  4274. {
  4275. GM_setValue("Ref_anonymize_service", "");
  4276. sendMessage('Anonymizer Disabled', 'red');
  4277. }
  4278. else
  4279. {
  4280. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4281. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4282. }
  4283. }
  4284.  
  4285. function KeyDownHandler(event)
  4286. {
  4287. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4288. if (event.ctrlKey && event.altKey)
  4289. {
  4290. switch(kcode)
  4291. {
  4292. case 65 : check_all_links(); break;
  4293. case 67 : configuration(); break;
  4294. case 68 : copy_dead_to_clipboard(); break;
  4295. case 76 : copy_live_to_clipboard(); break;
  4296. case 87 : toggle_autocheck(); break;
  4297. case 90 : toggle_Enable_Anonymizer(); break;
  4298. }
  4299. }
  4300. }
  4301.  
  4302. //
  4303. //
  4304. // SCRIPT EXECUTION START POINT
  4305. //
  4306. //
  4307. // Safari specific GM_getResourceText override
  4308. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4309. {
  4310. GM_getResourceText = function(res) {
  4311. var $cssText = GM_getValue("jquery_css", "");
  4312. if ($cssText == "")
  4313. {
  4314. GM_xmlhttpRequest(
  4315. {
  4316. method: 'GET',
  4317. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4318. onload: function (result)
  4319. {
  4320. GM_setValue("jquery_css", result.responseText);
  4321. window.location.reload();
  4322. }
  4323. });
  4324. }
  4325. else
  4326. {
  4327. return $cssText;
  4328. }
  4329. }
  4330. }
  4331. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4332. GM_addStyle(jQueryUICSS);
  4333. //init the stuff
  4334. setVariables();
  4335. initBulkCheck();
  4336. //init info boxes
  4337. messageBox.style.position = 'fixed';
  4338. messageBox.style.top = '20px';
  4339. messageBox.style.left = '10px';
  4340. messageBox.style.opacity = '0.85';
  4341. messageBox.style.background = 'DimGray';
  4342. messageBox.style.fontSize = '36px';
  4343. document.body.appendChild(messageBox);
  4344.  
  4345. //register GM menu commands & keyboard shortcut event handler
  4346. if (Keyboard_functions)
  4347. {
  4348. $(document).keydown(KeyDownHandler);
  4349. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4350. 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);
  4351. }
  4352. else
  4353. {
  4354. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4355. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4356. }
  4357.  
  4358. //start linkchecking
  4359. if (Autocheck)
  4360. {
  4361. $(document).ready(check_all_links);
  4362. }
  4363.  
  4364. //
  4365. //
  4366. // SCRIPT EXECUTION END POINT
  4367. //
  4368. //
  4369.  
  4370. //shows configuration box
  4371. function configuration()
  4372. {
  4373.  
  4374. //prevent multiple creating of config window
  4375. if ($("#hideshow").length)
  4376. {
  4377. $("#hideshow").show();
  4378. return;
  4379. }
  4380.  
  4381. var configcss = '\
  4382. .popup_block .popup fieldset{\
  4383. padding: 1%;\
  4384. border-style: solid;\
  4385. border-width: 1px;\
  4386. border-color: gray;\
  4387. margin-bottom: 1px;\
  4388. }\
  4389. #h3hideshowtitle{\
  4390. font-size: 2em;\
  4391. }\
  4392. #h3hideshow{\
  4393. font-size: 1.5em;\
  4394. }\
  4395. #imghideshow {\
  4396. border: none;\
  4397. }\
  4398. #plusimage{\
  4399. display:inline;\
  4400. }\
  4401. #hideshow {\
  4402. position: fixed;\
  4403. width: 100%;\
  4404. height: 100%;\
  4405. top: 0;\
  4406. left: 0;\
  4407. font-size:12px;\
  4408. z-index:2147483645;\
  4409. text-align:left;\
  4410. }\
  4411. #fade {\
  4412. background: #000;\
  4413. position: fixed;\
  4414. width: 100%;\
  4415. height: 100%;\
  4416. opacity: .80;\
  4417. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4418. left: 0;\
  4419. z-index: 10;\
  4420. }\
  4421. .popup_block {\
  4422. font-family:verdana;\
  4423. color:black;\
  4424. background: #ddd;\
  4425. padding: 10px 20px;\
  4426. border: 2px solid DarkOrange;\
  4427. float: left;\
  4428. width: 700px;\
  4429. position: absolute;\
  4430. top: 7%;\
  4431. left: 50%;\
  4432. bottom: 7%;\
  4433. margin: 0 0 0 -350px;\
  4434. -moz-border-radius:10px;\
  4435. z-index: 100;\
  4436. \
  4437. }\
  4438. .popup_block .popup {\
  4439. float: left;\
  4440. width: 100%;\
  4441. background: #fff;\
  4442. margin: 10px 0;\
  4443. padding: 0px 0 0px;\
  4444. border-left: 1px solid #bbb;\
  4445. border-top: 1px solid #bbb;\
  4446. border-right: 1px solid #bbb;\
  4447. }\
  4448. #h3hideshow{\
  4449. margin: 1px 0 0px;\
  4450. padding: 1px 10px;\
  4451. border-bottom: 1px solid #bbb;\
  4452. font-size: 1.5em;\
  4453. font-weight: normal;\
  4454. cursor:pointer;\
  4455. background:#DDDDDD none repeat scroll 0 0;\
  4456. }\
  4457. #h3hideshow:hover{\
  4458. background:#C0BEBE none repeat scroll 0 0;\
  4459. }\
  4460. #h3hideshowtitle{\
  4461. margin: 2px 0 0px;\
  4462. padding: 7px 10px;\
  4463. border-bottom: 1px solid #bbb;\
  4464. font-size: 1.5em;\
  4465. font-weight: normal;\
  4466. }\
  4467. .popup_block .popup a {\
  4468. color:DarkSkyBlue;\
  4469. text-decoration:none;\
  4470. }\
  4471. .popup p {\
  4472. padding: 1px 10px;\
  4473. margin: 0px 0;\
  4474. -x-system-font:none;\
  4475. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4476. font-size:10pt;\
  4477. font-size-adjust:none;\
  4478. font-stretch:normal;\
  4479. font-style:normal;\
  4480. font-variant:normal;\
  4481. font-weight:normal;\
  4482. line-height:normal;\
  4483. }\
  4484. #sites {\
  4485. padding: 1px 10px;\
  4486. margin: 0px 0;display:inline-block;width:16em;\
  4487. }\
  4488. #dev_ver {\
  4489. color: #00FF00;\
  4490. background: Black;\
  4491. text-align: right;\
  4492. }\
  4493. #sites_suspended {\
  4494. padding: 1px 10px;\
  4495. margin: 0px 0;display:inline-block;width:16em;\
  4496. text-decoration: line-through;\
  4497. }\
  4498. .popup img.cntrl {\
  4499. position: absolute;\
  4500. right: -15px;\
  4501. top: -15px;\
  4502. }\
  4503. #bulk {\
  4504. font-size:8pt;\
  4505. color:orange;\
  4506. padding: 1px 10px;\
  4507. margin: 0px 0;\
  4508. display:inline-block;\
  4509. width:100px;\
  4510. }\
  4511. #note {\
  4512. font-size:7pt;\
  4513. color:gray;\
  4514. padding: 1px 10px;\
  4515. margin: 0px 0;display:inline-block;\
  4516. min-width:100px;\
  4517. }\
  4518. #rednote {\
  4519. font-size:7pt;\
  4520. color:red;\
  4521. padding: 1px 10px;\
  4522. margin: 0px 0;display:inline-block;\
  4523. }\
  4524. #configinfo {\
  4525. font-size:8pt;\
  4526. color:gray;\
  4527. padding: 1px 10px;\
  4528. margin: 0px 0;display:inline-block;width:60em;\
  4529. }\
  4530. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4531. color:black;\
  4532. border-style: solid;\
  4533. border-width: 1px;\
  4534. border-color: gray;\
  4535. }\
  4536. #h3hideshowcontent {\
  4537. min-height:220px;\
  4538. max-height:220px;\
  4539. overflow:auto;\
  4540. display: none;\
  4541. padding: 10px 10px;\
  4542. }\
  4543. #specinfo{\
  4544. font-size:14px;\
  4545. }\
  4546. .warlc-ui-tab {\
  4547. height:300px;\
  4548. overflow:auto;\
  4549. }\
  4550. #warlcsitelist2, #warlcsitelist1 {\
  4551. height:220px;\
  4552. border-top: 1px solid #ddd;\
  4553. padding-top: 5px;\
  4554. overflow:auto;\
  4555. }\
  4556. input:hover+label {\
  4557. background:#F1F77C;\
  4558. font-size:110%;\
  4559. }\
  4560. ';
  4561.  
  4562. GM_addStyle(configcss);
  4563.  
  4564. var customRulesRefHTML =
  4565. '\
  4566. <br>\
  4567. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4568. <b>@keyword</b> <i>parameter</i>\
  4569. <br><br>\
  4570. 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. \
  4571. <br><br>\
  4572. 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.\
  4573. 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.\
  4574. 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.\
  4575. 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,\
  4576. but all commands until the next valid @customrule are ignored.<br><br>\
  4577. Available forms and types:\
  4578. <ul>\
  4579. <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.\
  4580. <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.\
  4581. <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.\
  4582. <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.\
  4583. </ul>\
  4584. Other available commands:<br>\
  4585. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4586. <ul>\
  4587. <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.\
  4588. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4589. <ul>examples:<br>\
  4590. <li>good: <i>filehost.com/download/</i><br>\
  4591. <li>good: <i>download.filehost.net/?d=</i><br>\
  4592. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4593. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4594. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4595. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4596. <li>bad: <i>filehost.com</i> - no slash<br>\
  4597. </ul>\
  4598. \
  4599. <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.\
  4600. 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 \
  4601. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4602. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4603. 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.)\
  4604. Two spaces again match any whitespace.\
  4605. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4606. Two spaces again match any whitespace.\
  4607. <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. \
  4608. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4609. </ul>\
  4610. \
  4611. ';
  4612.  
  4613. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4614. var configurationinnerHTML =
  4615. '<div id="fade"></div>\
  4616. <div class="popup_block">\
  4617. <div class="popup">\
  4618. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5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lC30L8ylGDzV4WzPZ+U1Dz5cIAYtX15mQE4uhMY0IZuEwx+KBlwL6DiT09t+eurclmdqy4Y7kMd2RciKaCANEIwbD81vjX6/dqMdDVVbiIbeDueefT8aOHjizcxW4BVgbm2N0TS9RqFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+YCiwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4620. <div id="warlc-conf-tabs">\
  4621. <ul>\
  4622. <li><a href="#tabs-1">Filehostings</a></li>\
  4623. <li><a href="#tabs-2">Containers</a></li>\
  4624. <li><a href="#tabs-5">Custom rules</a></li>\
  4625. <li><a href="#tabs-3">Settings</a></li>\
  4626. <li><a href="#tabs-4">About</a></li>\
  4627. </ul>\
  4628. <div id="tabs-1" class="warlc-ui-tab">\
  4629. <div class="warlc-ui-buttonset">\
  4630. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4631. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4632. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4633. </div><br>\
  4634. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4635. <div id="warlcsitelist1"><span>Empty</span></div>\
  4636. </div>\
  4637. <div id="tabs-2" class="warlc-ui-tab">\
  4638. <div class="warlc-ui-buttonset">\
  4639. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4640. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4641. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4642. </div><br>\
  4643. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4644. <div id="warlcsitelist2"><span>Empty</span></div>\
  4645. </div>\
  4646. <div id="tabs-5" class="warlc-ui-tab">\
  4647. <div class="warlcsettings">\
  4648. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4649. <br>\
  4650. <div>Edit custom rules: \
  4651. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4652. <div id="customRulesReference" style="display:none;">'
  4653. + customRulesRefHTML + '\
  4654. </div>\
  4655. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4656. </div>\
  4657. </div>\
  4658. </div>\
  4659. <div id="tabs-3" class="warlc-ui-tab">\
  4660. <div class="warlcsettings">\
  4661. <fieldset>\
  4662. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4663. <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>\
  4664. </fieldset>\
  4665. <fieldset>\
  4666. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4667. <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>\
  4668. <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>\
  4669. <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>\
  4670. <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>\
  4671. <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>\
  4672. <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>\
  4673. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4674. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4675. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4676. <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>\
  4677. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4678. <fieldset>\
  4679. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4680. <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>\
  4681. <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>\
  4682. <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>\
  4683. </fieldset>\
  4684. </fieldset>\
  4685. <fieldset>\
  4686. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4687. </fieldset>\
  4688. <fieldset>\
  4689. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4690. </fieldset>\
  4691. <fieldset>\
  4692. <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>\
  4693. </fieldset>\
  4694. <fieldset>\
  4695. <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>\
  4696. </fieldset>\
  4697. <fieldset>\
  4698. <legend>Progress box settings</legend>\
  4699. <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>\
  4700. <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>\
  4701. <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>\
  4702. </fieldset>\
  4703. </div>\
  4704. </div>\
  4705. <div id="tabs-4" class="warlc-ui-tab">\
  4706. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4707. <br />\
  4708. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4709. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4710. <br />\
  4711. <p><b>Currently supported:</b><br>\
  4712. Filehostings: ' + allHostNames.length + '<br />\
  4713. Containers: ' + allContainerNames.length + '<br />\
  4714. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4715. <br />\
  4716. <p><b>Based on:</b><br>\
  4717. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4718. <br />\
  4719. <p><b>Uses:</b></p>\
  4720. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4721. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4722. <br />\
  4723. <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>\
  4724. </div>\
  4725. </div>\
  4726. </div>\
  4727. </div>';
  4728. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4729. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4730. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4731. var elmHostList = document.getElementById("warlcsitelist1");
  4732. var elmContainerList = document.getElementById("warlcsitelist2");
  4733. buildSettings();
  4734. buildSitelist("", allHostNames, elmHostList);
  4735. buildSitelist("", allContainerNames, elmContainerList);
  4736. if (DEBUG_MODE)
  4737. {
  4738. //log all sites availability status
  4739. diagSites();
  4740. }
  4741. //handler for checkbox state change
  4742. function changeConfiguration(e)
  4743. {
  4744. var element = e.target;
  4745.  
  4746. if (element.type == 'checkbox')
  4747. {
  4748. if (element.checked == 1)
  4749. {
  4750. GM_setValue(element.id, true);
  4751. }
  4752. else
  4753. {
  4754. GM_setValue(element.id, false);
  4755. }
  4756.  
  4757. }
  4758. setVariables();
  4759. }
  4760.  
  4761. //Selects all filehosting checkboxes
  4762. function selectAll()
  4763. {
  4764. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4765. .each(function(index, element){GM_setValue(this.id, true)});
  4766. }
  4767.  
  4768. //Deselects all filehosting checkboxes
  4769. function selectNone()
  4770. {
  4771. $(":checkbox:visible:checked").prop("checked",false)
  4772. .each(function(index, element){GM_setValue(this.id, false)});
  4773. }
  4774. //Sets Processbox position setting
  4775. function changeProgBox(event) {
  4776. var setting;
  4777. switch(event.data.set) {
  4778. case "X": setting = "Processbox_Pos_X"; break;
  4779. case "Y": setting = "Processbox_Pos_Y"; break;
  4780. case "Scale": setting = "Progressbox_Scaling"; break;
  4781. }
  4782. var $setting = $("#" + setting);
  4783. var newSet = $setting.val().replace("%", "");
  4784. GM_setValue(setting, newSet);
  4785. }
  4786. //Sets value of Processbox position
  4787. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4788. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4789. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4790.  
  4791. //Inverts filehosting checkboxes selection
  4792. function selectInvert()
  4793. {
  4794. var $checked = $(":checkbox:visible:checked");
  4795. var $unchecked = $(":checkbox:visible:not(:checked)");
  4796. $unchecked.prop("checked",true)
  4797. .each(function(index, element){GM_setValue(this.id, true)});
  4798. $checked.prop("checked",false)
  4799. .each(function(index, element){GM_setValue(this.id, false)});
  4800. }
  4801. //toggles anonymizer on off
  4802. function Enable_Anonymizer()
  4803. {
  4804. var $checked = $(":checkbox:visible:checked");
  4805. var $unchecked = $(":checkbox:visible:not(:checked)");
  4806. $unchecked.prop("checked",true)
  4807. .each(function(index, element){GM_setValue(this.id, true)});
  4808. $checked.prop("checked",false)
  4809. .each(function(index, element){GM_setValue(this.id, false)});
  4810. }
  4811.  
  4812. function changeRefAnonymizer(){
  4813. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4814. }
  4815.  
  4816. //Sets live links color
  4817. function changeColorLive()
  4818. {
  4819. var inColorLive = document.getElementById("inputColorLive");
  4820. inColorLive.style.background = inColorLive.value;
  4821. GM_setValue("Live_links_color", inColorLive.value);
  4822. }
  4823.  
  4824. //Sets dead links color
  4825. function changeColorDead()
  4826. {
  4827. var inColorDead = document.getElementById("inputColorDead");
  4828. inColorDead.style.background = inColorDead.value;
  4829. GM_setValue("Dead_links_color", inColorDead.value);
  4830. }
  4831.  
  4832. //Sets temp. unavailable links color
  4833. function changeColorTemp()
  4834. {
  4835. var inColorTemp = document.getElementById("inputColorTemp");
  4836. inColorTemp.style.background = inColorTemp.value;
  4837. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4838. }
  4839.  
  4840. //Sets temp. unavailable links color
  4841. function changeColorCont()
  4842. {
  4843. var inColorCont = document.getElementById("inputColorCont");
  4844. inColorCont.style.background = inColorCont.value;
  4845. GM_setValue("Container_links_color", inColorCont.value);
  4846. }
  4847. //Sets premium. links color
  4848. function changeColorprem()
  4849. {
  4850. var inColorprem = document.getElementById("inputColorprem");
  4851. inColorprem.style.background = inColorprem.value;
  4852. GM_setValue("Premium_links_color", inColorprem.value);
  4853. }
  4854.  
  4855. //Diagnose sites for availability
  4856. function diagSites()
  4857. {
  4858. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4859.  
  4860. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4861. {
  4862. if (boxes[i].type == "checkbox")
  4863. {
  4864. checkAvailability(boxes[i]);
  4865. }
  4866. }
  4867.  
  4868. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4869.  
  4870. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4871. {
  4872. if (boxes[i].type == "checkbox")
  4873. {
  4874. checkAvailability(boxes[i]);
  4875. }
  4876. }
  4877.  
  4878. function checkAvailability(cbElm)
  4879. {
  4880. var cb = cbElm;
  4881. GM_xmlhttpRequest(
  4882. {
  4883. method: 'HEAD',
  4884. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4885. headers: {
  4886. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4887. 'Accept': 'text/xml',
  4888. 'Referer': ""
  4889. },
  4890. onload: function (result)
  4891. {
  4892. if (result.status != 200)
  4893. {
  4894. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4895. }
  4896. },
  4897. onerror: function (result)
  4898. {
  4899. if (result.status != 200)
  4900. {
  4901. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4902. //Sets Progress_box position setting
  4903. function changeProgBox(event) {
  4904. var setting;
  4905. switch(event.data.set) {
  4906. case "X": setting = "Progress_box_Pos_X"; break;
  4907. case "Y": setting = "Progress_box_Pos_Y"; break;
  4908. case "Scale": setting = "Progress_box_Scaling"; break;
  4909. }
  4910.  
  4911. var $setting = $("#" + setting);
  4912. var newSet = $setting.val().replace("%", "");
  4913. lsSetVal("general", setting, newSet);
  4914. }
  4915.  
  4916. //Sets value of Progress_box position
  4917. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4918. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4919. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4920. }
  4921. }
  4922. });
  4923. }
  4924. }
  4925. function buildSettings()
  4926. {
  4927. $(".warlcsettings :checkbox").each(function(){
  4928. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4929. .click(function(e){
  4930. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4931. setVariables();
  4932. });
  4933. })
  4934. }
  4935. //Dynamic build of host list
  4936. //param search [string] searches for hostnames matching search substring
  4937. //param siteNames [array] array of site names
  4938. //param targetNode [DOM Node] where the list should be built
  4939. // first child node is replaced
  4940. function buildSitelist(search, siteNames, targetNode)
  4941. {
  4942. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4943. var $targetNode = $(targetNode).empty();
  4944. var searchedSite = "";
  4945. $.each(siteNames, function(i, site){
  4946. if (searchedSite = site.match(searchRegex))
  4947. {
  4948. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4949. //ensuring backward compatibility with the rest of code, to be refactored later
  4950. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4951. //
  4952. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4953. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4954. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4955. );
  4956. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4957. .change(changeConfiguration);
  4958. $targetNode.append('<br />');
  4959. }
  4960. });
  4961. $targetNode.append("<hr>");
  4962. //obsolete hosts checkbox
  4963. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4964. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4965. .change(changeConfiguration);
  4966. $targetNode.append('<br />');
  4967. var foundName = "";
  4968. $.each(allObsoleteNames, function(i, site){
  4969. if (foundName = allObsoleteNames[i].match(searchRegex))
  4970. {
  4971. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4972. }
  4973. })
  4974. }
  4975. var hostSearchBox = document.getElementById("hostSearchBox");
  4976. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4977. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4978. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4979. $(".warlc-ui-select-all").click(selectAll).button();
  4980. $(".warlc-ui-select-none").click(selectNone).button();
  4981. $(".warlc-ui-select-invert").click(selectInvert).button();
  4982. $(".warlc-ui-buttonset").buttonset();
  4983. var inColorLive = document.getElementById("inputColorLive");
  4984. inColorLive.addEventListener('keyup', changeColorLive, false);
  4985.  
  4986. var inColorDead = document.getElementById("inputColorDead");
  4987. inColorDead.addEventListener('keyup', changeColorDead, false);
  4988.  
  4989. var inColorTemp = document.getElementById("inputColorTemp");
  4990. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4991.  
  4992. var inColorCont = document.getElementById("inputColorCont");
  4993. inColorCont.addEventListener('keyup', changeColorCont, false);
  4994. var inColorprem = document.getElementById("inputColorprem");
  4995. inColorprem.addEventListener('keyup', changeColorprem, false);
  4996. $("#refAnonymizer").change(changeRefAnonymizer);
  4997. //buttons and edit boxes init end
  4998.  
  4999. //icon sets radio buttons
  5000. var radioButtons = document.getElementsByName("warlciconset");
  5001. radioButtons[Icon_set].checked = "checked";
  5002.  
  5003. radioButtons[0].addEventListener("change", updateIconSet);
  5004. radioButtons[1].addEventListener("change", updateIconSet);
  5005. radioButtons[2].addEventListener("change", updateIconSet);
  5006. radioButtons[3].addEventListener("change", updateIconSet);
  5007. function updateIconSet()
  5008. {
  5009. GM_setValue("Icon_set", this.value * 1);
  5010. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5011. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5012. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5013. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5014. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5015.  
  5016. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5017. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5018.  
  5019. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5020. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5021. }
  5022. //
  5023. $('#showCustomRulesReference').click(function(e){
  5024. e.preventDefault();
  5025. $('#customRulesReference').toggle();
  5026. });
  5027. $('#Custom_rules_text')
  5028. .val(Custom_rules_text)
  5029. .change(saveCustomRules);
  5030. function saveCustomRules(e)
  5031. {
  5032. var cr = parseCustomRules(this.value);
  5033. if (cr.info.length)
  5034. 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, ' '));
  5035. GM_setValue('Custom_rules_text', this.value);
  5036. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5037. }
  5038. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5039. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5040. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5041. }
  5042.  
  5043. //begin standard link checking algorithm
  5044. function start(filterId)
  5045. {
  5046. var doNotLinkify = Do_not_linkify_DL_links;
  5047.  
  5048. // USER SELECTED FILE HOSTS INITIALIZATION START
  5049. var http_file_hosts = new Array(); //standard hostings
  5050. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5051. var http_file_hosts_obsolete = new Array(); //dead hostings
  5052. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5053.  
  5054. initFileHosts();
  5055. initFileHostsHeadersOnly();
  5056. initFileHostsCustom(); //CustomRules
  5057. // USER SELECTED FILE HOSTS INITIALIZATION END
  5058.  
  5059. // LINKIFICATION START
  5060. var totalxpath = '';
  5061. var totalxpathcoded = '';
  5062. var totalxpathobsolete = '';
  5063. var totalxpathheadersonly = '';
  5064. var totalourls = '';
  5065.  
  5066. var filehostLen = http_file_hosts.length;
  5067. var filehostCodedLen = http_file_hosts_coded.length;
  5068. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5069. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5070.  
  5071. var filehostIdx = filehostLen;
  5072. var filehostCodedIdx = filehostCodedLen;
  5073. var filehostObsoleteIdx = filehostObsoleteLen;
  5074. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5075.  
  5076. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5077. return;
  5078.  
  5079. while (filehostIdx--)
  5080. {
  5081. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5082. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5083. }
  5084.  
  5085. while (filehostCodedIdx--)
  5086. {
  5087. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5088. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5089. }
  5090.  
  5091. while (filehostObsoleteIdx--)
  5092. {
  5093. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5094. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5095. }
  5096.  
  5097. while (filehostHeadersOnlyIdx--)
  5098. {
  5099. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5100. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5101. }
  5102.  
  5103. totalourls = totalourls.replace(/\|$/g, "");
  5104. //TODO: further refactoring needed
  5105. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5106. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5107. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5108. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5109. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5110. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5111. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5112. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5113. if (filterId != null) //insert id restriction in the xpath
  5114. {
  5115. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5116. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5117. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5118. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5119. }
  5120. else
  5121. {
  5122. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5123. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5124. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5125. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5126. }
  5127. linkify(totalourls);
  5128. //LINKIFICATION END
  5129. //ENCRYPTED LINKS PROCESSING START
  5130. if (http_file_hosts_coded.length > 0)
  5131. {
  5132. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5133.  
  5134. // decrypt coded links (redirects, link protectors etc.)
  5135. if (linksCoded.snapshotLength > 0)
  5136. {
  5137. var link;
  5138. var reallinkreg;
  5139. var reallinkcorrection;
  5140.  
  5141. if (filterId == null)
  5142. {
  5143. cLinksTotal += linksCoded.snapshotLength;
  5144. }
  5145.  
  5146. var y = linksCoded.snapshotLength - 1;
  5147. do
  5148. {
  5149. // linksCoded.snapshotItem(y).id = 'processing_link';
  5150. link = linksCoded.snapshotItem(y);
  5151. filehostIdx = filehostCodedLen;
  5152. while (filehostIdx--)
  5153. {
  5154. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5155. {
  5156. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5157. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5158. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5159.  
  5160. decurl(link, reallinkreg, reallinkcorrection);
  5161. break;
  5162. }
  5163. }
  5164. }
  5165. while (y--);
  5166. }
  5167. }
  5168. //ENCRYPTED LINKS PROCESSING END
  5169.  
  5170. //STANDARD LINKCHECKING START
  5171. if (http_file_hosts.length > 0)
  5172. {
  5173. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5174.  
  5175. if (filterId == null)
  5176. {
  5177. cLinksTotal += lianks.snapshotLength;
  5178. }
  5179.  
  5180. if (lianks.snapshotLength > 0)
  5181. {
  5182. var link;
  5183.  
  5184. var URL = "";
  5185. var name = "";
  5186. var isAliveRegex = "";
  5187. var isDeadRegex = "";
  5188. var isUnavaRegex = "";
  5189. var ispremRegex = "";
  5190. var tryLoop = false;
  5191.  
  5192. var y = lianks.snapshotLength;
  5193.  
  5194. while (y--)
  5195. {
  5196. link = lianks.snapshotItem(y);
  5197.  
  5198. filehostIdx = filehostLen;
  5199. while (filehostIdx--)
  5200. {
  5201. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5202. {
  5203. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5204. isAliveRegex = http_file_hosts[filehostIdx][1];
  5205. isDeadRegex = http_file_hosts[filehostIdx][2];
  5206. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5207. ispremRegex = http_file_hosts[filehostIdx][6];
  5208. tryLoop = http_file_hosts[filehostIdx][5];
  5209.  
  5210. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5211.  
  5212. break;
  5213. }
  5214. }
  5215. }
  5216. }
  5217. }
  5218. //STANDARD LINKCHECKING END
  5219. //OBSOLETE FILE HOSTS PROCESSING START
  5220. if (filehostObsoleteLen > 0)
  5221. {
  5222. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5223.  
  5224. var obsoleteLink;
  5225.  
  5226. //check links
  5227. if (obsoletelinks.snapshotLength > 0)
  5228. {
  5229. var y = obsoletelinks.snapshotLength;
  5230.  
  5231. if (filterId == null)
  5232. {
  5233. cLinksTotal += y;
  5234. }
  5235.  
  5236. while (y--)
  5237. {
  5238. obsoleteLink = obsoletelinks.snapshotItem(y);
  5239.  
  5240. if (Display_tooltip_info)
  5241. {
  5242. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5243. }
  5244. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5245. }
  5246. }
  5247. }
  5248. //OBSOLETE FILE HOSTS PROCESSING END
  5249.  
  5250. //DIRECT LINKCHECKING START
  5251. if (http_file_hosts_headers_only.length > 0)
  5252. {
  5253. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5254.  
  5255. //check links
  5256. if (links.snapshotLength > 0)
  5257. {
  5258. var link;
  5259. var isAliveRegex;
  5260. var isDeadRegex;
  5261. var ispremRegex;
  5262.  
  5263. var y = links.snapshotLength;
  5264.  
  5265.  
  5266. if (filterId == null)
  5267. {
  5268. cLinksTotal += y;
  5269. }
  5270.  
  5271. while (y--)
  5272. {
  5273. // links.snapshotItem(y).id = 'processing_link';
  5274. link = links.snapshotItem(y);
  5275. filehostIdx = filehostHeadersOnlyLen;
  5276. while (filehostIdx--)
  5277. {
  5278. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5279. {
  5280. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5281. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5282. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5283. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5284.  
  5285. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5286.  
  5287. break;
  5288. }
  5289. }
  5290. }
  5291.  
  5292. }
  5293. }
  5294. //DIRECT LINKCHECKING END
  5295.  
  5296.  
  5297. //finds the real url on the page, replaces link.href with it and calls geturl
  5298. function decurl(link, reallinkreg, reallinkcorrection)
  5299. {
  5300.  
  5301. GM_xmlhttpRequest(
  5302. {
  5303. method: 'GET',
  5304. url: link.href,
  5305. headers: {
  5306. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5307. 'Accept': 'text/xml',
  5308. 'Referer': ""
  5309. },
  5310. onload: function (result)
  5311. {
  5312. // cLinksProcessed++;
  5313.  
  5314. var reallink = result.responseText.match(reallinkreg)[0];
  5315. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5316.  
  5317. link.href = reallink;
  5318.  
  5319. var i = http_file_hosts.length - 1;
  5320. do
  5321. {
  5322. if ((reallink.match(http_file_hosts[i][0])))
  5323. {
  5324. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5325. var isAliveRegex = http_file_hosts[i][1];
  5326. var isDeadRegex = http_file_hosts[i][2];
  5327. var isUnavaRegex = http_file_hosts[i][3];
  5328. var ispremRegex = http_file_hosts[i][4];
  5329.  
  5330. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5331.  
  5332. break;
  5333. }
  5334. }
  5335. while (i--);
  5336. }
  5337. });
  5338. }
  5339.  
  5340. function randUA()
  5341. {
  5342. //TODO
  5343. }
  5344. //Processes link
  5345. //
  5346. // [string] link link URL
  5347. // [string] isAliveRegex alive link regex
  5348. // [string] isDeadRegex dead link regex
  5349. // [string] isUnavaRegex unavailable link regex
  5350. // [string] ispremRegex premium link regex
  5351. // [boolean] tryLoop repeats request until succeeded
  5352. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5353. {
  5354. GM_xmlhttpRequest(
  5355. {
  5356. method: 'GET',
  5357. url: link.href,
  5358. headers: {
  5359. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5360. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5361. 'Referer': ""
  5362. },
  5363. onload: function (result)
  5364. {
  5365. var res = result.responseText;
  5366. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5367. {
  5368. displayTheCheckedLink(link, 'alive_link');
  5369. return;
  5370. }
  5371.  
  5372. if (res.match(isAliveRegex))
  5373. {
  5374. displayTheCheckedLink(link, 'alive_link');
  5375. return;
  5376. }
  5377.  
  5378. if (res.match(isDeadRegex))
  5379. {
  5380. displayTheCheckedLink(link, 'adead_link');
  5381. return;
  5382. }
  5383.  
  5384. if (isUnavaRegex && res.match(isUnavaRegex))
  5385. {
  5386. displayTheCheckedLink(link, 'unava_link');
  5387. return;
  5388. }
  5389. if (res.match(ispremRegex))
  5390. {
  5391. displayTheCheckedLink(link, 'prem_link');
  5392. return;
  5393. }
  5394.  
  5395. var resStatus = result.status;
  5396.  
  5397. if (resStatus == 404)
  5398. {
  5399. displayTheCheckedLink(link, 'adead_link');
  5400. }
  5401. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5402. {
  5403. if (tryLoop)
  5404. {
  5405. //wait 1-5 seconds and repeat the request
  5406. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5407. }
  5408. else
  5409. {
  5410. displayTheCheckedLink(link, 'unava_link');
  5411. }
  5412.  
  5413. return;
  5414. }
  5415. },
  5416. onerror: function ()
  5417. {
  5418. displayTheCheckedLink(link, 'unava_link');
  5419. }
  5420. });
  5421. }
  5422.  
  5423. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5424. {
  5425. GM_xmlhttpRequest(
  5426. {
  5427. method: 'HEAD',
  5428. url: link.href,
  5429. headers: {
  5430. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5431. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5432. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5433. 'Referer': ""
  5434. },
  5435. onload: function (result)
  5436. {
  5437. var resStatus = result.status;
  5438. var resHeaders = "";
  5439. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5440. {
  5441. displayTheCheckedLink(link, 'adead_link');
  5442. return;
  5443. }
  5444.  
  5445. resHeaders = result.responseHeaders;
  5446.  
  5447. if (resHeaders.match(isDeadRegex))
  5448. {
  5449. displayTheCheckedLink(link, 'adead_link');
  5450. return;
  5451. }
  5452.  
  5453. if (resHeaders.match(isAliveRegex))
  5454. {
  5455. displayTheCheckedLink(link, 'alive_link');
  5456. return;
  5457. }
  5458. if (resHeaders.match(ispremRegex))
  5459. {
  5460. displayTheCheckedLink(link, 'prem_link');
  5461. return;
  5462. }
  5463. },
  5464. onerror: function ()
  5465. {
  5466. displayTheCheckedLink(link, 'unava_link');
  5467. }
  5468. });
  5469. }
  5470.  
  5471. //Delinkfifies the <a> element object
  5472. function delinkifyLink(link)
  5473. {
  5474. var spanElm = document.createElement("span");
  5475. spanElm.className = link.className;
  5476. spanElm.innerHTML = link.innerHTML;
  5477.  
  5478. if (Display_tooltip_info)
  5479. {
  5480. spanElm.href = link.href;
  5481. spanElm.warlc_error = link.warlc_error;
  5482. switch (link.className){
  5483. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5484. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5485. case "unava_link": //reserved
  5486. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5487. default:
  5488. }
  5489. }
  5490. link.parentNode.replaceChild(spanElm, link);
  5491. }
  5492.  
  5493. //Assigns result status to the <a> element object and calls delinkifying eventually
  5494. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5495. function displayTheCheckedLink(link, resultStatus)
  5496. {
  5497. link.className = resultStatus;
  5498. link.href = Ref_anonymize_service + link.href;
  5499. if (Display_tooltip_info)
  5500. {
  5501. switch (resultStatus){
  5502. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5503. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5504. case "unava_link": //reserved
  5505. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5506. default:
  5507. }
  5508. }
  5509. if (doNotLinkify)
  5510. {
  5511. delinkifyLink(link);
  5512. }
  5513. cLinksProcessed++;
  5514.  
  5515. if (resultStatus == "alive_link")
  5516. {
  5517. cLinksAlive++;
  5518. return;
  5519. }
  5520.  
  5521. if (resultStatus == "adead_link")
  5522. {
  5523. cLinksDead++;
  5524. return;
  5525. }
  5526.  
  5527. if (resultStatus == "unava_link")
  5528. {
  5529. cLinksUnava++;
  5530. }
  5531. if (resultStatus == "prem_link")
  5532. {
  5533. cLinksprem++;
  5534. return;
  5535. }
  5536. }
  5537.  
  5538.  
  5539. function initFileHosts()
  5540. {
  5541.  
  5542. function addObsoleteHost(linkRegex, xpathEx)
  5543. {
  5544. var host = new Array(2);
  5545. host[0] = linkRegex;
  5546. host[1] = xpathEx;
  5547. http_file_hosts_obsolete.push(host);
  5548. }
  5549.  
  5550. //obsolete file hosts init start
  5551. if (Obsolete_file_hosts)
  5552. {
  5553. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5554. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5555. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5556. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5557. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5558. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5559. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5560. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5561. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5562. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5563. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5564. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5565. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5566. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5567. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5568. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5569. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5570. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5571. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5572. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5573. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5574. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5575. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5576. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5577. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5578. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5579. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5580. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5581. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5582. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5583. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5584. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5585. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5586. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5587. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5588. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5589. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5590. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5591. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5592. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5593. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5594. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5595. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5596. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5597. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5598. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5599. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5600. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5601. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5602. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5603. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5604. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5605. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5606. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5607. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5608. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5609. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5610. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5611. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5612. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5613. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5614. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5615. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5616. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5617. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5618. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5619. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5620. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5621. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5622. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5623. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5624. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5625. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5626. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5627. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5628. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5629. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5630. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5631. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5632. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5633. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5634. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5635. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5636. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5637. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5638. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5639. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5640. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5641. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5642. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5643. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5644. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5645. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5646. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5647. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5648. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5649. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5650. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5651. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5652. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5653. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5654. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5655. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5656. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5657. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5658. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5659. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5660. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5661. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5662. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5663. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5664. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5665. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5666. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5667. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5668. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5669. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5670. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5671. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5672. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5673. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5674. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5675. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5676. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5677. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5678. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5679. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5680. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5681. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5682. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5683. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5684. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5685. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5686. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5687. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5688. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5689. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5690. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5691. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5692. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5693. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5694. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5695. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5696. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5697. 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')]");
  5698. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5699. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5700. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5701. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5702. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5703. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5704. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5705. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5706. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5707. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5708. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5709. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5710. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5711. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5712. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5713. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5714. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5715. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5716. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5717. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5718. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5719. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5720. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5721. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5722. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5723. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5724. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5725. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5726. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5727. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5728. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5729. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5730. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5731. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5732. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5733. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5734. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5735. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5736. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5737. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5738. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5739. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5740. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5741. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5742. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5743. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5744. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5745. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5746. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5747. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5748. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5749. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5750. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5751. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5752. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5753. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5754. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5755. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5756. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5757. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5758. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5759. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5760. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5761. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5762. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5763. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5764. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5765. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5766. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5767. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5768. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5769. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5770. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5771. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5772. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5773. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5774. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5775. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5776. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5777. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5778. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5779. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5780. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5781. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5782. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5783. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5784. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5785. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5786. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5787. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5788. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5789. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5790. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5791. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5792. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5793. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5794. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5795. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5796. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5797. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5798. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5799. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5800. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5801. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5802. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5803. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5804. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5805. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5806. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5807. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5808. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5809. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5810. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5811. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5812. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5813. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5814. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5815. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5816. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5817. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5818. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5819. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5820. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5821. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5822. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5823. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5824. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5825. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5826. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5827. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5828. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5829. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5830. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5831. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5832. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5833. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5834. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5835. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5836. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5837. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5838. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5839. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5840. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5841. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5842. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5843. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5844. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5845. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5846. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5847. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5848. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5849. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5850. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5851. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5852. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5853. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5854. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5855. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5856. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5857. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5858. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5859. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5860. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5861. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5862. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5863. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5864. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5865. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5866. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5867. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5868. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5869. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5870. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5871. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5872. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5873. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5874. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5875. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5876. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5877. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5878. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5879. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5880. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5881. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5882. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5883. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5884. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5885. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5886. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5887. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5888. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5889. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5890. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5891. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5892. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5893. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5894. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5895. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5896. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5897. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5898. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5899. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5900. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5901. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5902. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5903. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5904. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5905. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5906. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5907. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5908. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5909. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5910. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5911. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5912. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5913. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5914. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5915. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5916. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5917. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5918. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5919. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5920. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5921. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5922. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5923. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5924. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5925. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5926. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5927. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5928. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5929. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5930. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5931. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5932. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5933. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5934. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5935. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5936. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5937. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5938. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5939. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5940. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5941. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5942. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5943. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5944. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5945. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5946. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5947. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5948. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5949. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5950. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5951. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5952. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5953. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5954. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5955. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5956. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5957. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5958. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5959. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5960. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5961. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5962. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5963. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5964. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5965. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5966. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5967. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5968. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5969. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5970. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5971. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5972. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5973. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5974. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5975. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5976. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5977. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5978. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5979. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5980. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5981. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5982. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5983. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5984. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5985. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5986. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5987. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5988. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5989. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5990. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5991. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5992. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5993. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5994. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5995. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5996. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5997. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5998. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5999. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6000. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6001. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6002. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6003. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6004. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6005. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6006. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6007. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6008. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6009. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6010. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6011. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6012. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6013. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6014. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6015. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6016. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6017. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6018. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6019. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6020. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6021. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6022. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6023. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6024. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6025. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6026. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6027. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6028. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6029. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6030. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6031. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6032. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6033. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6034. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6035. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6036. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6037. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6038. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6039. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6040. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6041. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6042. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6043. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6044. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6045. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6046. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6047. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6048. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6049. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6050. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6051. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6052. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6053. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6054. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6055. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6056. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6057. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6058. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6059. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6060. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6061. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6062. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6063. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6064. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6065. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6066. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6067. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6068. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6069. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6070. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6071. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6072. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6073. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6074. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6075. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6076. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6077. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6078. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6079. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6080. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6081. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6082. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6083. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6084. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6085. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6086. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6087. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6088. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6089. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6090. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6091. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6092. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6093. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6094. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6095. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6096. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6097. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6098. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6099. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6100. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6101.  
  6102. // obsolete start start2
  6103. }
  6104. //obsolete file hosts init end
  6105. //Add Host Example
  6106. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6107. {
  6108. addFileHost(
  6109. "datafile\.com\/\\w+",
  6110. 'var captchaPanel|<link href="/css/files_download.css"',
  6111. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6112. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6113. '<style type="text/css">',
  6114. "//a[contains(@href,'datafile.com')]",
  6115. true);
  6116. } */
  6117.  
  6118. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6119. {
  6120. var host = new Array(7);
  6121. host[0] = linkRegex;
  6122. host[1] = isAliveRegex;
  6123. host[2] = isDeadRegex;
  6124. host[3] = isUnavaRegex;
  6125. host[6] = ispremRegex;
  6126. host[4] = xpathEx;
  6127. tryLoop ? host[5] = true : host[5] = false;
  6128. http_file_hosts.push(host);
  6129. }
  6130. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6131. {
  6132. addFileHost(
  6133. "megafileupload\.com\/..\/file\/",
  6134. 'downloadbtn',
  6135. 'is not found',
  6136. 'optional--',
  6137. 'optional2--',
  6138. "//a[contains(@href,'megafileupload.com')]");
  6139. }
  6140. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6141. {
  6142. addFileHost(
  6143. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6144. 'download\\.gif"',
  6145. 'p_point">',
  6146. 'optional--',
  6147. 'optional2--',
  6148. "//a[contains(@href,'demo.ovh.eu')]");
  6149. }*/
  6150. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6151. {
  6152. addFileHost(
  6153. "safelinking\\.net\/p\/\\w+",
  6154. 'color:green;"',
  6155. 'color:(?:red|orange);"',
  6156. 'color:(?:grey|brown);"',
  6157. 'optional2--',
  6158. "//a[contains(@href,'safelinking.net/p/')]",
  6159. true);
  6160. }
  6161. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6162. {
  6163. addFileHost(
  6164. "fastshare\\.cz\/\\d+\/\\w*",
  6165. 'dwntable">|speed-low',
  6166. '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',
  6167. 'optional--',
  6168. 'optional2--',
  6169. "//a[contains(@href,'fastshare.cz')]");
  6170. }
  6171. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6172. {
  6173. addFileHost(
  6174. "[fF]ast[sS]hare\\.org\/download",
  6175. 'Download ">',
  6176. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6177. 'optional--',
  6178. 'optional2--',
  6179. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6180. }
  6181. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6182. {
  6183. addFileHost(
  6184. "rapidgator\\.net\/file\/\\w+",
  6185. '/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.',
  6186. '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',
  6187. 'optional--',
  6188. 'can be downloaded by premium only|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',
  6189. "//a[contains(@href,'rapidgator.net/file')]",
  6190. true
  6191. );
  6192. }
  6193. if (GM_getValue("Check_rg_dot_to_links", false))
  6194. {
  6195. addFileHost(
  6196. "rg\.to\/\\w+",
  6197. '/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.',
  6198. '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',
  6199. 'optional--',
  6200. 'can be downloaded by premium only|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|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',
  6201. "//a[contains(@href,'rg.to')]");
  6202. }
  6203. if (GM_getValue("Check_relink_dot_us_links", false))
  6204. {
  6205. addFileHost(
  6206. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6207. 'online_detail\\.png" alt="Status',
  6208. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6209. 'unknown_detail\\.png" alt="Status',
  6210. 'optional2--',
  6211. "//a[contains(@href,'relink.us/')]"
  6212. );
  6213. }
  6214. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6215. {
  6216. addFileHost(
  6217. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6218. 'div id="dl"',
  6219. 'Sie haben den Link falsch',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6223. );
  6224. }
  6225. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6226. {
  6227. addFileHost(
  6228. "flyfiles\\.net\/\\w+",
  6229. 'download_button"|"Download file"',
  6230. 'File not found!|Файл не найден',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'flyfiles.net/')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6237. {
  6238. addFileHost(
  6239. "wikiupload\\.com\/\\w+",
  6240. 'download-button">',
  6241. 'Sorry, File not found',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'wikiupload.com/')]"
  6245. );
  6246. }
  6247. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6248. {
  6249. addFileHost(
  6250. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6251. 'file\\.php">|Pobierz Plik',
  6252. 'Podany plik nie zosta',
  6253. 'optional--',
  6254. 'optional2--',
  6255. "//a[contains(@href,'hostuje.net/file')]"
  6256. );
  6257. }
  6258. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6259. {
  6260. addFileHost(
  6261. "gettyfile\\.ru\/\\d+",
  6262. 'download\\.gif border',
  6263. '<center><font size="3">',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'gettyfile.ru/')]"
  6267. );
  6268. }
  6269. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6270. {
  6271. addFileHost(
  6272. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6273. 'download\\-file">',
  6274. 'col-1">\\s*<h1>',
  6275. 'optional--',
  6276. 'optional2--',
  6277. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6278. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6279. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6280. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6281. );
  6282. }
  6283. if (GM_getValue("Check_data_dot_hu_links", false))
  6284. {
  6285. addFileHost(
  6286. "data\\.hu",
  6287. 'download_box_button|Lassú letöltés',
  6288. 'missing\\.php|Az adott fájl nem létezik',
  6289. 'optional--',
  6290. 'optional2--',
  6291. "//a[contains(@href,'data.hu')]",
  6292. true
  6293. );
  6294. }
  6295. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6296. {
  6297. addFileHost(
  6298. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6299. 'premiumBtn"',
  6300. 'errorMessage"',
  6301. 'optional--',
  6302. 'optional2--',
  6303. "//a[contains(@href,'indowebster.com/download')]"
  6304. );
  6305. }
  6306. if (GM_getValue("Check_superload_dot_cz_links", false))
  6307. {
  6308. addFileHost(
  6309. "superload\\.cz\/dl\/\\w+",
  6310. 'icon-download">',
  6311. 'soubor nebyl nalezen',
  6312. 'optional--',
  6313. 'optional2--',
  6314. "//a[contains(@href,'superload.cz/dl')]"
  6315. );
  6316. }
  6317. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6318. {
  6319. addFileHost(
  6320. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6321. 'op" value="download',
  6322. 'class="err">|width:500px;text-align:left;">',
  6323. 'optional--',
  6324. 'optional2--',
  6325. "//a[contains(@href,'hulkfile.')]"
  6326. );
  6327. }
  6328. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6329. {
  6330. addFileHost(
  6331. "easybytez\\.com\/\\w+",
  6332. 'op" value="download',
  6333. 'stop_error\\.gif',
  6334. 'optional--',
  6335. 'optional2--',
  6336. "//a[contains(@href,'easybytez.com/')]"
  6337. );
  6338. }
  6339. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6340. {
  6341. addFileHost(
  6342. "filestore\\.com\\.ua\/\\?d=\\w+",
  6343. 'tdrow1>',
  6344. 'class=warn',
  6345. 'optional--',
  6346. 'optional2--',
  6347. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6348. );
  6349. }
  6350. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6351. {
  6352. addFileHost(
  6353. "openfile\\.ru\/(?:video\/|)\\d+",
  6354. 'videobox_left">',
  6355. 'blog_title">|not found on this server',
  6356. 'optional--',
  6357. 'optional2--',
  6358. "//a[contains(@href,'openfile.ru/')]"
  6359. );
  6360. }*/
  6361. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6362. {
  6363. addFileHost(
  6364. "extmatrix\\.com\/files\/\\w+",
  6365. 'div class="success"',
  6366. 'div class="error"',
  6367. 'optional--',
  6368. 'optional2--',
  6369. "//a[contains(@href,'extmatrix.com/files')]"
  6370. );
  6371. }
  6372. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6373. {
  6374. addFileHost(
  6375. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6376. 'content_lnkDownload',
  6377. 'error\\.aspx\\?',
  6378. 'optional--',
  6379. 'optional2--',
  6380. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6381. );
  6382. }
  6383. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6384. {
  6385. addFileHost(
  6386. "yourfilestore\\.com\/download\/\\d+\/",
  6387. 'download_data">',
  6388. 'may have been deleted|<h1>Sorry!<\/h1>',
  6389. 'optional--',
  6390. 'optional2--',
  6391. "//a[contains(@href,'yourfilestore.com/download')]"
  6392. );
  6393. }
  6394. if (GM_getValue("Check_filebig_dot_net_links", false))
  6395. {
  6396. addFileHost(
  6397. "filebig\\.net\/files\/\\w+",
  6398. 'downloadFile">',
  6399. '<p>File not found<\/p>',
  6400. 'optional--',
  6401. 'optional2--',
  6402. "//a[contains(@href,'filebig.net/files')]"
  6403. );
  6404. }
  6405. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6406. {
  6407. addFileHost(
  6408. "files\\.filefront\\.com\/\/;\\d+;;",
  6409. 'downloadLink">',
  6410. 'File not found, you',
  6411. 'optional--',
  6412. 'optional2--',
  6413. "//a[contains(@href,'files.filefront.com')]"
  6414. );
  6415.  
  6416. addFileHost(
  6417. "gamefront\\.com\/files\/\\d+",
  6418. 'downloadLink">',
  6419. 'File not found, you',
  6420. 'optional--',
  6421. 'optional2--',
  6422. "//a[contains(@href,'gamefront.com/files')]"
  6423. );
  6424. }
  6425. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6426. {
  6427. addFileHost(
  6428. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6429. 'dnlLnk"',
  6430. 'already been deleted',
  6431. 'optional--',
  6432. 'optional2--',
  6433. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6434. );
  6435. }
  6436. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6437. {
  6438. addFileHost(
  6439. "hellupload\\.com\/\\w+",
  6440. '<h3>Download File<br',
  6441. 'id="podstrona">|AVOID_IE_BUG',
  6442. 'optional--',
  6443. 'optional2--',
  6444. "//a[contains(@href,'hellupload.com/')]"
  6445. );
  6446. }
  6447. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6448. {
  6449. addFileHost(
  6450. "free\\-uploading\\.com\/\\w+",
  6451. 'op" value="download',
  6452. 'class="err">|width:500px;text-align:left;">',
  6453. 'optional--',
  6454. 'optional2--',
  6455. "//a[contains(@href,'free-uploading.com/')]"
  6456. );
  6457. }
  6458. if (GM_getValue("Check_fileape_dot_com_links", false))
  6459. {
  6460. addFileHost(
  6461. "fileape\\.com\/download\\-",
  6462. 'button_dl\\.png',
  6463. 'does not exist\\.',
  6464. 'optional--',
  6465. 'optional2--',
  6466. "//a[contains(@href,'fileape.com/')]"
  6467. );
  6468. }
  6469. if (GM_getValue("Check_uppit_dot_com_links", false))
  6470. {
  6471. addFileHost(
  6472. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6473. 'op" value="download',
  6474. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6475. 'optional--',
  6476. 'optional2--',
  6477. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6478. true
  6479. );
  6480. }
  6481. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6482. {
  6483. addFileHost(
  6484. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6485. 'op" value="download',
  6486. '>File Not Found<',
  6487. 'optional--',
  6488. 'optional2--',
  6489. "//a[contains(@href,'nosupload.com')]",
  6490. true
  6491. );
  6492. }
  6493. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6494. {
  6495. addFileHost(
  6496. "filesin\\.com\/\\w+\/download\\.html",
  6497. 'download_area">',
  6498. 'error_note">',
  6499. 'optional--',
  6500. 'optional2--',
  6501. "//a[contains(@href,'filesin.com/')]",
  6502. true
  6503. );
  6504. }*/
  6505. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6506. {
  6507. addFileHost(
  6508. "nowdownload\\.ch\/dl\/\\w+",
  6509. 'alert-success"',
  6510. 'This file does not exist!',
  6511. 'The file is being transfered',
  6512. 'optional2--',
  6513. "//a[contains(@href,'nowdownload.ch/dl')]"
  6514. );
  6515. }*/
  6516. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6517. {
  6518. addFileHost(
  6519. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6520. 'Dbutton_big"',
  6521. 'download\\-error\\.php',
  6522. 'optional--',
  6523. 'optional2--',
  6524. "//a[contains(@href,'axifile.com/')]"
  6525. );
  6526. }*/
  6527. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6528. {
  6529. addFileHost(
  6530. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6531. 'col-1">\\s*<s',
  6532. 'col-1">\\s*<h',
  6533. 'optional--',
  6534. 'optional2--',
  6535. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6536. );
  6537. }
  6538. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6539. {
  6540. addFileHost(
  6541. "turbobit\\.(?:net|pl)",
  6542. 'id="download-gate-info|id="file-list',
  6543. 'afterWait()|no files in this folder',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'turbobit.net')]"
  6547. );
  6548. }
  6549. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6550. {
  6551. addFileHost(
  6552. "hitfile\\.net\/download\/folder\/\\d+",
  6553. 'content">\\s*<s',
  6554. 'content">\\s*<h',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'hitfile.net/download/folder')]"
  6558. );
  6559. }
  6560. if (GM_getValue("Check_movshare_dot_net_links", false))
  6561. {
  6562. addFileHost(
  6563. "movshare\\.net\\/video\\/\\w+",
  6564. 'optional--"',
  6565. 'no longer exists',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'movshare.net/video')]"
  6569. );
  6570. }
  6571. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6572. {
  6573. addFileHost(
  6574. "mafiastorage\\.com\/\\w+",
  6575. 'op" value="download',
  6576. 'class="err">|style="width:500px;text-align:left;"',
  6577. 'optional--',
  6578. 'optional2--',
  6579. "//a[contains(@href,'mafiastorage.com/')]"
  6580. );
  6581. }
  6582. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6583. {
  6584. addFileHost(
  6585. "uploadingit\\.com\/file\/\\w+",
  6586. 'downloadTitle">',
  6587. 'deleteContent">',
  6588. 'optional--',
  6589. 'optional2--',
  6590. "//a[contains(@href,'uploadingit.com/file')]"
  6591. );
  6592. }*/
  6593. if (GM_getValue("Check_rghost_dot_net_links", false))
  6594. {
  6595. addFileHost(
  6596. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6597. 'download_link|btn large download',
  6598. 'file is restricted|File is deleted|503 Service Unavailable',
  6599. 'optional--',
  6600. 'optional2--',
  6601. "//a[contains(@href,'rghost.')]"
  6602. );
  6603. }
  6604. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6605. {
  6606. addFileHost(
  6607. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6608. '">Staženo:\\s*<\/span>',
  6609. 'Soubor, který hledáte nenalezen',
  6610. 'optional--',
  6611. 'optional2--',
  6612. "//a[contains(@href,'xdisk.cz/')]"
  6613. );
  6614. }
  6615. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6616. {
  6617. addFileHost(
  6618. "2downloadz\.com\/\\w+",
  6619. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6620. 'color="#006DCC|File error',
  6621. 'optional--',
  6622. 'optional2--',
  6623. "//a[contains(@href,'2downloadz.com')]");
  6624. }
  6625. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6626. {
  6627. addFileHost(
  6628. "mightyupload\.com\/\\w+",
  6629. 'background:#ccc;text-align|CONTENT="Download File"',
  6630. 'style="background:#eee|var rr =|File Not Found',
  6631. 'error-code">1010',
  6632. 'optional2--',
  6633. "//a[contains(@href,'mightyupload.com')]");
  6634. }
  6635. if (GM_getValue("Check_anysend_dot_com_links", false))
  6636. {
  6637. addFileHost(
  6638. "anysend\.com\/\\w+",
  6639. 'var openCalled=false;|content="noindex"',
  6640. '_trackPageview',
  6641. 'optional--',
  6642. 'optional2--',
  6643. "//a[contains(@href,'anysend.com')]");
  6644. }
  6645. if (GM_getValue("Check_datafile_dot_com_links", false))
  6646. {
  6647. addFileHost(
  6648. "datafile\.com\/\\w+",
  6649. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6650. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6651. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6652. '; 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">
  6653. "//a[contains(@href,'datafile.com')]",
  6654. true);
  6655. }
  6656. if (GM_getValue("Check_upstore_dot_net_links", false))
  6657. {
  6658. addFileHost(
  6659. "upstore\.net\/\\w+",
  6660. 'name="free"',
  6661. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6662. 'optional--',
  6663. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6664. "//a[contains(@href,'upstore.net')]");
  6665. }
  6666. if (GM_getValue("Check_upsto_dot_re_links", false))
  6667. {
  6668. addFileHost(
  6669. "upsto\.re\/\\w+",
  6670. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6671. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6672. 'optional--',
  6673. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6674. "//a[contains(@href,'upsto.re')]");
  6675. }
  6676. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6677. {
  6678. addFileHost(
  6679. "speedy\.sh\/\\w+",
  6680. 'bgcolor=#eeeeee|class="addthis',
  6681. 'File not found|downloadfilenamenotfound>',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'speedy.sh')]");
  6685. }
  6686. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6687. {
  6688. addFileHost(
  6689. "kingfiles\.net\/\\w+",
  6690. 'method_free|images/loading_small.gif"',
  6691. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6692. 'optional--',
  6693. 'optional2--',
  6694. "//a[contains(@href,'kingfiles.net')]");
  6695. }
  6696. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6697. {
  6698. addFileHost(
  6699. "secureupload\\.eu\/\\w+",
  6700. 'Downloading',
  6701. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'secureupload.eu')]"
  6705. );
  6706. } */
  6707. if (GM_getValue("Check_ge_dot_tt_links", false))
  6708. {
  6709. addFileHost(
  6710. "ge\.tt\/\\w+",
  6711. 'downloads pic',
  6712. 'is NOT the same as',
  6713. 'optional--',
  6714. 'optional2--',
  6715. "//a[contains(@href,'ge.tt')]");
  6716. }
  6717. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6718. {
  6719. addFileHost(
  6720. "filefactory\\.com\/file\/\\w+",
  6721. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6722. '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">',
  6723. 'Server Maintenance|temporarily overloaded',
  6724. 'Premium Account Required',
  6725. "//a[contains(@href,'filefactory.com/file')]");
  6726. } */
  6727. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6728. {
  6729. addFileHost(
  6730. "filesflash\.net\/\\w+",
  6731. 'align:right">Filename:',
  6732. 'class="msg">',
  6733. 'optional--',
  6734. 'optional2--',
  6735. "//a[contains(@href,'filesflash.net')]");
  6736. }
  6737. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6738. {
  6739. addFileHost(
  6740. "rapidgator\\.net\/folder\/\\w+",
  6741. 'href="/folder/',
  6742. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6743. 'optional--',
  6744. 'optional2--',
  6745. "//a[contains(@href,'rapidgator.net/folder')]",
  6746. true
  6747. );
  6748. }
  6749. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6750. {
  6751. addFileHost(
  6752. "salefiles\.com\/\\w+",
  6753. 'name="method_free',
  6754. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6755. 'optional--',
  6756. 'optional2--',
  6757. "//a[contains(@href,'salefiles.com')]");
  6758. }
  6759. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6760. {
  6761. addFileHost(
  6762. "datoid\.cz\/\\w+",
  6763. 'btn-download|class="icon-download-large"',
  6764. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6765. 'optional--',
  6766. 'optional2--',
  6767. "//a[contains(@href,'datoid.cz')]");
  6768. }
  6769. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6770. {
  6771. addFileHost(
  6772. "stiahni\.si\/\\w+",
  6773. 'report_icon.png"|slow-download-button',
  6774. 'none.png|deleted|<h2>Error 500</h2>',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'stiahni.si')]");
  6778. }
  6779. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6780. {
  6781. addFileHost(
  6782. "cloudstor\.es\/\\w+",
  6783. '"btn_download"',
  6784. '404: Page Not Found',
  6785. 'optional--',
  6786. 'optional2--',
  6787. "//a[contains(@href,'cloudstor.es')]");
  6788. }
  6789. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6790. {
  6791. addFileHost(
  6792. "streamfile\.com\/\\w+",
  6793. 'class="btn',
  6794. 'class="green-btn',
  6795. 'optional--',
  6796. 'optional2--',
  6797. "//a[contains(@href,'streamfile.com')]");
  6798. }
  6799. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6800. {
  6801. addFileHost(
  6802. "eyesfile\.ca\/\\w+",
  6803. 'value="Get Link',
  6804. 'var rr =',
  6805. 'optional--',
  6806. 'optional2--',
  6807. "//a[contains(@href,'eyesfile.ca')]");
  6808. }
  6809. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. "filemoney\.com\/\\w+",
  6813. 'og:title',
  6814. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6815. 'error-code">1010',
  6816. 'optional2--',
  6817. "//a[contains(@href,'filemoney.com')]");
  6818. }
  6819. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6820. {
  6821. addFileHost(
  6822. "uploadboy\.com\/\\w+",
  6823. 'width="740">|method_free',
  6824. 'var rr =|background:#ffffff|not be found|file was removed',
  6825. 'optional--',
  6826. 'optional2--',
  6827. "//a[contains(@href,'uploadboy.com')]");
  6828. }
  6829. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6830. {
  6831. addFileHost(
  6832. "uploadboy\.com\/\\w+",
  6833. 'width="740">|method_free',
  6834. 'var rr =|background:#ffffff|not be found|file was removed',
  6835. 'optional--',
  6836. 'optional2--',
  6837. "//a[contains(@href,'uploadboy.me')]");
  6838. }
  6839. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6840. {
  6841. addFileHost(
  6842. "speedshare\.eu\/\\w+",
  6843. 'favicon.png|color:#3d87c0|cross.png"',
  6844. 'var rr =|File Not Found|style="background:#eee',
  6845. 'optional--',
  6846. 'optional2--',
  6847. "//a[contains(@href,'speedshare.eu')]");
  6848. }
  6849. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6850. {
  6851. addFileHost(
  6852. "unlimitzone\.com\/\\w+",
  6853. 'name="method_free',
  6854. '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',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'unlimitzone.com')]");
  6858. }
  6859. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6860. {
  6861. addFileHost(
  6862. "rioupload\.com\/\\w+",
  6863. 'sell.jpg',
  6864. 'var rr =',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'rioupload.com')]");
  6868. }
  6869. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6870. {
  6871. addFileHost(
  6872. "jumbofiles\.org\/\\w+",
  6873. 'H71C5.png|class="downloadtitle">',
  6874. 'var swfu|ViewSourceBIN.png',
  6875. 'optional--',
  6876. 'optional2--',
  6877. "//a[contains(@href,'jumbofiles.org')]");
  6878. }
  6879. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6880. {
  6881. addFileHost(
  6882. "fshare\\.vn\/file\/\\w+",
  6883. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6884. 'không tồn tại|class="color_red m_t_50"',
  6885. 'optional--',
  6886. 'optional2--',
  6887. "//a[contains(@href,'fshare.vn/file')]",
  6888. true
  6889. );
  6890. }
  6891. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6892. {
  6893. addFileHost(
  6894. "spaceforfiles\.com\/\\w+",
  6895. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6896. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6897. 'optional--',
  6898. 'optional2--',
  6899. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6900. }
  6901. if (GM_getValue("Check_google_dot_com_links", false))
  6902. {
  6903. addFileHost(
  6904. "google\\.com\/file\/\\w+",
  6905. 'content="!">|color:#2d2d2d',
  6906. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6907. 'optional--',
  6908. 'optional2--',
  6909. "//a[contains(@href,'google.com/file')]",
  6910. true
  6911. );
  6912. }
  6913. if (GM_getValue("Check_google_dot_com_links", false))
  6914. {
  6915. addFileHost(
  6916. "docs.google.com\/\\w+",
  6917. 'content="!">|color:#2d2d2d',
  6918. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6919. 'optional--',
  6920. 'optional2--',
  6921. "//a[contains(@href,'docs.google.com')]",
  6922. true
  6923. );
  6924. }
  6925. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6926. {
  6927. addFileHost(
  6928. "drive.google.com\/\\w+",
  6929. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6930. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'drive.google.com')]",
  6934. true
  6935. );
  6936. }
  6937. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6938. {
  6939. addFileHost(
  6940. "up.media1fire\.com\/\\w+",
  6941. 'class="addthis_|value="download',
  6942. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6943. 'optional--',
  6944. 'optional2--',
  6945. "//a[contains(@href,'up.media1fire.com')]");
  6946. }
  6947. if (GM_getValue("Check_depfile_dot_com_links", false))
  6948. {
  6949. addFileHost(
  6950. "depfile\.com\/\\w+",
  6951. 'logo_0.png|downloads.gif"|verifycode',
  6952. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6953. 'optional--',
  6954. 'available only for Premium users',
  6955. "//a[contains(@href,'depfile.com')]");
  6956. }
  6957. if (GM_getValue("Check_go4up_dot_com_links", false))
  6958. {
  6959. addFileHost(
  6960. "go4up\.com\/\\w+",
  6961. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6962. '<title>GO4UP|dmca',
  6963. 'optional--',
  6964. 'optional2--',
  6965. "//a[contains(@href,'go4up.com')]");
  6966. }
  6967. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6968. {
  6969. addFileHost(
  6970. "redbunker\.net\/\\w+",
  6971. 'name="method_free"',
  6972. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  6973. 'optional--',
  6974. '2.3 GB',
  6975. "//a[contains(@href,'redbunker.net')]");
  6976. }
  6977. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6978. {
  6979. addFileHost(
  6980. "divxpress\.com\/\\w+",
  6981. 'btn_download|logo.png"',
  6982. 'AVOID_IE_BUG|var rr =',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'divxpress.com')]");
  6986. }
  6987. if (GM_getValue("Check_anafile_dot_com_links", false))
  6988. {
  6989. addFileHost(
  6990. "anafile\.com\/\\w+",
  6991. 'width="881" valign="top|color="#800080"|name="go"',
  6992. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6993. 'optional--',
  6994. 'optional2--',
  6995. "//a[contains(@href,'anafile.com')]");
  6996. }
  6997. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6998. {
  6999. addFileHost(
  7000. "uploadable\\.ch\/file\/\\w+",
  7001. 'captcha.js"|payment.js"|class="btn_download"',
  7002. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7003. 'optional--',
  7004. 'optional2--',
  7005. "//a[contains(@href,'uploadable.ch/file')]",
  7006. true
  7007. );
  7008. }
  7009. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7010. {
  7011. addFileHost(
  7012. "bigfile\\.to\/file\/\\w+",
  7013. 'captcha.js"|payment.js"|class="btn_download"',
  7014. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7015. 'optional--',
  7016. 'optional2--',
  7017. "//a[contains(@href,'bigfile.to/file')]",
  7018. true
  7019. );
  7020. }
  7021. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7022. {
  7023. addFileHost(
  7024. "arabloads\.net\/\\w+",
  7025. 'name="method_free"|name="method_premium"',
  7026. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'arabloads.net')]");
  7030. }
  7031. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7032. {
  7033. addFileHost(
  7034. "sharerepo\.com\/\\w+",
  7035. 'name="method_free"',
  7036. 'var public_on=|The file you were looking for could not be found',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'sharerepo.com')]");
  7040. }
  7041. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7042. {
  7043. addFileHost(
  7044. "sfshare\.se\/\\w+",
  7045. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7046. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'sfshare.se')]");
  7050. }
  7051. if (GM_getValue("Check_files_dot_fm_links", false))
  7052. {
  7053. addFileHost(
  7054. "files\.fm\/\\w+",
  7055. 'dl.png"|background-color: transparent',
  7056. 'margin: 40px 40px|background: none;',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'files.fm')]");
  7060. }
  7061. if (GM_getValue("Check_koofile_dot_com_links", false))
  7062. {
  7063. addFileHost(
  7064. "koofile\.com\/\\w+",
  7065. 'value="download1">|name="method_free"',
  7066. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'koofile.com')]");
  7070. }
  7071. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7072. {
  7073. addFileHost(
  7074. "vidxden\\.com\/\\w+",
  7075. 'Continue to Video"',
  7076. 'No such file',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'vidxden.com')]"
  7080. );
  7081. }*/
  7082. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7083. {
  7084. addFileHost(
  7085. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7086. 'Details zur Datei|Details page',
  7087. 'Jetzt hochladen|upload now',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7091. );
  7092. }
  7093. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7094. {
  7095. addFileHost(
  7096. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7097. 'downloadbtn"',
  7098. 'DL_FileNotFound',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7102. );
  7103. }
  7104. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7105. {
  7106. addFileHost(
  7107. "fileflyer\.com\/view\/\\w+",
  7108. '(?:dwl|locked)btn"',
  7109. 'error.gif"|link">Removed|removedlink">',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'fileflyer.com')]"
  7113. );
  7114. }
  7115. if (GM_getValue("Check_filestore_dot_to_links", false))
  7116. {
  7117. addFileHost(
  7118. "filestore\.to\/\\?d=\\w+",
  7119. '"downloading"',
  7120. 'Datei wurde nicht gefunden',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'filestore.to')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7127. {
  7128. addFileHost(
  7129. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7130. 'fz24">Download|class="pl15">',
  7131. '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',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_datei_dot_to_links", false))
  7138. {
  7139. addFileHost(
  7140. "datei\\.to\/\\??\\w+",
  7141. 'icon_downloaden\\.png|>Download starten<',
  7142. 'Datei wurde nicht gefunden|icon_deleted.png',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'datei.to')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7149. {
  7150. addFileHost(
  7151. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7152. '<body class="body" id="body">|value="Slow Download"',
  7153. '<body class="body" >',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7160. {
  7161. addFileHost(
  7162. "unibytes\\.com\/[\\w\.]+",
  7163. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7164. 'File not found|Файл не найден|',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'unibytes.com')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7171. {
  7172. addFileHost(
  7173. "www\\.hellshare\\.com\/\\d+",
  7174. 'tab\\-details"',
  7175. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'www.hellshare.com')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7182. {
  7183. addFileHost(
  7184. "www\\.download.cz.hellshare\\.com\/\\w+",
  7185. 'tab\\-details"',
  7186. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7187. 'optional--',
  7188. 'optional2--',
  7189. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7193. {
  7194. addFileHost(
  7195. "filefactory\\.com",
  7196. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7197. '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',
  7198. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7199. 'Premium Account Required',
  7200. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_load_dot_to_links", false))
  7204. {
  7205. addFileHost(
  7206. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7207. '"download_table_left">Size',
  7208. 'Can\'t find file',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_divshare_dot_com_links", false))
  7215. {
  7216. addFileHost(
  7217. "divshare\\.com\/download\/",
  7218. 'download_new\.png',
  7219. 'have been removed',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'divshare.com')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7226. {
  7227. addFileHost(
  7228. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7229. 'download=true"',
  7230. '<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>',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'euroshare.eu/file')]"
  7234. );
  7235. }
  7236. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7237. {
  7238. addFileHost(
  7239. 'files\\.mail\\.ru/(?:\\w*)',
  7240. 'fileList',
  7241. 'errorMessage',
  7242. 'optional--',
  7243. 'optional2--',
  7244. "//a[contains(@href,'files.mail.ru')]"
  7245. );
  7246. }
  7247. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7248. {
  7249. addFileHost(
  7250. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7251. 'Filesize',
  7252. 'Invalid|deleted|Could not download file',
  7253. 'slots|scheduled maintenance',
  7254. 'optional2--',
  7255. "//a[contains(@href,'megashares.com/')]"
  7256. );
  7257. } */
  7258. if (GM_getValue("Check_narod_dot_ru_links", false))
  7259. {
  7260. addFileHost(
  7261. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7262. 'b-submit|action="resource.download"',
  7263. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7264. 'Внутренняя ошибка сервиса',
  7265. 'optional2--',
  7266. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7270. {
  7271. addFileHost(
  7272. "rayfile\\.com\/",
  7273. 'FILEtitleTXT',
  7274. 'blueRow',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7281. {
  7282. addFileHost(
  7283. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7284. 'button_green_body"',
  7285. 'error">',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'filesmonster.com/download')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7292. {
  7293. addFileHost(
  7294. 'usaupload\\.net\/d\/(?:\w*)',
  7295. '<strong>File size:</strong>',
  7296. 'is not available',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'usaupload.net/d/')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7303. {
  7304. addFileHost(
  7305. 'sendspace\\.com\/file\/\\w+',
  7306. 'file_description',
  7307. 'msg error"',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'sendspace.com/file')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7314. {
  7315. addFileHost(
  7316. 'sendspace\\.pl\/file\/\\w+',
  7317. 'download_file"',
  7318. 'Podany plik nie',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'sendspace.pl/file')]"
  7322. );
  7323. }
  7324. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. 'uploading\\.com\/(?:files\/)?\\w+',
  7328. 'free_method">',
  7329. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'uploading.com')]"
  7333. );
  7334. } */
  7335. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7336. {
  7337. addFileHost(
  7338. "gigasize\.com\/\\w+",
  7339. 'fileId"|class="estimate">',
  7340. 'error">',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'gigasize.com/get')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_good_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. 'good\\.net\/(?:_|dl)',
  7350. 'Free Download',
  7351. 'Not Found',
  7352. 'Forbidden',
  7353. 'optional2--',
  7354. "//a[contains(@href,'good.net')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_2shared_dot_com_links", false))
  7358. {
  7359. addFileHost(
  7360. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7361. 'File size',
  7362. 'File not found|is not valid|/images/important.gif',
  7363. 'optional--',
  7364. 'optional2--',
  7365. // "//a[contains(@href,'2shared.com')]"
  7366. "//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/')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. 'turboupload\\.com\/\\w*',
  7373. 'You have requested',
  7374. 'File Not Found',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'turboupload.com')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7381. {
  7382. addFileHost(
  7383. 'gigapeta\\.com\/dl\/',
  7384. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7385. '404|page_error',
  7386. 'optional--',
  7387. 'optional2--',
  7388. "//a[contains(@href,'gigapeta.com/dl')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_veehd_dot_com_links", false))
  7392. {
  7393. addFileHost(
  7394. 'veehd\.com\/video\/.*?',
  7395. 'No sound|Download video',
  7396. 'Featured Videos',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7400. );
  7401. }
  7402. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7403. {
  7404. addFileHost(
  7405. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7406. 'fast_download_form">|submit_sms_download',
  7407. '<p style="text-align:center">',
  7408. 'optional--',
  7409. 'optional2--',
  7410. "//a[contains(@href,'vip-file.com/download')]"
  7411. );
  7412. }
  7413. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7414. {
  7415. addFileHost(
  7416. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7417. 'download\\-pnl ',
  7418. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7419. 'optional--',
  7420. 'optional2--',
  7421. "//a[contains(@href,'letitbit.net/download')]"
  7422. );
  7423. }*/
  7424. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7425. {
  7426. addFileHost(
  7427. 'ifolder\.ru\/\\d+',
  7428. 'file-info',
  7429. 'ui-state-error',
  7430. 'optional--',
  7431. 'optional2--',
  7432. "//a[contains(@href,'ifolder.ru')]"
  7433. );
  7434. }
  7435. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7436. {
  7437. addFileHost(
  7438. 'fileswap\\.com\/dl\/\\w+',
  7439. 'bttnDownloadLink"',
  7440. 'rounded_block_error"',
  7441. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7442. 'optional2--',
  7443. "//a[contains(@href,'fileswap.com/dl')]"
  7444. );
  7445. }*/
  7446. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7447. {
  7448. addFileHost(
  7449. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7450. 'var __error = 0|id="recaptchaPanel">',
  7451. 'FILES__DOESNT_EXIST|removed or did not exist',
  7452. 'optional--',
  7453. 'optional2--',
  7454. "//a[contains(@href,'filecloud.io/')]"
  7455. );
  7456. addFileHost(
  7457. 'ifile\\.it\/\\w+',
  7458. 'var __error = 0',
  7459. 'FILES__DOESNT_EXIST',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'ifile.it/')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7466. {
  7467. addFileHost(
  7468. 'solidfiles\\.com\/\\w+',
  7469. 'id="download"|content="Download',
  7470. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7471. 'optional--',
  7472. 'optional2--',
  7473. "//a[contains(@href,'solidfiles.com/')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7477. {
  7478. addFileHost(
  7479. "(?:.\\.|)shareflare\\.net",
  7480. 'download-pnl|<div class="premium-block">',
  7481. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7488. {
  7489. addFileHost(
  7490. "u18116681.shareflare\\.net",
  7491. 'download-pnl|<div class="premium-block">',
  7492. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7499. {
  7500. addFileHost(
  7501. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7502. 'file\\-list-orderby|section-filedetail">',
  7503. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'hellspy.')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7510. {
  7511. addFileHost(
  7512. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7513. '<body onload="">',
  7514. 'neexistuje|not exist',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7521. {
  7522. addFileHost(
  7523. "stahovanizasms\\.cz\/\\w+",
  7524. 'download\\.png>|font-size:11px><tr>',
  7525. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'stahovanizasms.cz')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7532. {
  7533. addFileHost(
  7534. "share-links\\.biz\/\\w*",
  7535. 'online\\.gif',
  7536. '(?:offline|parts)\\.gif',
  7537. 'optional--',
  7538. 'optional2--',
  7539. "//a[contains(@href,'share-links.biz')]"
  7540. );
  7541. }
  7542. if (GM_getValue("Check_4shared_dot_com_links", false))
  7543. {
  7544. addFileHost(
  7545. "4shared\\.com\/.+\/",
  7546. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7547. 'class="warn\"|big red"|GetDataBack',
  7548. 'Service Unavailable',
  7549. 'optional2--',
  7550. "//a[contains(@href,'4shared.com')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7554. {
  7555. addFileHost(
  7556. "(?:www\\d+\.|)zippyshare\.com\/",
  7557. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7558. 'not exist|Status 404',
  7559. 'optional--',
  7560. 'optional2--',
  7561. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7565. {
  7566. addFileHost(
  7567. "mediafire\.com\/",
  7568. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7569. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7570. 'set to private',
  7571. 'optional2--',
  7572. "//a[contains(@href,'mediafire.com')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7576. {
  7577. addFileHost(
  7578. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7579. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7580. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7581. 'optional--',
  7582. 'GB</small>',
  7583. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7587. {
  7588. addFileHost(
  7589. "ulozisko\.sk\/",
  7590. 'Detaily',
  7591. 'neexistuje',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'ulozisko.sk')]"
  7595. );
  7596. }
  7597. if (GM_getValue("Check_box_dot_com_links", false))
  7598. {
  7599. addFileHost(
  7600. "box\.com\/\\w+",
  7601. 'download-file-btn|id="download_button|preview-download',
  7602. 'BIyMin.png| <div class="error_message|link has been removed',
  7603. 'optional--',
  7604. 'optional2--',
  7605. "//a[contains(@href,'app.box.com')]");
  7606. }
  7607. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7608. {
  7609. addFileHost(
  7610. "uptobox\\.com\/\\w+",
  7611. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7612. '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|لا يوجد أي ملف',
  7613. 'Maintenance',
  7614. 'optional2--',
  7615. "//a[contains(@href,'uptobox.com')]",
  7616. true
  7617. );
  7618. }
  7619. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7620. {
  7621. addFileHost(
  7622. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7623. 'FILE DOWNLOAD<',
  7624. 'File Does Not Exist',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'sharecash.org/download.php')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7631. {
  7632. addFileHost(
  7633. "1fichier\\.com\/dir\/\\w+",
  7634. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7635. 'Shared Folder Not Found',
  7636. 'optional--',
  7637. 'optional2--',
  7638. "//a[contains(@href,'1fichier.com/dir')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7642. {
  7643. addFileHost(
  7644. "depositfiles\\.com\/folders\/\\w+",
  7645. '<div class="progressContainer">',
  7646. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'depositfiles.com/folders')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7653. {
  7654. addFileHost(
  7655. "rapidfileshare\\.net/\\w+",
  7656. '<div id="upload-header-bg">',
  7657. '<div style="width:500px;text-align:left;">',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'rapidfileshare.net/')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7664. {
  7665. addFileHost(
  7666. "stiahnito\\.sk/",
  7667. '<span class="filesize right">',
  7668. '<ol class="list-purp-2">',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'stiahnito.sk/')]"
  7672. );
  7673. }
  7674. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7675. {
  7676. addFileHost(
  7677. "rusfolder\\.(?:com|net)",
  7678. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7679. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7680. 'optional--',
  7681. 'optional2--',
  7682. "//a[contains(@href,'rusfolder')]"
  7683. );
  7684. }
  7685. if (GM_getValue("Check_catshare_dot_net_links", false))
  7686. {
  7687. addFileHost(
  7688. "catshare\\.net/\\w+",
  7689. '"icon-share|"col-xs-12',
  7690. 'alert alert-error',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'catshare.net/')]"
  7694. );
  7695. }
  7696. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7697. {
  7698. addFileHost(
  7699. "anonfiles\\.com/\\w+",
  7700. '"download_button"',
  7701. '<legend><b>404</b>',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'anonfiles.com')]"
  7705. );
  7706. }*/
  7707. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7708. {
  7709. addFileHost(
  7710. "mixturecloud\\.com/media/\\w+",
  7711. '"btn icon i_globe gray share_150',
  7712. '"s_cross_close"></span> 404:',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'mixturecloud.com/media/')]"
  7716. );
  7717. }
  7718. if (GM_getValue("Check_akafile_dot_com_links", false))
  7719. {
  7720. addFileHost(
  7721. "akafile\\.com\/\\w+",
  7722. 'download1',
  7723. 'File Not Found',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'akafile.com/')]"
  7727. );
  7728. }
  7729. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7730. {
  7731. addFileHost(
  7732. "creafile\\.net\/\\w+",
  7733. 'downloadblock',
  7734. 'errtitle',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'creafile.net/')]"
  7738. );
  7739. }*/
  7740. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7741. {
  7742. addFileHost(
  7743. "hugefiles\\.net\/\\w+",
  7744. 'download1|class="btn-create-download" value="Create Download Link">',
  7745. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'hugefiles.net/')]"
  7749. );
  7750. }*/
  7751. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7752. {
  7753. addFileHost(
  7754. "sendmyway\\.com\/\\w+",
  7755. 'id="btn_download"',
  7756. '500px;text-align:left;"|<center><h3>',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'sendmyway.com/')]"
  7760. );
  7761. }
  7762. if (GM_getValue("Check_upload_dot_ee_links", false))
  7763. {
  7764. addFileHost(
  7765. "upload\\.ee\/\\w+",
  7766. 'onmouseout="document.dllink.src',
  7767. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'upload.ee/')]"
  7771. );
  7772. }
  7773. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7774. {
  7775. addFileHost(
  7776. "shareplace\\.org\/\\?\\w+",
  7777. 'Download-Link',
  7778. 'Your requested file is not found|Select file to send',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'shareplace.org/?')]"
  7782. );
  7783. }
  7784. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7785. {
  7786. addFileHost(
  7787. "uploadc\\.com\/\\w+",
  7788. 'id="prebut"',
  7789. 'File Not Found|This file has been removed due',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'uploadc.com/')]"
  7793. );
  7794. }
  7795. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7796. {
  7797. addFileHost(
  7798. "uploadc\\.ch\/\\w+",
  7799. 'id="prebut"',
  7800. 'File Not Found|This file has been removed due',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'uploadc.ch/')]"
  7804. );
  7805. }
  7806. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7807. {
  7808. addFileHost(
  7809. "remixshare\\.com\/\\w+",
  7810. 'id="dl2"',
  7811. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'remixshare.com/')]"
  7815. );
  7816. }*/
  7817. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7818. {
  7819. addFileHost(
  7820. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7821. 'Last Download :',
  7822. 'img src="\\/404.jpg"',
  7823. 'optional--',
  7824. 'optional2--',
  7825. "//a[contains(@href,'exoshare.com/download.php')]"
  7826. );
  7827. }
  7828. if (GM_getValue("Check_borncash_dot_org_links", false))
  7829. {
  7830. addFileHost(
  7831. "borncash\\.org\/download\/\\?a=\\w+",
  7832. 'class="knop_1"',
  7833. '\/error\/er00',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'borncash.org/download/')]"
  7837. );
  7838. }
  7839. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7840. {
  7841. addFileHost(
  7842. "vidplay\.net\/\\w+",
  7843. 'solvemedia puzzle widget',
  7844. 'File not found|AVOID_IE_BUG',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'vidplay.net')]");
  7848. }*/
  7849. if (GM_getValue("Check_filedais_dot_com_links", false))
  7850. {
  7851. addFileHost(
  7852. "filedais\.com\/\\w+",
  7853. 'class="btn btn-info"|name="method_free"',
  7854. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'filedais.com')]");
  7858. }
  7859. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7860. {
  7861. addFileHost(
  7862. "up.4share\.vn\/\\w+",
  7863. '<font size="2" face="Verdana">',
  7864. 'font: 13px Tahoma; color: Brown',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'up.4share.vn')]");
  7868. }
  7869. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7870. {
  7871. addFileHost(
  7872. "share.vnn\.vn\/\\w+",
  7873. '"index,follow"|<div class="main" id="download-box">',
  7874. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'share.vnn.vn')]");
  7878. }
  7879. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7880. {
  7881. addFileHost(
  7882. "upfile\.vn\/\\w+",
  7883. 'download-timer',
  7884. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'upfile.vn')]");
  7888. }
  7889. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7890. {
  7891. addFileHost(
  7892. "aisfile\.com\/\\w+",
  7893. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7894. '<div style="width:500px;text-align:left;">|File Not Found',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'aisfile.com')]");
  7898. }
  7899. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "usersfiles\.com\/\\w+",
  7903. 'class="btn btn-success|id="btn_download" class="btn"',
  7904. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'usersfiles.com')]");
  7908. }
  7909. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7910. {
  7911. addFileHost(
  7912. "pan.baidu\.com\/\\w+",
  7913. 'target="_blank" title=|share-personal-info',
  7914. 'share_notfound.png|background:#f9f9f9',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'pan.baidu.com')]");
  7918. }
  7919. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7920. {
  7921. addFileHost(
  7922. "yunpan\.cn\/\\w+",
  7923. 'class="icon icon-download',
  7924. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'yunpan.cn')]");
  7928. }
  7929. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7930. {
  7931. addFileHost(
  7932. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7933. 'getElementById("downbild")|style.display',
  7934. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'file-upload.net')]");
  7938. }
  7939. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7940. {
  7941. addFileHost(
  7942. "file\\-upload\\.com\/",
  7943. 'name="method_free"',
  7944. 'File Not Found|exclamation-triangle',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'file-upload.com')]");
  7948. }
  7949. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7950. {
  7951. addFileHost(
  7952. "gulfup\.com\/",
  7953. '<!-- Downlod template -->|download.gif',
  7954. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7955. 'optional--',
  7956. 'optional2--',
  7957. "//a[contains(@href,'gulfup.com')]");
  7958. }*/
  7959. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7960. {
  7961. addFileHost(
  7962. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7963. 'dldtable">',
  7964. 'does not exist\\.',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'datafilehost.com')]");
  7968. }
  7969. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7970. {
  7971. addFileHost(
  7972. "dropbox\.com\/s\/\\w+",
  7973. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7974. '>Nothing Here<|>Error (404)<',
  7975. 'title>Dropbox - 509|Error (403)|Error: 429',
  7976. 'optional2--',
  7977. "//a[contains(@href,'dropbox.com')]");
  7978. }
  7979. if (GM_getValue("Check_box_dot_net_links", false))
  7980. {
  7981. addFileHost(
  7982. "box\.net\/\\w+",
  7983. 'download-file-btn|id="download_button',
  7984. 'BIyMin.png| <div class="error_message',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'box.net')]");
  7988. }
  7989. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7990. {
  7991. addFileHost(
  7992. "filedropper\.com\/\\w+",
  7993. 'background:#ddd;|width:985px; ',
  7994. 'background-color:#FFFFFF;|margin-left: -400px;',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'filedropper.com')]");
  7998. }
  7999. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8000. {
  8001. addFileHost(
  8002. "tropicshare\\.com\/files\/\\d+",
  8003. 'MB</span>|GB</span>|KB</span>',
  8004. '>FNF<|size: </span>',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'tropicshare.com')]");
  8008. }
  8009. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8010. {
  8011. addFileHost(
  8012. "worldbytez\.com",
  8013. '<div class="download_type">|method_free',
  8014. '<div style="width:500px;text-align:left;">',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'worldbytez.com')]",
  8018. true);
  8019. }
  8020. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8021. {
  8022. addFileHost(
  8023. "freefilehosting\.net\/\\w+",
  8024. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8025. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8026. 'optional--',
  8027. 'optional2--',
  8028. "//a[contains(@href,'freefilehosting.net')]");
  8029. }
  8030. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8031. {
  8032. addFileHost(
  8033. "ziddu\.com\/\\w+",
  8034. 'downloads.ziddu.com|downloadfilelinkicon',
  8035. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8036. 'optional--',
  8037. 'optional2--',
  8038. "//a[contains(@href,'ziddu.com')]");
  8039. }
  8040. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8041. {
  8042. addFileHost(
  8043. "exclusiveloader\.com\/\\w+",
  8044. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8045. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8046. 'optional--',
  8047. 'optional2--',
  8048. "//a[contains(@href,'exclusiveloader.com')]");
  8049. }
  8050. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8051. {
  8052. addFileHost(
  8053. "sharerapid\.cz\/\\w+",
  8054. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8055. 'error_div">|404 - Not Found',
  8056. 'optional--',
  8057. 'optional2--',
  8058. "//a[contains(@href,'sharerapid.cz')]");
  8059. }
  8060. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8061. {
  8062. addFileHost(
  8063. "sdilej\.cz\/\\w+",
  8064. 'class="page-download"',
  8065. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8066. 'optional--',
  8067. 'optional2--',
  8068. "//a[contains(@href,'sdilej.cz')]");
  8069. }
  8070. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8071. {
  8072. addFileHost(
  8073. "lafiles\.com\/\\w+",
  8074. '<div id="pay_modes">',
  8075. '<b class="err"></b>',
  8076. 'optional--',
  8077. 'optional2--',
  8078. "//a[contains(@href,'lafiles.com')]");
  8079. }
  8080. if (GM_getValue("Check_acefile_dot_net_links", false))
  8081. {
  8082. addFileHost(
  8083. "acefile\.net\/\\w+",
  8084. 'align=right nowrap><b>',
  8085. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8086. 'optional--',
  8087. 'optional2--',
  8088. "//a[contains(@href,'acefile.net')]");
  8089. }
  8090. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8091. {
  8092. addFileHost(
  8093. "megarapid\.cz\/\\w+",
  8094. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8095. 'error_div">|404 - Not Found',
  8096. 'optional--',
  8097. 'optional2--',
  8098. "//a[contains(@href,'megarapid.cz')]");
  8099. }
  8100. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8101. {
  8102. addFileHost(
  8103. "yadi\.sk\/\\w+",
  8104. 'nb-button _nb-small-button',
  8105. 'error code|Nothing found',
  8106. 'optional--',
  8107. 'optional2--',
  8108. "//a[contains(@href,'yadi.sk')]");
  8109. }
  8110. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8111. {
  8112. addFileHost(
  8113. "hitfile\.net\/\\w+",
  8114. 'class="download-file',
  8115. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8116. 'optional--',
  8117. 'optional2--',
  8118. "//a[contains(@href,'hitfile.net')]");
  8119. }
  8120. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8121. {
  8122. addFileHost(
  8123. "up.top4top\.net\/\\w+",
  8124. 'start Downlod template',
  8125. 'start err template',
  8126. 'optional--',
  8127. 'optional2--',
  8128. "//a[contains(@href,'up.top4top.net')]");
  8129. }
  8130. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8131. {
  8132. addFileHost(
  8133. "filejoker\.net",
  8134. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8135. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8136. 'optional--',
  8137. 'id="download" class="premium-only">',
  8138. "//a[contains(@href,'filejoker.net')]");
  8139. }
  8140. if (GM_getValue("Check_free_dot_fr_links", false))
  8141. {
  8142. addFileHost(
  8143. "(?:dl.\\.|)free\\.fr",
  8144. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8145. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8146. 'optional--',
  8147. 'optional2--',
  8148. "//a[contains(@href,'dl.free.fr')]");
  8149. }
  8150. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8151. {
  8152. addFileHost(
  8153. "gboxes\.com\/\\w+",
  8154. 'You have requested|color="red">http://www.gboxes.com',
  8155. 'File Not Found|<div style="width:500px;text-align:left;">',
  8156. 'optional--',
  8157. 'optional2--',
  8158. "//a[contains(@href,'gboxes.com')]");
  8159. }
  8160. if (GM_getValue("Check_led_dot_wf_links", false))
  8161. {
  8162. addFileHost(
  8163. "led\.wf\/\\w+",
  8164. 'logo_0.png|downloads.gif"|verifycode',
  8165. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8166. 'optional--',
  8167. 'available only for Premium users',
  8168. "//a[contains(@href,'led.wf')]");
  8169. }
  8170. if (GM_getValue("Check_lan_dot_wf_links", false))
  8171. {
  8172. addFileHost(
  8173. "lan\.wf\/\\w+",
  8174. 'logo_0.png|downloads.gif"|verifycode',
  8175. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8176. 'optional--',
  8177. 'available only for Premium users',
  8178. "//a[contains(@href,'lan.wf')]");
  8179. }
  8180. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8181. {
  8182. addFileHost(
  8183. "adlink\.wf\/\\w+",
  8184. 'logo_0.png|downloads.gif"|verifycode',
  8185. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8186. 'optional--',
  8187. 'available only for Premium users',
  8188. "//a[contains(@href,'adlink.wf')]");
  8189. }
  8190. if (GM_getValue("Check_click_dot_tf_links", false))
  8191. {
  8192. addFileHost(
  8193. "click\.tf\/\\w+",
  8194. 'logo_0.png|downloads.gif"|verifycode',
  8195. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8196. 'optional--',
  8197. 'available only for Premium users',
  8198. "//a[contains(@href,'click.tf')]");
  8199. }
  8200. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8201. {
  8202. addFileHost(
  8203. "ssh\.tf\/\\w+",
  8204. 'logo_0.png|downloads.gif"|verifycode',
  8205. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8206. 'optional--',
  8207. 'available only for Premium users',
  8208. "//a[contains(@href,'ssh.tf')]");
  8209. }
  8210. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8211. {
  8212. addFileHost(
  8213. "ssh\.yt\/\\w+",
  8214. 'logo_0.png|downloads.gif"|verifycode',
  8215. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8216. 'optional--',
  8217. 'available only for Premium users',
  8218. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8219. }
  8220. if (GM_getValue("Check_yep_dot_pm_links", false))
  8221. {
  8222. addFileHost(
  8223. "yep\.pm\/\\w+",
  8224. 'logo_0.png|downloads.gif"|verifycode',
  8225. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8226. 'optional--',
  8227. 'available only for Premium users',
  8228. "//a[contains(@href,'yep.pm')]");
  8229. }
  8230. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8231. {
  8232. addFileHost(
  8233. "kyc\.pm\/\\w+",
  8234. 'logo_0.png|downloads.gif"|verifycode',
  8235. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8236. 'optional--',
  8237. 'available only for Premium users',
  8238. "//a[contains(@href,'kyc.pm')]");
  8239. }
  8240. if (GM_getValue("Check_brupload_dot_net_links", false))
  8241. {
  8242. addFileHost(
  8243. "brupload\.net\/\\w+",
  8244. 'Download Gratuito',
  8245. '<div style="width:500px;text-align:left;">',
  8246. 'optional--',
  8247. 'optional2--',
  8248. "//a[contains(@href,'brupload.net')]");
  8249. }
  8250. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8251. {
  8252. addFileHost(
  8253. "cloudzilla\.to\/\\w+",
  8254. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8255. 'File not found|/imgs/broken.png',
  8256. 'optional--',
  8257. 'optional2--',
  8258. "//a[contains(@href,'cloudzilla.to')]");
  8259. } */
  8260. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8261. {
  8262. addFileHost(
  8263. "clicknupload\.com\/\\w+",
  8264. 'name="method_free',
  8265. 'File Not Found',
  8266. 'optional--',
  8267. 'optional2--',
  8268. "//a[contains(@href,'clicknupload.com')]");
  8269. }
  8270. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8271. {
  8272. addFileHost(
  8273. "clicknupload\.me\/\\w+",
  8274. 'name="method_free',
  8275. 'File Not Found',
  8276. 'optional--',
  8277. 'optional2--',
  8278. "//a[contains(@href,'clicknupload.me')]");
  8279. }
  8280. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8281. {
  8282. addFileHost(
  8283. "clicknupload\.link\/\\w+",
  8284. 'name="method_free',
  8285. 'File Not Found',
  8286. 'optional--',
  8287. 'optional2--',
  8288. "//a[contains(@href,'clicknupload.link')]");
  8289. }
  8290. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8291. {
  8292. addFileHost(
  8293. "clicknupload\.org\/\\w+",
  8294. 'name="method_free',
  8295. 'File Not Found',
  8296. 'optional--',
  8297. 'optional2--',
  8298. "//a[contains(@href,'clicknupload.org')]");
  8299. }
  8300. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8301. {
  8302. addFileHost(
  8303. "ex-load\.com\/\\w+",
  8304. 'name="method_free|<p>Download File:</p>',
  8305. 'Folder Not Found|File Not Found|Error 404',
  8306. 'optional--',
  8307. 'class="downprem wow bounceInLeft',
  8308. "//a[contains(@href,'ex-load.com')]");
  8309. }
  8310. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8311. {
  8312. addFileHost(
  8313. "hexupload\.com\/\\w+",
  8314. 'button" value="Free|type="submit" value=""',
  8315. 'File Not Found|<div style="width:500px;text-align:left;">',
  8316. 'optional--',
  8317. 'optional2--',
  8318. "//a[contains(@href,'hexupload.com')]");
  8319. }*/
  8320. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8321. {
  8322. addFileHost(
  8323. "wizupload\.com\/\\w+",
  8324. 'btn_download|class="downloadbtn"',
  8325. '>File Not Found<',
  8326. 'optional--',
  8327. 'optional2--',
  8328. "//a[contains(@href,'wizupload.com')]");
  8329. }
  8330. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8331. {
  8332. addFileHost(
  8333. "inclouddrive\.com\/\\w+",
  8334. 'initfreedownload',
  8335. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8336. 'optional--',
  8337. 'optional2--',
  8338. "//a[contains(@href,'inclouddrive.com')]");
  8339. }
  8340. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8341. {
  8342. addFileHost(
  8343. "radicalshare\.com\/\\w+",
  8344. 'value="download1|name="method_free"',
  8345. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8346. 'optional--',
  8347. 'optional2--',
  8348. "//a[contains(@href,'radicalshare.com')]");
  8349. }*/
  8350. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8351. {
  8352. addFileHost(
  8353. "sharemods\.com\/\\w+",
  8354. 'name="method_free"',
  8355. 'File Not Found<',
  8356. 'optional--',
  8357. 'optional2--',
  8358. "//a[contains(@href,'sharemods.com')]");
  8359. }
  8360. if (GM_getValue("Check_hostr_dot_co_links", false))
  8361. {
  8362. addFileHost(
  8363. "hostr\.co\/\\w+",
  8364. 'method="get"',
  8365. 'File not found<|error-page',
  8366. 'optional--',
  8367. 'optional2--',
  8368. "//a[contains(@href,'hostr.co')]");
  8369. }
  8370. if (GM_getValue("Check_filepi_dot_com_links", false))
  8371. {
  8372. addFileHost(
  8373. "filepi\.com\/\\w+",
  8374. 'id="button_start">',
  8375. 'File not found',
  8376. 'optional--',
  8377. 'optional2--',
  8378. "//a[contains(@href,'filepi.com')]");
  8379. }
  8380. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8381. {
  8382. addFileHost(
  8383. "tikfile\.com\/\\w+",
  8384. 'btn_download',
  8385. 'File Not Found|file was removed|Reason for deletion',
  8386. 'optional--',
  8387. 'optional2--',
  8388. "//a[contains(@href,'tikfile.com')]");
  8389. }
  8390. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8391. {
  8392. addFileHost(
  8393. "cloudsix\.me\/\\w+",
  8394. 'name="method_free"',
  8395. 'File Not Found|width:500px;text-align:left;">',
  8396. 'optional--',
  8397. 'optional2--',
  8398. "//a[contains(@href,'cloudsix.me')]");
  8399. }
  8400. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8401. {
  8402. addFileHost(
  8403. "neodrive\.co\/\\w+",
  8404. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8405. 'File not found|/imgs/broken.png',
  8406. 'optional--',
  8407. 'optional2--',
  8408. "//a[contains(@href,'neodrive.co')]");
  8409. } */
  8410. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8411. {
  8412. addFileHost(
  8413. "chayfile\.com\/\\w+",
  8414. 'name="method_free"',
  8415. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8416. 'optional--',
  8417. 'optional2--',
  8418. "//a[contains(@href,'chayfile.com')]");
  8419. }
  8420. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8421. {
  8422. addFileHost(
  8423. "xfileload\.com\/\\w+",
  8424. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8425. '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..|הקובץ שחיפשת לא נמצא.',
  8426. 'optional--',
  8427. 'optional2--',
  8428. "//a[contains(@href,'xfileload.com')]");
  8429. }*/
  8430. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8431. {
  8432. addFileHost(
  8433. "rockfile\.eu\/\\w+",
  8434. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8435. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8436. 'optional--',
  8437. 'optional2--',
  8438. "//a[contains(@href,'rockfile.eu')]",
  8439. true);
  8440. }
  8441. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8442. {
  8443. addFileHost(
  8444. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8445. 'i/icon/dll.png"|>Start download<br|method_free',
  8446. 'no longer available<|i/ino.png"|File Not Found',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8450. }
  8451. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8452. {
  8453. addFileHost(
  8454. "ozofiles\.com\/\\w+",
  8455. 'button" value="Free|name="method_free',
  8456. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'ozofiles.com')]");
  8460. }
  8461. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8462. {
  8463. addFileHost(
  8464. "userscloud\.com\/\\w+",
  8465. 'btn_download|class="label label-success">',
  8466. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'userscloud.com')]");
  8470. }
  8471. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8475. 'class="button download',
  8476. 'internal server error',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8480. }
  8481. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8482. {
  8483. addFileHost(
  8484. "kb.simple-aja\.info\/\\w+",
  8485. 'class="button download',
  8486. 'internal server error|<p>404</p>',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'kb.simple')]");
  8490. }
  8491. if (GM_getValue("Check_faststore_dot_org_links", false))
  8492. {
  8493. addFileHost(
  8494. "faststore\.org\/\\w+",
  8495. 'name="method_free',
  8496. 'File Not Found',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'faststore.org')]");
  8500. }
  8501. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8502. {
  8503. addFileHost(
  8504. "prefiles\.com\/\\w+",
  8505. 'id="method_free',
  8506. 'File not Found',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'prefiles.com')]");
  8510. }
  8511. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8512. {
  8513. addFileHost(
  8514. "doraupload\.com\/\\w+",
  8515. 'btn_download|name="method_free',
  8516. 'class="error-code|Could Not Be Found',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'doraupload.com')]");
  8520. }
  8521. if (GM_getValue("Check_openload_dot_io_links", false))
  8522. {
  8523. addFileHost(
  8524. "openload\.io\/\\w+",
  8525. 'btn btn-primary|class="count">|secondsleftouter',
  8526. 'class="jumbotron">|We are sorry',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'openload.io')]");
  8530. }
  8531. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8532. {
  8533. addFileHost(
  8534. "zxcfiles\.com\/\\w+",
  8535. 'class="downloadbtn',
  8536. 'File Not Found',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'zxcfiles.com')]");
  8540. }
  8541. if (GM_getValue("Check_up07_dot_net_links", false))
  8542. {
  8543. addFileHost(
  8544. "up07\.net\/\\w+",
  8545. 'name="method_free',
  8546. 'File Not Found',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'up07.net')]");
  8550. }
  8551. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8552. {
  8553. addFileHost(
  8554. "fileupload\.pw\/\\w+",
  8555. 'value="Free"',
  8556. 'File Not Found',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'fileupload.pw')]");
  8560. }
  8561. if (GM_getValue("Check_4upld_dot_com_links", false))
  8562. {
  8563. addFileHost(
  8564. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8565. 'alt="Download Now"|content="Download file">|btn-free-element',
  8566. '<title>Error|content="error|File not found',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8570. }
  8571. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8572. {
  8573. addFileHost(
  8574. "(?:.swoopshare)\\.com\/\\w+",
  8575. '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',
  8576. '<input type="file" name="f"',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'swoopshare.com')]"
  8580. );
  8581. }
  8582. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8583. {
  8584. addFileHost(
  8585. "cloudshares\.net\/\\w+",
  8586. '"method_free|"Low Speed Download|submit" name="go',
  8587. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'cloudshares.net')]"
  8591. );
  8592. }
  8593. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8594. {
  8595. addFileHost(
  8596. "allmyvideos\.net\/\\w+",
  8597. 'Continue to Video',
  8598. 'File Not Found|class="err">Removed for',
  8599. 'optional--',
  8600. 'optional2--',
  8601. "//a[contains(@href,'allmyvideos.net')]"
  8602. );
  8603. } */
  8604. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8605. {
  8606. addFileHost(
  8607. "vodlocker\.com\/\\w+",
  8608. 'Proceed to video',
  8609. 'Not Found',
  8610. 'optional--',
  8611. 'optional2--',
  8612. "//a[contains(@href,'vodlocker.com')]"
  8613. );
  8614. }
  8615. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8616. {
  8617. addFileHost(
  8618. "vidbull\.com\/\\w+",
  8619. 'Verifying Video Request',
  8620. 'File Not Found',
  8621. 'optional--',
  8622. 'optional2--',
  8623. "//a[contains(@href,'vidbull.com')]");
  8624. }
  8625. if (GM_getValue("Check_novamov_dot_com_links", false))
  8626. {
  8627. addFileHost(
  8628. "novamov\.com\/\\w+",
  8629. 'For version detection',
  8630. 'file no longer exists',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'novamov.com')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8637. {
  8638. addFileHost(
  8639. "filehoot\.com\/\\w+",
  8640. 'Continue to watch',
  8641. 'File Not Found',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'filehoot.com')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8648. {
  8649. addFileHost(
  8650. "stagevu\.com\/\\w+",
  8651. 'Video Info',
  8652. 'No video with the provided',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'stagevu.com')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8659. {
  8660. addFileHost(
  8661. "cloudtime\.to\/\\w+",
  8662. 'Download the video',
  8663. 'no longer exists',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'cloudtime.to')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_streamin_dot_to_links", false))
  8670. {
  8671. addFileHost(
  8672. "streamin\.to\/\\w+",
  8673. 'id="btn_download',
  8674. 'Not Found|Copyright Infringement|File Deleted',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'streamin.to')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8681. {
  8682. addFileHost(
  8683. "videoweed\.es\/\\w+",
  8684. 'version detection',
  8685. 'no longer exists',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'videoweed.es')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8692. {
  8693. addFileHost(
  8694. "nowvideo\.sx\/\\w+",
  8695. 'Download this video|value="submit">Continue',
  8696. 'no longer exists',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'nowvideo.sx')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8703. {
  8704. addFileHost(
  8705. "thevideo\.me\/\\w+",
  8706. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8707. 'File Not Found',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'thevideo.me')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8714. {
  8715. addFileHost(
  8716. "gorillavid\.in\/\\w+",
  8717. 'Wait 5 seconds',
  8718. 'File Not Found',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'gorillavid.in')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_thefile_dot_me_links", false))
  8725. {
  8726. addFileHost(
  8727. "thefile\.me\/\\w+",
  8728. 'Choose free or',
  8729. '',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'thefile.me')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8736. {
  8737. addFileHost(
  8738. "vidzi\.tv\/\\w+",
  8739. 'video-embed-modal row',
  8740. 'File Not Found|file was deleted',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'vidzi.tv')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8747. {
  8748. addFileHost(
  8749. "filenuke\.com\/\\w+",
  8750. 'Download File',
  8751. 'Earn with us',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'filenuke.com')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_vidto_dot_me_links", false))
  8758. {
  8759. addFileHost(
  8760. "vidto\.me\/\\w+",
  8761. 'Proceed to video',
  8762. 'Not Found',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'vidto.me')]"
  8766. );
  8767. }
  8768. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8769. {
  8770. addFileHost(
  8771. "vidspot\.net\/\\w+",
  8772. 'Duration|method_free',
  8773. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'vidspot.net')]"
  8777. );
  8778. } */
  8779. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8780. {
  8781. addFileHost(
  8782. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8783. 'Download File',
  8784. 'File Not Found',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_movpod_dot_in_links", false))
  8791. {
  8792. addFileHost(
  8793. "movpod\.in\/\\w+",
  8794. 'Continue',
  8795. 'File Not Found',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'movpod.in')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_down4files_dot_com_links", false))
  8802. {
  8803. addFileHost(
  8804. "down4files\.com\/\\w+",
  8805. 'down_table.png',
  8806. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'down4files.com')]"
  8810. );
  8811. }
  8812. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8813. {
  8814. addFileHost(
  8815. "storefiles\.co\/\\w+",
  8816. 'btn_download',
  8817. 'No such file|>Error<|mqmaintitle">',
  8818. 'optional--',
  8819. 'optional2--',
  8820. "//a[contains(@href,'storefiles.co')]"
  8821. );
  8822. }*/
  8823. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8824. {
  8825. addFileHost(
  8826. "filehost\.pw\/\\w+",
  8827. 'name="method_free',
  8828. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'filehost.pw')]"
  8832. );
  8833. }
  8834. if (GM_getValue("Check_uplea_dot_com_links", false))
  8835. {
  8836. addFileHost(
  8837. "uplea\.com\/\\w+",
  8838. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8839. 'expired link|ou est invalide',
  8840. 'optional--',
  8841. 'optional2--',
  8842. "//a[contains(@href,'uplea.com/dl')]",
  8843. true);
  8844. }
  8845. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8846. {
  8847. addFileHost(
  8848. "toutbox\.fr\/\\w+",
  8849. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8850. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8851. 'Serviço temporariamente indisponível',
  8852. 'optional2--',
  8853. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8854. );
  8855. }*/
  8856. if (GM_getValue("Check_openload_dot_co_links", false))
  8857. {
  8858. addFileHost(
  8859. "openload\.co\/\\w+",
  8860. 'id="downloadTimer">|button dlbutton',
  8861. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'openload.co')]"
  8865. );
  8866. }
  8867. if (GM_getValue("Check_oload_dot_tv_links", false))
  8868. {
  8869. addFileHost(
  8870. "oload\.tv\/\\w+",
  8871. 'id="downloadTimer">|button dlbutton',
  8872. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8873. 'optional--',
  8874. 'optional2--',
  8875. "//a[contains(@href,'oload.tv')]"
  8876. );
  8877. }
  8878. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8879. {
  8880. addFileHost(
  8881. "lolabits\.es\/\\w+",
  8882. 'Descargar:',
  8883. '<title>Archivos de usuario',
  8884. 'Service Unavailable',
  8885. 'optional2--',
  8886. "//a[contains(@href,'lolabits.es')]"
  8887. );
  8888. }*/
  8889. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8890. {
  8891. addFileHost(
  8892. "alfafile\.net\/\\w+",
  8893. 'id="slow_download_btn',
  8894. 'class="error-box">',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'alfafile.net')]"
  8898. );
  8899. }
  8900. if (GM_getValue("Check_multiup_dot_org_links", false))
  8901. {
  8902. addFileHost(
  8903. "multiup\\.(?:org|eu)\/\\w+",
  8904. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8905. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8906. 'optional--',
  8907. 'optional2--',
  8908. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8909. );
  8910. }
  8911. if (GM_getValue("Check_file_dot_al_links", false))
  8912. {
  8913. addFileHost(
  8914. "file\\.al|1f.al",
  8915. 'method_free',
  8916. 'style="width:500px;text-align:left;">|invalid license_key',
  8917. 'optional--',
  8918. 'optional2--',
  8919. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8920. );
  8921. }
  8922. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8923. {
  8924. addFileHost(
  8925. "devilshare\.net\/\\w+",
  8926. '<div class="large-12" id="download">',
  8927. '(Link: 0 Invalid)|File Not Found',
  8928. 'optional--',
  8929. 'optional2--',
  8930. "//a[contains(@href,'devilshare.net')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8934. {
  8935. addFileHost(
  8936. "dailyuploads\.net\/\\w+",
  8937. 'id="downloadBtnClickOrignal',
  8938. '<div style="width:500px;text-align:left;">',
  8939. 'optional--',
  8940. 'optional2--',
  8941. "//a[contains(@href,'dailyuploads.net')]"
  8942. );
  8943. }
  8944. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8945. {
  8946. addFileHost(
  8947. "datoteke\.com\/\\w+",
  8948. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8949. '&nbsp;File has been removed',
  8950. 'optional--',
  8951. '<title>Error - Datoteke',
  8952. "//a[contains(@href,'datoteke.com')]"
  8953. );
  8954. }
  8955. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8956. {
  8957. addFileHost(
  8958. "sharehost\.eu\/\\w+",
  8959. '/?v=download_free&',
  8960. 'Errors occured|Wystąpiły błędy',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'sharehost.eu')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8967. {
  8968. addFileHost(
  8969. "pornfile\.cz",
  8970. 'Stáhnout soubor|Stáhnout pomalu',
  8971. 'Soubor byl smazán|Stránka nenalezena',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'pornfile.cz')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8978. {
  8979. addFileHost(
  8980. "pornoid\.cz\/\\w+",
  8981. 'class="btn btn-large btn-download',
  8982. 'Soubor byl smazán',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'pornoid.cz')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8989. {
  8990. addFileHost(
  8991. "file-share\.top\/\\w+",
  8992. 'btn-success btn-lg download',
  8993. 'Stránka neexistuje|404 Not Found',
  8994. 'optional--',
  8995. 'optional2--',
  8996. "//a[contains(@href,'file-share.top')]"
  8997. );
  8998. }
  8999. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9000. {
  9001. addFileHost(
  9002. "bitster\.cz\/",
  9003. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9004. 'section" content=""',
  9005. 'optional--',
  9006. 'optional2--',
  9007. "//a[contains(@href,'bitster.cz')]"
  9008. );
  9009. }
  9010. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9011. {
  9012. addFileHost(
  9013. "rapidu\.net\/\\w+",
  9014. 'onclick="downloadFreeFile',
  9015. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9016. 'optional--',
  9017. 'optional2--',
  9018. "//a[contains(@href,'rapidu.net')]"
  9019. );
  9020. }
  9021. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9022. {
  9023. addFileHost(
  9024. "dinoshare\.cz\/\\w+",
  9025. 'class="download-button"',
  9026. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9027. 'optional--',
  9028. 'optional2--',
  9029. "//a[contains(@href,'dinoshare.cz')]"
  9030. );
  9031. }
  9032. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9033. {
  9034. addFileHost(
  9035. "bytewhale\.com\/\\w+",
  9036. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9037. 'var rawest = "0 MB|Copyrights Claim</div>',
  9038. 'optional--',
  9039. 'This file is available for premium members only',
  9040. "//a[contains(@href,'bytewhale.com')]"
  9041. );
  9042. }
  9043. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9044. {
  9045. addFileHost(
  9046. "rapidrar\.com\/\\w+",
  9047. 'value="Free Download',
  9048. '<div style="width:500px;text-align:left;">',
  9049. 'optional--',
  9050. 'optional--',
  9051. "//a[contains(@href,'rapidrar.com')]"
  9052. );
  9053. }
  9054. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9055. {
  9056. addFileHost(
  9057. "filesupload\.org\/\\w+",
  9058. '<a href="/download-or-watch/',
  9059. 'File not found',
  9060. 'optional--',
  9061. 'optional--',
  9062. "//a[contains(@href,'filesupload.org')]"
  9063. );
  9064. }
  9065. if (GM_getValue("Check_filecad_dot_com_links", false))
  9066. {
  9067. addFileHost(
  9068. "filecad\.com\/\\w+",
  9069. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9070. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9071. 'optional--',
  9072. 'optional--',
  9073. "//a[contains(@href,'filecad.com')]"
  9074. );
  9075. }
  9076. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9077. {
  9078. addFileHost(
  9079. "file.up09\.com\/\\w+",
  9080. 'name="method_free',
  9081. 'style="width:500px;text-align:left;">',
  9082. 'optional--',
  9083. 'optional--',
  9084. "//a[contains(@href,'file.up09.com')]"
  9085. );
  9086. }
  9087. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9088. {
  9089. addFileHost(
  9090. "lunaticfiles\.com\/\\w+",
  9091. 'name="method_free"',
  9092. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9093. 'optional--',
  9094. 'optional--',
  9095. "//a[contains(@href,'lunaticfiles.com')]"
  9096. );
  9097. }
  9098. if (GM_getValue("Check_upload_dot_af_links", false))
  9099. {
  9100. addFileHost(
  9101. "upload\.af\/\\w+",
  9102. 'id="method_free"',
  9103. '<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|ファイルが見つかりません',
  9104. 'optional--',
  9105. 'optional--',
  9106. "//a[contains(@href,'upload.af')]"
  9107. );
  9108. }
  9109. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9110. {
  9111. addFileHost(
  9112. "filedwon\.info\/\\w+",
  9113. 'name="method_free"',
  9114. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9115. 'optional--',
  9116. 'optional--',
  9117. "//a[contains(@href,'filedwon.info')]"
  9118. );
  9119. }
  9120. if (GM_getValue("Check_uplod_dot_it_links", false))
  9121. {
  9122. addFileHost(
  9123. "uplod\.it\/\\w+",
  9124. 'value="download2">|name="method_free',
  9125. '<Title>Download </Title>',
  9126. 'optional--',
  9127. 'optional--',
  9128. "//a[contains(@href,'uplod.it')]"
  9129. );
  9130. }
  9131. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9132. {
  9133. addFileHost(
  9134. "abelhas\.pt\/\\w+",
  9135. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9136. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9137. 'optional--',
  9138. 'optional--',
  9139. "//a[contains(@href,'abelhas.pt')]"
  9140. );
  9141. } */
  9142. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9143. {
  9144. addFileHost(
  9145. "disk.yandex\.com\/\\w+",
  9146. 'nb-button _nb-small-button',
  9147. 'error code|Nothing found',
  9148. 'optional--',
  9149. 'optional2--',
  9150. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9151. }
  9152. if (GM_getValue("Check_filespace_dot_com_links", false))
  9153. {
  9154. addFileHost(
  9155. "filespace\.com\/\\w+",
  9156. '"method_free',
  9157. '<div style="text-align:left;"><ul>|>File not found.<',
  9158. 'optional1--',
  9159. 'optional2--',
  9160. "//a[contains(@href,'filespace.com')]");
  9161. }
  9162. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9163. {
  9164. addFileHost(
  9165. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9166. 'name="downloadFile|id="downloadFile|value="Wait',
  9167. '<title>File not found</title>|>Error:<',
  9168. 'optional1--',
  9169. 'optional2--',
  9170. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9171. }
  9172. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9173. {
  9174. addFileHost(
  9175. "ncrypt\.in\/\\w+",
  9176. 'Sicherheitsabfrage:|Securitycheck:',
  9177. 'does not exist|existiert nicht',
  9178. 'optional1--',
  9179. 'optional2--',
  9180. "//a[contains(@href,'ncrypt.in')]");
  9181. }
  9182. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9183. {
  9184. addFileHost(
  9185. "jeodrive\.com\/\\w+",
  9186. 'btn-lg regular',
  9187. 'Not found',
  9188. 'optional1--',
  9189. 'optional2--',
  9190. "//a[contains(@href,'jeodrive.com')]");
  9191. }
  9192. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9193. {
  9194. addFileHost(
  9195. "myfiles\.onl\/\\w+",
  9196. 'value="Free"',
  9197. '<div style="width:500px;text-align:left;">',
  9198. 'optional1--',
  9199. 'optional2--',
  9200. "//a[contains(@href,'myfiles.onl')]");
  9201. }
  9202. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9203. {
  9204. addFileHost(
  9205. "uploadserv\.com\/\\w+",
  9206. 'color="red">http://uploadserv.com/',
  9207. 'content="Download File ">|<title>Download </title>',
  9208. 'optional1--',
  9209. 'optional2--',
  9210. "//a[contains(@href,'uploadserv.com')]");
  9211. }
  9212. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9213. {
  9214. addFileHost(
  9215. "keepshare\.net\/\\w+",
  9216. 'method_free',
  9217. '<div style="width:500px;text-align:left;">',
  9218. 'optional1--',
  9219. 'optional2--',
  9220. "//a[contains(@href,'keepshare.net')]");
  9221. }
  9222. if (GM_getValue("Check_oload_dot_net_links", false))
  9223. {
  9224. addFileHost(
  9225. "oload\.net\/\\w+",
  9226. '<font color="red">http://oload.net',
  9227. 'class="page-ttl">',
  9228. 'optional1--',
  9229. 'optional2--',
  9230. "//a[contains(@href,'oload.net')]");
  9231. }
  9232. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9233. {
  9234. addFileHost(
  9235. "filescdn\.com\/\\w+",
  9236. 'btn_download',
  9237. 'icon-warning text-danger|no longer available',
  9238. 'optional1--',
  9239. 'optional2--',
  9240. "//a[contains(@href,'filescdn.com')]");
  9241. }
  9242. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9243. {
  9244. addFileHost(
  9245. "bankupload\.com\/\\w+",
  9246. 'id="btn_download"|1.0 GB',
  9247. '<div style="width:500px;text-align:left;">',
  9248. 'optional1--',
  9249. ' GB',
  9250. "//a[contains(@href,'bankupload.com')]");
  9251. }
  9252. if (GM_getValue("Check_katfile_dot_com_links", false))
  9253. {
  9254. addFileHost(
  9255. "katfile\.com\/\\w+",
  9256. 'KB| MB|1.0 GB|id="method_free',
  9257. 'images/file_not_found.png"',
  9258. 'optional1--',
  9259. ' GB',
  9260. "//a[contains(@href,'katfile.com')]");
  9261. }
  9262. if (GM_getValue("Check_filesin_dot_space_links", false))
  9263. {
  9264. addFileHost(
  9265. "filesin\.space\/\\w+",
  9266. 'id="btn_download"',
  9267. 'class="err">',
  9268. 'optional1--',
  9269. 'optional2',
  9270. "//a[contains(@href,'filesin.space')]");
  9271. }
  9272. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9273. {
  9274. addFileHost(
  9275. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9276. 'download.php',
  9277. 'notfound|upload\\-suborov\\.php"',
  9278. 'optional--',
  9279. 'optional2--',
  9280. "//a[contains(@href,'upnito.sk')]"
  9281. );
  9282. }
  9283. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9284. {
  9285. addFileHost(
  9286. "alltu\.eu\/\\w+",
  9287. 'download-timer',
  9288. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9289. 'optional1--',
  9290. 'optional2',
  9291. "//a[contains(@href,'alltu.eu')]");
  9292. }
  9293. if (GM_getValue("Check_novafile_dot_com_links", false))
  9294. {
  9295. addFileHost(
  9296. "novafile\.com\/\\w+",
  9297. 'id="regular-download',
  9298. 'id="file-not-found',
  9299. 'optional1--',
  9300. 'id="premium-only',
  9301. "//a[contains(@href,'novafile.com')]");
  9302. }
  9303. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9304. {
  9305. addFileHost(
  9306. "uploadgig\.com",
  9307. 'id="countdownContainer',
  9308. 'File not found',
  9309. 'optional1--',
  9310. 'Premium Member only',
  9311. "//a[contains(@href,'uploadgig.com')]");
  9312. }
  9313. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9314. {
  9315. addFileHost(
  9316. "mexashare\.com\/\\w+",
  9317. 'method_free',
  9318. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9319. 'optional1--',
  9320. 'optional2',
  9321. "//a[contains(@href,'mexashare.com')]");
  9322. }
  9323. if (GM_getValue("Check_daofile_dot_com_links", false))
  9324. {
  9325. addFileHost(
  9326. "daofile\.com\/\\w+",
  9327. 'class="captcha_code',
  9328. 'style="width:500px;text-align:left;">',
  9329. 'optional1--',
  9330. 'optional2',
  9331. "//a[contains(@href,'daofile.com')]");
  9332. }
  9333. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9334. {
  9335. addFileHost(
  9336. "imagenetz\.de\/\\w+",
  9337. 'id="download',
  9338. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9339. 'optional1--',
  9340. 'optional2',
  9341. "//a[contains(@href,'imagenetz.de')]");
  9342. }
  9343. if (GM_getValue("Check_uloz_dot_to_links", false))
  9344. {
  9345. addFileHost(
  9346. "uloz\.to",
  9347. 'limitedDownloadButton|Stáhnout pomalu',
  9348. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9349. 'optional1--',
  9350. 'optional2',
  9351. "//a[contains(@href,'uloz.to')]");
  9352. }
  9353. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9354. {
  9355. addFileHost(
  9356. "ulozto.net",
  9357. 'limitedDownloadButton|Stáhnout pomalu',
  9358. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9359. 'optional1--',
  9360. 'optional2',
  9361. "//a[contains(@href,'ulozto.net')]");
  9362. }
  9363. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9364. {
  9365. addFileHost(
  9366. "ulozto\.sk",
  9367. 'limitedDownloadButton|Stáhnout pomalu',
  9368. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9369. 'optional1--',
  9370. 'optional2',
  9371. "//a[contains(@href,'ulozto.sk')]");
  9372. }
  9373. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9374. {
  9375. addFileHost(
  9376. "ulozto\.cz",
  9377. 'limitedDownloadButton|Stáhnout pomalu',
  9378. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9379. 'optional1--',
  9380. 'optional2',
  9381. "//a[contains(@href,'ulozto.cz')]");
  9382. }
  9383. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9384. {
  9385. addFileHost(
  9386. "subyshare\.com\/\\w+",
  9387. 'id="method_free',
  9388. 'file was removed|class="err">|1s">404',
  9389. 'optional1--',
  9390. 'optional2',
  9391. "//a[contains(@href,'subyshare.com')]",
  9392. true);
  9393. }
  9394. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9395. {
  9396. addFileHost(
  9397. "fileshareup\.com\/\\w+",
  9398. 'download-timer|btn-free-element|content="Download file',
  9399. 'content="Error"|content="error|heading-1">Error<',
  9400. 'optional1--',
  9401. 'optional2',
  9402. "//a[contains(@href,'fileshareup.com')]");
  9403. }
  9404. if (GM_getValue("Check_mystore_dot_to_links", false))
  9405. {
  9406. addFileHost(
  9407. "mystore\.to\/\\w+",
  9408. 'Download File',
  9409. 'file not found',
  9410. 'optional1--',
  9411. 'optional2',
  9412. "//a[contains(@href,'mystore.to/dl')]");
  9413. }
  9414. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9415. {
  9416. addFileHost(
  9417. "usercloud\.net\/\\w+",
  9418. 'content="download|var seconds = 60|type="password',
  9419. 'content="error|report_file.html">',
  9420. 'optional1--',
  9421. 'optional2',
  9422. "//a[contains(@href,'usercloud.net')]");
  9423. }
  9424. if (GM_getValue("Check_workupload_dot_com_links", false))
  9425. {
  9426. addFileHost(
  9427. "workupload\.com\/\\w+",
  9428. 'content="Download|id="download"',
  9429. 'File not found|img/not-found.jpg|Error message',
  9430. 'optional1--',
  9431. 'optional2',
  9432. "//a[contains(@href,'workupload.com')]");
  9433. }
  9434. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9435. {
  9436. addFileHost(
  9437. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9438. 'class="download">',
  9439. 'class="error center',
  9440. 'optional1--',
  9441. 'optional2',
  9442. "//a[contains(@href,'storageserver.co.uk')]");
  9443. }
  9444. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9445. {
  9446. addFileHost(
  9447. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9448. '"kind": "file"',
  9449. '"error": "not_exists"',
  9450. 'optional1--',
  9451. 'optional2',
  9452. "//a[contains(@href,'cloud.mail.ru')]");
  9453. }
  9454. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9455. {
  9456. addFileHost(
  9457. "bdupload\.info\/\\w+",
  9458. 'class="downloadbtn">|id="downloadbtn"',
  9459. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9460. 'optional1--',
  9461. 'optional2',
  9462. "//a[contains(@href,'bdupload.info')]");
  9463. }
  9464. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9465. {
  9466. addFileHost(
  9467. "wayupload\.com\/\\w+",
  9468. 'class="nopay-btn gray"',
  9469. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9470. 'optional1--',
  9471. 'optional2',
  9472. "//a[contains(@href,'wayupload.com')]");
  9473. }
  9474. if (GM_getValue("Check_exbit_dot_net_links", false))
  9475. {
  9476. addFileHost(
  9477. "exbit\.net\/\\w+",
  9478. 'class="nopay-btn|href="/download/free/',
  9479. 'File not found',
  9480. 'optional1--',
  9481. 'optional2',
  9482. "//a[contains(@href,'exbit.net')]");
  9483. }
  9484. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9485. {
  9486. addFileHost(
  9487. "uploadocean\.com\/\\w+",
  9488. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9489. 'deleted.png"',
  9490. 'optional1--',
  9491. 'optional2',
  9492. "//a[contains(@href,'uploadocean.com')]");
  9493. }
  9494. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9495. {
  9496. addFileHost(
  9497. "fileflares\.com\/\\w+",
  9498. 'id="downloadbtn"',
  9499. '<div style="width:500px;text-align:left;">',
  9500. 'optional1--',
  9501. 'optional2',
  9502. "//a[contains(@href,'fileflares.com')]");
  9503. }
  9504. if (GM_getValue("Check_erafile_dot_com_links", false))
  9505. {
  9506. addFileHost(
  9507. "erafile\.com\/\\w+",
  9508. 'id="method_free',
  9509. '<div style="width:500px;text-align:left;">',
  9510. 'optional1--',
  9511. 'optional2',
  9512. "//a[contains(@href,'erafile.com')]");
  9513. }
  9514. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9515. {
  9516. addFileHost(
  9517. "suprafiles\.net\/\\w+",
  9518. 'name="method_free"',
  9519. 'File Not Found|style="width:1000px; text-align: left;">',
  9520. 'optional1--',
  9521. 'optional2',
  9522. "//a[contains(@href,'suprafiles.net')]");
  9523. }
  9524. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9525. {
  9526. addFileHost(
  9527. "upfiles\.net\/\\w+",
  9528. 'id="recaptcha2"|snail.png"',
  9529. 'Ten plik został usunięty.|style="margin-top:50px',
  9530. 'optional1--',
  9531. 'optional2',
  9532. "//a[contains(@href,'upfiles.net/f/')]");
  9533. }
  9534. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9535. {
  9536. addFileHost(
  9537. "dailyfiles\.net\/\\w+",
  9538. 'onclick="dwn',
  9539. '<title>Error',
  9540. 'optional1--',
  9541. 'optional2',
  9542. "//a[contains(@href,'dailyfiles.net')]");
  9543. }
  9544. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9545. {
  9546. addFileHost(
  9547. "littlebyte\.net\/\\w+",
  9548. '>Free download<|>Скачать медленно<',
  9549. 'images/dmca.png">',
  9550. 'optional1--',
  9551. 'optional2',
  9552. "//a[contains(@href,'littlebyte.net')]");
  9553. }
  9554. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9555. {
  9556. addFileHost(
  9557. "black\\-label\\.pro\/\\w+",
  9558. 'slow_download_button.png"|td><td title="',
  9559. 'STILL NEED CODE FOR DEAD LINKS',
  9560. 'optional1--',
  9561. 'optional2',
  9562. "//a[contains(@href,'black-label.pro')]");
  9563. } */
  9564. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9565. {
  9566. addFileHost(
  9567. "temp\\-share\\.com\/\\w+",
  9568. 'publickey',
  9569. 'STILL NEED CODE FOR DEAD LINKS',
  9570. 'optional1--',
  9571. 'optional2',
  9572. "//a[contains(@href,'temp-share.com')]");
  9573. }
  9574. if (GM_getValue("Check_filesha_dot_com_links", false))
  9575. {
  9576. addFileHost(
  9577. "filesha\.com\/\\w+",
  9578. '>Download Free<',
  9579. 'STILL NEED CODE FOR DEAD LINKS',
  9580. 'optional1--',
  9581. 'optional2',
  9582. "//a[contains(@href,'filesha.com')]");
  9583. }
  9584. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9585. {
  9586. addFileHost(
  9587. "ausfile\.com\/\\w+",
  9588. 'class="slow-download',
  9589. 'File Not Found',
  9590. 'optional1--',
  9591. 'optional2',
  9592. "//a[contains(@href,'ausfile.com')]");
  9593. }
  9594. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9595. {
  9596. addFileHost(
  9597. "upfile\.mobi\/\\w+",
  9598. 'class="download_button"',
  9599. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9600. 'optional1--',
  9601. 'optional2',
  9602. "//a[contains(@href,'upfile.mobi')]");
  9603. }
  9604. if (GM_getValue("Check_share_dot_az_links", false))
  9605. {
  9606. addFileHost(
  9607. "share\.az\/\\w+",
  9608. 'id="btn_download"',
  9609. 'File Not Found|We are sorry',
  9610. 'optional1--',
  9611. 'optional2',
  9612. "//a[contains(@href,'share.az')]");
  9613. }
  9614. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9615. {
  9616. addFileHost(
  9617. "partage-facile\.com",
  9618. 'class="title"><strong>',
  9619. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9620. 'optional--',
  9621. 'optional2--',
  9622. "//a[contains(@href,'partage-facile.com')]");
  9623. }
  9624. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9625. {
  9626. addFileHost(
  9627. "uploadify\.net\/\\w+",
  9628. 'loading_small.gif"',
  9629. '<title>Error -',
  9630. 'optional1--',
  9631. 'optional2',
  9632. "//a[contains(@href,'uploadify.net')]");
  9633. }
  9634. if (GM_getValue("Check_uploads_dot_to_links", false))
  9635. {
  9636. addFileHost(
  9637. "uploads\.to\/\\w+",
  9638. 'class="g-recaptcha',
  9639. 'File Not Found|FILE NOT FOUND<',
  9640. 'optional1--',
  9641. 'optional2',
  9642. "//a[contains(@href,'uploads.to')]");
  9643. }
  9644. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9645. {
  9646. addFileHost(
  9647. "crazyshare\.cc\/\\w+",
  9648. 'slow_download_button.png',
  9649. 'File Not Found',
  9650. 'optional1--',
  9651. 'optional2',
  9652. "//a[contains(@href,'crazyshare.cc')]");
  9653. }
  9654. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9655. {
  9656. addFileHost(
  9657. "fileshark\.pl\/\\w+",
  9658. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9659. 'Nie znaleziono pliku w serwisie.',
  9660. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9661. 'optional2',
  9662. "//a[contains(@href,'fileshark.pl')]");
  9663. }
  9664. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9665. {
  9666. addFileHost(
  9667. "pobierz\.to\/\\w+",
  9668. 'class="download-timer',
  9669. 'Plik został usunięty.',
  9670. 'optional1--',
  9671. 'optional2',
  9672. "//a[contains(@href,'pobierz.to')]");
  9673. }
  9674. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9675. {
  9676. addFileHost(
  9677. "kingfile\.pl\/\\w+",
  9678. 'id="downloadBox',
  9679. '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',
  9680. 'optional1--',
  9681. 'optional2',
  9682. "//a[contains(@href,'kingfile.pl')]");
  9683. }
  9684. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9685. {
  9686. addFileHost(
  9687. "hotlink\.cc\/",
  9688. 'id="downloadbtn">|class="free"|id="counttext1"',
  9689. 'Error 404|Page not found',
  9690. 'optional1--',
  9691. 'optional2',
  9692. "//a[contains(@href,'hotlink.cc')]");
  9693. }
  9694. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9695. {
  9696. addFileHost(
  9697. "owndrives\.com\/\\w+",
  9698. 'id="method_free"',
  9699. 'File Not Found',
  9700. 'optional1--',
  9701. 'optional2',
  9702. "//a[contains(@href,'owndrives.com')]");
  9703. }
  9704. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9705. {
  9706. addFileHost(
  9707. "avatarshare\.com\/\\w+",
  9708. 'name="method_free"',
  9709. 'File Not Found',
  9710. 'optional1--',
  9711. 'optional2',
  9712. "//a[contains(@href,'avatarshare.com')]");
  9713. }
  9714. }
  9715. //start here
  9716.  
  9717. //hosts with direct download, so they must be requested for headers only
  9718. function initFileHostsHeadersOnly()
  9719. {
  9720. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9721. {
  9722. var host = new Array(5);
  9723. host[0] = linkRegex;
  9724. host[1] = isAliveRegex;
  9725. host[2] = isDeadRegex;
  9726. host[4] = ispremRegex;
  9727. host[3] = xpathEx;
  9728. http_file_hosts_headers_only.push(host);
  9729. }
  9730. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9731. {
  9732. addFileHostHeadersOnly(
  9733. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9734. 'Connection: Keep-Alive',
  9735. 'Content-Length: 3857',
  9736. 'optional2',
  9737. "//a[contains(@href,'uloziste.com')]"
  9738. )
  9739. }
  9740. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9741. {
  9742. addFileHostHeadersOnly(
  9743. "filescdn\.com\/\\w+",
  9744. 'Connection: keep-alive',
  9745. 'Company</Title>',
  9746. 'optional2',
  9747. "//a[contains(@href,'filescdn.com')]"
  9748. )
  9749. } */
  9750. if (GM_getValue("Check_adrive_dot_com_links", false))
  9751. {
  9752. addFileHostHeadersOnly(
  9753. "adrive\\.com\/public\/\\w+",
  9754. 'Connection: keep-alive',
  9755. 'orig_ref=deleted',
  9756. 'optional2',
  9757. "//a[contains(@href,'adrive.com')]"
  9758. )
  9759. }
  9760. }
  9761.  
  9762. //CustomRules
  9763. //functions add...Host copied here
  9764. function addObsoleteHost(linkRegex, xpathEx)
  9765. {
  9766. var host = new Array(2);
  9767. host[0] = linkRegex;
  9768. host[1] = xpathEx;
  9769. http_file_hosts_obsolete.push(host);
  9770. }
  9771. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9772. {
  9773. var host = new Array(7);
  9774. host[0] = linkRegex;
  9775. host[1] = isAliveRegex;
  9776. host[2] = isDeadRegex;
  9777. host[3] = isUnavaRegex;
  9778. host[4] = xpathEx;
  9779. tryLoop ? host[5] = true : host[5] = false;
  9780. host[6] = ispremRegex;
  9781. http_file_hosts.push(host);
  9782. }
  9783. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9784. {
  9785. var host = new Array(5);
  9786. host[0] = linkRegex;
  9787. host[1] = isAliveRegex;
  9788. host[2] = isDeadRegex;
  9789. host[3] = xpathEx;
  9790. host[4] = ispremRegex;
  9791. http_file_hosts_headers_only.push(host);
  9792. }
  9793. //takes a fully built rules array and adds the rules to WARLC
  9794. function applyCustomRules(customRules)
  9795. {
  9796. if (!customRules) return;
  9797. var rules, r, i;
  9798. rules = customRules.rules;
  9799. for (i = 0 ; i < rules.length ; i++)
  9800. {
  9801. r = rules[i];
  9802. if (r.enabled)
  9803. {
  9804. switch (r.type)
  9805. {
  9806. case 'single':
  9807. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9808. break;
  9809. case 'headers':
  9810. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9811. break;
  9812. case 'obsolete':
  9813. addObsoleteHost(r.urlregex, r.xpath)
  9814. break;
  9815. }
  9816. }
  9817. }
  9818. }
  9819.  
  9820.  
  9821. function initFileHostsCustom()
  9822. {
  9823. if (Custom_rules && Custom_rules_text)
  9824. {
  9825. var msg = '';
  9826. if (newVersion)
  9827. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9828. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9829. msg = '60 or more days have passed since this notification.\n\n';
  9830. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9831. {
  9832. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9833. msg +=
  9834. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9835. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9836. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9837. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9838. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9839. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9840. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9841. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9842. setTimeout(function(){alert(msg)},0);
  9843. }
  9844. var customRules = parseCustomRules(Custom_rules_text);
  9845. if (customRules.warning || customRules.error)
  9846. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9847. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9848. JSON.stringify(customRules.info, null, ' '));
  9849. applyCustomRules(customRules);
  9850. }
  9851. }
  9852. //end of CustomRules processing
  9853.  
  9854.  
  9855.  
  9856. } //end of function start
  9857.  
  9858.  
  9859.  
  9860. function initClipBoardTools()
  9861. {
  9862. unsafeWindow.copyToClipboard = function(text)
  9863. {
  9864. try
  9865. {
  9866. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9867.  
  9868. var str = Components.classes["@mozilla.org/supports-string;1"].
  9869. createInstance(Components.interfaces.nsISupportsString);
  9870. if (!str) return false;
  9871.  
  9872. str.data = text;
  9873.  
  9874. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9875. createInstance(Components.interfaces.nsITransferable);
  9876. if (!trans) return false;
  9877.  
  9878. trans.addDataFlavor("text/unicode");
  9879. trans.setTransferData("text/unicode", str, text.length * 2);
  9880.  
  9881. var clipid = Components.interfaces.nsIClipboard;
  9882. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9883. if (!clip) return false;
  9884.  
  9885. clip.setData(trans, null, clipid.kGlobalClipboard);
  9886. } catch (e) {
  9887. GM_log("Error copyToClipboard : " + e);
  9888. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9889. }
  9890. }
  9891. }
  9892.  
  9893.  
  9894.  
  9895. //CustomRules
  9896.  
  9897. function escapeRegex(str)
  9898. {
  9899. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9900. }
  9901.  
  9902.  
  9903. //called internally from parseCustomRules.
  9904. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9905. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9906. function makeCustomRule(rule)
  9907. {
  9908. function makeMatchRegex(arrmatch)
  9909. {
  9910. return escapeRegex(arrmatch.join('\n'))
  9911. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9912. .replace(/\n/g,'|'); //join together
  9913. }
  9914. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9915. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9916. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9917. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9918. if (rule.baseurl)
  9919. {
  9920. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9921. for (i = 0 ; i < len ; i++)
  9922. {
  9923. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9924. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9925. {
  9926. 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'])
  9927. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9928. }
  9929. else //baseurl in the form: example.com/xxx
  9930. {
  9931. xpath.push(m[0]);
  9932. urlregex.push(escapeRegex(m[0]) + '.');
  9933. }
  9934. }
  9935. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9936. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9937. }
  9938. return rule;
  9939. } //function makeCustomRule
  9940.  
  9941.  
  9942. /*
  9943. Takes a string containing custom link checking rules.
  9944. Returns an object with fields:
  9945. info - contains notes, warnings and errors found during parsing
  9946. rules - the array of custom rules
  9947. note, warning, error - number of each of them found during parsing
  9948. Format of the input string:
  9949. One command per line. Command format: @keyword parameter
  9950. Keywords:
  9951. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9952. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9953. These keywords can be multiple (any of them will work):
  9954. @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...)
  9955. @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+
  9956. @alivelink, @deadlink - example links
  9957. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9958. Lines starting with // and empty lines are ignored.
  9959. Invalid parameters generate errors and those lines are skipped.
  9960. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9961. Example:
  9962. @customrule filehost
  9963. @baseurl filehost.com/download/
  9964. @baseurl filehost2. com net /d?=
  9965. @alivematch id="download">
  9966. @deadmatch File not found
  9967. @deadmatch File deleted
  9968. */
  9969. function parseCustomRules(rulesStr)
  9970. {
  9971. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9972. function addInfo(type, msg, ln){
  9973. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9974. customRules[type]++;
  9975. }
  9976. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9977. if (!lines) return null;
  9978. lines.push('@#customrule _'); //to save the last rule
  9979. var m, linecount = lines.length;
  9980. var keyword, param, constr, rule, err;
  9981. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9982. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9983. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9984. var constraints = {
  9985. 'baseurl': {
  9986. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9987. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9988. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9989. 'alivematch': {
  9990. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9991. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9992. 'deadmatch': {
  9993. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9994. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9995. 'unavamatch': {
  9996. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9997. 'alivelink': {
  9998. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9999. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10000. 'deadlink': {
  10001. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10002. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10003. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10004. };
  10005. for (linenum = 0 ; linenum < linecount ; linenum++)
  10006. {
  10007. //capturing groups: 1 23 4 5 6
  10008. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10009. if (m)
  10010. {
  10011. if (m[1] || !m[2])
  10012. continue; // ignore empty lines and lines starting with //
  10013. keyword = (m[4] || m[2]).toLowerCase();
  10014. param = m[6];
  10015. if (keyword == 'customrule')
  10016. {
  10017. //save the current rule if all required fields are provided
  10018. if (rule)
  10019. {
  10020. err = false;
  10021. $.each(constraints, function(kw, constraint){
  10022. var l, constr = constraint[rule.type];
  10023. if (constr)
  10024. {
  10025. l = rule[kw] ? rule[kw].length : 0;
  10026. if (l < constr.min || l > constr.max)
  10027. {
  10028. 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);
  10029. err = true;
  10030. }
  10031. }
  10032. });
  10033. if (!err)
  10034. customRules.rules.push(makeCustomRule(rule));
  10035. }
  10036. //start a new rule
  10037. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10038. {
  10039. rule = {
  10040. 'enabled': !m[3],
  10041. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10042. 'name': param
  10043. };
  10044. }
  10045. else
  10046. {
  10047. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10048. rule = null;
  10049. }
  10050. }
  10051. else //good line format, but keyword other than customrule
  10052. {
  10053. if (!rule)
  10054. {
  10055. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10056. continue;
  10057. }
  10058. if (constraints[keyword])
  10059. {
  10060. constr = constraints[keyword][rule.type];
  10061. if (constr)
  10062. {
  10063. if (constr.paramRE && !constr.paramRE.test(param))
  10064. {
  10065. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10066. continue;
  10067. }
  10068. }
  10069. else
  10070. {
  10071. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10072. continue;
  10073. }
  10074. }
  10075. //line OK, save
  10076. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10077. }
  10078. } //if (m)
  10079. else
  10080. addInfo('warning', 'Unknown line format. Line skipped.');
  10081. } //for loop
  10082. return customRules;
  10083. } //function parseCustomRules
  10084.  
  10085.  
  10086. /* ********************UPDATES********************
  10087.  
  10088. June 16, 2017
  10089. Version 1.3.9.7
  10090. fixed filefactory
  10091.  
  10092. June 06, 2017
  10093. Version 1.3.9.6
  10094. fixed uploads.to
  10095.  
  10096. June 06, 2017
  10097. Version 1.3.9.5
  10098. fixed uploadgig.com
  10099.  
  10100. June 05, 2017
  10101. Version 1.3.9.4
  10102. added clicknupload.org
  10103.  
  10104. May 31, 2017
  10105. Version 1.3.9.3
  10106. fixed tusfiles
  10107.  
  10108. May 25, 2017
  10109. Version 1.3.9.2
  10110. added avatarshare.com
  10111.  
  10112. May 15, 2017
  10113. Version 1.3.9.1
  10114. excluded google.pl
  10115. added code to fileshark.pl
  10116.  
  10117. May 12, 2017
  10118. Version 1.3.9.0
  10119. added owndrives.com
  10120.  
  10121. May 12, 2017
  10122. Version 1.3.8.9
  10123. added hotlink.cc
  10124.  
  10125. May 09, 2017
  10126. Version 1.3.8.8
  10127. added code for kingfile.pl
  10128. added code for catshare.net
  10129.  
  10130. May 08, 2017
  10131. Version 1.3.8.7
  10132. added file-upload.com
  10133.  
  10134. May 04, 2017
  10135. Version 1.3.8.6
  10136. fixed rapidgator
  10137.  
  10138. April 30, 2017
  10139. Version 1.3.8.5
  10140. fixed rapidgator
  10141.  
  10142. April 30, 2017
  10143. Version 1.3.8.4
  10144. added code for kingfile.pl
  10145.  
  10146. April 30, 2017
  10147. Version 1.3.8.3
  10148. changed code for kingfile.pl
  10149.  
  10150. April 29, 2017
  10151. Version 1.3.8.2
  10152. added code to kingfile.pl
  10153.  
  10154. April 29, 2017
  10155. Version 1.3.8.1
  10156. added code to kingfile.pl
  10157.  
  10158. April 28, 2017
  10159. Version 1.3.8.0
  10160. fileshark.pl
  10161. kingfile.pl
  10162. pobierz.to
  10163.  
  10164. April 26, 2017
  10165. Version 1.3.7.9
  10166. fixed 1f.al
  10167.  
  10168. April 16, 2017
  10169. Version 1.3.7.8
  10170. added crazyshare.cc
  10171.  
  10172. April 16, 2017
  10173. Version 1.3.7.7
  10174. fixed uploadgig.com
  10175.  
  10176. April 13, 2017
  10177. Version 1.3.7.6
  10178. added neodrive.co to obsolete hosts
  10179.  
  10180. April 07, 2017
  10181. Version 1.3.7.5
  10182. added french code for rg premium links
  10183.  
  10184. April 05, 2017
  10185. Version 1.3.7.4
  10186. added oload.tv
  10187.  
  10188. March 30, 2017
  10189. Version 1.3.7.3
  10190. added uploads.to
  10191.  
  10192. March 20, 2017
  10193. Version 1.3.7.2
  10194. added black-label.pro to obsolete hosts
  10195.  
  10196. March 13, 2017
  10197. Version 1.3.7.1
  10198. fixed filescdn.com
  10199.  
  10200. February 27, 2017
  10201. Version 1.3.7.0
  10202. fixed openload.co
  10203.  
  10204. February 26, 2017
  10205. Version 1.3.6.9
  10206. fixed drive.google.com
  10207. fixed uptobox.com (by dodoxp)
  10208.  
  10209. February 25, 2017
  10210. Version 1.3.6.8
  10211. added uploading.com to obsolete hosts
  10212.  
  10213. February 24, 2017
  10214. Version 1.3.6.7
  10215. cloudzilla.to added to obsolete hosts
  10216.  
  10217. February 23, 2017
  10218. Version 1.3.6.6
  10219. uploadify.net
  10220.  
  10221. February 22, 2017
  10222. Version 1.3.6.5
  10223. fixed katfile.com
  10224.  
  10225. February 12, 2017
  10226. Version 1.3.6.3
  10227. added junocloud.me to obsolete hosts
  10228.  
  10229. January 12, 2017
  10230. Version 1.3.6.2
  10231. added share.az & upfile.mobi
  10232.  
  10233. January 07, 2017
  10234. Version 1.3.6.1
  10235. added ausfile.com
  10236.  
  10237. January 05, 2017
  10238. Version 1.3.6.0
  10239. removed uploadable.ch from obsolete hosts
  10240.  
  10241. January 04, 2017e
  10242.  
  10243. December 31, 2016
  10244. Version 1.3.5.8
  10245. disabled on pizzaonline.dominos
  10246.  
  10247. December 31, 2016
  10248. Version 1.3.5.7
  10249. added uploadable.ch to obsolete hosts
  10250.  
  10251. December 30, 2016
  10252. Version 1.3.5.6
  10253. restored kingfiles.net
  10254.  
  10255. December 14, 2016
  10256. Version 1.3.5.5
  10257. fixed some 1fichier links not checking (yurii)
  10258.  
  10259. December 01, 2016
  10260. Version 1.3.5.4
  10261. added temp-share.com & filesha.com
  10262.  
  10263. November 30, 2016
  10264. Version 1.3.5.3
  10265. fixed mexashare.com not detecting some dead links
  10266.  
  10267. November 29, 2016
  10268. Version 1.3.5.2
  10269. added black-label.pro (live links only)
  10270.  
  10271. November 27, 2016
  10272. Version 1.3.5.1
  10273. made changes to filefactory
  10274.  
  10275. November 23, 2016
  10276. Version 1.3.5.0
  10277. added megashares.com to obsolete hosts
  10278. fixed letitbit not showing as obsolete
  10279. added littlebyte.net
  10280.  
  10281. November 22, 2016
  10282. Version 1.3.4.9
  10283. added code for live links to rapidgator
  10284. added dailyfiles.net
  10285. added upfiles.net
  10286. added multiup.eu
  10287.  
  10288. November 17, 2016
  10289. Version 1.3.4.8
  10290. fixed filefactory, again
  10291.  
  10292. November 17, 2016
  10293. Version 1.3.4.7
  10294. fixed filefactory folders
  10295.  
  10296. November 15, 2016
  10297. Version 1.3.4.6
  10298. fixed filefactory
  10299.  
  10300. November 14, 2016
  10301. Version 1.3.4.5
  10302. fixed rapidgator
  10303. fixed filefactory folders
  10304.  
  10305.  
  10306. November 13, 2016
  10307. Version 1.3.4.4
  10308. fixed problem with drive.google.com
  10309. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10310.  
  10311. November 06, 2016
  10312. Version 1.3.4.3
  10313. added to obsolete hosts (by love buzz)
  10314. 4up.me
  10315. a nonfiles.com
  10316. axifile.com
  10317. creafile.net
  10318. demo.ovh.eu
  10319. filesin.com
  10320. file swap.com
  10321. gulfup.com
  10322. hexupload.com
  10323. hugefiles.net
  10324. jumbofiles.com
  10325. kingfiles.net
  10326. letitbit.net
  10327. lolabits.es
  10328. nowdownload.ch
  10329. openfile.ru
  10330. radicalshare.com
  10331. remixshare.com
  10332. storefiles.co
  10333. toutbox.fr
  10334. uploadbaz.com
  10335. uploadingit.com
  10336. verzend.be
  10337. vidplay.net
  10338. vidxden.com
  10339. xfileload.com
  10340.  
  10341. November 04, 2016
  10342. Version 1.3.4.2
  10343. added french code for rapidgator premium links
  10344. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10345.  
  10346. November 03, 2016
  10347. Version 1.3.4.1
  10348. added Portuguese code for rapidgator premium links
  10349. added suprafiles.net
  10350.  
  10351. November 02, 2016
  10352. Version 1.3.4.0
  10353. fixed depositfiles not detecting depositfiles.com/de links
  10354.  
  10355. October 27, 2016
  10356. Version 1.3.3.9
  10357. fixed uploaded.net not detecting some dead links
  10358.  
  10359. October 24, 2016
  10360. Version 1.3.3.8
  10361. added more french code for upload.af dead links
  10362.  
  10363. October 23, 2016
  10364. Version 1.3.3.7
  10365. added french for upload.af dead links
  10366.  
  10367. October 17, 2016
  10368. Version 1.3.3.6
  10369. fixed error (by Yurii)
  10370.  
  10371. October 17, 2016
  10372. Version 1.3.3.5
  10373. fixed file.al (by Yurii)
  10374.  
  10375. October 16, 2016
  10376. Version 1.3.3.4
  10377. test
  10378.  
  10379. October 11, 2016
  10380. Version 1.3.3.3
  10381. fixed subyshare.com not detecting some dead links
  10382. fixed mexashare.com
  10383. fixed pornfile.cz
  10384.  
  10385. October 10, 2016
  10386. Version 1.3.3.2
  10387. added fileflares.com
  10388. added erafile.com
  10389. added loop to subyshare.com & rockfile.eu
  10390.  
  10391. September 26, 2016
  10392. Version 1.3.3.1
  10393. added uploadocean.com
  10394.  
  10395. September 25, 2016
  10396. Version 1.3.3.0
  10397. added exbit.net
  10398.  
  10399. September 25, 2016
  10400. Version 1.3.2.9
  10401. fixed uptobox
  10402. fixed google (by kubbbie)
  10403.  
  10404. September 23, 2016
  10405. Version 1.3.2.8
  10406. added danish to rapidgator
  10407.  
  10408. September 22, 2016
  10409. Version 1.3.2.7
  10410. added wayupload.com
  10411.  
  10412. September 18, 2016
  10413. Version 1.3.2.6
  10414. added Portuguese language to rapidgator
  10415.  
  10416. September 15, 2016
  10417. Version 1.3.2.5
  10418. added languages to rapidgator
  10419. french
  10420. german
  10421. spanish
  10422. Italian
  10423. russian
  10424. polish
  10425. dutch
  10426. czech
  10427. chinese
  10428. japanese
  10429.  
  10430. September 14, 2016
  10431. Version 1.3.2.4
  10432. fixed spaceforfiles.com
  10433.  
  10434. September 09, 2016
  10435. Version 1.3.2.3
  10436. added bdupload.info
  10437. added german & deutsch language to workupload.com
  10438.  
  10439. September 08, 2016
  10440. Version 1.3.2.2
  10441. added...
  10442. storageserver.co.uk
  10443. cloud.mail.ru
  10444. fixed depositfiles
  10445.  
  10446. September 08, 2016
  10447. Version 1.3.2.1
  10448. added workupload.com
  10449.  
  10450. September 04, 2016
  10451. Version 1.3.2.0
  10452. made changes to euroshare.eu
  10453.  
  10454. September 03, 2016
  10455. Version 1.3.1.9
  10456. added usercloud.net
  10457. made changes to euroshare.eu
  10458.  
  10459. August 31, 2016
  10460. Version 1.3.1.8
  10461. fixed uptobox.com
  10462.  
  10463. August 30, 2016
  10464. Version 1.3.1.7
  10465. made changes to euroshare.eu
  10466.  
  10467. August 29, 2016
  10468. Version 1.3.1.6
  10469. made changes to data.hu
  10470.  
  10471. August 29, 2016
  10472. Version 1.3.1.5
  10473. fixed euroshare.eu not detecting dead links
  10474.  
  10475. August 23, 2016
  10476. Version 1.3.1.4
  10477. added ulozto.sk
  10478. added ulozto.cz
  10479.  
  10480. August 19, 2016
  10481. Version 1.3.1.3
  10482. fixed euroshare.eu
  10483. fixed 2share.com
  10484.  
  10485. August 17, 2016
  10486. Version 1.3.1.2
  10487. added french code for 1fichier
  10488.  
  10489. August 16, 2016
  10490. Version 1.3.1.1
  10491. fix for 1fichier folder links, by yurii
  10492.  
  10493. August 15, 2016
  10494. Version 1.3.1.0
  10495. another fix for 1fichier
  10496. added mystore.to
  10497.  
  10498. August 12, 2016
  10499. Version 1.3.0.9
  10500. fixed 1fichier
  10501.  
  10502. August 01, 2016
  10503. Version 1.3.0.8
  10504. fixed tezfiles.com not detecting some premium links
  10505.  
  10506. July 24, 2016
  10507. Version 1.3.0.7
  10508. added fileshareup.com
  10509.  
  10510. July 17, 2016
  10511. Version 1.3.0.6
  10512. added subyshare.com
  10513.  
  10514. july 10, 2016
  10515. Version 1.3.0.5
  10516. fixed ulozto.net
  10517.  
  10518. july 07, 2016
  10519. Version 1.3.0.4
  10520. fixed uloz.to
  10521.  
  10522. july 07, 2016
  10523. Version 1.3.0.3
  10524. added imagenetz.de
  10525.  
  10526. June 23, 2016
  10527. Version 1.3.0.2
  10528. excluded nexcess.net
  10529.  
  10530. June 20, 2016
  10531. Version 1.3.0.1
  10532. added daofile.com
  10533.  
  10534. June 16, 2016
  10535. Version 1.3.0.0
  10536. added mexashare.com
  10537.  
  10538. June 16, 2016
  10539. Version 1.2.9.9
  10540. added novafile.com
  10541. added uploadgig.com
  10542.  
  10543. June 15, 2016
  10544. Version 1.2.9.8
  10545. fixed upload.af
  10546.  
  10547. June 10, 2016
  10548. Version 1.2.9.7
  10549. added alltu.eu
  10550.  
  10551. June 09, 2016
  10552. Version 1.2.9.6
  10553. added code for french language to rapidgator.net & rg.to
  10554.  
  10555. June 04, 2016
  10556. Version 1.2.9.5
  10557. added upnito.sk
  10558.  
  10559. May 31, 2016
  10560. Version 1.2.9.4
  10561. fixed mega.co (by yurii)
  10562.  
  10563. May 31, 2016
  10564. Version 1.2.9.3
  10565. code cleanup
  10566.  
  10567. May 27, 2016
  10568. Version 1.2.9.2
  10569. added filesin.space
  10570.  
  10571. May 27, 2016
  10572. Version 1.2.9.1
  10573. added
  10574. filescdn.com
  10575. bankupload.com
  10576. katfile.com
  10577.  
  10578. May 18, 2016
  10579. Version 1.2.9.0
  10580. added warped.co to obsolete hosts
  10581.  
  10582. May 17, 2016
  10583. Version 1.2.8.9
  10584. fixed mega.nz
  10585.  
  10586. May 16, 2016
  10587. Version 1.2.8.8
  10588. added to obsolete hosts
  10589. fileband.com
  10590. filecloud.cc
  10591. filesmelt.com
  10592. goldbytez.com
  10593. hulkshare.com
  10594. idup.in
  10595. loudupload.net
  10596. muchshare.net
  10597. myupload.dk
  10598. nekaka.com
  10599. netkups.com
  10600. plunder.com
  10601. uploads.xxx
  10602. uploadspace.pl
  10603. xkeepfile.com
  10604.  
  10605. May 16, 2016
  10606. Version 1.2.8.7
  10607. added upnito.sk to obsolete hosts
  10608.  
  10609. May 15, 2016
  10610. Version 1.2.8.6
  10611. fixed uploading.site
  10612.  
  10613. May 15, 2016
  10614. Version 1.2.8.5
  10615. added oload.net
  10616.  
  10617. May 14, 2016
  10618. Version 1.2.8.4
  10619. added uploading.site
  10620.  
  10621. May 13, 2016
  10622. Version 1.2.8.3
  10623. added uploadc.ch
  10624. fixed vidspot.net
  10625.  
  10626. May 13, 2016
  10627. Version 1.2.8.2
  10628. added keepshare.net
  10629.  
  10630. May 11, 2016
  10631. Version 1.2.8.1
  10632. added uploadserv.com
  10633.  
  10634. May 09, 2016
  10635. Version 1.2.8.0
  10636. fixed upstore.net & upsto.re
  10637. added 24uploading.com to obsolete hosts
  10638.  
  10639. May 06, 2016
  10640. Version 1.2.7.9
  10641. added storagon.com to obsolete hosts
  10642. fixed worldbytez.com
  10643.  
  10644. May 02, 2016
  10645. Version 1.2.7.8
  10646. added myfiles.onl
  10647.  
  10648. april 28, 2016
  10649. Version 1.2.7.7
  10650. fixed bytewhale.com
  10651.  
  10652. april 27, 2016
  10653. Version 1.2.7.6
  10654. fixed rapidgator not detecting some premium links.
  10655.  
  10656. april 27, 2016
  10657. Version 1.2.7.5
  10658. added jeodrive.com
  10659.  
  10660. april 26, 2016
  10661. Version 1.2.7.4
  10662. added sanshare.com to obsolete hosts
  10663.  
  10664. april 26, 2016
  10665. Version 1.2.7.3
  10666. fixed vidspot.net
  10667.  
  10668. april 26, 2016
  10669. Version 1.2.7.2
  10670. added upx.nz
  10671.  
  10672. april 25, 2016
  10673. Version 1.2.7.1
  10674. added rapidfilehost.com to obsolete hosts
  10675. fixed bitster.cz
  10676.  
  10677. april 12, 2016
  10678. Version 1.2.7.0
  10679. fixed rapidgator not detecting some premium links.
  10680.  
  10681. april 11, 2016
  10682. Version 1.2.6.9
  10683. changed code for ncrypt.in
  10684.  
  10685. april 07, 2016
  10686. Version 1.2.6.8
  10687. added fileinz.com to obsolete hosts.
  10688.  
  10689. april 06, 2016
  10690. Version 1.2.6.7
  10691. added sharingmaster.com to obsolete hosts.
  10692.  
  10693. april 05, 2016
  10694. Version 1.2.6.6
  10695. added 4upfiles.com & elffiles.com to obsolete hosts
  10696.  
  10697. april 03, 2016
  10698. Version 1.2.6.5
  10699. updates to configuration page
  10700.  
  10701. March 31, 2016
  10702. Version 1.2.6.4
  10703. added code for tampermonkey 4.0 compatibility
  10704.  
  10705. March 31, 2016
  10706. Version 1.2.6.3
  10707. fixed uloz.to
  10708. fixed copy dead links to clipboard feature
  10709. added copy live links to clipboard feature.
  10710.  
  10711. March 24, 2016
  10712. Version 1.2.6.2
  10713. changed made to nitroflare. (yurri)
  10714.  
  10715. March 20, 2016
  10716. Version 1.2.6.1
  10717. fixed rapidgator
  10718. fixed dfiles
  10719. fixed dl.free.fr
  10720. fixed nitroflare.com (Fixed by Yurii)
  10721.  
  10722. March 15, 2016
  10723. Version 1.2.6.0
  10724. fixed rapidgator.net
  10725. fixed uploaded.net
  10726.  
  10727. March 13, 2016
  10728. Version 1.2.5.9
  10729. added
  10730. uploads.ws
  10731. upl.me
  10732. clicknupload.link
  10733. added fileover.net to obsolete hosts
  10734. fixed kingfiles.net
  10735.  
  10736. March 09, 2016
  10737. Version 1.2.5.8
  10738. added kingfiles.net to obsolete hosts
  10739. fixed 4upld.com/expressleech.com
  10740.  
  10741. March 08, 2016
  10742. Version 1.2.5.7
  10743. fixed solidfiles.com
  10744.  
  10745. March 01, 2016
  10746. Version 1.2.5.6
  10747. added filespace.com
  10748. fixed depositfiles (by yurii)
  10749.  
  10750. February 29, 2016
  10751. Version 1.2.5.5
  10752. made change to keep2share
  10753.  
  10754. February 28, 2016
  10755. Version 1.2.5.4
  10756. removed down4files.com from obsolete hosts.
  10757.  
  10758. February 26, 2016
  10759. Version 1.2.5.3
  10760. fixed userscloud.com
  10761.  
  10762. February 24, 2016
  10763. Version 1.2.5.2
  10764. added yandex.com
  10765. fixed datafile.com
  10766.  
  10767. February 22, 2016
  10768. Version 1.2.5.1
  10769. added bigfile.to
  10770.  
  10771. February 20, 2016
  10772. Version 1.2.5.0
  10773. added abelhas.pt
  10774.  
  10775. February 18, 2016
  10776. Version 1.2.4.9
  10777. made change to uptobox
  10778.  
  10779. February 17, 2016
  10780. Version 1.2.4.8
  10781. fixed yadi.sk
  10782.  
  10783. February 16, 2016
  10784. Version 1.2.4.7
  10785. fixed datafile.com
  10786. fixed filecad.com
  10787. added filecore.co & filestorm.to to obsolete hosts
  10788. added upload.af, filedwon.in & uplod.it
  10789.  
  10790. February 15, 2016
  10791. Version 1.2.4.6
  10792. fixed kumpulbagi.id
  10793. added sangfile.com to obsolete hosts
  10794.  
  10795. February 14, 2016
  10796. Version 1.2.4.5
  10797. fixed yandex.ru
  10798.  
  10799. February 13, 2016
  10800. Version 1.2.4.4
  10801. added lunaticfiles.com.
  10802.  
  10803. February 09, 2016
  10804. Version 1.2.4.3
  10805. added file.up09.com.
  10806.  
  10807. February 09, 2016
  10808. Version 1.2.4.2
  10809. tezfiles.com premium links now detected.
  10810.  
  10811. February 09, 2016
  10812. Version 1.2.4.1
  10813. added seenupload.com to obsolete hosts
  10814. fixed 180upload.com to show obsolete
  10815.  
  10816. February 08, 2016
  10817. Version 1.2.4.0
  10818. added tusfiles.com
  10819. added filesupload.org
  10820. added gigasize.com
  10821. added filecad.com
  10822. fixed filecloud.io
  10823. added uploadnet.co to obsolete hosts
  10824.  
  10825. February 07,2016
  10826. Vession 1.2.3.9
  10827. fixed depositfiles.com folders
  10828. fixed turbobit.net folders
  10829.  
  10830. February 06, 2016
  10831. Version 1.2.3.8
  10832. fixed 1fichier false dead links
  10833.  
  10834. February 04, 2106
  10835. Version 1.2.3.7
  10836. added geupload and lenfile to obsolete hosts
  10837. fixed kyc.pm/depfile
  10838.  
  10839. February 03, 2016
  10840. Version 1.2.3.6
  10841. fixed some nitroflare.com dead links not being detected
  10842.  
  10843. February 01, 2016
  10844. Version 1.2.3.5
  10845. script moved to new site
  10846.  
  10847. January 20, 2016
  10848. Version 1.2.3.3
  10849. fixed some rapidgator premium link not being detected
  10850.  
  10851. January 17, 2016
  10852. Version 1.2.3.2
  10853. added bytewhale.com
  10854. added rapidrar.com
  10855.  
  10856. Version 1.2.3.1
  10857. added 180upload.com to obsolete hosts
  10858. fixed hellspy.com
  10859. added dinoshare.cz,
  10860.  
  10861. January 13, 2016
  10862. Version 1.2.3.0
  10863. added rapidu.net
  10864. added uploadboy.me
  10865. fixed euroshare.eu
  10866.  
  10867. January 12, 2016
  10868. Version 1.2.2.9
  10869. added kb.simple-aja.info
  10870.  
  10871. January 10, 2016
  10872. Version 1.2.2.8
  10873. made changes to fastshare.cz
  10874.  
  10875. January 10, 2016
  10876. Version 1.2.2.7
  10877. fixed uptobox.com
  10878.  
  10879. January 09, 2016
  10880. Version 1.2.2.6
  10881. datoteke.com now detects premium links
  10882. fixed turbobit.net
  10883. fixed uptobox.com
  10884. added pornfile.cz
  10885. added pornoid.cz
  10886. added file-share.top
  10887. added bitster.cz
  10888.  
  10889. January 05, 2016
  10890. Version 1.2.2.5
  10891. fixed salefiles.com
  10892. fixed ozofile.com
  10893.  
  10894. January 04, 2016
  10895. Version 1.2.2.4
  10896. added sharehost.eu
  10897.  
  10898. December 30, 2015
  10899. Version 1.2.2.3
  10900. added tezfiles.com
  10901.  
  10902. December 28, 2015
  10903. Version 1.2.2.2
  10904. fixed some k2s & fboom dead link not getting detected
  10905. fixed some k2s premium links not getting detected.
  10906. fixed ssh.yt not detecting some dead links
  10907. fixed ncrypt.in dead links showing yellow
  10908.  
  10909. December 20, 2015
  10910. Version 1.2.2.0
  10911. added datoteke.com
  10912.  
  10913. December 19, 2015
  10914. Version 1.2.1.9
  10915. added secured.in & linksave.in to obsolete hosts
  10916.  
  10917. December 17, 2015
  10918. Version 1.2.1.8
  10919. added german for dead links to secureupload.eu.
  10920.  
  10921. December 17, 2015
  10922. Version 1.2.1.7
  10923. added french for dead links to secureupload.eu.
  10924. fixed problem with tooltip display.
  10925.  
  10926. December 13, 2015
  10927. Version 1.2.1.6
  10928. added netload.me & fileparadox.in to obsolete hosts
  10929.  
  10930. December 09, 2015
  10931. Version 1.2.1.5
  10932. added rapidsonic.com & fileparadox.com to obsolete hosts
  10933.  
  10934. December 04, 2015
  10935. Version 1.2.1.4
  10936. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10937.  
  10938. December 03, 2015
  10939. Version 1.2.1.3
  10940. added dailyuploads.net
  10941.  
  10942. December 02, 2015
  10943. Version 1.2.1.2
  10944. fixed hitfile.net
  10945. fixed kingfiles.net
  10946.  
  10947. November 30, 2015
  10948. Version 1.2.1.1
  10949. added filepost.com to obsolete hosts
  10950. added devilshare.net
  10951.  
  10952. November 28, 2015
  10953. Version 1.2.1.0
  10954. fixed datafile.com not detecting some premium links.
  10955.  
  10956. November 25, 2015
  10957. Version 1.2.0.9
  10958. fixed filejoker.net
  10959. fixed toutbox.fr
  10960. fixed nowvideo.sx
  10961.  
  10962. November 24, 2015
  10963. Version 1.2.0.8
  10964. fixed openload.io
  10965.  
  10966. November 20, 2015
  10967. Version 1.2.0.7
  10968. //added file.al
  10969. //fixed nitroflare.com false live links
  10970. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10971.  
  10972. November 17, 2015
  10973. Version 1.2.0.6
  10974. added clicknupload.me
  10975.  
  10976. November 09, 2015
  10977. Version 1.2.0.5
  10978. fixed some depfile premium links not being detected
  10979.  
  10980. November 08, 2015
  10981. Version 1.2.0.4
  10982. fixed some rapidgator premium links not being detected
  10983. fixed doraupload.com
  10984.  
  10985. November 08, 2015
  10986. Version 1.2.0.3
  10987. fixed uploaded false premium
  10988.  
  10989. November 07, 2015
  10990. Version 1.2.0.2
  10991. fixed redbunker.net
  10992.  
  10993. November 05, 2015
  10994. Version 1.2.0.1
  10995. fixed app.box.com
  10996. added multiup.org (does not detect all dead links)
  10997.  
  10998. November 01, 2015
  10999. Version 1.2.0.0
  11000. added more languages to rockfile and 1fichier
  11001.  
  11002. November 01, 2015
  11003. Version 1.1.9.9
  11004. fixed rockfile.eu
  11005. changed 1fichier code (Thanks yurri)
  11006. added to obsolete hosts... (Thanks Love Buzz)
  11007. burnupload.com
  11008. cramit.in
  11009. cramitin.net
  11010. down4files.com
  11011. edoc.com
  11012. jumbofile.net
  11013. krotix.net
  11014. migahost.com
  11015. movreel.com
  11016. netload.in
  11017. newfileland.com
  11018. quickshare.cz
  11019.  
  11020. October 30, 2015
  11021. Version 1.1.9.8
  11022. added alfafile.net
  11023.  
  11024. October 26, 2015
  11025. Version 1.1.9.7
  11026. changed datafile.com and uplea.com
  11027. added lolabits.es
  11028.  
  11029. October 26, 2015
  11030. Version 1.1.9.6
  11031. added toutbox.fr
  11032.  
  11033. October 25, 2015
  11034. Version 1.1.9.5
  11035. fixed counter error
  11036.  
  11037. October 25, 2015
  11038. Version 1.1.9.4
  11039. changed uptobox.com code
  11040.  
  11041. October 21, 2015
  11042. Version 1.1.9.3
  11043. fixed uptobox.com
  11044.  
  11045. October 20, 2015
  11046. Version 1.1.9.2
  11047. bug fixes and new method of detecting premium links.
  11048.  
  11049. October 15, 2015
  11050. Version 1.1.9.1
  11051. fixed hugefiles.net false premium
  11052. changed uptobox.com code
  11053.  
  11054. October 06, 2015
  11055. Version 1.1.9.0
  11056. fixed filefactory
  11057. fixed rockfile false premium
  11058. keep2share & fileboom now detect premium links (fixed by yurii)
  11059.  
  11060. October 01, 2015
  11061. Version 1.1.8.9
  11062. fixed free.fr false premium
  11063. fixed thevideo.me false premium
  11064.  
  11065. September 28, 2015
  11066. Version 1.1.8.8
  11067. added uplea.com and openload.co
  11068.  
  11069. September 27, 2015
  11070. Version 1.1.8.7
  11071. fixed fileparadox.in false premium
  11072. added kingfiles.net to obsolete hosts
  11073. removed inafile.com from obsolete hosts
  11074.  
  11075. September 22, 2015
  11076. Version 1.1.8.6
  11077. fixed nitroflare false premium
  11078.  
  11079. September 22, 2015
  11080. Version 1.1.8.5
  11081. fixed userscloud.com false premium
  11082. fixed usersfiles.com false premium
  11083. changed arabloads.com to arabloads.net
  11084. changed nowdownloads.eu to nowdownloads.ch
  11085.  
  11086. September 21, 2015
  11087. Version 1.1.8.3
  11088. added ryushare.com to obsolete hosts.
  11089.  
  11090. September 20, 2015
  11091. Version 1.1.8.2
  11092. fixed nitroflare not showing premium links
  11093. added down4files.com,storfiles.co,filehost.pw
  11094.  
  11095. September 16, 2015
  11096. Version 1.1.8.1
  11097. added crisshare.com to obsolete hosts
  11098. fixed filemoney.com false premium
  11099. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11100.  
  11101. September 14, 2015
  11102. Version 1.1.8.0
  11103. added to obsolete hosts...
  11104. sharebeast.com
  11105. tufiles.ru
  11106.  
  11107. September 12, 2015
  11108. Version 1.1.7.9
  11109. fixed rghost.net false premium
  11110. fixed unlimitzone.com false premium
  11111. fixed turbobit.net false live link
  11112.  
  11113. September 11, 2015
  11114. Version 1.1.7.8
  11115. Fixed filefactory.com false premium.
  11116.  
  11117. September 07, 2015
  11118. Version 1.1.7.7
  11119. fixed "depositfiles.com/en/files" links not checking
  11120.  
  11121. September 06, 2015
  11122. Version 1.1.7.6
  11123. added French code for 1fichier
  11124.  
  11125. August 29, 2015
  11126. Version 1.1.7.5
  11127. fixed depositfiles
  11128. fixed mega.co.nz/mega.nz
  11129. (fixed by yurii)
  11130.  
  11131. August 23, 2015
  11132. Version 1.1.7.4
  11133. Fixed uploadrocket (by yurii)
  11134.  
  11135. August 20, 2015
  11136. Version 1.1.7.3
  11137. fixed depfile.com false premium
  11138. fixed 1fichier false premium
  11139. fixed rapidgator false premium
  11140.  
  11141. August 08, 2015
  11142. Version 1.1.7.1
  11143. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11144.  
  11145. August 07, 2015
  11146. Version 1.1.7.0
  11147. fixed...
  11148. streamin.to
  11149. thefile.me
  11150. vidzi.tv
  11151. added...
  11152. filenuke.com
  11153. vidto.me
  11154. vidspot.net
  11155. sharesix.com
  11156. sharesix.net
  11157. movpod.in,
  11158.  
  11159. August 07, 2015
  11160. Version 1.1.6.9 added...
  11161. thefile.me
  11162. vidzi.tv
  11163. videoweed.es
  11164. vodlocker.com
  11165. nowvideo.sx
  11166. cloudtime.to
  11167. thevideo.me
  11168. vidbull.com
  11169. allmyvideos.net
  11170. novamov.com
  11171. filehoot.com
  11172. stagevu.com
  11173. gorillavid.in
  11174. streamin.to
  11175.  
  11176. August 02, 2015
  11177. Version 1.1.6.8
  11178. added cloudshares.net
  11179.  
  11180. August 01, 2015
  11181. Version 1.1.6.7
  11182. fixed depfile redirectors false premium
  11183.  
  11184. July 31, 2015
  11185. Version 1.1.6.6
  11186. fixed depfile.com false premium
  11187. */