W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-05-09 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @include http://*
  15. // @include https://*
  16. // @include file:///*
  17. // @grant GM_setValue
  18. // @grant GM_getValue
  19. // @grant GM_xmlhttpRequest
  20. // @grant GM_log
  21. // @grant GM_addStyle
  22. // @grant GM_registerMenuCommand
  23. // @grant GM_getResourceText
  24. // @grant GM_info
  25. // @grant GM_setClipboard
  26. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  27. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  28. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  29. // @homepage http://usa.x10host.com/mybb
  30. // @namespace war premium
  31. // @noframes
  32. // @version 1.3.8.7
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.8.7 May 08, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "fileshark.pl",
  41. "pobierz.to",
  42. "kingfile.pl",
  43. "oload.tv",
  44. "uploads.to",
  45. "uploadify.net",
  46. "temp-share.com",
  47. "ausfile.com",
  48. "filesha.com",
  49. "upfiles.net",
  50. "dailyfiles.net",
  51. "upfile.mobi",
  52. "share.az",
  53. "crazyshare.cc",
  54. "uploadocean.com",
  55. "drive.google.com",
  56. "suprafiles.net",
  57. "fileflares.com",
  58. "erafile.com",
  59. "mystore.to",
  60. "littlebyte.net",
  61. "exbit.net",
  62. "bdupload.info",
  63. "workupload.com",
  64. "wayupload.com",
  65. "cloud.mail.ru",
  66. "fileshareup.com",
  67. "usercloud.net",
  68. "daofile.com",
  69. "subyshare.com",
  70. "mexashare.com",
  71. "uploadgig.com",
  72. "upload.af",
  73. "alltu.eu",
  74. "filesin.space",
  75. "imagenetz.de",
  76. "katfile.com",
  77. "bankupload.com",
  78. "keepshare.net",
  79. "filescdn.com",
  80. "myfiles.onl",
  81. "uploadserv.com",
  82. "uploading.site",
  83. "filedwon.info",
  84. "jeodrive.com",
  85. "ncrypt.in",
  86. "yandex.com",
  87. "down4files.com",
  88. 'filespace.com',
  89. "uplod.it",
  90. "rapidu.net",
  91. "uploads.ws|upl.me",
  92. "file.up09.com",
  93. "lunaticfiles.com",
  94. "filecad.com",
  95. "filesupload.org",
  96. "bytewhale.com",
  97. "rapidrar.com",
  98. "download.cz.hellshare.com",
  99. "pornfile.cz",
  100. "dinoshare.cz",
  101. "kb.simple-aja.info",
  102. "bitster.cz",
  103. "file-share.top",
  104. "pornoid.cz",
  105. "dailyuploads.net",
  106. "sharehost.eu",
  107. "tezfiles.com",
  108. "devilshare.net",
  109. "alfafile.net",
  110. "openload.co",
  111. "multiup.org",
  112. "uplea.com",
  113. "filenuke.com",
  114. "file.al|1f.al",
  115. "vidto.me",
  116. "filehost.pw",
  117. "turbobit.ru",
  118. "sharesix.com|sharesix.net",
  119. "movpod.in",
  120. "thefile.me",
  121. "datoteke.com",
  122. "vidzi.tv",
  123. "videoweed.es",
  124. "vodlocker.com",
  125. "nowvideo.sx",
  126. "cloudtime.to",
  127. "thevideo.me",
  128. "vidbull.com",
  129. "novamov.com",
  130. "filehoot.com",
  131. "stagevu.com",
  132. "gorillavid.in",
  133. "streamin.to",
  134. "4upld.com|expressleech.com",
  135. "cloudshares.net",
  136. "swoopshare.com",
  137. "2shared.com",
  138. "fileupload.pw",
  139. "zxcfiles.com",
  140. "up07.net",
  141. "4shared.com",
  142. "adrive.com",
  143. "aisfile.com",
  144. "bezvadata.cz",
  145. "usersfiles.com",
  146. "pan.baidu.com",
  147. "datei.to",
  148. "daten-hoster.de|filehosting.org|xtraupload.de",
  149. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  150. "divshare.com",
  151. "easy-share.com|crocko.com",
  152. "easybytez.com",
  153. "edisk.cz",
  154. "euroshare.eu",
  155. "file-upload.net",
  156. "file-upload.com",
  157. "yadi.sk",
  158. "wizupload.com",
  159. "fastshare.cz",
  160. "filefactory.com",
  161. "share.vnn.vn",
  162. "yunpan.cn",
  163. "tropicshare.com",
  164. "inclouddrive.com",
  165. "fileflyer.com",
  166. "filerio.com|filekeen.com",
  167. "up.4share.vn",
  168. "upfile.vn",
  169. "datafilehost.com",
  170. "worldbytez.com",
  171. "files.mail.ru",
  172. "filesflash.com",
  173. "box.com",
  174. "uptobox.com",
  175. "box.net",
  176. "sdilej.cz",
  177. "ex-load.com",
  178. "filesmonster.com",
  179. "filestore.to",
  180. "hulkload.com",
  181. "filedropper.com",
  182. "free-uploading.com",
  183. "gamefront.com|filefront.com",
  184. "gettyfile.ru",
  185. "gigapeta.com",
  186. "gigasize.com",
  187. "hellshare.com",
  188. "hellspy.com",
  189. "hitfile.net",
  190. "hostuje.net",
  191. "freefilehosting.net",
  192. "free.fr",
  193. "hyperfileshare.com",
  194. "filecloud.io|ifile.it",
  195. "ifolder.ru",
  196. "uploadrocket.net",
  197. "lafiles.com",
  198. "leteckaposta.cz|sharegadget.com",
  199. "load.to",
  200. "mediafire.com",
  201. "megafileupload.com",
  202. "movshare.net",
  203. "narod.ru|narod.yandex.ru",
  204. "fboom.me|fileboom.me",
  205. "partage-facile.com",
  206. "sharerapid.cz",
  207. "exclusiveloader.com",
  208. "acefile.net",
  209. "queenshare.com",
  210. "rapidgator.net",
  211. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  212. "oboom.com",
  213. "filepi.com",
  214. "rarefile.net",
  215. "rayfile.com",
  216. "rghost.net",
  217. "sendmyway.com",
  218. "clicknupload.com",
  219. "clicknupload.me",
  220. "clicknupload.link",
  221. "uploadable.ch",
  222. "sharemods.com",
  223. "hostr.co",
  224. "sendspace.com",
  225. "sharecash.org",
  226. "share-links.biz",
  227. "share-online.biz|egoshare.com",
  228. "megarapid.cz",
  229. "shareflare.net",
  230. "solidfiles.com",
  231. "led.wf",
  232. "lan.wf",
  233. "adlink.wf",
  234. "click.tf",
  235. "kyc.pm",
  236. "ssh.tf",
  237. "ssh.yt",
  238. "yep.pm",
  239. "stahovanizasms.cz",
  240. "turbobit.net",
  241. "tikfile.com",
  242. "cloudsix.me",
  243. "turboupload.com",
  244. "uloz.to",
  245. "ulozto.net",
  246. "ulozto.sk",
  247. "ulozto.cz",
  248. "ulozisko.sk",
  249. "uloziste.com",
  250. "unibytes.com",
  251. "upload-il.net|przeslij.net",
  252. "uploaded.to|uploaded.net|ul.to",
  253. "chayfile.com",
  254. "rockfile.eu",
  255. "usaupload.net",
  256. "veehd.com",
  257. "videobb.com",
  258. "vip-file.com",
  259. "webshare.cz",
  260. "xdisk.cz",
  261. "yunfile.com|filemarkets.com",
  262. "ziddu.com",
  263. "zippyshare.com",
  264. "rodfile.com",
  265. "wikiupload.com",
  266. "uploadstube.de",
  267. "faststore.org",
  268. "flyfiles.net",
  269. "prefiles.com",
  270. "hackerbox.org",
  271. "amonshare.com",
  272. "data.hu",
  273. "brupload.net",
  274. "kingfiles.net",
  275. "userscloud.com",
  276. "kumpulbagi.com|kumpulbagi.id",
  277. "uppit.com|up.ht|upx.nz",
  278. "downloadani.me",
  279. "filesabc.com",
  280. "extmatrix.com",
  281. "sendfiles.nl",
  282. "yourfilestore.com",
  283. "filebig.net",
  284. "file4safe.com",
  285. "tusfiles.net|tusfiles.com",
  286. "filemac.com",
  287. "ozofiles.com",
  288. "nosupload.com",
  289. "gboxes.com",
  290. "myvdrive.com|fileserving.com",
  291. "novafile.com",
  292. "longfiles.com",
  293. "bitupload.com",
  294. "indowebster.com",
  295. "superload.cz",
  296. "mafiastorage.com",
  297. "hellupload.com",
  298. "stiahni.si",
  299. "sendspace.pl",
  300. "fastshare.org",
  301. "filejoker.net",
  302. "filestore.com.ua",
  303. "rapidfileshare.net",
  304. "stiahnito.sk",
  305. "rusfolder.com",
  306. "catshare.net",
  307. "mixturecloud.com",
  308. "filedais.com",
  309. // "imdb.com",
  310. "nitroflare.com",
  311. "akafile.com",
  312. "up.top4top.net",
  313. "upload.ee",
  314. "shareplace.org",
  315. "uploadc.com",
  316. "uploadc.ch",
  317. "exoshare.com",
  318. "borncash.org",
  319. "2downloadz.com",
  320. "mightyupload.com",
  321. "anysend.com",
  322. "datafile.com",
  323. "upstore.net",
  324. "upsto.re",
  325. "speedy.sh",
  326. "ge.tt",
  327. "filesflash.net",
  328. "salefiles.com",
  329. "datoid.cz",
  330. "cloudstor.es",
  331. "streamfile.com",
  332. "eyesfile.ca",
  333. "filemoney.com",
  334. "uploadboy.com",
  335. "uploadboy.me",
  336. "speedshare.eu",
  337. "google.com|google.be",
  338. "unlimitzone.com",
  339. "rioupload.com",
  340. "rg.to",
  341. "jumbofiles.org",
  342. "fshare.vn",
  343. "spaceforfiles.com",
  344. "up.media1fire.com",
  345. "depfile.com",
  346. "go4up.com",
  347. "dropbox.com",
  348. "redbunker.net",
  349. "divxpress.com",
  350. "mega.nz|mega.co.nz",
  351. "storageserver.co.uk",
  352. "anafile.com",
  353. "bigfile.to",
  354. "arabloads.net",
  355. "sharerepo.com",
  356. "sfshare.se",
  357. "files.fm",
  358. "koofile.com",
  359. "doraupload.com",
  360. "openload.io",
  361. "upnito.sk",
  362. "oload.net",
  363. ];
  364.  
  365. try
  366. {
  367. //iframes excluded
  368. if (window.top != window.self)
  369. {
  370. return;
  371. }
  372. //allHostNames sites excluded
  373. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  374. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  375. ")"))
  376. {
  377. return;
  378. }
  379. }
  380. catch (e)
  381. {
  382. return;
  383. }
  384.  
  385. //separate alternative domains with "|" char (first name is considered being main)
  386. var allContainerNames = [
  387. "adf.ly",
  388. "linkcrypt.ws",
  389. "linksafe.me",
  390. // "linksave.in",
  391. "linkto.net",
  392. "madlink.sk",
  393. "multiload.cz",
  394. "mirrorcreator.com",
  395. // "ncrypt.in",
  396. "redi.re",
  397. "relink.us",
  398. "safelinking.net",
  399. "theloo.katt.it",
  400. "bit.ly",
  401.  
  402. ];
  403.  
  404. //separate alternative domains with "|" char (first name is considered being main)
  405. var allObsoleteNames = [
  406. "black-label.pro",
  407. "4up.me",
  408. "anonfiles.com",
  409. "axifile.com",
  410. "creafile.net",
  411. "cloudzilla.to",
  412. "neodrive.co",
  413. "demo.ovh.eu",
  414. "filesin.com",
  415. "fileswap.com",
  416. "junocloud.me",
  417. "gulfup.com",
  418. "hexupload.com",
  419. "secureupload.eu",
  420. "hugefiles.net",
  421. "jumbofiles.com",
  422. "letitbit.net",
  423. "lolabits.es",
  424. "nowdownload.ch",
  425. "openfile.ru",
  426. "radicalshare.com",
  427. "remixshare.com",
  428. "storefiles.co",
  429. "toutbox.fr",
  430. "uploadbaz.com",
  431. "uploadingit.com",
  432. "uploading.com",
  433. "verzend.be",
  434. "vidplay.net",
  435. "vidxden.com",
  436. "xfileload.com",
  437. "warped.co",
  438. "xkeepfile.com",
  439. "abelhas.pt",
  440. "uploadspace.pl",
  441. "allmyvideos.net",
  442. "uploads.xxx",
  443. "netkups.com",
  444. "nekaka.com",
  445. "vidspot.net",
  446. "myupload.dk",
  447. "muchshare.net",
  448. "loudupload.net",
  449. "idup.in",
  450. "hulkshare.com",
  451. "goldbytez.com",
  452. "filesmelt.com",
  453. "fileband.com",
  454. "uloz.cz",
  455. "secured.in",
  456. "rapidfilehost.com",
  457. "fileover.net",
  458. "fileinz.com",
  459. "linksave.in",
  460. "seenupload.com",
  461. "sangfile.com",
  462. "filepost.com|fp.io",
  463. "sharingmaster.com ",
  464. "24uploading.com",
  465. "storagon.com",
  466. "sanshare.com",
  467. "filestorm.to",
  468. "uploadnet.co",
  469. "180upload.com",
  470. "rapidsonic.com",
  471. "fileparadox.com",
  472. "4upfiles.com",
  473. "geupload.com",
  474. "lenfile.com",
  475. "fileparadox.in",
  476. "uploadhero.co",
  477. "uploadhero.com",
  478. "newfileland.com",
  479. "quickshare.cz",
  480. "elffiles.com",
  481. "netload.in",
  482. "netload.me",
  483. "movreel.com",
  484. "migahost.com",
  485. "krotix.net",
  486. "jumbofile.net",
  487. "edoc.com",
  488. "cramit.in|cramitin.net",
  489. "freakshare.com",
  490. "burnupload.com|burnupload.ihiphop.com",
  491. "freakshare.net",
  492. "daj.to",
  493. "bl.st",
  494. "2drive.net",
  495. "ryushare.com",
  496. "crisshare.com",
  497. "tufiles.ru",
  498. "uncapped-downloads.com",
  499. "sockshare.com",
  500. "ddlstorage.com",
  501. "dataport.cz",
  502. "dizzcloud.com",
  503. "sharebeast.com",
  504. "stahovadlo.cz",
  505. "shared.com",
  506. "storage.to",
  507. "putlocker.com",
  508. "lumfile.com",
  509. "lumfile.se",
  510. "lumfile.eu",
  511. "firedrive.com",
  512. "fileshare.in.ua",
  513. "filecore.co.nz",
  514. "filecore.co",
  515. "iskladka.cz",
  516. "file-rack.com",
  517. "fast-load.net",
  518. "subory.sk",
  519. "bigandfree.com",
  520. "fileop.com",
  521. "mujsoubor.cz",
  522. "sendfile.to",
  523. "superfastfile.com",
  524. "quickyshare.com",
  525. "duckload.com",
  526. "uploadstore.net",
  527. "meinupload.com",
  528. "dualshare.com",
  529. "2xupload.to|2xupload.de",
  530. "oxedion.com",
  531. "uploadline.com",
  532. "dll.bz",
  533. "movieshare.in",
  534. "milledrive.com",
  535. "quickupload.net",
  536. "safelink.in",
  537. "metadivx.com",
  538. "divxlink.com",
  539. "uploadrack.com",
  540. "teradepot.com",
  541. "dataup.to",
  542. "upit.to",
  543. "driveway.com",
  544. "eatlime.com",
  545. "a2zuploads.com",
  546. "friendlyfiles.net",
  547. "flyfile.us",
  548. "speedyshare.com",
  549. "uploadspace.eu",
  550. "keepfile.com",
  551. "piggyshare.com",
  552. "uplly.com",
  553. "filecrown.com",
  554. "6giga.com",
  555. "uploadjockey.com",
  556. "bluehost.to",
  557. "filegu.ru",
  558. "filebase.to",
  559. "up-file.com",
  560. "xvideos.com",
  561. "ufox.com",
  562. "filebling.com",
  563. "loaded.it",
  564. "uploadcell.com",
  565. "uploadshare.cz",
  566. "mangoshare.com",
  567. "filestab.com",
  568. "crazyupload.com",
  569. "gaiafile.com",
  570. "sharejunky.com",
  571. "fileho.com",
  572. "bigandfree.com",
  573. "bigfile.in",
  574. "bigshare.eu",
  575. "dahosting.org",
  576. "digisofts.net",
  577. "file4save.com",
  578. "filechip.com",
  579. "filescloud.com",
  580. "saveqube.com",
  581. "turboshare.de",
  582. "z-upload.com",
  583. "youshare.com",
  584. "jiffyupload.com",
  585. "gigeshare.com",
  586. "datenklo.net",
  587. "upload.dj",
  588. "loadfiles.in",
  589. "upit.to",
  590. "dsfileshare.com",
  591. "sharesimple.net",
  592. "4files.net",
  593. "wooupload.com",
  594. "odsiebie.com",
  595. "filenavi.com",
  596. "3oof.com",
  597. "meshwaar.com",
  598. "maxupload.com",
  599. "share.cx",
  600. "atserver.eu",
  601. "hotfiles.ws",
  602. "esnips.com",
  603. "tuxfile.com",
  604. "file2upload.net",
  605. "filebling.com",
  606. "turboshare.com",
  607. "rarhost.com",
  608. "isharehd.com",
  609. "i741.com",
  610. "dataup.de",
  611. "fofly.com",
  612. "shareonall.com",
  613. "sexuploader.com",
  614. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  615. "uploadhyper.com",
  616. "filespawn.com",
  617. "caizzii.com",
  618. "volnyweb.cz",
  619. "usershare.net",
  620. "filescash.net",
  621. "metahyper.com",
  622. "combozip.com",
  623. "x7.to",
  624. "uploadbox.com",
  625. "enterupload.com|flyupload.com",
  626. "filepoint.de",
  627. "mystream.to",
  628. "x-fs.com",
  629. "shareator.com",
  630. "srapid.eu",
  631. "sosame.cz",
  632. "filesdump.com",
  633. "2-klicks.de",
  634. "uploking.com",
  635. "silofiles.com",
  636. "upfile.in",
  637. "filehook.com",
  638. "uploadking.com",
  639. "uploadhere.com",
  640. "kewlshare.com",
  641. "rapidable.com",
  642. "uploadwaste.com",
  643. "filemup.com",
  644. "filesonic.com|sharingmatrix.com",
  645. "fileserve.com",
  646. "wupload.com",
  647. "skipfile.com",
  648. "smartuploader.com",
  649. "dualshare.com",
  650. "storeandserve.com",
  651. "mountfile.com",
  652. "transitfiles.com",
  653. "uploadstation.com",
  654. "filejungle.com",
  655. "shareshared.com",
  656. "quickyshare.com",
  657. "save.am",
  658. "petandrive.com",
  659. "file2box.com",
  660. "flyshare.cz",
  661. "yabadaba.ru",
  662. "cloudcache.cc",
  663. "yourfilehost.com",
  664. "jakfile.com",
  665. "kickload.com",
  666. "pyramidfiles.com",
  667. "refile.net",
  668. "zshare.net",
  669. "ddlani.me|ddlanime.com",
  670. "ftp2share.com",
  671. "fooget.com",
  672. "rapidhide.com",
  673. "gotupload.com",
  674. "mooload.com",
  675. "zupload.com",
  676. "mytempdir.com",
  677. "onionshare.com",
  678. "stahnu.to",
  679. "oron.com",
  680. "badongo.com",
  681. "filereactor.com",
  682. "filegaze.com",
  683. "4bytez.com",
  684. "1hostclick.com",
  685. "anonstream.com",
  686. "batshare.com",
  687. "bitroad.net",
  688. "brontofile.com",
  689. "cloudnxt.net",
  690. "cloudnator.com|shragle.com",
  691. "filesfrog.net",
  692. "coolshare.cz",
  693. "dotavi.com",
  694. "ezyfile.net",
  695. "file-bit.net",
  696. "filecosy.com",
  697. "fileduct.com|fileduct.net",
  698. "filefat.com",
  699. "filelaser.com",
  700. "filemashine.com",
  701. "fileserver.cc",
  702. "filetechnology.com",
  703. "fireuploads.net",
  704. "gigfiles.net",
  705. "holderfile.com",
  706. "ihostia.com",
  707. "k2files.com",
  708. "mojofile.com",
  709. "ovfile.com",
  710. "qshare.com",
  711. "shafiles.me",
  712. "sharefilehost.com",
  713. "shareupload.com",
  714. "stahuj.to",
  715. "ugotfile.com",
  716. "uploadboost.com",
  717. "fileom.com",
  718. "vidhog.com",
  719. "xfileshare.eu",
  720. "bzlink.us",
  721. "bulletupload.com",
  722. "bloggerarticles.com",
  723. "mojedata.sk",
  724. "sharpfile.com",
  725. "upgrand.com",
  726. "nasdilej.cz",
  727. "mediatack.cz",
  728. "share-it.to",
  729. "primeupload.com",
  730. "filebeer.info",
  731. "baberepublic",
  732. "xtu.me",
  733. "sharebase.de",
  734. "luckyshare.net",
  735. "filerobo.com",
  736. "filevelocity.com",
  737. "filezpro.com",
  738. "file4sharing.com",
  739. "cing.be",
  740. "ufile.eu",
  741. "pigsonic.com",
  742. "fileupped.com",
  743. "sharerun.com",
  744. "filesaur.com",
  745. "rapidslnare.com",
  746. "bestsharing.com",
  747. "savefiles.net",
  748. "file2share.biz",
  749. "filecache.de",
  750. "monsteruploads.eu",
  751. "b9bb.com",
  752. "aiotool.net",
  753. "jamber.info",
  754. "megaftp.com",
  755. "desiupload.net",
  756. "file27.com",
  757. "yastorage.com",
  758. "filehost.ws",
  759. "copyload.com",
  760. "venusfile.com",
  761. "aieshare.com",
  762. "terafile.co",
  763. "terafile.com",
  764. "fileza.net",
  765. "filerose.com",
  766. "squillion.com",
  767. "fileprohost.com",
  768. "bitbonus.com",
  769. "warserver.cz",
  770. "uload.to",
  771. "sharedbit.net",
  772. "megaload.it",
  773. "filewinds.com",
  774. "uploadcore.com",
  775. "syfiles.com",
  776. "eyesfile.com",
  777. "hotfile.com",
  778. "superupl.com",
  779. "oteupload.com",
  780. "henchfile.com",
  781. "filegag.com",
  782. "HenchFile.com",
  783. "filedefend.com",
  784. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  785. "megabitshare.com",
  786. "cloudzer.com",
  787. "asfile.com",
  788. "cloudzer.net",
  789. "clz.to",
  790. "extabit.com",
  791. "247upload.com",
  792. "2download.de",
  793. "4fastfile.com",
  794. "asixfiles.com",
  795. "berofile.com",
  796. "bigupload.com",
  797. "cepzo.com",
  798. "clouds.to",
  799. "cobrashare.sk",
  800. "coraldrive.net",
  801. "cyberlocker.ch",
  802. "czshare.com",
  803. "darkport.org",
  804. "dark-uploads.com",
  805. "davvas.com",
  806. "enigmashare.com",
  807. "erofly.cz",
  808. "fastsonic.net",
  809. "filebox.com",
  810. "filecity.net",
  811. "filedap.com",
  812. "filedino.com",
  813. "filedownloads.org",
  814. "filefolks.com",
  815. "fileking.co",
  816. "filemates.com",
  817. "files.to",
  818. "files2k.eu",
  819. "filesector.cc",
  820. "bitshare.com",
  821. "filesega.com",
  822. "filesend.net",
  823. "filestay.com",
  824. "filestrum.com",
  825. "fileuplo.de",
  826. "fileupup.com",
  827. "forunesia.com",
  828. "freeuploads.fr",
  829. "uploa.dk",
  830. "getthebit.com",
  831. "getzilla.net",
  832. "goldfile.eu",
  833. "good.com",
  834. "grupload.com",
  835. "hellfile.com",
  836. "hipfile.com",
  837. "hitfile.com",
  838. "hulkfile.eu|duckfile.net",
  839. "i-filez.com",
  840. "ifile.ws",
  841. "kupload.org",
  842. "packupload.com",
  843. "lemuploads.com",
  844. "limelinx.com",
  845. "maxshare.pl",
  846. "megarelease.org",
  847. "megashares.com",
  848. "megashare.com",
  849. "minus.com",
  850. "mlfat4arab.com",
  851. "multishare.cz",
  852. "nirafile.com",
  853. "ok2upload.com",
  854. "peejeshare.com",
  855. "premiuns.org",
  856. "przeklej.net",
  857. "qkup.net",
  858. "rapidupload.sk",
  859. "rockdizfile.com",
  860. "rocketfile.net",
  861. "share-now.net",
  862. "share76.com",
  863. "sharebees.com",
  864. "sharefiles.co",
  865. "slingfile.com",
  866. "sms4file.com",
  867. "space4file.com",
  868. "tigershare.net",
  869. "toucansharing.com",
  870. "ubuntuone.com",
  871. "unextfiles.com",
  872. "upaj.pl",
  873. "upfile.biz",
  874. "uploadbin.net",
  875. "uploadic.com",
  876. "uploadinc.com",
  877. "uploading4u.eu",
  878. "uploadjet.net",
  879. "uploadorb.com",
  880. "upthe.net",
  881. "uptorch.com",
  882. "vidbox.yt",
  883. "videozer.com",
  884. "vreer.com",
  885. "wallobit.com",
  886. "zooupload.com",
  887. "privatefiles.com",
  888. "xerver.co",
  889. "BillionUploads.com",
  890. "rapidshare.com",
  891. "rapidshare.ru",
  892. "4savefile.com",
  893. "bayfiles.com",
  894. "bayfiles.net",
  895. "dodane.pl",
  896. "dotsemper.com",
  897. "egofiles.com",
  898. "epicshare.net",
  899. "fiberupload.net",
  900. "filemonkey.in",
  901. "filemonster.net",
  902. "filepom.com",
  903. "filesbb.com",
  904. "filevice.com",
  905. "gigaup.fr",
  906. "isavelink.com",
  907. "loombo.com",
  908. "megafiles.se",
  909. "migupload.com",
  910. "mydisc.net",
  911. "nitrobits.com",
  912. "potload.com",
  913. "redload.net",
  914. "shareprofi.com",
  915. "sharesuper.info",
  916. "sinhro.net",
  917. "speedfile.cz",
  918. "speedshare.org",
  919. "storage.novoro.net",
  920. "swankshare.com",
  921. "swatupload.com",
  922. "upafile.com",
  923. "uploadmachine.com",
  924. "uploadsat.com",
  925. "upshared.com",
  926. "usefile.com",
  927. "yourfiles.to",
  928. "zomgupload.com",
  929. "ultramegabit.com",
  930. "uploadto.us",
  931. "inafile.com",
  932. "megairon.net",
  933.  
  934. ];
  935. ///////////////////////////////////////////////////////////////////////////////////////
  936. var firstRun = GM_getValue("First_run", true);
  937.  
  938. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  939. //////////////////////////////////////////////////////////////////////////////////////
  940. try
  941. {
  942. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  943. var last_known_version = GM_getValue("last_known_version", "");
  944. if (!last_known_version)
  945. {
  946. last_known_version = thisVersion;
  947. GM_setValue("last_known_version", last_known_version);
  948. }
  949. //var newVersion = !(thisVersion == last_known_version);
  950. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  951. GM_setValue("last_known_version", thisVersion);
  952. }
  953. catch (err)
  954. {
  955. var newVersion = false;
  956. }
  957.  
  958. var now = (new Date()).getTime();
  959. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  960. if (!last_custom_rules_nag)
  961. {
  962. last_custom_rules_nag = now;
  963. GM_setValue('last_custom_rules_nag', ''+now);
  964. }
  965.  
  966.  
  967. allHostNames.sort();
  968. allContainerNames.sort();
  969. allObsoleteNames.sort();
  970.  
  971. var RAND_STRING = "8QyvpOSsRG3QWq";
  972. var DEBUG_MODE = false;
  973.  
  974. var TOOLTIP_MAXWIDTH = 600; //in pixels
  975. var TOOLTIP_THUMBWIDTH = 200;
  976. var containers_processed = false;
  977.  
  978. //settings for keyboard functions start
  979. var CHECK_ALL_LINKS_KEY = "A";
  980. var CONFIGURATION_KEY = "C";
  981. var copy_to_dead_key = "D";
  982. var copy_to_live_key = "L";
  983. var toggle_autocheck_key = "W";
  984. var toggle_Enable_Anonymizer_key = "Z";
  985. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  986. var first_key_keycodename = 'CTRL';
  987. var second_key_keycode = '18';
  988. var second_key_keycodename = 'ALT';
  989. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  990. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  991. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  992. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  993. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  994. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  995. //settings for keyboard functions end
  996.  
  997. //global settings start
  998. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  999. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1000. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1001. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1002. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1003. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1004. var Progress_box_refresh_rate;
  1005. var Obsolete_file_hosts;
  1006. var Custom_rules, Custom_rules_text;
  1007. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1008.  
  1009. var messageBox = document.createElement('b'); // top-left message box
  1010.  
  1011. var cLinksTotal = 0;
  1012. var cLinksDead = 0;
  1013. var cLinksAlive = 0;
  1014. var cLinksUnava = 0;
  1015. var cLinksprem = 0;
  1016. var cLinksProcessed = 0;
  1017.  
  1018. var intervalId; //for updateProgress()
  1019.  
  1020. //icon resources
  1021. 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+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARK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4v9d29pEMnt7UyfOkNNjKKTU8Tl8tghq+sEGqvUZwjZA5EAiShPIetLXxhASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1028. var RSLC_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  1029. var RSLC_ICON_PINK = 'data:image/png;base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9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  1030.  
  1031. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABA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DMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1034. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1035.  
  1036. //global settings end
  1037. if (window.opera && !window.console)
  1038. {
  1039. window.console = {};
  1040.  
  1041. function fn()
  1042. {
  1043. opera.postError(arguments);
  1044. };
  1045. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1046. {
  1047. window.console[name] = fn;
  1048. });
  1049. }
  1050.  
  1051. //displays colored text in message box
  1052. function sendMessage(text, color)
  1053. {
  1054. var msgDiv = document.createElement('div');
  1055. msgDiv.style.color = color;
  1056. msgDiv.innerHTML = text;
  1057. messageBox.appendChild(msgDiv);
  1058. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1059. }
  1060.  
  1061. function linkify(totalourls)
  1062. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1063. var ikkeTilladteTags;
  1064. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1065. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1066. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1067. allLinksRegex = new RegExp(allLinksRegex, "g");
  1068. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1069.  
  1070. if (Do_not_linkify_DL_links)
  1071. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1072. else
  1073. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1074.  
  1075. var regex = new RegExp(regexy);
  1076. var textNode, muligtLink;
  1077.  
  1078. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1079. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1080.  
  1081. var i = textNodes.snapshotLength;
  1082. while (i--)
  1083. {
  1084. textNode = textNodes.snapshotItem(i);
  1085.  
  1086. muligtLink = textNode.nodeValue; //all links on page
  1087.  
  1088. var myArray = null;
  1089. var span = null;
  1090. var lastLastIndex = 0;
  1091. allLinksRegex.lastIndex = 0;
  1092. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1093. {
  1094. if (textNode.parentNode.className == "adead_link") continue;
  1095. var censoredLink = muligtLink;
  1096. var span = document.createElement('span');
  1097. span.className = "adead_link";
  1098. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1099. $(span).html(censoredLink);
  1100. span.addEventListener("mouseover", displayTooltipError, false);
  1101. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1102. textNode.parentNode.replaceChild(span, textNode);
  1103. continue;
  1104. alert(censoredLink);
  1105. }
  1106. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1107. {
  1108. if (!regex.test(myArray[0])) //this link is not recognized
  1109. {
  1110.  
  1111. continue;
  1112. }
  1113. if (!span)
  1114. span = document.createElement('span');
  1115.  
  1116. var link = myArray[0];
  1117. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1118.  
  1119. var $a = $("<a>" + link + "</a>")
  1120. if (!link.match(/https?:\/\//))
  1121. {
  1122. link = 'http://' + link;
  1123. }
  1124.  
  1125. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1126. .addClass("processing_link")
  1127. .appendTo(span);
  1128. lastLastIndex = allLinksRegex.lastIndex;
  1129. }
  1130. if (span)
  1131. {
  1132. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1133. textNode.parentNode.replaceChild(span, textNode);
  1134. }
  1135. }
  1136. }
  1137.  
  1138. function add_WARLC_style()
  1139. {
  1140. if (!(document.getElementsByTagName('WARLC')[0]))
  1141. {
  1142. var meta_not_to_add_more_style = document.createElement("WARLC");
  1143. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1144. meta_not_to_add_more_style.setAttribute('name', 'description');
  1145. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1146. alive_link_png = "";
  1147. adead_link_png = "";
  1148. unava_link_png = "";
  1149. prem_link_png = "";
  1150. switch(Icon_set)
  1151. {
  1152. //no icons
  1153. case 0: break;
  1154. // cat paws
  1155. case 1: alive_link_png = PAW_ICON_GREEN;
  1156. adead_link_png = PAW_ICON_RED;
  1157. unava_link_png = PAW_ICON_YELLOW;
  1158. prem_link_png = PAW_ICON_PINK;
  1159. break;
  1160. // classic RSLC look
  1161. case 2: alive_link_png = RSLC_ICON_GREEN;
  1162. adead_link_png = RSLC_ICON_RED;
  1163. unava_link_png = RSLC_ICON_YELLOW;
  1164. prem_link_png = RSLC_ICON_PINK;
  1165. break;
  1166. // New Icons
  1167. case 3: alive_link_png = NEW_ICON_GREEN;
  1168. adead_link_png = NEW_ICON_RED;
  1169. unava_link_png = NEW_ICON_YELLOW;
  1170. prem_link_png = NEW_ICON_PINK;
  1171. break;
  1172. // cat paws
  1173. default:alive_link_png = PAW_ICON_GREEN;
  1174. adead_link_png = PAW_ICON_RED;
  1175. unava_link_png = PAW_ICON_YELLOW;
  1176. prem_link_png = PAW_ICON_PINK;
  1177. break;
  1178. }
  1179. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1180. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1181.  
  1182. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1183.  
  1184. if (Color_DL_links)
  1185. {
  1186. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1187. live_color_css = 'color:' + Live_links_color + ' !important;';
  1188. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1189. container_color_css = 'color:' + Container_links_color + ' !important;';
  1190. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1191. }
  1192. else
  1193. {
  1194. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1195. }
  1196.  
  1197. if (Show_black_background_in_DL_links)
  1198. {
  1199. black_background_css = 'background-color: black !important;';
  1200. }
  1201. else
  1202. {
  1203. black_background_css = '';
  1204. }
  1205.  
  1206. if (Show_line_through_in_dead_links)
  1207. {
  1208. line_through_css = 'text-decoration: line-through !important;';
  1209. }
  1210. else
  1211. {
  1212. line_through_css = '';
  1213. }
  1214.  
  1215. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1216. 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 + "}");
  1217. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1218. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1219. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1220. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1221. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1222. }
  1223. }
  1224.  
  1225. var warlcTooltip = null;
  1226. var mouseoverLink = null; //link href with mouse cursor over it
  1227.  
  1228. var lastX = 0;
  1229. var lastY = 0;
  1230.  
  1231. $(document).ready(initTooltip);
  1232. //inits tooltip
  1233. function initTooltip()
  1234. { warlcTooltip = document.createElement("div");
  1235. 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;");
  1236. warlcTooltip.style.visibility = "hidden";
  1237. document.body.appendChild(warlcTooltip);
  1238. }
  1239.  
  1240. //"mousemove" event handler for all links
  1241. function moveTooltip(event)
  1242. {
  1243. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1244. { //no need to reflow if the cursor moved just a little
  1245. return;
  1246. }
  1247. else
  1248. {
  1249. lastX = event.clientX;
  1250. lastY = event.clientY;
  1251. }
  1252.  
  1253. posX = event.clientX + window.pageXOffset + 10;
  1254. posY = event.clientY + window.pageYOffset;
  1255. var ttHeight = warlcTooltip.offsetHeight;
  1256. var ttFreeSpace = window.innerHeight - event.clientY;
  1257. if (ttHeight > ttFreeSpace)
  1258. { //prevents tooltip from getting out of the window
  1259. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1260. }
  1261. else
  1262. {
  1263. posY += 7;
  1264. }
  1265. warlcTooltip.style.top = posY + "px";
  1266. warlcTooltip.style.left = posX + "px";
  1267. }
  1268.  
  1269. //"mouseout" event handler for all links
  1270. function hideTooltip(){
  1271. warlcTooltip.style.visibility = "hidden";
  1272. mouseoverLink = null;
  1273. }
  1274.  
  1275.  
  1276. //"mouseover" event handler for dead links
  1277. //displays tooltip error message on dead links
  1278. function displayTooltipError()
  1279. {
  1280. mouseoverLink = this.href;
  1281. this.addEventListener("mouseout", hideTooltip);
  1282. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1283. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1284. warlcTooltip.style.minWidth = 0;
  1285. warlcTooltip.style.visibility = "visible";
  1286. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1287. {
  1288. warlcTooltip.innerHTML = this.warlc_error;
  1289. }
  1290. else
  1291. {
  1292. loadErrorInfo(this);
  1293. }
  1294. function loadErrorInfo(link)
  1295. {
  1296. var href = link.href;
  1297. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1298. GM_xmlhttpRequest({
  1299. method: 'GET',
  1300. url: href.replace(Ref_anonymize_service, ""),
  1301. headers: {
  1302. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1303. 'Accept': 'text/xml',
  1304. 'Referer': ""
  1305. },
  1306. onload: function(result) {
  1307. var res = result.responseText;
  1308. //TODO: errorRegexs -
  1309. var errorRegexs = [ //generic error messages follow
  1310. /(empty directory)/i,
  1311. /(soubor nebyl nalezen)/i,
  1312. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1313. //server specific error messages follow
  1314. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1315. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1316. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1317. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1318. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1319. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1320. /class="red">(.+?)<(?:span|br)>/, //czshare
  1321. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1322. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1323. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1324. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1325. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1326. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1327. /(File has been removed due to Copyright Claim)/, //filerio
  1328. ];
  1329. var errorIdx = errorRegexs.length;
  1330. var error = "Cause of error: <b>unknown</b>";
  1331. var errorCandidate = "";
  1332. while(errorIdx--)
  1333. {
  1334. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1335. if (errorCandidate != null)
  1336. {
  1337. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1338. break;
  1339. }
  1340. }
  1341. //link attributes
  1342. link.warlc_error = error;
  1343. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1344. {
  1345. warlcTooltip.innerHTML = error;
  1346. }
  1347. }
  1348. });
  1349. }
  1350. }
  1351.  
  1352. //"mouseover" event handler for alive links
  1353. //displays tooltip info (file size, file name,...) on alive links
  1354. function displayTooltipInfo()
  1355. {
  1356. mouseoverLink = this.href;
  1357. //exclude direct download filehostings
  1358. 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)/))
  1359. {
  1360. return;
  1361. }
  1362. this.addEventListener("mouseout", hideTooltip);
  1363. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1364. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1365. warlcTooltip.style.minWidth = 0;
  1366. warlcTooltip.style.visibility = "visible";
  1367. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1368. {
  1369. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1370. }
  1371. else
  1372. {
  1373. loadInfo(this);
  1374. }
  1375. function loadInfo(link)
  1376. {
  1377. var href = link.href;
  1378. GM_xmlhttpRequest({
  1379. method: 'GET',
  1380. url: href.replace(Ref_anonymize_service, ""),
  1381. headers: {
  1382. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1383. 'Accept': 'text/xml',
  1384. 'Referer': ""
  1385. },
  1386. onload: function(result) {
  1387. var res = result.responseText;
  1388. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1389. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1390. /fl" title="(.+?)">/, //edisk
  1391. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1392. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1393. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1394. /title="download (.+?)">/, //sendspace
  1395. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1396. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1397. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1398. /d0FileName = "(.+?)";/, //letitbit
  1399. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1400. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1401. /fname" value="(.+?)">/, //syfiles, grupload,
  1402. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1403. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1404. /Complete name : (.+?)<br \/>/, //bezvadata
  1405. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1406. ];
  1407. var nameIdx = nameRegexs.length;
  1408. // [sizeRegexs]
  1409. // / \ \?
  1410. // prefix (size) postfix
  1411. // / \
  1412. // val quant
  1413. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1414. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1415. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1416. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1417. var postSizeRegex = '(?:\\))?';
  1418. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1419. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1420. ];
  1421. var sizeIdx = sizeRegexs.length;
  1422. //
  1423. //
  1424. var tooltip = "File Name: <b>";
  1425. var fileName = "unknown";
  1426. var nameCandidate = "";
  1427. while(nameIdx--)
  1428. {
  1429. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1430. if (nameCandidate != null)
  1431. {
  1432. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1433. break;
  1434. }
  1435. }
  1436. tooltip += fileName + "</b><br>File Size: <b>";
  1437. var fileSize = "unknown";
  1438. var sizeCandidate = "";
  1439. while(sizeIdx--)
  1440. {
  1441. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1442. if (sizeCandidate != null)
  1443. {
  1444. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1445. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1446. {
  1447. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1448. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1449. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1450. }
  1451. break;
  1452. }
  1453. }
  1454. tooltip += fileSize + "</b>";
  1455. // PROTOTYPE
  1456. // video thumbnails
  1457. if (href.match('hellshare'))
  1458. {
  1459. var thumbs;
  1460. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1461. if (thumbs)
  1462. {
  1463. tooltip += '<br>';
  1464. var j = Math.min(thumbs.length, 9);
  1465. for (var i = 0; i < j; i++)
  1466. {
  1467. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1468. }
  1469. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1470. }
  1471. }
  1472. if (href.match('czshare'))
  1473. {
  1474. var thumbs;
  1475. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1476. if (thumbs)
  1477. {
  1478. var thumbsServer = thumbs[1];
  1479. var thumbsId = thumbs[2];
  1480. tooltip += '<br>';
  1481. for (var i = 1; i < 9; i++)
  1482. {
  1483. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1484. }
  1485. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1486. }
  1487. }
  1488. if (href.match('bezvadata'))
  1489. {
  1490. var thumbs;
  1491. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1492. if (thumbs)
  1493. {
  1494. tooltip += '<br>';
  1495. var j = Math.min(thumbs.length, 9);
  1496. for (var i = 0; i < j; i++)
  1497. {
  1498. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1499. }
  1500. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1501. }
  1502. }
  1503. link.warlc_tooltipcache = tooltip;
  1504. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1505. {
  1506. warlcTooltip.innerHTML = tooltip;
  1507. }
  1508. }
  1509. });
  1510. }
  1511. }
  1512.  
  1513. function setVariables()
  1514. {
  1515. if (firstRun)
  1516. {
  1517. GM_log('First run, applying default settings...');
  1518. GM_setValue("Icon_set",1);
  1519. GM_setValue("Display_tooltip_info",true);
  1520. GM_setValue("Show_black_background_in_DL_links",false);
  1521. GM_setValue("Show_line_through_in_dead_links",false);
  1522. GM_setValue("Display_full_links_in_link_containers",false);
  1523. GM_setValue("Allow_spaces_in_DL_links",false);
  1524. GM_setValue("Autocheck",true);
  1525. GM_setValue("Enable_Anonymizer",false);
  1526. GM_setValue("Do_not_linkify_DL_links",false);
  1527. GM_setValue("Show_progress_stats",true);
  1528. GM_setValue("Keyboard_functions",true);
  1529. GM_setValue("Obsolete_file_hosts",false);
  1530. GM_setValue("Color_DL_links",true);
  1531. GM_setValue("Live_links_color","Green");
  1532. GM_setValue("Dead_links_color","#FF3300");
  1533. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1534. GM_setValue("Container_links_color","DarkKhaki");
  1535. GM_setValue("Premium_links_color","DeepPink");
  1536. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1537. GM_setValue("Custom_rules",false);
  1538. GM_setValue("Custom_rules_text","");
  1539. GM_setValue("Processbox_Pos_Y", 0);
  1540. GM_setValue("Processbox_Pos_X", 88);
  1541. GM_setValue("Progressbox_Scaling", 100);
  1542. GM_setValue("First_run", false);
  1543. }
  1544. //hidden settings
  1545. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1546. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1547. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1548. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1549. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1550. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1551. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1552. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1553. //hidden settings end
  1554.  
  1555. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1556. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1557. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1558. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1559. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1560. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1561. Autocheck = GM_getValue("Autocheck", true);
  1562. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1563. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1564. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1565. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1566. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1567. Color_DL_links = GM_getValue("Color_DL_links", true);
  1568. Live_links_color = GM_getValue("Live_links_color", "Green");
  1569. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1570. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1571. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1572. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1573. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1574. Custom_rules = GM_getValue("Custom_rules", false);
  1575. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1576. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1577. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1578. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1579. }
  1580.  
  1581.  
  1582. // Delinkifies the links
  1583. // params:
  1584. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1585. // e.g. 'uloz.to/xs68skxl8')
  1586. function delinkifySnapshot(snapshot)
  1587. {
  1588. var n = snapshot.snapshotLength;
  1589.  
  1590. while (n--)
  1591. {
  1592. thisLink = snapshot.snapshotItem(n);
  1593.  
  1594. var spanElm = document.createElement("span");
  1595. spanElm.className = thisLink.className;
  1596. spanElm.innerHTML = thisLink.innerHTML;
  1597.  
  1598. if (Display_tooltip_info)
  1599. {
  1600. spanElm.href = thisLink.href;
  1601. switch (thisLink.className){
  1602. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1603. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1604. case "unava_link": //reserved
  1605. default:
  1606. }
  1607. }
  1608. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1609. }
  1610. }
  1611.  
  1612. function processContainers()
  1613. {
  1614. var redirectorTypes = { "HTTP_302": 0,
  1615. "INNER_LINK": 1,
  1616. "THELOO_KATT_IT": 2,
  1617. "CING_BE": 3,
  1618. "ADF_LY": 4};
  1619. var cMultiloadTotal = 0;
  1620. var cMultiloadProcessed = 0;
  1621.  
  1622. var cMirrorcreatorComTotal = 0;
  1623. var cMirrorcreatorComProcessed = 0;
  1624.  
  1625. var hostRestrictionRegex = "";
  1626. var multiloadComRestriction = "";
  1627. var multiloadComRestrictionRegex;
  1628.  
  1629. //
  1630. //HANDLING REDIRECTORS START
  1631. //
  1632.  
  1633. var redirectors = new Array();
  1634. initRedirectors();
  1635.  
  1636. var redirectorsCount = redirectors.length;
  1637.  
  1638. if (redirectorsCount > 0)
  1639. {
  1640. var allRedirectorsRegex = "";
  1641.  
  1642. //linkify redirector links
  1643. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1644. {
  1645. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1646. }
  1647. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1648. linkify(allRedirectorsRegex);
  1649. //
  1650. //process redirector links
  1651. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1652. {
  1653. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1654. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1655.  
  1656. cLinksTotal += redirectors[redirIdx].cTotal;
  1657. var linkIdx = redirectors[redirIdx].cTotal;
  1658.  
  1659. while(linkIdx--)
  1660. {
  1661. switch(redirectors[redirIdx].type)
  1662. {
  1663. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1664. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1665. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1666. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1667. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1668. default:
  1669. }
  1670. }
  1671. }
  1672. //
  1673. }
  1674.  
  1675. //HTTP_302
  1676. function processRedirectorLink(link, redirectorId)
  1677. {
  1678. link.className = 'container_link';
  1679.  
  1680. GM_xmlhttpRequest({
  1681. method: 'HEAD',
  1682. url: link.href,
  1683. headers: {
  1684. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1685. 'Accept': 'text/xml',
  1686. 'Referer': ""
  1687. },
  1688. onload: function(result) {
  1689. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1690. {
  1691. processRedirectorLink(link, redirectorId);
  1692. }
  1693. else
  1694. {
  1695. redirectors[redirectorId].cProcessed++;
  1696. link.href = result.finalUrl;
  1697. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1698. checkLinks('container_link');
  1699. }
  1700. },
  1701. onerror: function(result) { //probably caused by unresponsive filehosting
  1702. redirectors[redirectorId].cProcessed++;
  1703. link.className = 'unava_link';
  1704. cLinksProcessed++;
  1705. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1706. checkLinks('container_link');
  1707. }
  1708. });
  1709. }
  1710. //INNER_LINK
  1711. function processRedirectorLinkEx(link, redirectorId)
  1712. {
  1713. link.className = 'container_link';
  1714. GM_xmlhttpRequest({
  1715. method: 'GET',
  1716. url: link.href,
  1717. headers: {
  1718. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1719. 'Accept': 'text/xml',
  1720. 'Referer': ""
  1721. },
  1722. onload: function(result) {
  1723. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1724. redirectors[redirectorId].cProcessed++;
  1725. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1726. checkLinks('container_link');
  1727. }
  1728. });
  1729. }
  1730. //theloo.katt.it (wrapped safelinking.net)
  1731. function processThelooKattItLink(link, redirectorId)
  1732. {
  1733. link.className = 'container_link';
  1734. GM_xmlhttpRequest({
  1735. method: 'GET',
  1736. url: link.href,
  1737. headers: {
  1738. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1739. 'Accept': 'text/xml',
  1740. 'Referer': ""
  1741. },
  1742. onload: function(result) {
  1743. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1744. redirectors[redirectorId].cProcessed++;
  1745. //the inner links are safelinking.net links, so lets proceed with it
  1746. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1747. {
  1748. processRedirectorLink(link, 0);
  1749. }
  1750. }
  1751. });
  1752. }
  1753. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1754. function processAdfLyLink(link, redirectorId)
  1755. {
  1756. link.className = 'container_link';
  1757. GM_xmlhttpRequest({
  1758. method: 'GET',
  1759. url: link.href,
  1760. headers: {
  1761. 'User-agent': 'Mozilla/4.0',
  1762. 'Accept': 'text/xml',
  1763. 'Referer': ""
  1764. },
  1765. onload: function(result) {
  1766. if (result.finalUrl.match('/locked/'))
  1767. {
  1768. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1769. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1770. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1771. }
  1772. else
  1773. {
  1774. // GM_log('Processing... ' + link.href);
  1775. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1776. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1777. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1778. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1779. //confirm advert
  1780. GM_xmlhttpRequest(
  1781. {
  1782. method: 'POST',
  1783. url: 'http://adf.ly/l.php',
  1784. headers: {
  1785. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1786. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1787. 'Referer': link.href
  1788. },
  1789. data: users + '&lt=' + logToken,
  1790. onload: function(result) {
  1791. //retrieve final url from .../go/... link
  1792. GM_xmlhttpRequest({
  1793. method: 'GET',
  1794. url: directLink,
  1795. headers: {
  1796. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1797. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1798. 'Referer': link.href
  1799. },
  1800. onload: function(result) {
  1801. link.href = result.finalUrl;
  1802. redirectors[redirectorId].cProcessed++;
  1803. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1804. checkLinks('container_link');
  1805. }
  1806. });
  1807. }
  1808. });
  1809. }
  1810. }
  1811. });
  1812. function proceedOK()
  1813. {
  1814. }
  1815. }
  1816. //MULTILOAD.CZ START
  1817. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1818. {
  1819. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1820. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1821.  
  1822. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1823.  
  1824. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1825. hostRestrictionRegex += 'hellshare|';
  1826. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1827. hostRestrictionRegex += 'downloadhellshare|';
  1828. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1829. hostRestrictionRegex += 'share-rapid\\.com|';
  1830. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1831. hostRestrictionRegex += 'quickshare\\.cz|';
  1832. if (GM_getValue("Check_czshare_dot_com_links", false))
  1833. hostRestrictionRegex += 'czshare\\.com|';
  1834. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1835. hostRestrictionRegex += 'hellspy|';
  1836. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1837. hostRestrictionRegex += 'multishare\\.cz|';
  1838.  
  1839. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1840.  
  1841. linkify(mlRegex);
  1842.  
  1843. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1844. var mlCount = mlSnapshot.snapshotLength;
  1845.  
  1846. if (mlCount > 0)
  1847. {
  1848. cMultiloadTotal += mlCount;
  1849.  
  1850. mlIdx = mlCount - 1;
  1851. do
  1852. {
  1853. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1854. }
  1855. while(mlIdx--)
  1856. }
  1857. }
  1858. //MULTILOAD.CZ END
  1859.  
  1860.  
  1861.  
  1862. function processMultiloadLink(mlLink)
  1863. {
  1864. GM_xmlhttpRequest({
  1865. method: 'GET',
  1866. url: mlLink.href,
  1867. headers: {
  1868. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1869. 'Accept': 'text/xml',
  1870. 'Referer': ""
  1871. },
  1872. onload: function(result) {
  1873. var res = result.responseText;
  1874.  
  1875. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1876. 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;
  1877. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1878. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1879.  
  1880. var blocks; // blocks of links
  1881. var blockIdx;
  1882.  
  1883. mlLink.className = '';
  1884.  
  1885. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1886. {
  1887. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1888. return;
  1889. }
  1890.  
  1891. blocks = res.match(innerBlockRegex);
  1892.  
  1893. if (blocks == null) //no links found, cancel further processing
  1894. {
  1895. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1896. cMultiloadProcessed++;
  1897. if (cMultiloadTotal <= cMultiloadProcessed)
  1898. {
  1899. startBulkCheck('container_link');
  1900. start('container_link');
  1901. }
  1902. return;
  1903. }
  1904.  
  1905. blockIdx = blocks.length;
  1906.  
  1907. if (Display_full_links_in_link_containers)
  1908. {
  1909. var ulElm = document.createElement('ul');
  1910. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1911.  
  1912. while(blockIdx--)
  1913. {
  1914. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1915. {
  1916. continue;
  1917. }
  1918.  
  1919. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1920.  
  1921. var linkIdx = innerLinks.length;
  1922. while (linkIdx--)
  1923. {
  1924. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1925.  
  1926. var liElm = document.createElement('li');
  1927.  
  1928. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1929. {
  1930. liElm.appendChild(document.createTextNode(innerLink));
  1931. }
  1932. else
  1933. {
  1934. var aElm = document.createElement('a');
  1935. aElm.innerHTML = innerLink;
  1936. aElm.href = innerLink;
  1937. aElm.className = 'container_link';
  1938.  
  1939. liElm.appendChild(aElm);
  1940. }
  1941.  
  1942. ulElm.appendChild(liElm);
  1943. cLinksTotal++;
  1944. }
  1945. }
  1946.  
  1947. mlLink.parentNode.appendChild(ulElm);
  1948. }
  1949. else //compact view
  1950. {
  1951. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1952.  
  1953. while(blockIdx--)
  1954. {
  1955. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1956. {
  1957. continue;
  1958. }
  1959.  
  1960. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1961.  
  1962. var linkIdx = innerLinks.length;
  1963. while (linkIdx--)
  1964. {
  1965. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1966.  
  1967. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1968. {
  1969. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1970. }
  1971. else
  1972. {
  1973. var aElm = document.createElement('a');
  1974.  
  1975. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1976.  
  1977. //abbreviate host name
  1978. switch(hostName + ""){
  1979.  
  1980. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1981. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1982. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1983. case 'multishare': aElm.innerHTML = 'MS'; break;
  1984. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1985. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1986. case 'czshare': aElm.innerHTML = 'CS'; break;
  1987. default: aElm.innerHTML = 'xx';
  1988.  
  1989. }
  1990.  
  1991. aElm.href = innerLink;
  1992. aElm.className = 'container_link';
  1993.  
  1994. mlLink.parentNode.appendChild(aElm);
  1995. cLinksTotal++;
  1996. }
  1997. }
  1998.  
  1999. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2000.  
  2001. }
  2002. }
  2003.  
  2004. cMultiloadProcessed++;
  2005. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2006. {
  2007. if (Do_not_linkify_DL_links)
  2008. {
  2009. delinkifySnapshot(mlSnapshot);
  2010. }
  2011. startBulkCheck('container_link');
  2012. start('container_link');
  2013. }
  2014. }
  2015. });
  2016. }
  2017.  
  2018.  
  2019. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2020. {
  2021. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2022. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2023. var mcShortHostNames =
  2024. '?? 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';
  2025. // 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
  2026. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2027. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2028. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2029. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2030.  
  2031. linkify(mcRegex);
  2032.  
  2033. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2034. var mcCount = mcSnapshot.snapshotLength;
  2035.  
  2036. cMirrorcreatorComTotal = mcCount;
  2037.  
  2038. if (mcCount > 0)
  2039. {
  2040. mcShortHostNames = mcShortHostNames.split(' ');
  2041. mcIdx = mcCount;
  2042. while(mcIdx--)
  2043. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2044. }
  2045.  
  2046. }
  2047. //MIRRORCREATOR.CZ END
  2048.  
  2049.  
  2050. //mirrorcreator.com checking works like this:
  2051. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2052. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2053. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2054. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2055. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2056. function processMirrorcreatorLink(mcLink)
  2057. {
  2058. var mcURL = mcLink.href.match(mcRegex);
  2059. if(!mcURL || !mcURL[1]) return;
  2060. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2061. GM_xmlhttpRequest({
  2062. method: 'GET',
  2063. url: mcURL,
  2064. headers: {
  2065. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2066. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2067. 'Referer': ""
  2068. },
  2069. onload: function(mcLinkResult) {
  2070. var mcLinkRes = mcLinkResult.responseText;
  2071.  
  2072. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2073. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2074.  
  2075. var mcRedirectors;
  2076. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2077. var m = mcLinkRes.match(mcLinkBlockRegex);
  2078. if (m)
  2079. mcHostsFound = m.length;
  2080. else
  2081. { //no files inside container
  2082. processMirrorcreatorFoundHosts(mcLink, []);
  2083. return;
  2084. }
  2085.  
  2086. var mcRedirectorURL, idx, timedOut = false;
  2087.  
  2088. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2089. GM_xmlhttpRequest({
  2090. method: 'GET',
  2091. url: mcRedirectorURL,
  2092. headers: {
  2093. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2094. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2095. 'Referer': ""
  2096. },
  2097. onload: function(mcHostResult) {
  2098. if (timedOut) return; //too late, the list is already displayed
  2099. var mcHostRes = mcHostResult.responseText;
  2100. var mcHost = mcHostRes.match(mcHostRegex);
  2101. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2102. if (mcHost && idx!=-1)
  2103. {
  2104. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2105. mcHostsRetrieved++;
  2106. mcHostsToProcess++;
  2107. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2108. {
  2109. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2110. mcHostsToProcess = 0;
  2111. }
  2112. }
  2113. } //end of onload: function
  2114. }); //end of GM_xmlhttpRequest call
  2115. };//end of var gmxhrFunc
  2116.  
  2117. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2118. { //load individual redirector pages
  2119. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2120. mcHostURLs.push(mcRedirectorURL);
  2121. mcRedirectorIDs.push(mcRedirectors[2]);
  2122. gmxhrFunc(mcRedirectorURL);
  2123. } //end of while block
  2124.  
  2125. setTimeout(function(){ //in case the last page fails to load and call the function
  2126. timedOut = true;
  2127. if (mcHostsToProcess)
  2128. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2129. }, 60000);
  2130.  
  2131. } //end of onload function
  2132. }); //end of GM_xmlhttpRequest call
  2133. } //end of function processMirrorcreatorLink
  2134.  
  2135.  
  2136. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2137. {
  2138. var aEl, liEl, docFrag;
  2139. var hostName, mcRedirectorID, trimFilename = false;
  2140. var i = mcHostURLs.length;
  2141. if (i == 0)
  2142. {
  2143. trimFilename = true;
  2144. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2145. }
  2146. else
  2147. {
  2148. if (Display_full_links_in_link_containers)
  2149. { //full view
  2150. var wrapperEl = document.createElement('span');
  2151. wrapperEl.style.display = 'block';
  2152. var ulistEl = document.createElement('ul');
  2153. ulistEl.className = 'container_list';
  2154. while (i--)
  2155. {
  2156. liEl = document.createElement('li');
  2157. aEl = document.createElement('a');
  2158. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2159. aEl.href = mcHostURLs[i];
  2160. aEl.className = 'container_link';
  2161. liEl.appendChild(aEl);
  2162. ulistEl.appendChild(liEl);
  2163. }
  2164. wrapperEl.appendChild(ulistEl);
  2165. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2166. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2167. }
  2168. else
  2169. { //compact view
  2170. trimFilename = true;
  2171. docFrag = document.createDocumentFragment();
  2172. docFrag.appendChild(document.createTextNode(' |'));
  2173. while (i--)
  2174. {
  2175. mcRedirectorID = mcRedirectorIDs[i];
  2176. hostName = mcHostURLs[i];
  2177. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2178. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2179. else
  2180. hostName = mcShortHostNames[mcRedirectorID];
  2181. aEl = document.createElement('a');
  2182. aEl.href = mcHostURLs[i];
  2183. aEl.className = 'container_link';
  2184. aEl.appendChild(document.createTextNode(hostName));
  2185. docFrag.appendChild(aEl);
  2186. docFrag.appendChild(document.createTextNode('|'));
  2187. }
  2188. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2189. } //end of else block
  2190. } //end of else block
  2191. mcLink.className = '';
  2192. if (trimFilename)
  2193. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2194. cMirrorcreatorComProcessed++;
  2195. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2196. {
  2197. if (Do_not_linkify_DL_links)
  2198. delinkifySnapshot(mcSnapshot);
  2199. startBulkCheck('container_link');
  2200. start('container_link');
  2201. }
  2202. } //end of function processMirrorcreatorFoundHosts
  2203.  
  2204. containers_processed = true;
  2205.  
  2206.  
  2207. function initRedirectors()
  2208. {
  2209. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2210. {
  2211. var redirector = new Object();
  2212. redirector.linkRegex = linkRegex;
  2213. redirector.xpath = xpathEx; //xpath expression
  2214. redirector.cProcessed = 0; //processed links count
  2215. redirector.cTotal = 0; //total links count
  2216. redirector.type = redirType; //redirectorTypes enum
  2217. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2218. redirectors.push(redirector);
  2219. }
  2220. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2221. {
  2222. addRedirector(
  2223. 'safelinking\\.net\/d\/\\w+',
  2224. "//a[contains(@href,'safelinking.net/d/')]",
  2225. redirectorTypes.HTTP_302,
  2226. null);
  2227. }
  2228. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2229. {
  2230. addRedirector(
  2231. 'linksafe\\.me\/d\/\\w+',
  2232. "//a[contains(@href,'linksafe.me/d/')]",
  2233. redirectorTypes.HTTP_302,
  2234. null);
  2235. }
  2236. if (GM_getValue("Check_linkto_dot_net_links", false))
  2237. {
  2238. addRedirector(
  2239. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2240. "//a[contains(@href,'linkto.net/?')]",
  2241. redirectorTypes.INNER_LINK,
  2242. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2243. }
  2244. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2245. {
  2246. addRedirector(
  2247. '(?:the)?loo\\.katt\\.it\/\\w+',
  2248. "//a[contains(@href,'loo.katt.it/')]",
  2249. redirectorTypes.THELOO_KATT_IT,
  2250. /Proceed to URL - <a href="(.+?)">/);
  2251. }
  2252. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2253. {
  2254. addRedirector(
  2255. 'madlink\\.sk\/\\w+',
  2256. "//a[contains(@href,'madlink.sk/')]",
  2257. redirectorTypes.INNER_LINK,
  2258. /name="url" value="(.+?)\s*"\/>/);
  2259. }
  2260. if (GM_getValue("Check_adf_dot_ly_links", false))
  2261. {
  2262. addRedirector(
  2263. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2264. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2265. redirectorTypes.ADF_LY,
  2266. null);
  2267. }
  2268. if (GM_getValue("Check_redi_dot_re_links", false))
  2269. {
  2270. addRedirector(
  2271. 'redi\\.re\/\\w+',
  2272. "//a[contains(@href,'redi.re/')]",
  2273. redirectorTypes.HTTP_302,
  2274. null);
  2275. }
  2276. if (GM_getValue("Check_bit_dot_ly_links", false))
  2277. {
  2278. addRedirector(
  2279. 'bit\\.ly\/\\w+',
  2280. "//a[contains(@href,'bit.ly/')]",
  2281. redirectorTypes.HTTP_302,
  2282. null);
  2283. }
  2284. }
  2285.  
  2286. }
  2287.  
  2288. var bulkHosts = new Array();
  2289. var bulkHostNames = new Array();
  2290. function initBulkCheck()
  2291. {
  2292. /////////////////////////////
  2293. // Inits filehost object
  2294. /////////////////////////////
  2295. // params :
  2296. // hostName -- [string] host name (multiple domains separated with coma)
  2297. // linkRegex -- [string] link regex
  2298. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2299. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2300. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2301. // corrReplWhat -- [regex] link correction regex (replace)
  2302. // corrReplWith -- [string]
  2303. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2304. //
  2305. // apiUrl -- [string] web linkchecker or API URL
  2306. // postData -- [string] POSTDATA of xmlhttprequest
  2307. // resLinkRegex -- [regex]
  2308. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2309. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2310. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2311. // func -- [function] bulkcheck handler, genBulkCheck if null
  2312. //
  2313. //////////////////////////////
  2314. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2315. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2316. {
  2317. var fileHost = new Object();
  2318.  
  2319. fileHost.linkRegex = linkRegex;
  2320. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2321. fileHost.xpath = xpath;
  2322. fileHost.cFound = 0; //found links counter
  2323. fileHost.links = new Array(); //found links
  2324. if (blockSize == null)
  2325. {
  2326. fileHost.blockSize = 50;
  2327. }
  2328. else
  2329. {
  2330. fileHost.blockSize = blockSize;
  2331. }
  2332. fileHost.corrMatch = corrMatch;
  2333. fileHost.corrReplWhat = corrReplWhat;
  2334. fileHost.corrReplWith = corrReplWith;
  2335. if (splitSeparator == null)
  2336. {
  2337. fileHost.splitSeparator = "\r\n";
  2338. }
  2339. else
  2340. {
  2341. fileHost.splitSeparator = splitSeparator;
  2342. }
  2343. fileHost.apiUrl = apiUrl;
  2344. fileHost.postData = postData;
  2345. fileHost.resLinkRegex = resLinkRegex;
  2346. fileHost.resLiveRegex = resLiveRegex;
  2347. fileHost.resDeadRegex = resDeadRegex;
  2348. fileHost.resUnavaRegex = resUnavaRegex;
  2349. if (func == null)
  2350. {
  2351. fileHost.func = genBulkCheck;
  2352. }
  2353. else
  2354. {
  2355. fileHost.func = func;
  2356. }
  2357. bulkHosts.push(fileHost);
  2358. var names = hostName.split(',');
  2359. var i = names.length;
  2360. while(i--)
  2361. {
  2362. bulkHostNames[names[i]] = fileHost;
  2363. }
  2364. }
  2365. var genType1 = [
  2366. "rodfile.com", "downloadani.me", //"migahost.com",
  2367. "rarefile.net",
  2368. "filesabc.com",
  2369. // "verzend.be",
  2370. // "movreel.com",
  2371. "file4safe.com", "filemac.com",
  2372. "longfiles.com",
  2373. "bitupload.com", //"4up.me",
  2374. //"uploadbaz.com"
  2375. ];
  2376. var genType2 = [ "queenshare.com",
  2377. "hulkload.com",
  2378. "amonshare.com", //"edoc.com",
  2379. ];
  2380. //xfilesharing 1.0
  2381. function addGenericType1()
  2382. {
  2383. var i = genType1.length;
  2384. while(i--)
  2385. {
  2386. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2387. {
  2388. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2389. addHost(
  2390. genType1[i].match(/[\w-]+/)[0], //hostname
  2391. regexSafe + "\/\\w+", //linkregex
  2392. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2393. null, //blocksize
  2394. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2395. null, //corrreplwhat
  2396. null, //corrreplwith
  2397. null, //separator
  2398. "http://" + genType1[i] + "/checkfiles.html", //api url
  2399. "op=checkfiles&process=Check+URLs&list=", //postdata
  2400. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2401. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2402. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2403. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2404. null //function delegate
  2405. )
  2406. }
  2407. }
  2408. }
  2409. //xfilesharing 2.0
  2410. function addGenericType2()
  2411. {
  2412. var i = genType2.length;
  2413. while(i--)
  2414. {
  2415. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2416. {
  2417. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2418. addHost(
  2419. genType2[i].match(/[\w-]+/)[0], //hostname
  2420. regexSafe + "\/\\w+", //linkregex
  2421. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2422. null, //blocksize
  2423. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2424. null, //corrreplwhat
  2425. null, //corrreplwith
  2426. null, //separator
  2427. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2428. "op=checkfiles&process=Check+URLs&list=", //postdata
  2429. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2430. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2431. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2432. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2433. null //function delegate
  2434. )
  2435. }
  2436. }
  2437. }
  2438. // TEMPLATE
  2439. // if (GM_getValue("Check__dot_com_links", false))
  2440. // {
  2441. // addHost(
  2442. // "", //hostname
  2443. // "", //linkregex
  2444. // "//a[contains(@href,'.com/')]", //xpath
  2445. // null, //blocksize
  2446. // null, //corrmatch
  2447. // null, //corrreplwhat
  2448. // null, //corrreplwith
  2449. // null, //separator
  2450. // "", //api url
  2451. // "", //postdata
  2452. // /()/, //linkregex
  2453. // //liveregex
  2454. // //deadregex
  2455. // //unavaregex
  2456. // null //function delegate
  2457. // )
  2458. // }
  2459. addGenericType1();
  2460. addGenericType2();
  2461.  
  2462. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2463. {
  2464. addHost(
  2465. "myvdrive,fileserving", //hostname
  2466. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2467. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2468. null, //blocksize
  2469. null, //corrmatch
  2470. null, //corrreplwhat
  2471. null, //corrreplwith
  2472. null, //separator
  2473. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2474. "links=", //postdata
  2475. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2476. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2477. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2478. null, //unavaregex
  2479. null //function delegate
  2480. )
  2481. }
  2482. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2483. {
  2484. addHost(
  2485. "hackerbox", //hostname
  2486. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2487. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2488. null, //blocksize
  2489. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2490. null, //corrreplwhat
  2491. null, //corrreplwith
  2492. null, //separator
  2493. "http://host.hackerbox.org/checkfiles.html", //api url
  2494. "op=checkfiles&process=Check+URLs&list=", //postdata
  2495. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2496. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2497. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2498. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2499. null //function delegate
  2500. )
  2501. }
  2502. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2503. {
  2504. addHost(
  2505. "hellshare", //hostname
  2506. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2507. "//a[contains(@href,'hellshare.')]", //xpath
  2508. 48, //blocksize
  2509. null, //corrmatch
  2510. null, //corrreplwhat
  2511. null, //corrreplwith
  2512. null, //separator
  2513. null, //api url
  2514. null, //postdata
  2515. null, //linkregex
  2516. null, //liveregex
  2517. null, //deadregex
  2518. null, //unavaregex
  2519. hellshareBulkCheck //function delegate
  2520. )
  2521. }
  2522. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2523. {
  2524. addHost(
  2525. "uploadrocket", //hostname
  2526. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2527. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2528. null, //blocksize
  2529. null, //corrmatch
  2530. null, //corrreplwhat
  2531. null, //corrreplwith
  2532. "\n", //separator
  2533. 'http://uploadrocket.net/?op=checkfiles',
  2534. 'op=checkfiles&process=Check+URLs&list=',
  2535. /uploadrocket.net\/(\w+)/,
  2536. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2537. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2538. null,
  2539. null //function delegate
  2540. )
  2541. }
  2542. if (GM_getValue("Check_uploading_dot_site_links", false))
  2543. {
  2544. addHost(
  2545. "uploading", //hostname
  2546. "(?:uploading\\.site)\/\\w+", //linkregex
  2547. "//a[contains(@href,'uploading.site/')]", //xpath
  2548. null, //blocksize
  2549. null, //corrmatch
  2550. null, //corrreplwhat
  2551. null, //corrreplwith
  2552. "\n", //separator
  2553. 'http://uploading.site/?op=checkfiles',
  2554. 'op=checkfiles&process=Check+URLs&list=',
  2555. /uploading.site\/(\w+)/,
  2556. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2557. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2558. null,
  2559. null //function delegate
  2560. )
  2561. }
  2562. if (GM_getValue("Check_1f_dot_al_links", false))
  2563. {
  2564. addHost(
  2565. "1f",
  2566. "(?:1f\\.al)\/d\/\\w+",
  2567. "//a[contains(@href,'1f.al/d/')]",
  2568. 100000, //blocksize
  2569. null, //corrmatch
  2570. null, //corrreplwhat
  2571. null, //corrreplwith
  2572. null, //separator
  2573. null,
  2574. null,
  2575. null,
  2576. null,
  2577. null,
  2578. null,
  2579. _1falBulkCheck //function delegate
  2580. )
  2581. }
  2582. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2583. {
  2584. addHost(
  2585. "k2s,keep2s,keep2share",
  2586. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2587. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2588. 100000, //blocksize
  2589. null, //corrmatch
  2590. null, //corrreplwhat
  2591. null, //corrreplwith
  2592. null, //separator
  2593. null,
  2594. null,
  2595. null,
  2596. null,
  2597. null,
  2598. null,
  2599. k2sBulkCheck //function delegate
  2600. )
  2601. }
  2602. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2603. {
  2604. addHost(
  2605. "tezfiles",
  2606. "(?:tezfiles\\.com)\/\\w+",
  2607. "//a[contains(@href,'tezfiles.com')]",
  2608. 100000, //blocksize
  2609. null, //corrmatch
  2610. null, //corrreplwhat
  2611. null, //corrreplwith
  2612. null, //separator
  2613. null,
  2614. null,
  2615. null,
  2616. null,
  2617. null,
  2618. null,
  2619. k2sBulkCheck //function delegate
  2620. )
  2621. }
  2622. if (GM_getValue("Check_fboom_dot_me_links", false))
  2623. {
  2624. addHost(
  2625. "fboom,fileboom",
  2626. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2627. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2628. 100000, //blocksize
  2629. null, //corrmatch
  2630. null, //corrreplwhat
  2631. null, //corrreplwith
  2632. null, //separator
  2633. null,
  2634. null,
  2635. null,
  2636. null,
  2637. null,
  2638. null,
  2639. fboomBulkCheck //function delegate
  2640. )
  2641. }
  2642. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2643. {
  2644. addHost(
  2645. "1fichier,dl4free",
  2646. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2647. "//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/?')]",
  2648. 100000, //blocksize
  2649. null, //corrmatch
  2650. null, //corrreplwhat
  2651. null, //corrreplwith
  2652. null, //separator
  2653. null,
  2654. null,
  2655. null,
  2656. null,
  2657. null,
  2658. null,
  2659. dl4free_1fichier_BulkCheck //function delegate
  2660. )
  2661. }
  2662. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2663. {
  2664. addHost(
  2665. "nitroflare",
  2666. "nitroflare\\.com\/\\w+",
  2667. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2668. 100000, //blocksize
  2669. null, //corrmatch
  2670. null, //corrreplwhat
  2671. null, //corrreplwith
  2672. null, //separator
  2673. null,
  2674. null,
  2675. null,
  2676. null,
  2677. null,
  2678. null,
  2679. nitroflareBulkCheck //function delegate
  2680. )
  2681. }
  2682. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2683. {
  2684. addHost(
  2685. "depositfiles,dfiles",
  2686. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2687. "//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/')]",
  2688. 100000, //blocksize
  2689. null, //corrmatch
  2690. null, //corrreplwhat
  2691. null, //corrreplwith
  2692. null, //separator
  2693. null,
  2694. null,
  2695. null,
  2696. null,
  2697. null,
  2698. null,
  2699. depositfilesBulkCheck //function delegate
  2700. )
  2701. }
  2702. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2703. {
  2704. addHost(
  2705. "filesflash", //hostname
  2706. "filesflash\\.com\/\\w+", //linkregex
  2707. "//a[contains(@href,'filesflash.com')]", //xpath
  2708. null, //blocksize
  2709. null, //corrmatch
  2710. /http:\/\//, //corrreplwhat
  2711. '', //corrreplwith
  2712. null, //separator
  2713. 'http://filesflash.com/checklinks.php',
  2714. 'submit=Go&links=',
  2715. /filesflash\.com\/(\w+)/,
  2716. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2717. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2718. null,
  2719. null //function delegate
  2720. )
  2721. }
  2722. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2723. {
  2724. addHost(
  2725. "jumbofiles", //hostname
  2726. "jumbofiles\\.com\/\\w+", //linkregex
  2727. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2728. null, //blocksize
  2729. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2730. null, //corrreplwhat
  2731. null, //corrreplwith
  2732. null, //separator
  2733. "http://jumbofiles.com/checkfiles.html", //api url
  2734. "op=checkfiles&process=Check+URLs&list=", //postdata
  2735. /(jumbofiles\.com\/\w+)/, //linkregex
  2736. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2737. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2738. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2739. null //function delegate
  2740. )
  2741. }*/
  2742. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2743. {
  2744. addHost(
  2745. "edisk", //hostname
  2746. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2747. "//a[contains(@href,'edisk.')]", //xpath
  2748. null, //blocksize
  2749. null, //corrmatch
  2750. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2751. 'edisk.cz/stahni', //corrreplwith
  2752. null, //separator
  2753. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2754. 'submitBtn=Zkontrolovat&checkFiles=',
  2755. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2756. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2757. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2758. null,
  2759. null //function delegate
  2760. )
  2761. }
  2762. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2763. {
  2764. GM_xmlhttpRequest( //age check skip
  2765. {
  2766. method: 'POST',
  2767. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2768. headers: {
  2769. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2770. 'Content-type': 'application/x-www-form-urlencoded',
  2771. 'Referer': ""
  2772. }
  2773. });
  2774. addHost(
  2775. "bezvadata", //hostname
  2776. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2777. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2778. null, //blocksize
  2779. null, //corrmatch
  2780. null, //corrreplwhat
  2781. null, //corrreplwith
  2782. null, //separator
  2783. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2784. 'zkontrolovat=Zkontrolovat&odkazy=',
  2785. /(bezvadata\.cz\/stahnout\/\d+)/,
  2786. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2787. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2788. null,
  2789. null //function delegate
  2790. )
  2791. }
  2792. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2793. {
  2794. addHost(
  2795. "linkcrypt", //hostname
  2796. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2797. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2798. 100000, //blocksize
  2799. null, //corrmatch
  2800. null, //corrreplwhat
  2801. null, //corrreplwith
  2802. null, //separator
  2803. null,
  2804. null,
  2805. null,
  2806. null,
  2807. null,
  2808. null,
  2809. linkcryptBulkCheck //function delegate
  2810. )
  2811. }
  2812. if (GM_getValue("Check_videobb_dot_com_links", false))
  2813. {
  2814. addHost(
  2815. "videobb", //hostname
  2816. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2817. "//a[contains(@href,'videobb.com')]", //xpath
  2818. null, //blocksize
  2819. null, //corrmatch
  2820. /watch_video\.php\?v=/, //corrreplwhat
  2821. 'video/', //corrreplwith
  2822. null, //separator
  2823. 'http://www.videobb.com/link_checker.php',
  2824. 'links=',
  2825. /videobb\.com\/video\/(\w+)/,
  2826. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2827. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2828. null,
  2829. null //function delegate
  2830. )
  2831. }
  2832. if (GM_getValue("Check_filerio_dot_com_links", false))
  2833. {
  2834. addHost(
  2835. "filekeen,filerio", //hostname
  2836. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2837. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2838. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2839. null, //blocksize
  2840. null, //corrmatch
  2841. null, //corrreplwhat
  2842. null, //corrreplwith
  2843. null, //separator
  2844. 'http://filerio.in/checkfiles.html',
  2845. 'op=checkfiles&process=Check+URLs&list=',
  2846. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2847. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2848. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2849. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2850. null //function delegate
  2851. )
  2852. }
  2853. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2854. {
  2855. addHost(
  2856. "share-online,egoshare", //hostname
  2857. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2858. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2859. null, //blocksize
  2860. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2861. null, //corrreplwhat
  2862. null, //corrreplwith
  2863. "\n", //separator
  2864. 'http://api.share-online.biz/linkcheck.php',
  2865. 'links=',
  2866. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2867. /\w+;OK/g,
  2868. /\w+;(?:NOTFOUND|DELETED)/g,
  2869. null,
  2870. null //function delegate
  2871. )
  2872. }
  2873. if (GM_getValue("Check_oboom_dot_com_links", false))
  2874. {
  2875. addHost(
  2876. "oboom", //hostname
  2877. "oboom\\.com\/#?\\w{8}", //linkregex
  2878. "//a[contains(@href,'oboom.com/')]", //xpath
  2879. null, //blocksize
  2880. /oboom\.com\/#?(\w{8})/, //corrmatch
  2881. null, //corrreplwhat
  2882. null, //corrreplwith
  2883. null, //separator
  2884. null,
  2885. null,
  2886. null,
  2887. null, //liveregex
  2888. null, //deadregex
  2889. null,
  2890. oboomBulk //function delegate
  2891. )
  2892. }
  2893. if (GM_getValue("Check_mega_dot_nz_links", false))
  2894. {
  2895. addHost(
  2896. "mega",
  2897. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2898. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2899. 100000, //blocksize
  2900. null, //corrmatch
  2901. null, //corrreplwhat
  2902. null, //corrreplwith
  2903. null, //separator
  2904. null,
  2905. null,
  2906. null,
  2907. null,
  2908. null,
  2909. null,
  2910. megaBulkCheck //function delegate
  2911. )
  2912. }
  2913.  
  2914. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2915.  
  2916. if (GM_getValue("Check_extabit_dot_com_links", false))
  2917. {
  2918. addHost(
  2919. "extabit", //hostname
  2920. "extabit\\.com\/file\/\\w+", //linkregex
  2921. "//a[contains(@href,'extabit.com')]", //xpath
  2922. null, //blocksize
  2923. null, //corrmatch
  2924. null, //corrreplwhat
  2925. null, //corrreplwith
  2926. "\n", //separator
  2927. "http://extabit.com/linkchecker.jsp", //api url
  2928. "url=", //postdata
  2929. /extabit\.com\/(file\/\w+)/, //linkregex
  2930. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2931. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2932. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2933. extabitBulkCheck //function delegate
  2934. )
  2935. }
  2936. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2937. {
  2938. addHost(
  2939. "junocloud", //hostname
  2940. "junocloud\\.me\/\\w+", //linkregex
  2941. "//a[contains(@href,'junocloud.me')]", //xpath
  2942. null, //blocksize
  2943. null, //corrmatch
  2944. null, //corrreplwhat
  2945. null, //corrreplwith
  2946. "\n", //separator
  2947. "http://junocloud.me/checkfiles.html", //api url
  2948. "op=checkfiles&process=Check+URLs&list=", //postdata
  2949. /(junocloud\.me\/\w+)/, //linkregex
  2950. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2951. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2952. null, //unavaregex
  2953. null //function delegate
  2954. )
  2955. } */
  2956. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2957. {
  2958. addHost(
  2959. "webshare", //hostname
  2960. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2961. "//a[contains(@href,'webshare.cz')]", //xpath
  2962. 100000, //blocksize
  2963. null, //corrmatch
  2964. null, //corrreplwhat
  2965. null, //corrreplwith
  2966. null, //separator
  2967. null, //api url
  2968. null, //postdata
  2969. null, //linkregex
  2970. null, //liveregex
  2971. null, //deadregex
  2972. null, //unavaregex
  2973. webshareBulkCheck //function delegate
  2974. )
  2975. }
  2976. /////////////////////////////
  2977. // Common function delegate to send links to get checked by host linkchecker
  2978. /////////////////////////////
  2979. // If you define a new delegate, you may use following properties
  2980. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2981. // this.apiUrl [string] API or web linkchecker URL
  2982. // this.postData [string] POSTDATA for POST request
  2983. // this.resLiveRegex [regex] matches live substrings in the request response
  2984. // this.resDeadRegex [regex] matches dead substrings in the request response
  2985. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2986. //
  2987. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2988. //
  2989. // See the code below for standard bulkcheck handling reference.
  2990. //////////////////////////////
  2991. function genBulkCheck()
  2992. {
  2993. var blockIdx = this.links.length;
  2994. while (blockIdx--)
  2995. {
  2996. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2997. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2998. }
  2999. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3000. {
  3001. GM_xmlhttpRequest(
  3002. {
  3003. method: 'POST',
  3004. url: api,
  3005. headers: {
  3006. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3007. 'Content-type': 'application/x-www-form-urlencoded',
  3008. 'Referer': api,
  3009. 'X-Requested-With': 'XMLHttpRequest'
  3010. },
  3011. data: postData + encodeURIComponent(links),
  3012. onload: function (result)
  3013. {
  3014. var res = result.responseText;
  3015. // GM_log(res);
  3016. var i;
  3017.  
  3018. var livelinks = res.match(liveRegex);
  3019. var deadlinks = res.match(deadRegex);
  3020. // GM_log(livelinks);
  3021. // GM_log(deadlinks);
  3022. if (livelinks != null)
  3023. {
  3024. i = livelinks.length - 1;
  3025. do
  3026. {
  3027. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3028. }
  3029. while (i--);
  3030. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3031. }
  3032.  
  3033. if (deadlinks != null)
  3034. {
  3035. i = deadlinks.length - 1;
  3036. do
  3037. {
  3038. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3039. }
  3040. while (i--);
  3041. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3042. }
  3043.  
  3044. if (unavaRegex != null)
  3045. {
  3046. var unavalinks = res.match(unavaRegex);
  3047. if (unavalinks)
  3048. {
  3049. i = unavalinks.length - 1;
  3050. do
  3051. {
  3052. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3053. }
  3054. while (i--);
  3055. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3056. }
  3057. }
  3058. }
  3059. });
  3060. }
  3061. }
  3062. //specialized bulkchecking handlers follow
  3063. function webshareBulkCheck()
  3064. {
  3065. var arr = this.links[0].split("\r\n");
  3066. var i = arr.length;
  3067. while(i--)
  3068. {
  3069. postRequest(arr[i]);
  3070. }
  3071. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3072. function postRequest(wsLink)
  3073. {
  3074. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3075. GM_xmlhttpRequest(
  3076. {
  3077. method: 'POST',
  3078. url: "http://webshare.cz/api/file_info/",
  3079. headers: {
  3080. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3081. 'Content-type': 'application/x-www-form-urlencoded',
  3082. 'Referer': "",
  3083. },
  3084. data: "wst=&ident=" + id,
  3085. onload: function (result)
  3086. {
  3087. var res = result.responseText;
  3088. if (res.match(/<name>.+?<\/name>/))
  3089. {
  3090. DisplayTheCheckedLinks([id], 'alive_link');
  3091. }
  3092. else
  3093. {
  3094. DisplayTheCheckedLinks([id], 'adead_link');
  3095. }
  3096. }
  3097. });
  3098. }
  3099. }
  3100. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3101. //extabit also doesn't like requests in fast succession, so some delays are added.
  3102. function extabitBulkCheck()
  3103. {
  3104. var timeoutDelay = 0;
  3105. var blockIdx = this.links.length;
  3106. while (blockIdx--)
  3107. {
  3108. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3109. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3110. }
  3111. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3112. {
  3113. GM_xmlhttpRequest(
  3114. {
  3115. method: 'POST',
  3116. url: api,
  3117. headers: {
  3118. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3119. 'Content-type': 'application/x-www-form-urlencoded',
  3120. 'Referer': api,
  3121. 'X-Requested-With': 'XMLHttpRequest'
  3122. },
  3123. data: postData + encodeURIComponent(links),
  3124. onload: function (result)
  3125. {
  3126. var res = result.responseText;
  3127. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3128. {
  3129. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3130. {
  3131. //GM_log(tryID + ': ' + link);
  3132. GM_xmlhttpRequest(
  3133. {
  3134. method: 'GET',
  3135. url: link,
  3136. 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': ""},
  3137. onload: function(result2)
  3138. {
  3139. var res2 = result2.responseText;
  3140. var res2Status = result.status;
  3141. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3142. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3143. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3144. {
  3145. if (tryID < 7)
  3146. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3147. else
  3148. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3149. }
  3150. }
  3151. });
  3152. }
  3153. //split the hrefs and check them one by one
  3154. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3155. links = links.split('\n');
  3156. var i = links.length;
  3157. while (i--)
  3158. {
  3159. if (links[i])
  3160. {
  3161. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3162. timeoutDelay += 500;
  3163. }
  3164. }
  3165. return;
  3166. }
  3167. var i;
  3168.  
  3169. var livelinks = res.match(liveRegex);
  3170. var deadlinks = res.match(deadRegex);
  3171. if (livelinks != null)
  3172. {
  3173. i = livelinks.length - 1;
  3174. do
  3175. {
  3176. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3177. }
  3178. while (i--);
  3179. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3180. }
  3181.  
  3182. if (deadlinks != null)
  3183. {
  3184. i = deadlinks.length - 1;
  3185. do
  3186. {
  3187. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3188. }
  3189. while (i--);
  3190. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3191. }
  3192.  
  3193. if (unavaRegex != null)
  3194. {
  3195. var unavalinks = res.match(unavaRegex);
  3196. if (unavalinks)
  3197. {
  3198. i = unavalinks.length - 1;
  3199. do
  3200. {
  3201. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3202. }
  3203. while (i--);
  3204. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3205. }
  3206. }
  3207. }
  3208. });
  3209. }
  3210. }
  3211. function _1falBulkCheck()
  3212. {
  3213. var arr = this.links[0].split("\r\n");
  3214. var i = arr.length;
  3215. c=0;
  3216. arrIDs=[];
  3217. while(i--)
  3218. {
  3219. id = arr[i].match(/\/d\/(\w+)/)[1];
  3220.  
  3221. _1falalreadyexist=false;
  3222. for (j=0;j<arrIDs.length;j++)
  3223. {
  3224. if (arrIDs[j]==id)
  3225. {
  3226. _1falalreadyexist=g
  3227. break;
  3228. }
  3229. }
  3230. if (_1falalreadyexist) continue;
  3231. arrIDs.push(id);
  3232. c++;
  3233. setTimeout(_1falRequest,c*500,arr[i]);
  3234. }
  3235. }
  3236. function _1falRequest(_1falLink)
  3237. {
  3238. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3239. GM_xmlhttpRequest(
  3240. {
  3241. method: 'GET',
  3242. url: _1falLink,
  3243. headers: {
  3244. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3245. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3246. 'Referer': 'http://www.planetsuzy.org/'
  3247. },
  3248. onload: function (result)
  3249. {
  3250. var res = result.responseText;
  3251. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3252. if (FAarr!=null)
  3253. {
  3254. FALink=FAarr[1];
  3255. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3256. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3257. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3258. GM_xmlhttpRequest(
  3259. {
  3260. method: 'POST',
  3261. url: FALink,
  3262. headers: {
  3263. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3264. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3265. 'Content-Type': 'application/x-www-form-urlencoded',
  3266. 'Referer': _1falLink
  3267. },
  3268. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3269. onload: function (_2ndresult)
  3270. {
  3271. var newres = _2ndresult.responseText;
  3272. FAalivelink=new RegExp("method_free");
  3273. if (FAalivelink.test(newres))
  3274. {
  3275. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3276. return;
  3277. }
  3278. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3279. if (FAdeadlink.test(newres))
  3280. {
  3281. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3282. return;
  3283. }
  3284. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3285. return;
  3286. }
  3287. });
  3288. return;
  3289. }
  3290. else
  3291. {
  3292. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3293. return;
  3294. }
  3295. },
  3296. onerror: function ()
  3297. {
  3298. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3299. return;
  3300. }
  3301. });
  3302. }
  3303. function k2sBulkCheck()
  3304. {
  3305. var arr = this.links[0].split("\r\n");
  3306. var i = arr.length;
  3307. c=0;
  3308. arrIDs=[];
  3309. while(i--)
  3310. {
  3311. id = arr[i].match(/\/file\/(\w+)/)[1];
  3312. if (id=='info')
  3313. {
  3314. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3315. continue;
  3316. }
  3317. k2salreadyexist=false;
  3318. for (j=0;j<arrIDs.length;j++)
  3319. {
  3320. if (arrIDs[j]==id)
  3321. {
  3322. k2salreadyexist=g
  3323. break;
  3324. }
  3325. }
  3326. if (k2salreadyexist) continue;
  3327. arrIDs.push(id);
  3328. c++;
  3329. setTimeout(k2sRequest,c*500,arr[i]);
  3330. }
  3331. }
  3332. function k2sRequest(K2SLink)
  3333. {
  3334. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3335. GM_xmlhttpRequest(
  3336. {
  3337. method: 'GET',
  3338. url: K2SLink,
  3339. headers: {
  3340. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3341. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3342. 'Referer': ''
  3343. },
  3344. onload: function (result)
  3345. {
  3346. var res = result.responseText;
  3347. K2Dom='k2s.cc';
  3348. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3349. K2SLink2='http://'+K2Dom+'/file/'+id;
  3350.  
  3351. 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'))
  3352. {
  3353. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3354. return;
  3355. }
  3356. if (res.match('method="post">Displaying'))
  3357. {
  3358. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3359. return;
  3360. }
  3361. if (res.match('Premium only|only for premium members'))
  3362. {
  3363. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3364. return;
  3365. }
  3366. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3367. {
  3368. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3369. slID=slow_id.exec(res)[1];
  3370. GM_xmlhttpRequest(
  3371. {
  3372. method: 'POST',
  3373. url: K2SLink2,
  3374. headers: {
  3375. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3376. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3377. 'Content-Type': 'application/x-www-form-urlencoded',
  3378. 'Referer': K2SLink
  3379. },
  3380. data: 'slow_id='+slID+'&yt0=',
  3381. onload: function (result)
  3382. {
  3383. var newres = result.responseText;
  3384. newoversizedtest=new RegExp("Free user can't download large files.");
  3385. if (newoversizedtest.test(newres))
  3386. {
  3387. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3388. return;
  3389. }
  3390. else
  3391. {
  3392. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3393. return;
  3394. }
  3395. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3396. return;
  3397. }
  3398. });
  3399. /////////////////////end additional check for oversized links
  3400. return;
  3401. }
  3402. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3403. return;
  3404. },
  3405. onerror: function ()
  3406. {
  3407. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3408. return;
  3409. }
  3410. });
  3411. }
  3412. function fboomBulkCheck()
  3413. {
  3414. var arr = this.links[0].split("\r\n");
  3415. var i = arr.length;
  3416. c=0;
  3417. arrIDs=[];
  3418. while(i--)
  3419. {
  3420. id = arr[i].match(/\/file\/(\w+)/)[1];
  3421. if (id=='info')
  3422. {
  3423. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3424. continue;
  3425. }
  3426. fbalreadyexist=false;
  3427. for (j=0;j<arrIDs.length;j++)
  3428. {
  3429. if (arrIDs[j]==id)
  3430. {
  3431. fbalreadyexist=true;
  3432. break;
  3433. }
  3434. }
  3435. if (fbalreadyexist) continue;
  3436. arrIDs.push(id);
  3437. c++;
  3438. setTimeout(fboomRequest,c*500,arr[i]);
  3439. }
  3440. }
  3441. function fboomRequest(FBoomLink)
  3442. {
  3443. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3444. FBoomLink2='http://fboom.me/file/'+id;
  3445. GM_xmlhttpRequest(
  3446. {
  3447. method: 'GET',
  3448. url: FBoomLink,
  3449. headers: {
  3450. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3451. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3452. 'Referer': ''
  3453. },
  3454. onload: function (result)
  3455. {
  3456. var res = result.responseText;
  3457. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3458. {
  3459. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3460. return;
  3461. }
  3462. if (res.match('method="post">Displaying'))
  3463. {
  3464. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3465. return;
  3466. }
  3467. if (res.match('only for premium members'))
  3468. {
  3469. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3470. return;
  3471. }
  3472. if (res.match('id="download-free" href="#"'))
  3473. {
  3474. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3475. slID=slow_id.exec(res)[1];
  3476. GM_xmlhttpRequest(
  3477. {
  3478. method: 'POST',
  3479. url: FBoomLink2,
  3480. headers: {
  3481. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3482. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3483. 'Content-Type': 'application/x-www-form-urlencoded',
  3484. 'Referer': FBoomLink
  3485. },
  3486. data: 'slow_id='+slID,
  3487. onload: function (result)
  3488. {
  3489. var newres = result.responseText;
  3490. newoversizedtest=new RegExp("Downloading is not possible");
  3491. if (newoversizedtest.test(newres))
  3492. {
  3493. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3494. return;
  3495. }
  3496. else
  3497. {
  3498. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3499. return;
  3500. }
  3501. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3502. return;
  3503. }
  3504. });
  3505. /////////////////////end additional check for oversized links
  3506. return;
  3507. }
  3508. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3509. return;
  3510. },
  3511. onerror: function ()
  3512. {
  3513. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3514. return;
  3515. }
  3516. });
  3517. }
  3518. function dl4free_1fichier_BulkCheck()
  3519. {
  3520. var arr = this.links[0].split("\r\n");
  3521. var i = arr.length;
  3522. while(i--)
  3523. {
  3524. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3525. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3526. gethead_dl4free_1fichier(arr[i]);
  3527. }
  3528. }
  3529. function gethead_dl4free_1fichier(link)
  3530. {
  3531. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3532. GM_xmlhttpRequest(
  3533. {
  3534. method: 'HEAD',
  3535. url: link,
  3536. headers: {
  3537. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3538. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3539. 'Referer': ''
  3540. },
  3541. onload: function (result)
  3542. {
  3543. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3544. {
  3545. DisplayTheCheckedLinks([id], 'alive_link');
  3546. return;
  3547. }
  3548. else
  3549. {
  3550. getlink_dl4free_1fichier(link);
  3551. }
  3552. return;
  3553. },
  3554. onerror: function ()
  3555. {
  3556. DisplayTheCheckedLinks([id], 'unava_link');
  3557. }
  3558. });
  3559. }
  3560. function getlink_dl4free_1fichier(link)
  3561. {
  3562. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3563. GM_xmlhttpRequest(
  3564. {
  3565. method: 'GET',
  3566. url: link,
  3567. headers: {
  3568. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3569. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3570. 'Referer': ''
  3571. },
  3572. onload: function (result)
  3573. {
  3574. var res = result.responseText;
  3575. 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');
  3576. if (deadRegex.test(res))
  3577. {
  3578. DisplayTheCheckedLinks([id], 'adead_link');
  3579. return;
  3580. }
  3581. premiumRegex=new RegExp('only for premium users');
  3582. if (premiumRegex.test(res))
  3583. {
  3584. DisplayTheCheckedLinks([id], 'prem_link');
  3585. return;
  3586. }
  3587. 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="');
  3588. if (liveRegex.test(res))
  3589. {
  3590. DisplayTheCheckedLinks([id], 'alive_link');
  3591. return;
  3592. }
  3593. DisplayTheCheckedLinks([id], 'unava_link');
  3594. },
  3595. onerror: function ()
  3596. {
  3597. DisplayTheCheckedLinks([id], 'unava_link');
  3598. }
  3599. });
  3600. }
  3601. function nitroflareBulkCheck()
  3602. {
  3603. var arr = this.links[0].split("\r\n");
  3604. var i = arr.length;
  3605. while(i--)
  3606. {
  3607. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3608. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3609. NitroFlareRequest(arr[i]);
  3610. }
  3611. }
  3612. function NitroFlareRequest(NFLink)
  3613. {
  3614. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3615. GM_xmlhttpRequest(
  3616. {
  3617. method: "GET",
  3618. url: NFLink,
  3619. headers: {
  3620. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3621. 'Content-Type': 'application/x-www-form-urlencoded',
  3622. 'Referer': ""
  3623. },
  3624. onload: function (result)
  3625. {
  3626. var res = result.responseText;
  3627. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3628. {
  3629. DisplayTheCheckedLinks([NFID], 'adead_link');
  3630. return;
  3631. }
  3632. if (res.match('Report this file<\/a>'))
  3633. {
  3634. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3635. sizearr=measureRegex.exec(res);
  3636. if (sizearr[2]=='GB')
  3637. {
  3638. if (parseFloat(sizearr[1])>1)
  3639. {
  3640. DisplayTheCheckedLinks([NFID], 'prem_link');
  3641. }
  3642. else
  3643. {
  3644. DisplayTheCheckedLinks([NFID], 'alive_link');
  3645. }
  3646. }
  3647. else
  3648. {
  3649. DisplayTheCheckedLinks([NFID], 'alive_link');
  3650. }
  3651. return;
  3652. }
  3653. DisplayTheCheckedLinks([NFID], 'unava_link');
  3654. }
  3655. });
  3656. }
  3657. function depositfilesBulkCheck()
  3658. {
  3659. var arr = this.links[0].split("\r\n");
  3660. var i = arr.length;
  3661. var seqno = Math.floor(Math.random()*1000000000);
  3662. while(i--)
  3663. {
  3664. DFpostRequest(arr[i]);
  3665. }
  3666. }
  3667. function DFpostRequest(DFLink)
  3668. {
  3669. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3670. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3671. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3672. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3673. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3674. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3675. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3676. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3677. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3678. GM_xmlhttpRequest(
  3679. {
  3680. method: "GET",
  3681. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3682. headers: {
  3683. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3684. 'Content-Type': 'application/x-www-form-urlencoded',
  3685. 'Referer': ""
  3686. },
  3687. onload: function (result)
  3688. {
  3689. var res = result.responseText;
  3690. if (res.match('(?:no_file|file_ban)'))
  3691. {
  3692. DisplayTheCheckedLinks([id], 'adead_link');
  3693. return;
  3694. }
  3695. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3696. {
  3697. DisplayTheCheckedLinks([id], 'alive_link');
  3698. return;
  3699. }
  3700. DisplayTheCheckedLinks([id], 'unava_link');
  3701. }
  3702. });
  3703. }
  3704.  
  3705. function megaBulkCheck()
  3706. {
  3707. var arr = this.links[0].split("\r\n");
  3708. var i = arr.length;
  3709. var seqno = Math.floor(Math.random()*1000000000);
  3710. while(i--)
  3711. {
  3712. postRequest(arr[i]);
  3713. }
  3714. function postRequest(megaLink)
  3715. {
  3716. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3717. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3718. if (id=='F')
  3719. {
  3720. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3721. DisplayTheCheckedLinks([id], 'unava_link');
  3722. }
  3723. else
  3724. GM_xmlhttpRequest(
  3725. {
  3726. method: "POST",
  3727. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3728. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3729. headers: {
  3730. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3731. 'Content-Type': 'application/xml',
  3732. 'Referer': "https://mega.co.nz/"
  3733. },
  3734. onload: function (result)
  3735. {
  3736. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3737. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3738. {
  3739.  
  3740. DisplayTheCheckedLinks([id], 'adead_link');
  3741. }
  3742. if (res.at)
  3743. {
  3744. DisplayTheCheckedLinks([id], 'alive_link');
  3745. }
  3746. if (res.e == "ETEMPUNAVAIL")
  3747. {
  3748. DisplayTheCheckedLinks([id], 'unava_link');
  3749. }
  3750. }
  3751. });
  3752. }
  3753.  
  3754. }
  3755.  
  3756. function oboomBulk() {
  3757. var a = [], b = [], c = [];
  3758. var array = this.links;
  3759.  
  3760. GM_xmlhttpRequest({
  3761. method: 'GET',
  3762. url: 'https://www.oboom.com/1/guestsession',
  3763. headers: {
  3764. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3765. 'Content-type': 'application/x-www-form-urlencoded',
  3766. 'Referer': 'https://www.oboom.com',
  3767. 'X-Requested-With': 'XMLHttpRequest'
  3768. },
  3769. onload: function(result) {
  3770. var blockIdx = array.length;
  3771. var token = JSON.parse(result.responseText)[1];
  3772. while (blockIdx--) {
  3773. startCheck(array[blockIdx].split('\r\n'), token);
  3774. }
  3775. }
  3776. });
  3777.  
  3778. function startCheck(links, token) {
  3779. GM_xmlhttpRequest({
  3780. method: 'POST',
  3781. url: "https://api.oboom.com/1/info",
  3782. headers: {
  3783. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3784. 'Content-type': 'application/x-www-form-urlencoded',
  3785. 'Referer': 'https://www.oboom.com/',
  3786. 'X-Requested-With': 'XMLHttpRequest'
  3787. },
  3788. data: "token=" + token + "&items=" + links.join(","),
  3789. onload: function(result) {
  3790. var res = JSON.parse(result.responseText)[1];
  3791. var i = res.length, s;
  3792.  
  3793. while (i--) {
  3794. s = res[i].state;
  3795. if (s == 'online') a.push(res[i].id);
  3796. 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);
  3797. else c.push(res[i].id);
  3798. }
  3799.  
  3800. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3801. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3802. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3803. }
  3804. });
  3805. }
  3806. }
  3807. function linkcryptBulkCheck()
  3808. {
  3809. var arr = this.links[0].split("\r\n");
  3810. var i = arr.length;
  3811. while(i--)
  3812. {
  3813. postRequest(arr[i]);
  3814. }
  3815. function postRequest(lcLink)
  3816. {
  3817. GM_xmlhttpRequest(
  3818. {
  3819. method: "GET",
  3820. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3821. headers: {
  3822. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3823. 'Accept': 'text/xml',
  3824. 'Referer': ""
  3825. },
  3826. onload: function (result)
  3827. {
  3828. var res = result.responseText;
  3829. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3830. {
  3831. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3832. return;
  3833. }
  3834. if (res.match(/folderStatus>1/)) //Online status
  3835. {
  3836. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3837. }
  3838. else
  3839. {
  3840. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3841. }
  3842. }
  3843. });
  3844. }
  3845. }
  3846.  
  3847. /* function megashareBulkCheck()
  3848. {
  3849. var arr = this.links[0].split("\r\n");
  3850. var i = arr.length;
  3851. while(i--)
  3852. {
  3853. postRequest(arr[i]);
  3854. }
  3855. function postRequest(msLink)
  3856. {
  3857. GM_xmlhttpRequest(
  3858. {
  3859. method: "GET",
  3860. url: msLink,
  3861. headers: {
  3862. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3863. 'Content-Type': 'application/x-www-form-urlencoded',
  3864. 'Referer': ""
  3865. },
  3866. onload: function (result)
  3867. {
  3868. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3869. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3870. if ((prZVal == null) || (btn3Name == null))
  3871. {
  3872. return;
  3873. }
  3874. GM_xmlhttpRequest(
  3875. {
  3876. method: "POST",
  3877. url: msLink,
  3878. headers: {
  3879. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3880. 'Content-Type': 'application/x-www-form-urlencoded',
  3881. 'Referer': ""
  3882. },
  3883. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3884. onload: function (result)
  3885. {
  3886. var res = result.responseText;
  3887. if (res.match(/<div id="err">/))
  3888. {
  3889. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3890. }
  3891. else
  3892. {
  3893. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3894. }
  3895. }
  3896. });
  3897. }
  3898. });
  3899. }
  3900. } */
  3901. function hellshareBulkCheck()
  3902. {
  3903. var links = this.links;
  3904. GM_xmlhttpRequest(
  3905. {
  3906. method: "GET",
  3907. url: 'http://www.hellshare.com',
  3908. headers: {
  3909. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3910. 'Accept': 'text/xml',
  3911. 'Referer': ""
  3912. },
  3913. onload: function (result)
  3914. {
  3915. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3916.  
  3917. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3918. if (domain == 'sk')
  3919. loc = 'check=Skontrolova%C5%A5&links=';
  3920. if (domain == 'com')
  3921. loc = 'check=Check+availability&links=';
  3922. if (domain == 'hu')
  3923. loc = 'check=Kontrol%C3%A1lj&links=';
  3924. if (domain == 'pl')
  3925. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3926.  
  3927. genBulkCheck.call({ links: links,
  3928. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3929. postData: loc,
  3930. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3931. 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,
  3932. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3933. resUnavaRegex: null
  3934. });
  3935. }
  3936. });
  3937. }
  3938. /**
  3939. * Displays check result
  3940. * @param {Array} Array of links or link fragments.
  3941. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3942. */
  3943. function DisplayTheCheckedLinks(links, resultStatus)
  3944. {
  3945. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3946. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3947. if (Do_not_linkify_DL_links)
  3948. { //TODO into separate jQuery function
  3949. $links.replaceWith(function(){
  3950. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3951. });
  3952. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3953. }
  3954. $links.removeClass().addClass(resultStatus);
  3955. $links.each(function() {
  3956. this.href = Ref_anonymize_service + $(this).attr("href");
  3957. });
  3958. switch(resultStatus)
  3959. {
  3960. case "alive_link": cLinksAlive += $links.length;
  3961. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3962. break;
  3963. case "adead_link": cLinksDead += $links.length;
  3964. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3965. break;
  3966. case "prem_link": cLinksprem += $links.length;
  3967. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3968. break;
  3969. case "unava_link": cLinksUnava += $links.length; break;
  3970. default:
  3971. }
  3972. cLinksProcessed += $links.length;
  3973. }
  3974. }
  3975. // starts bulkchecking
  3976. //
  3977. // params
  3978. // filterId [string] restricts link detection with passed id attribute
  3979. function startBulkCheck(filterId)
  3980. {
  3981. var cHosts = bulkHosts.length;
  3982. if (cHosts == 0) //no filehostings selected
  3983. return;
  3984. // STEP 1 linkify the links
  3985. var linkifyRegex = '';
  3986. var hostIdx = cHosts;
  3987. while(hostIdx--)
  3988. {
  3989. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3990. }
  3991. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3992. linkify(linkifyRegex);
  3993. //
  3994. //STEP 2 detect link objects
  3995. var xpathAll = '';
  3996. var hostIdx = cHosts;
  3997. while(hostIdx--)
  3998. {
  3999. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4000. }
  4001. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4002. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4003. if (filterId != null) //insert id restriction in the xpath
  4004. {
  4005. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4006. }
  4007. else
  4008. {
  4009. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4010. }
  4011. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4012. if (filterId == null)
  4013. {
  4014. cLinksTotal += links.snapshotLength;
  4015. }
  4016. //
  4017. //STEP 3 bind links with hostings
  4018. var linkIdx = links.snapshotLength;
  4019. var href = null;
  4020. if (linkIdx == 0) // no links found
  4021. return;
  4022. var name;
  4023. while (linkIdx--)
  4024. {
  4025. href = links.snapshotItem(linkIdx).href;
  4026. try // DO NOT REMOVE, filters crap that went through xpath detection
  4027. {
  4028. name = gimmeHostName(href);
  4029. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4030. bulkHostNames[name].links.push(href);
  4031. }
  4032. catch(e)
  4033. {
  4034.  
  4035. }
  4036. }
  4037. //
  4038. //STEP 4 process the links for each filehosting
  4039. var hostIdx = cHosts;
  4040. var host;
  4041. var m,n;
  4042. var arr;
  4043. while (hostIdx--)
  4044. {
  4045. host = bulkHosts[hostIdx];
  4046. arr = host.links;
  4047. if (arr.length == 0) //no links for this hosting, skip
  4048. {
  4049. continue;
  4050. }
  4051. //links match corrections
  4052. if (host.corrMatch != null)
  4053. {
  4054. var idx = arr.length;
  4055. while (idx--)
  4056. {
  4057. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4058. }
  4059. }
  4060. //links replace corrections
  4061. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4062. {
  4063. var idx = arr.length;
  4064. while (idx--)
  4065. {
  4066. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4067. }
  4068. }
  4069. m = arr.length;
  4070. n = host.blockSize;
  4071. if (m > n)
  4072. {
  4073. //insert block separators (RAND_STRING) into the array
  4074. for(var i = n; i < m; i += n + 1)
  4075. {
  4076. arr.splice(i, 0, RAND_STRING);
  4077. }
  4078. }
  4079.  
  4080. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4081. apiUrl: host.apiUrl,
  4082. postData: host.postData,
  4083. resLinkRegex: host.resLinkRegex,
  4084. resLiveRegex: host.resLiveRegex,
  4085. resDeadRegex: host.resDeadRegex,
  4086. resUnavaRegex: host.resUnavaRegex
  4087. });
  4088. //clean up
  4089. arr.length = 0;
  4090. }
  4091. //
  4092.  
  4093. function gimmeHostName(link)
  4094. {
  4095. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4096. }
  4097. }
  4098. function checkLinks(filterId)
  4099. {
  4100. startBulkCheck(filterId);
  4101. start(filterId);
  4102. }
  4103.  
  4104. /**
  4105. * Initialises progress box including event binding and CSS
  4106. */
  4107. function initProgressBox()
  4108. {
  4109. if ($("#warlc-progressbox").length > 0)
  4110. return;
  4111. //progressbox css change size and color of progress box
  4112. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4113. "; opacity:" + (Progress_box_opacity / 100) +
  4114. "; bottom:" + Processbox_Pos_Y +
  4115. "%; left:" + Processbox_Pos_X +
  4116. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4117. \
  4118. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4119. \
  4120. .warlc-progressitem {}\
  4121. \
  4122. .alive {color:#00FF7F; " + Live_links_color +
  4123. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4124. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4125. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4126. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4127. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4128. //
  4129. if (Progressbox_Scaling != 100) {
  4130. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4131. 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
  4132. });
  4133. }
  4134. 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
  4135.  
  4136. GM_addStyle(progressboxCss);
  4137. $('body').append(' <div id="warlc-progressbox">\
  4138. <div class="warlc-progressbar"></div>\
  4139. <span class="warlc-progressitem alive"></span> - \
  4140. <span class="warlc-progressitem dead"></span> - \
  4141. <span class="warlc-progressitem unava"></span> - \
  4142. <span class="warlc-progressitem prem"></span> - \
  4143. <span class="warlc-progressitem processing"></span>\
  4144. </div>');
  4145. $('#warlc-progressbox').hide().click(function(){
  4146. clearInterval(intervalId);
  4147. $(this).hide();
  4148. return false;
  4149. });
  4150. $(".warlc-progressbar").progressbar({complete: function(){
  4151. $(this).fadeOut();
  4152. clearInterval(intervalId); //stop refreshing the stats
  4153. }
  4154. })
  4155. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4156. }
  4157. /**
  4158. * Updates progress data in progress box
  4159. */
  4160. function updateProgress()
  4161. {
  4162. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4163. if (cLinksTotal) // some links were detected on page
  4164. {
  4165. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4166. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4167. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4168. if ((cLinksTotal - cLinksProcessed) == 0)
  4169. {
  4170. $progressItems.first().text(cLinksAlive)
  4171. .next().text(cLinksDead)
  4172. .next().text(cLinksUnava)
  4173. .next().text(cLinksprem)
  4174. .next().remove();
  4175. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4176. $('#warlc-progressbox div:first-child').remove();
  4177. }
  4178. else
  4179. {
  4180. $progressItems.first().text(cLinksAlive)
  4181. .next().text(cLinksDead)
  4182. .next().text(cLinksUnava)
  4183. .next().text(cLinksprem)
  4184. .next().text(cLinksTotal - cLinksProcessed);
  4185. }
  4186. }
  4187. }
  4188.  
  4189. function check_all_links()
  4190. {
  4191. add_WARLC_style();
  4192.  
  4193. if (Show_progress_stats)
  4194. {
  4195. initProgressBox();
  4196. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4197. }
  4198.  
  4199. startBulkCheck(null);
  4200. start(null);
  4201.  
  4202. if (!containers_processed)
  4203. {
  4204. processContainers();
  4205. }
  4206. }
  4207.  
  4208. //Copies all found dead links to clipboard - right now for Scriptish only
  4209. function copy_dead_to_clipboard()
  4210. {
  4211. initClipBoardTools();
  4212.  
  4213. var deadlinksxpath = "//.[@class='adead_link']";
  4214.  
  4215. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4216. var foundlinkstext = '';
  4217.  
  4218. var foundlinkIdx = foundlinks.snapshotLength;
  4219.  
  4220. while(foundlinkIdx--)
  4221. {
  4222. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4223. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4224. }
  4225.  
  4226. GM_setClipboard(foundlinkstext);
  4227. }
  4228. //Copies all found live links to clipboard
  4229. function copy_live_to_clipboard()
  4230. {
  4231. initClipBoardTools();
  4232.  
  4233. var livelinksxpath = "//.[@class='alive_link']";
  4234.  
  4235. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4236. var foundlinks2text = '';
  4237.  
  4238. var foundlink2Idx = foundlinks2.snapshotLength;
  4239.  
  4240. while(foundlink2Idx--)
  4241. {
  4242. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4243. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4244. }
  4245.  
  4246. GM_setClipboard(foundlinks2text);
  4247. }
  4248.  
  4249. function toggle_autocheck()
  4250. {
  4251. var currentState = GM_getValue("Autocheck", false);
  4252. GM_setValue("Autocheck", !currentState);
  4253.  
  4254. if (currentState == true)
  4255. {
  4256. sendMessage('Autocheck disabled', 'red');
  4257. }
  4258. else
  4259. {
  4260. sendMessage('Autocheck enabled', 'SpringGreen');
  4261. }
  4262. }
  4263. function toggle_Enable_Anonymizer()
  4264. {
  4265. var currentState = GM_getValue("Enable_Anonymizer", false);
  4266. GM_setValue("Enable_Anonymizer", !currentState);
  4267.  
  4268. if (currentState == true)
  4269. {
  4270. GM_setValue("Ref_anonymize_service", "");
  4271. sendMessage('Anonymizer Disabled', 'red');
  4272. }
  4273. else
  4274. {
  4275. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4276. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4277. }
  4278. }
  4279.  
  4280. function KeyDownHandler(event)
  4281. {
  4282. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4283. if (event.ctrlKey && event.altKey)
  4284. {
  4285. switch(kcode)
  4286. {
  4287. case 65 : check_all_links(); break;
  4288. case 67 : configuration(); break;
  4289. case 68 : copy_dead_to_clipboard(); break;
  4290. case 76 : copy_live_to_clipboard(); break;
  4291. case 87 : toggle_autocheck(); break;
  4292. case 90 : toggle_Enable_Anonymizer(); break;
  4293. }
  4294. }
  4295. }
  4296.  
  4297. //
  4298. //
  4299. // SCRIPT EXECUTION START POINT
  4300. //
  4301. //
  4302. // Safari specific GM_getResourceText override
  4303. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4304. {
  4305. GM_getResourceText = function(res) {
  4306. var $cssText = GM_getValue("jquery_css", "");
  4307. if ($cssText == "")
  4308. {
  4309. GM_xmlhttpRequest(
  4310. {
  4311. method: 'GET',
  4312. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4313. onload: function (result)
  4314. {
  4315. GM_setValue("jquery_css", result.responseText);
  4316. window.location.reload();
  4317. }
  4318. });
  4319. }
  4320. else
  4321. {
  4322. return $cssText;
  4323. }
  4324. }
  4325. }
  4326. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4327. GM_addStyle(jQueryUICSS);
  4328. //init the stuff
  4329. setVariables();
  4330. initBulkCheck();
  4331. //init info boxes
  4332. messageBox.style.position = 'fixed';
  4333. messageBox.style.top = '20px';
  4334. messageBox.style.left = '10px';
  4335. messageBox.style.opacity = '0.85';
  4336. messageBox.style.background = 'DimGray';
  4337. messageBox.style.fontSize = '36px';
  4338. document.body.appendChild(messageBox);
  4339.  
  4340. //register GM menu commands & keyboard shortcut event handler
  4341. if (Keyboard_functions)
  4342. {
  4343. $(document).keydown(KeyDownHandler);
  4344. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4345. 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);
  4346. }
  4347. else
  4348. {
  4349. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4350. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4351. }
  4352.  
  4353. //start linkchecking
  4354. if (Autocheck)
  4355. {
  4356. $(document).ready(check_all_links);
  4357. }
  4358.  
  4359. //
  4360. //
  4361. // SCRIPT EXECUTION END POINT
  4362. //
  4363. //
  4364.  
  4365. //shows configuration box
  4366. function configuration()
  4367. {
  4368.  
  4369. //prevent multiple creating of config window
  4370. if ($("#hideshow").length)
  4371. {
  4372. $("#hideshow").show();
  4373. return;
  4374. }
  4375.  
  4376. var configcss = '\
  4377. .popup_block .popup fieldset{\
  4378. padding: 1%;\
  4379. border-style: solid;\
  4380. border-width: 1px;\
  4381. border-color: gray;\
  4382. margin-bottom: 1px;\
  4383. }\
  4384. #h3hideshowtitle{\
  4385. font-size: 2em;\
  4386. }\
  4387. #h3hideshow{\
  4388. font-size: 1.5em;\
  4389. }\
  4390. #imghideshow {\
  4391. border: none;\
  4392. }\
  4393. #plusimage{\
  4394. display:inline;\
  4395. }\
  4396. #hideshow {\
  4397. position: fixed;\
  4398. width: 100%;\
  4399. height: 100%;\
  4400. top: 0;\
  4401. left: 0;\
  4402. font-size:12px;\
  4403. z-index:2147483645;\
  4404. text-align:left;\
  4405. }\
  4406. #fade {\
  4407. background: #000;\
  4408. position: fixed;\
  4409. width: 100%;\
  4410. height: 100%;\
  4411. opacity: .80;\
  4412. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4413. left: 0;\
  4414. z-index: 10;\
  4415. }\
  4416. .popup_block {\
  4417. font-family:verdana;\
  4418. color:black;\
  4419. background: #ddd;\
  4420. padding: 10px 20px;\
  4421. border: 2px solid DarkOrange;\
  4422. float: left;\
  4423. width: 700px;\
  4424. position: absolute;\
  4425. top: 7%;\
  4426. left: 50%;\
  4427. bottom: 7%;\
  4428. margin: 0 0 0 -350px;\
  4429. -moz-border-radius:10px;\
  4430. z-index: 100;\
  4431. \
  4432. }\
  4433. .popup_block .popup {\
  4434. float: left;\
  4435. width: 100%;\
  4436. background: #fff;\
  4437. margin: 10px 0;\
  4438. padding: 0px 0 0px;\
  4439. border-left: 1px solid #bbb;\
  4440. border-top: 1px solid #bbb;\
  4441. border-right: 1px solid #bbb;\
  4442. }\
  4443. #h3hideshow{\
  4444. margin: 1px 0 0px;\
  4445. padding: 1px 10px;\
  4446. border-bottom: 1px solid #bbb;\
  4447. font-size: 1.5em;\
  4448. font-weight: normal;\
  4449. cursor:pointer;\
  4450. background:#DDDDDD none repeat scroll 0 0;\
  4451. }\
  4452. #h3hideshow:hover{\
  4453. background:#C0BEBE none repeat scroll 0 0;\
  4454. }\
  4455. #h3hideshowtitle{\
  4456. margin: 2px 0 0px;\
  4457. padding: 7px 10px;\
  4458. border-bottom: 1px solid #bbb;\
  4459. font-size: 1.5em;\
  4460. font-weight: normal;\
  4461. }\
  4462. .popup_block .popup a {\
  4463. color:DarkSkyBlue;\
  4464. text-decoration:none;\
  4465. }\
  4466. .popup p {\
  4467. padding: 1px 10px;\
  4468. margin: 0px 0;\
  4469. -x-system-font:none;\
  4470. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4471. font-size:10pt;\
  4472. font-size-adjust:none;\
  4473. font-stretch:normal;\
  4474. font-style:normal;\
  4475. font-variant:normal;\
  4476. font-weight:normal;\
  4477. line-height:normal;\
  4478. }\
  4479. #sites {\
  4480. padding: 1px 10px;\
  4481. margin: 0px 0;display:inline-block;width:16em;\
  4482. }\
  4483. #dev_ver {\
  4484. color: #00FF00;\
  4485. background: Black;\
  4486. text-align: right;\
  4487. }\
  4488. #sites_suspended {\
  4489. padding: 1px 10px;\
  4490. margin: 0px 0;display:inline-block;width:16em;\
  4491. text-decoration: line-through;\
  4492. }\
  4493. .popup img.cntrl {\
  4494. position: absolute;\
  4495. right: -15px;\
  4496. top: -15px;\
  4497. }\
  4498. #bulk {\
  4499. font-size:8pt;\
  4500. color:orange;\
  4501. padding: 1px 10px;\
  4502. margin: 0px 0;\
  4503. display:inline-block;\
  4504. width:100px;\
  4505. }\
  4506. #note {\
  4507. font-size:7pt;\
  4508. color:gray;\
  4509. padding: 1px 10px;\
  4510. margin: 0px 0;display:inline-block;\
  4511. min-width:100px;\
  4512. }\
  4513. #rednote {\
  4514. font-size:7pt;\
  4515. color:red;\
  4516. padding: 1px 10px;\
  4517. margin: 0px 0;display:inline-block;\
  4518. }\
  4519. #configinfo {\
  4520. font-size:8pt;\
  4521. color:gray;\
  4522. padding: 1px 10px;\
  4523. margin: 0px 0;display:inline-block;width:60em;\
  4524. }\
  4525. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4526. color:black;\
  4527. border-style: solid;\
  4528. border-width: 1px;\
  4529. border-color: gray;\
  4530. }\
  4531. #h3hideshowcontent {\
  4532. min-height:220px;\
  4533. max-height:220px;\
  4534. overflow:auto;\
  4535. display: none;\
  4536. padding: 10px 10px;\
  4537. }\
  4538. #specinfo{\
  4539. font-size:14px;\
  4540. }\
  4541. .warlc-ui-tab {\
  4542. height:300px;\
  4543. overflow:auto;\
  4544. }\
  4545. #warlcsitelist2, #warlcsitelist1 {\
  4546. height:220px;\
  4547. border-top: 1px solid #ddd;\
  4548. padding-top: 5px;\
  4549. overflow:auto;\
  4550. }\
  4551. input:hover+label {\
  4552. background:#F1F77C;\
  4553. font-size:110%;\
  4554. }\
  4555. ';
  4556.  
  4557. GM_addStyle(configcss);
  4558.  
  4559. var customRulesRefHTML =
  4560. '\
  4561. <br>\
  4562. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4563. <b>@keyword</b> <i>parameter</i>\
  4564. <br><br>\
  4565. 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. \
  4566. <br><br>\
  4567. 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.\
  4568. 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.\
  4569. 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.\
  4570. 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,\
  4571. but all commands until the next valid @customrule are ignored.<br><br>\
  4572. Available forms and types:\
  4573. <ul>\
  4574. <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.\
  4575. <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.\
  4576. <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.\
  4577. <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.\
  4578. </ul>\
  4579. Other available commands:<br>\
  4580. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4581. <ul>\
  4582. <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.\
  4583. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4584. <ul>examples:<br>\
  4585. <li>good: <i>filehost.com/download/</i><br>\
  4586. <li>good: <i>download.filehost.net/?d=</i><br>\
  4587. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4588. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4589. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4590. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4591. <li>bad: <i>filehost.com</i> - no slash<br>\
  4592. </ul>\
  4593. \
  4594. <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.\
  4595. 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 \
  4596. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4597. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4598. 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.)\
  4599. Two spaces again match any whitespace.\
  4600. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4601. Two spaces again match any whitespace.\
  4602. <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. \
  4603. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4604. </ul>\
  4605. \
  4606. ';
  4607.  
  4608. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4609. var configurationinnerHTML =
  4610. '<div id="fade"></div>\
  4611. <div class="popup_block">\
  4612. <div class="popup">\
  4613. <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/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEW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ciKaCANEIwbD81vjX6/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>\
  4615. <div id="warlc-conf-tabs">\
  4616. <ul>\
  4617. <li><a href="#tabs-1">Filehostings</a></li>\
  4618. <li><a href="#tabs-2">Containers</a></li>\
  4619. <li><a href="#tabs-5">Custom rules</a></li>\
  4620. <li><a href="#tabs-3">Settings</a></li>\
  4621. <li><a href="#tabs-4">About</a></li>\
  4622. </ul>\
  4623. <div id="tabs-1" class="warlc-ui-tab">\
  4624. <div class="warlc-ui-buttonset">\
  4625. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4626. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4627. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4628. </div><br>\
  4629. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4630. <div id="warlcsitelist1"><span>Empty</span></div>\
  4631. </div>\
  4632. <div id="tabs-2" class="warlc-ui-tab">\
  4633. <div class="warlc-ui-buttonset">\
  4634. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4635. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4636. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4637. </div><br>\
  4638. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4639. <div id="warlcsitelist2"><span>Empty</span></div>\
  4640. </div>\
  4641. <div id="tabs-5" class="warlc-ui-tab">\
  4642. <div class="warlcsettings">\
  4643. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4644. <br>\
  4645. <div>Edit custom rules: \
  4646. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4647. <div id="customRulesReference" style="display:none;">'
  4648. + customRulesRefHTML + '\
  4649. </div>\
  4650. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4651. </div>\
  4652. </div>\
  4653. </div>\
  4654. <div id="tabs-3" class="warlc-ui-tab">\
  4655. <div class="warlcsettings">\
  4656. <fieldset>\
  4657. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4658. <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>\
  4659. </fieldset>\
  4660. <fieldset>\
  4661. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4662. <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>\
  4663. <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>\
  4664. <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>\
  4665. <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>\
  4666. <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>\
  4667. <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>\
  4668. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4669. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4670. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4671. <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>\
  4672. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4673. <fieldset>\
  4674. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4675. <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>\
  4676. <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>\
  4677. <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>\
  4678. </fieldset>\
  4679. </fieldset>\
  4680. <fieldset>\
  4681. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4682. </fieldset>\
  4683. <fieldset>\
  4684. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4685. </fieldset>\
  4686. <fieldset>\
  4687. <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>\
  4688. </fieldset>\
  4689. <fieldset>\
  4690. <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>\
  4691. </fieldset>\
  4692. <fieldset>\
  4693. <legend>Progress box settings</legend>\
  4694. <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>\
  4695. <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>\
  4696. <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>\
  4697. </fieldset>\
  4698. </div>\
  4699. </div>\
  4700. <div id="tabs-4" class="warlc-ui-tab">\
  4701. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4702. <br />\
  4703. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4704. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4705. <br />\
  4706. <p><b>Currently supported:</b><br>\
  4707. Filehostings: ' + allHostNames.length + '<br />\
  4708. Containers: ' + allContainerNames.length + '<br />\
  4709. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4710. <br />\
  4711. <p><b>Based on:</b><br>\
  4712. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4713. <br />\
  4714. <p><b>Uses:</b></p>\
  4715. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4716. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4717. <br />\
  4718. <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>\
  4719. </div>\
  4720. </div>\
  4721. </div>\
  4722. </div>';
  4723. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4724. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4725. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4726. var elmHostList = document.getElementById("warlcsitelist1");
  4727. var elmContainerList = document.getElementById("warlcsitelist2");
  4728. buildSettings();
  4729. buildSitelist("", allHostNames, elmHostList);
  4730. buildSitelist("", allContainerNames, elmContainerList);
  4731. if (DEBUG_MODE)
  4732. {
  4733. //log all sites availability status
  4734. diagSites();
  4735. }
  4736. //handler for checkbox state change
  4737. function changeConfiguration(e)
  4738. {
  4739. var element = e.target;
  4740.  
  4741. if (element.type == 'checkbox')
  4742. {
  4743. if (element.checked == 1)
  4744. {
  4745. GM_setValue(element.id, true);
  4746. }
  4747. else
  4748. {
  4749. GM_setValue(element.id, false);
  4750. }
  4751.  
  4752. }
  4753. setVariables();
  4754. }
  4755.  
  4756. //Selects all filehosting checkboxes
  4757. function selectAll()
  4758. {
  4759. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4760. .each(function(index, element){GM_setValue(this.id, true)});
  4761. }
  4762.  
  4763. //Deselects all filehosting checkboxes
  4764. function selectNone()
  4765. {
  4766. $(":checkbox:visible:checked").prop("checked",false)
  4767. .each(function(index, element){GM_setValue(this.id, false)});
  4768. }
  4769. //Sets Processbox position setting
  4770. function changeProgBox(event) {
  4771. var setting;
  4772. switch(event.data.set) {
  4773. case "X": setting = "Processbox_Pos_X"; break;
  4774. case "Y": setting = "Processbox_Pos_Y"; break;
  4775. case "Scale": setting = "Progressbox_Scaling"; break;
  4776. }
  4777. var $setting = $("#" + setting);
  4778. var newSet = $setting.val().replace("%", "");
  4779. GM_setValue(setting, newSet);
  4780. }
  4781. //Sets value of Processbox position
  4782. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4783. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4784. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4785.  
  4786. //Inverts filehosting checkboxes selection
  4787. function selectInvert()
  4788. {
  4789. var $checked = $(":checkbox:visible:checked");
  4790. var $unchecked = $(":checkbox:visible:not(:checked)");
  4791. $unchecked.prop("checked",true)
  4792. .each(function(index, element){GM_setValue(this.id, true)});
  4793. $checked.prop("checked",false)
  4794. .each(function(index, element){GM_setValue(this.id, false)});
  4795. }
  4796. //toggles anonymizer on off
  4797. function Enable_Anonymizer()
  4798. {
  4799. var $checked = $(":checkbox:visible:checked");
  4800. var $unchecked = $(":checkbox:visible:not(:checked)");
  4801. $unchecked.prop("checked",true)
  4802. .each(function(index, element){GM_setValue(this.id, true)});
  4803. $checked.prop("checked",false)
  4804. .each(function(index, element){GM_setValue(this.id, false)});
  4805. }
  4806.  
  4807. function changeRefAnonymizer(){
  4808. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4809. }
  4810.  
  4811. //Sets live links color
  4812. function changeColorLive()
  4813. {
  4814. var inColorLive = document.getElementById("inputColorLive");
  4815. inColorLive.style.background = inColorLive.value;
  4816. GM_setValue("Live_links_color", inColorLive.value);
  4817. }
  4818.  
  4819. //Sets dead links color
  4820. function changeColorDead()
  4821. {
  4822. var inColorDead = document.getElementById("inputColorDead");
  4823. inColorDead.style.background = inColorDead.value;
  4824. GM_setValue("Dead_links_color", inColorDead.value);
  4825. }
  4826.  
  4827. //Sets temp. unavailable links color
  4828. function changeColorTemp()
  4829. {
  4830. var inColorTemp = document.getElementById("inputColorTemp");
  4831. inColorTemp.style.background = inColorTemp.value;
  4832. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4833. }
  4834.  
  4835. //Sets temp. unavailable links color
  4836. function changeColorCont()
  4837. {
  4838. var inColorCont = document.getElementById("inputColorCont");
  4839. inColorCont.style.background = inColorCont.value;
  4840. GM_setValue("Container_links_color", inColorCont.value);
  4841. }
  4842. //Sets premium. links color
  4843. function changeColorprem()
  4844. {
  4845. var inColorprem = document.getElementById("inputColorprem");
  4846. inColorprem.style.background = inColorprem.value;
  4847. GM_setValue("Premium_links_color", inColorprem.value);
  4848. }
  4849.  
  4850. //Diagnose sites for availability
  4851. function diagSites()
  4852. {
  4853. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4854.  
  4855. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4856. {
  4857. if (boxes[i].type == "checkbox")
  4858. {
  4859. checkAvailability(boxes[i]);
  4860. }
  4861. }
  4862.  
  4863. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4864.  
  4865. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4866. {
  4867. if (boxes[i].type == "checkbox")
  4868. {
  4869. checkAvailability(boxes[i]);
  4870. }
  4871. }
  4872.  
  4873. function checkAvailability(cbElm)
  4874. {
  4875. var cb = cbElm;
  4876. GM_xmlhttpRequest(
  4877. {
  4878. method: 'HEAD',
  4879. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4880. headers: {
  4881. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4882. 'Accept': 'text/xml',
  4883. 'Referer': ""
  4884. },
  4885. onload: function (result)
  4886. {
  4887. if (result.status != 200)
  4888. {
  4889. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4890. }
  4891. },
  4892. onerror: function (result)
  4893. {
  4894. if (result.status != 200)
  4895. {
  4896. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4897. //Sets Progress_box position setting
  4898. function changeProgBox(event) {
  4899. var setting;
  4900. switch(event.data.set) {
  4901. case "X": setting = "Progress_box_Pos_X"; break;
  4902. case "Y": setting = "Progress_box_Pos_Y"; break;
  4903. case "Scale": setting = "Progress_box_Scaling"; break;
  4904. }
  4905.  
  4906. var $setting = $("#" + setting);
  4907. var newSet = $setting.val().replace("%", "");
  4908. lsSetVal("general", setting, newSet);
  4909. }
  4910.  
  4911. //Sets value of Progress_box position
  4912. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4913. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4914. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4915. }
  4916. }
  4917. });
  4918. }
  4919. }
  4920. function buildSettings()
  4921. {
  4922. $(".warlcsettings :checkbox").each(function(){
  4923. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4924. .click(function(e){
  4925. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4926. setVariables();
  4927. });
  4928. })
  4929. }
  4930. //Dynamic build of host list
  4931. //param search [string] searches for hostnames matching search substring
  4932. //param siteNames [array] array of site names
  4933. //param targetNode [DOM Node] where the list should be built
  4934. // first child node is replaced
  4935. function buildSitelist(search, siteNames, targetNode)
  4936. {
  4937. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4938. var $targetNode = $(targetNode).empty();
  4939. var searchedSite = "";
  4940. $.each(siteNames, function(i, site){
  4941. if (searchedSite = site.match(searchRegex))
  4942. {
  4943. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4944. //ensuring backward compatibility with the rest of code, to be refactored later
  4945. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4946. //
  4947. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4948. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4949. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4950. );
  4951. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4952. .change(changeConfiguration);
  4953. $targetNode.append('<br />');
  4954. }
  4955. });
  4956. $targetNode.append("<hr>");
  4957. //obsolete hosts checkbox
  4958. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4959. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4960. .change(changeConfiguration);
  4961. $targetNode.append('<br />');
  4962. var foundName = "";
  4963. $.each(allObsoleteNames, function(i, site){
  4964. if (foundName = allObsoleteNames[i].match(searchRegex))
  4965. {
  4966. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4967. }
  4968. })
  4969. }
  4970. var hostSearchBox = document.getElementById("hostSearchBox");
  4971. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4972. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4973. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4974. $(".warlc-ui-select-all").click(selectAll).button();
  4975. $(".warlc-ui-select-none").click(selectNone).button();
  4976. $(".warlc-ui-select-invert").click(selectInvert).button();
  4977. $(".warlc-ui-buttonset").buttonset();
  4978. var inColorLive = document.getElementById("inputColorLive");
  4979. inColorLive.addEventListener('keyup', changeColorLive, false);
  4980.  
  4981. var inColorDead = document.getElementById("inputColorDead");
  4982. inColorDead.addEventListener('keyup', changeColorDead, false);
  4983.  
  4984. var inColorTemp = document.getElementById("inputColorTemp");
  4985. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4986.  
  4987. var inColorCont = document.getElementById("inputColorCont");
  4988. inColorCont.addEventListener('keyup', changeColorCont, false);
  4989. var inColorprem = document.getElementById("inputColorprem");
  4990. inColorprem.addEventListener('keyup', changeColorprem, false);
  4991. $("#refAnonymizer").change(changeRefAnonymizer);
  4992. //buttons and edit boxes init end
  4993.  
  4994. //icon sets radio buttons
  4995. var radioButtons = document.getElementsByName("warlciconset");
  4996. radioButtons[Icon_set].checked = "checked";
  4997.  
  4998. radioButtons[0].addEventListener("change", updateIconSet);
  4999. radioButtons[1].addEventListener("change", updateIconSet);
  5000. radioButtons[2].addEventListener("change", updateIconSet);
  5001. radioButtons[3].addEventListener("change", updateIconSet);
  5002. function updateIconSet()
  5003. {
  5004. GM_setValue("Icon_set", this.value * 1);
  5005. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5006. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5007. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5008. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5009. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5010.  
  5011. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5012. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5013.  
  5014. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5015. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5016. }
  5017. //
  5018. $('#showCustomRulesReference').click(function(e){
  5019. e.preventDefault();
  5020. $('#customRulesReference').toggle();
  5021. });
  5022. $('#Custom_rules_text')
  5023. .val(Custom_rules_text)
  5024. .change(saveCustomRules);
  5025. function saveCustomRules(e)
  5026. {
  5027. var cr = parseCustomRules(this.value);
  5028. if (cr.info.length)
  5029. 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, ' '));
  5030. GM_setValue('Custom_rules_text', this.value);
  5031. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5032. }
  5033. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5034. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5035. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5036. }
  5037.  
  5038. //begin standard link checking algorithm
  5039. function start(filterId)
  5040. {
  5041. var doNotLinkify = Do_not_linkify_DL_links;
  5042.  
  5043. // USER SELECTED FILE HOSTS INITIALIZATION START
  5044. var http_file_hosts = new Array(); //standard hostings
  5045. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5046. var http_file_hosts_obsolete = new Array(); //dead hostings
  5047. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5048.  
  5049. initFileHosts();
  5050. initFileHostsHeadersOnly();
  5051. initFileHostsCustom(); //CustomRules
  5052. // USER SELECTED FILE HOSTS INITIALIZATION END
  5053.  
  5054. // LINKIFICATION START
  5055. var totalxpath = '';
  5056. var totalxpathcoded = '';
  5057. var totalxpathobsolete = '';
  5058. var totalxpathheadersonly = '';
  5059. var totalourls = '';
  5060.  
  5061. var filehostLen = http_file_hosts.length;
  5062. var filehostCodedLen = http_file_hosts_coded.length;
  5063. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5064. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5065.  
  5066. var filehostIdx = filehostLen;
  5067. var filehostCodedIdx = filehostCodedLen;
  5068. var filehostObsoleteIdx = filehostObsoleteLen;
  5069. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5070.  
  5071. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5072. return;
  5073.  
  5074. while (filehostIdx--)
  5075. {
  5076. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5077. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5078. }
  5079.  
  5080. while (filehostCodedIdx--)
  5081. {
  5082. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5083. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5084. }
  5085.  
  5086. while (filehostObsoleteIdx--)
  5087. {
  5088. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5089. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5090. }
  5091.  
  5092. while (filehostHeadersOnlyIdx--)
  5093. {
  5094. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5095. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5096. }
  5097.  
  5098. totalourls = totalourls.replace(/\|$/g, "");
  5099. //TODO: further refactoring needed
  5100. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5101. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5102. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5103. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5104. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5105. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5106. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5107. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5108. if (filterId != null) //insert id restriction in the xpath
  5109. {
  5110. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5111. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5112. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5113. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5114. }
  5115. else
  5116. {
  5117. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5118. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5119. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5120. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5121. }
  5122. linkify(totalourls);
  5123. //LINKIFICATION END
  5124. //ENCRYPTED LINKS PROCESSING START
  5125. if (http_file_hosts_coded.length > 0)
  5126. {
  5127. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5128.  
  5129. // decrypt coded links (redirects, link protectors etc.)
  5130. if (linksCoded.snapshotLength > 0)
  5131. {
  5132. var link;
  5133. var reallinkreg;
  5134. var reallinkcorrection;
  5135.  
  5136. if (filterId == null)
  5137. {
  5138. cLinksTotal += linksCoded.snapshotLength;
  5139. }
  5140.  
  5141. var y = linksCoded.snapshotLength - 1;
  5142. do
  5143. {
  5144. // linksCoded.snapshotItem(y).id = 'processing_link';
  5145. link = linksCoded.snapshotItem(y);
  5146. filehostIdx = filehostCodedLen;
  5147. while (filehostIdx--)
  5148. {
  5149. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5150. {
  5151. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5152. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5153. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5154.  
  5155. decurl(link, reallinkreg, reallinkcorrection);
  5156. break;
  5157. }
  5158. }
  5159. }
  5160. while (y--);
  5161. }
  5162. }
  5163. //ENCRYPTED LINKS PROCESSING END
  5164.  
  5165. //STANDARD LINKCHECKING START
  5166. if (http_file_hosts.length > 0)
  5167. {
  5168. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5169.  
  5170. if (filterId == null)
  5171. {
  5172. cLinksTotal += lianks.snapshotLength;
  5173. }
  5174.  
  5175. if (lianks.snapshotLength > 0)
  5176. {
  5177. var link;
  5178.  
  5179. var URL = "";
  5180. var name = "";
  5181. var isAliveRegex = "";
  5182. var isDeadRegex = "";
  5183. var isUnavaRegex = "";
  5184. var ispremRegex = "";
  5185. var tryLoop = false;
  5186.  
  5187. var y = lianks.snapshotLength;
  5188.  
  5189. while (y--)
  5190. {
  5191. link = lianks.snapshotItem(y);
  5192.  
  5193. filehostIdx = filehostLen;
  5194. while (filehostIdx--)
  5195. {
  5196. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5197. {
  5198. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5199. isAliveRegex = http_file_hosts[filehostIdx][1];
  5200. isDeadRegex = http_file_hosts[filehostIdx][2];
  5201. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5202. ispremRegex = http_file_hosts[filehostIdx][6];
  5203. tryLoop = http_file_hosts[filehostIdx][5];
  5204.  
  5205. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5206.  
  5207. break;
  5208. }
  5209. }
  5210. }
  5211. }
  5212. }
  5213. //STANDARD LINKCHECKING END
  5214. //OBSOLETE FILE HOSTS PROCESSING START
  5215. if (filehostObsoleteLen > 0)
  5216. {
  5217. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5218.  
  5219. var obsoleteLink;
  5220.  
  5221. //check links
  5222. if (obsoletelinks.snapshotLength > 0)
  5223. {
  5224. var y = obsoletelinks.snapshotLength;
  5225.  
  5226. if (filterId == null)
  5227. {
  5228. cLinksTotal += y;
  5229. }
  5230.  
  5231. while (y--)
  5232. {
  5233. obsoleteLink = obsoletelinks.snapshotItem(y);
  5234.  
  5235. if (Display_tooltip_info)
  5236. {
  5237. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5238. }
  5239. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5240. }
  5241. }
  5242. }
  5243. //OBSOLETE FILE HOSTS PROCESSING END
  5244.  
  5245. //DIRECT LINKCHECKING START
  5246. if (http_file_hosts_headers_only.length > 0)
  5247. {
  5248. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5249.  
  5250. //check links
  5251. if (links.snapshotLength > 0)
  5252. {
  5253. var link;
  5254. var isAliveRegex;
  5255. var isDeadRegex;
  5256. var ispremRegex;
  5257.  
  5258. var y = links.snapshotLength;
  5259.  
  5260.  
  5261. if (filterId == null)
  5262. {
  5263. cLinksTotal += y;
  5264. }
  5265.  
  5266. while (y--)
  5267. {
  5268. // links.snapshotItem(y).id = 'processing_link';
  5269. link = links.snapshotItem(y);
  5270. filehostIdx = filehostHeadersOnlyLen;
  5271. while (filehostIdx--)
  5272. {
  5273. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5274. {
  5275. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5276. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5277. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5278. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5279.  
  5280. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5281.  
  5282. break;
  5283. }
  5284. }
  5285. }
  5286.  
  5287. }
  5288. }
  5289. //DIRECT LINKCHECKING END
  5290.  
  5291.  
  5292. //finds the real url on the page, replaces link.href with it and calls geturl
  5293. function decurl(link, reallinkreg, reallinkcorrection)
  5294. {
  5295.  
  5296. GM_xmlhttpRequest(
  5297. {
  5298. method: 'GET',
  5299. url: link.href,
  5300. headers: {
  5301. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5302. 'Accept': 'text/xml',
  5303. 'Referer': ""
  5304. },
  5305. onload: function (result)
  5306. {
  5307. // cLinksProcessed++;
  5308.  
  5309. var reallink = result.responseText.match(reallinkreg)[0];
  5310. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5311.  
  5312. link.href = reallink;
  5313.  
  5314. var i = http_file_hosts.length - 1;
  5315. do
  5316. {
  5317. if ((reallink.match(http_file_hosts[i][0])))
  5318. {
  5319. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5320. var isAliveRegex = http_file_hosts[i][1];
  5321. var isDeadRegex = http_file_hosts[i][2];
  5322. var isUnavaRegex = http_file_hosts[i][3];
  5323. var ispremRegex = http_file_hosts[i][4];
  5324.  
  5325. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5326.  
  5327. break;
  5328. }
  5329. }
  5330. while (i--);
  5331. }
  5332. });
  5333. }
  5334.  
  5335. function randUA()
  5336. {
  5337. //TODO
  5338. }
  5339. //Processes link
  5340. //
  5341. // [string] link link URL
  5342. // [string] isAliveRegex alive link regex
  5343. // [string] isDeadRegex dead link regex
  5344. // [string] isUnavaRegex unavailable link regex
  5345. // [string] ispremRegex premium link regex
  5346. // [boolean] tryLoop repeats request until succeeded
  5347. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5348. {
  5349. GM_xmlhttpRequest(
  5350. {
  5351. method: 'GET',
  5352. url: link.href,
  5353. headers: {
  5354. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5355. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5356. 'Referer': ""
  5357. },
  5358. onload: function (result)
  5359. {
  5360. var res = result.responseText;
  5361. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5362. {
  5363. displayTheCheckedLink(link, 'alive_link');
  5364. return;
  5365. }
  5366.  
  5367. if (res.match(isAliveRegex))
  5368. {
  5369. displayTheCheckedLink(link, 'alive_link');
  5370. return;
  5371. }
  5372.  
  5373. if (res.match(isDeadRegex))
  5374. {
  5375. displayTheCheckedLink(link, 'adead_link');
  5376. return;
  5377. }
  5378.  
  5379. if (isUnavaRegex && res.match(isUnavaRegex))
  5380. {
  5381. displayTheCheckedLink(link, 'unava_link');
  5382. return;
  5383. }
  5384. if (res.match(ispremRegex))
  5385. {
  5386. displayTheCheckedLink(link, 'prem_link');
  5387. return;
  5388. }
  5389.  
  5390. var resStatus = result.status;
  5391.  
  5392. if (resStatus == 404)
  5393. {
  5394. displayTheCheckedLink(link, 'adead_link');
  5395. }
  5396. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5397. {
  5398. if (tryLoop)
  5399. {
  5400. //wait 1-5 seconds and repeat the request
  5401. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5402. }
  5403. else
  5404. {
  5405. displayTheCheckedLink(link, 'unava_link');
  5406. }
  5407.  
  5408. return;
  5409. }
  5410. },
  5411. onerror: function ()
  5412. {
  5413. displayTheCheckedLink(link, 'unava_link');
  5414. }
  5415. });
  5416. }
  5417.  
  5418. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5419. {
  5420. GM_xmlhttpRequest(
  5421. {
  5422. method: 'HEAD',
  5423. url: link.href,
  5424. headers: {
  5425. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5426. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5427. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5428. 'Referer': ""
  5429. },
  5430. onload: function (result)
  5431. {
  5432. var resStatus = result.status;
  5433. var resHeaders = "";
  5434. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5435. {
  5436. displayTheCheckedLink(link, 'adead_link');
  5437. return;
  5438. }
  5439.  
  5440. resHeaders = result.responseHeaders;
  5441.  
  5442. if (resHeaders.match(isDeadRegex))
  5443. {
  5444. displayTheCheckedLink(link, 'adead_link');
  5445. return;
  5446. }
  5447.  
  5448. if (resHeaders.match(isAliveRegex))
  5449. {
  5450. displayTheCheckedLink(link, 'alive_link');
  5451. return;
  5452. }
  5453. if (resHeaders.match(ispremRegex))
  5454. {
  5455. displayTheCheckedLink(link, 'prem_link');
  5456. return;
  5457. }
  5458. },
  5459. onerror: function ()
  5460. {
  5461. displayTheCheckedLink(link, 'unava_link');
  5462. }
  5463. });
  5464. }
  5465.  
  5466. //Delinkfifies the <a> element object
  5467. function delinkifyLink(link)
  5468. {
  5469. var spanElm = document.createElement("span");
  5470. spanElm.className = link.className;
  5471. spanElm.innerHTML = link.innerHTML;
  5472.  
  5473. if (Display_tooltip_info)
  5474. {
  5475. spanElm.href = link.href;
  5476. spanElm.warlc_error = link.warlc_error;
  5477. switch (link.className){
  5478. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5479. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5480. case "unava_link": //reserved
  5481. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5482. default:
  5483. }
  5484. }
  5485. link.parentNode.replaceChild(spanElm, link);
  5486. }
  5487.  
  5488. //Assigns result status to the <a> element object and calls delinkifying eventually
  5489. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5490. function displayTheCheckedLink(link, resultStatus)
  5491. {
  5492. link.className = resultStatus;
  5493. link.href = Ref_anonymize_service + link.href;
  5494. if (Display_tooltip_info)
  5495. {
  5496. switch (resultStatus){
  5497. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5498. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5499. case "unava_link": //reserved
  5500. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5501. default:
  5502. }
  5503. }
  5504. if (doNotLinkify)
  5505. {
  5506. delinkifyLink(link);
  5507. }
  5508. cLinksProcessed++;
  5509.  
  5510. if (resultStatus == "alive_link")
  5511. {
  5512. cLinksAlive++;
  5513. return;
  5514. }
  5515.  
  5516. if (resultStatus == "adead_link")
  5517. {
  5518. cLinksDead++;
  5519. return;
  5520. }
  5521.  
  5522. if (resultStatus == "unava_link")
  5523. {
  5524. cLinksUnava++;
  5525. }
  5526. if (resultStatus == "prem_link")
  5527. {
  5528. cLinksprem++;
  5529. return;
  5530. }
  5531. }
  5532.  
  5533.  
  5534. function initFileHosts()
  5535. {
  5536.  
  5537. function addObsoleteHost(linkRegex, xpathEx)
  5538. {
  5539. var host = new Array(2);
  5540. host[0] = linkRegex;
  5541. host[1] = xpathEx;
  5542. http_file_hosts_obsolete.push(host);
  5543. }
  5544.  
  5545. //obsolete file hosts init start
  5546. if (Obsolete_file_hosts)
  5547. {
  5548. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5549. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5550. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5551. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5552. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5553. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5554. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5555. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5556. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5557. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5558. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5559. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5560. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5561. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5562. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5563. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5564. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5565. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5566. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5567. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5568. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5569. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5570. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5571. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5572. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5573. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5574. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5575. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5576. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5577. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5578. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5579. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5580. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5581. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5582. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5583. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5584. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5585. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5586. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5587. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5588. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5589. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5590. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5591. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5592. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5593. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5594. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5595. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5596. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5597. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5598. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5599. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5600. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5601. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5602. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5603. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5604. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5605. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5606. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5607. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5608. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5609. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5610. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5611. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5612. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5613. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5614. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5615. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5616. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5617. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5618. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5619. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5620. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5621. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5622. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5623. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5624. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5625. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5626. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5627. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5628. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5629. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5630. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5631. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5632. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5633. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5634. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5635. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5636. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5637. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5638. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5639. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5640. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5641. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5642. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5643. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5644. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5645. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5646. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5647. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5648. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5649. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5650. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5651. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5652. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5653. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5654. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5655. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5656. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5657. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5658. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5659. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5660. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5661. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5662. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5663. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5664. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5665. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5666. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5667. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5668. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5669. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5670. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5671. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5672. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5673. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5674. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5675. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5676. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5677. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5678. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5679. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5680. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5681. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5682. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5683. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5684. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5685. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5686. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5687. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5688. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5689. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5690. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5691. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5692. 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')]");
  5693. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5694. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5695. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5696. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5697. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5698. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5699. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5700. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5701. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5702. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5703. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5704. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5705. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5706. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5707. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5708. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5709. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5710. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5711. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5712. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5713. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5714. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5715. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5716. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5717. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5718. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5719. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5720. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5721. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5722. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5723. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5724. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5725. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5726. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5727. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5728. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5729. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5730. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5731. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5732. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5733. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5734. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5735. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5736. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5737. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5738. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5739. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5740. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5741. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5742. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5743. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5744. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5745. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5746. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5747. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5748. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5749. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5750. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5751. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5752. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5753. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5754. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5755. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5756. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5757. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5758. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5759. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5760. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5761. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5762. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5763. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5764. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5765. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5766. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5767. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5768. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5769. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5770. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5771. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5772. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5773. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5774. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5775. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5776. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5777. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5778. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5779. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5780. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5781. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5782. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5783. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5784. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5785. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5786. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5787. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5788. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5789. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5790. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5791. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5792. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5793. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5794. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5795. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5796. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5797. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5798. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5799. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5800. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5801. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5802. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5803. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5804. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5805. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5806. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5807. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5808. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5809. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5810. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5811. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5812. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5813. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5814. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5815. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5816. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5817. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5818. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5819. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5820. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5821. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5822. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5823. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5824. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5825. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5826. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5827. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5828. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5829. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5830. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5831. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5832. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5833. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5834. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5835. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5836. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5837. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5838. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5839. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5840. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5841. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5842. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5843. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5844. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5845. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5846. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5847. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5848. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5849. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5850. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5851. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5852. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5853. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5854. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5855. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5856. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5857. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5858. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5859. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5860. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5861. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5862. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5863. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5864. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5865. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5866. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5867. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5868. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5869. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5870. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5871. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5872. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5873. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5874. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5875. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5876. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5877. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5878. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5879. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5880. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5881. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5882. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5883. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5884. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5885. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5886. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5887. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5888. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5889. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5890. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5891. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5892. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5893. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5894. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5895. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5896. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5897. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5898. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5899. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5900. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5901. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5902. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5903. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5904. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5905. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5906. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5907. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5908. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5909. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5910. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5911. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5912. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5913. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5914. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5915. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5916. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5917. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5918. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5919. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5920. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5921. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5922. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5923. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5924. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5925. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5926. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5927. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5928. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5929. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5930. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5931. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5932. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5933. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5934. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5935. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5936. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5937. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5938. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5939. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5940. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5941. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5942. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5943. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5944. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5945. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5946. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5947. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5948. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5949. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5950. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5951. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5952. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5953. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5954. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5955. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5956. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5957. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5958. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5959. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5960. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5961. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5962. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5963. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5964. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5965. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5966. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5967. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5968. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5969. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5970. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5971. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5972. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5973. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5974. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5975. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5976. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5977. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5978. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5979. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5980. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5981. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5982. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5983. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5984. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5985. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5986. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5987. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5988. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5989. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5990. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5991. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5992. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5993. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5994. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5995. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5996. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5997. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5998. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5999. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6000. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6001. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6002. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6003. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6004. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6005. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6006. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6007. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6008. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6009. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6010. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6011. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6012. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6013. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6014. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6015. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6016. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6017. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6018. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6019. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6020. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6021. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6022. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6023. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6024. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6025. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6026. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6027. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6028. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6029. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6030. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6031. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6032. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6033. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6034. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6035. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6036. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6037. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6038. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6039. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6040. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6041. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6042. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6043. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6044. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6045. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6046. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6047. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6048. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6049. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6050. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6051. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6052. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6053. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6054. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6055. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6056. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6057. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6058. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6059. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6060. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6061. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6062. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6063. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6064. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6065. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6066. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6067. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6068. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6069. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6070. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6071. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6072. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6073. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6074. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6075. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6076. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6077. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6078. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6079. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6080. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6081. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6082. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6083. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6084. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6085. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6086. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6087. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6088. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6089. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6090. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6091. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6092. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6093. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6094. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6095. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6096.  
  6097. // obsolete start start2
  6098. }
  6099. //obsolete file hosts init end
  6100. //Add Host Example
  6101. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6102. {
  6103. addFileHost(
  6104. "datafile\.com\/\\w+",
  6105. 'var captchaPanel|<link href="/css/files_download.css"',
  6106. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6107. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6108. '<style type="text/css">',
  6109. "//a[contains(@href,'datafile.com')]",
  6110. true);
  6111. } */
  6112.  
  6113. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6114. {
  6115. var host = new Array(7);
  6116. host[0] = linkRegex;
  6117. host[1] = isAliveRegex;
  6118. host[2] = isDeadRegex;
  6119. host[3] = isUnavaRegex;
  6120. host[6] = ispremRegex;
  6121. host[4] = xpathEx;
  6122. tryLoop ? host[5] = true : host[5] = false;
  6123. http_file_hosts.push(host);
  6124. }
  6125. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6126. {
  6127. addFileHost(
  6128. "megafileupload\.com\/..\/file\/",
  6129. 'downloadbtn',
  6130. 'is not found',
  6131. 'optional--',
  6132. 'optional2--',
  6133. "//a[contains(@href,'megafileupload.com')]");
  6134. }
  6135. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6136. {
  6137. addFileHost(
  6138. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6139. 'download\\.gif"',
  6140. 'p_point">',
  6141. 'optional--',
  6142. 'optional2--',
  6143. "//a[contains(@href,'demo.ovh.eu')]");
  6144. }*/
  6145. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6146. {
  6147. addFileHost(
  6148. "safelinking\\.net\/p\/\\w+",
  6149. 'color:green;"',
  6150. 'color:(?:red|orange);"',
  6151. 'color:(?:grey|brown);"',
  6152. 'optional2--',
  6153. "//a[contains(@href,'safelinking.net/p/')]",
  6154. true);
  6155. }
  6156. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6157. {
  6158. addFileHost(
  6159. "fastshare\\.cz\/\\d+\/\\w*",
  6160. 'dwntable">|speed-low',
  6161. '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',
  6162. 'optional--',
  6163. 'optional2--',
  6164. "//a[contains(@href,'fastshare.cz')]");
  6165. }
  6166. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6167. {
  6168. addFileHost(
  6169. "[fF]ast[sS]hare\\.org\/download",
  6170. 'Download ">',
  6171. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6172. 'optional--',
  6173. 'optional2--',
  6174. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6175. }
  6176. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6177. {
  6178. addFileHost(
  6179. "rapidgator\\.net\/file\/\\w+",
  6180. '/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.',
  6181. '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',
  6182. 'optional--',
  6183. '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',
  6184. "//a[contains(@href,'rapidgator.net/file')]",
  6185. true
  6186. );
  6187. }
  6188. if (GM_getValue("Check_rg_dot_to_links", false))
  6189. {
  6190. addFileHost(
  6191. "rg\.to\/\\w+",
  6192. '/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.',
  6193. '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',
  6194. 'optional--',
  6195. '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',
  6196. "//a[contains(@href,'rg.to')]");
  6197. }
  6198. if (GM_getValue("Check_relink_dot_us_links", false))
  6199. {
  6200. addFileHost(
  6201. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6202. 'online_detail\\.png" alt="Status',
  6203. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6204. 'unknown_detail\\.png" alt="Status',
  6205. 'optional2--',
  6206. "//a[contains(@href,'relink.us/')]"
  6207. );
  6208. }
  6209. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6210. {
  6211. addFileHost(
  6212. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6213. 'div id="dl"',
  6214. 'Sie haben den Link falsch',
  6215. 'optional--',
  6216. 'optional2--',
  6217. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6218. );
  6219. }
  6220. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6221. {
  6222. addFileHost(
  6223. "flyfiles\\.net\/\\w+",
  6224. 'download_button"|"Download file"',
  6225. 'File not found!|Файл не найден',
  6226. 'optional--',
  6227. 'optional2--',
  6228. "//a[contains(@href,'flyfiles.net/')]"
  6229. );
  6230. }
  6231. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6232. {
  6233. addFileHost(
  6234. "wikiupload\\.com\/\\w+",
  6235. 'download-button">',
  6236. 'Sorry, File not found',
  6237. 'optional--',
  6238. 'optional2--',
  6239. "//a[contains(@href,'wikiupload.com/')]"
  6240. );
  6241. }
  6242. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6243. {
  6244. addFileHost(
  6245. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6246. 'file\\.php">|Pobierz Plik',
  6247. 'Podany plik nie zosta',
  6248. 'optional--',
  6249. 'optional2--',
  6250. "//a[contains(@href,'hostuje.net/file')]"
  6251. );
  6252. }
  6253. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6254. {
  6255. addFileHost(
  6256. "gettyfile\\.ru\/\\d+",
  6257. 'download\\.gif border',
  6258. '<center><font size="3">',
  6259. 'optional--',
  6260. 'optional2--',
  6261. "//a[contains(@href,'gettyfile.ru/')]"
  6262. );
  6263. }
  6264. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6265. {
  6266. addFileHost(
  6267. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6268. 'download\\-file">',
  6269. 'col-1">\\s*<h1>',
  6270. 'optional--',
  6271. 'optional2--',
  6272. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6273. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6274. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6275. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6276. );
  6277. }
  6278. if (GM_getValue("Check_data_dot_hu_links", false))
  6279. {
  6280. addFileHost(
  6281. "data\\.hu",
  6282. 'download_box_button|Lassú letöltés',
  6283. 'missing\\.php|Az adott fájl nem létezik',
  6284. 'optional--',
  6285. 'optional2--',
  6286. "//a[contains(@href,'data.hu')]",
  6287. true
  6288. );
  6289. }
  6290. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6291. {
  6292. addFileHost(
  6293. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6294. 'premiumBtn"',
  6295. 'errorMessage"',
  6296. 'optional--',
  6297. 'optional2--',
  6298. "//a[contains(@href,'indowebster.com/download')]"
  6299. );
  6300. }
  6301. if (GM_getValue("Check_superload_dot_cz_links", false))
  6302. {
  6303. addFileHost(
  6304. "superload\\.cz\/dl\/\\w+",
  6305. 'icon-download">',
  6306. 'soubor nebyl nalezen',
  6307. 'optional--',
  6308. 'optional2--',
  6309. "//a[contains(@href,'superload.cz/dl')]"
  6310. );
  6311. }
  6312. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6313. {
  6314. addFileHost(
  6315. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6316. 'op" value="download',
  6317. 'class="err">|width:500px;text-align:left;">',
  6318. 'optional--',
  6319. 'optional2--',
  6320. "//a[contains(@href,'hulkfile.')]"
  6321. );
  6322. }
  6323. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6324. {
  6325. addFileHost(
  6326. "easybytez\\.com\/\\w+",
  6327. 'op" value="download',
  6328. 'stop_error\\.gif',
  6329. 'optional--',
  6330. 'optional2--',
  6331. "//a[contains(@href,'easybytez.com/')]"
  6332. );
  6333. }
  6334. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6335. {
  6336. addFileHost(
  6337. "filestore\\.com\\.ua\/\\?d=\\w+",
  6338. 'tdrow1>',
  6339. 'class=warn',
  6340. 'optional--',
  6341. 'optional2--',
  6342. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6343. );
  6344. }
  6345. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6346. {
  6347. addFileHost(
  6348. "openfile\\.ru\/(?:video\/|)\\d+",
  6349. 'videobox_left">',
  6350. 'blog_title">|not found on this server',
  6351. 'optional--',
  6352. 'optional2--',
  6353. "//a[contains(@href,'openfile.ru/')]"
  6354. );
  6355. }*/
  6356. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6357. {
  6358. addFileHost(
  6359. "extmatrix\\.com\/files\/\\w+",
  6360. 'div class="success"',
  6361. 'div class="error"',
  6362. 'optional--',
  6363. 'optional2--',
  6364. "//a[contains(@href,'extmatrix.com/files')]"
  6365. );
  6366. }
  6367. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6368. {
  6369. addFileHost(
  6370. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6371. 'content_lnkDownload',
  6372. 'error\\.aspx\\?',
  6373. 'optional--',
  6374. 'optional2--',
  6375. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6376. );
  6377. }
  6378. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6379. {
  6380. addFileHost(
  6381. "yourfilestore\\.com\/download\/\\d+\/",
  6382. 'download_data">',
  6383. 'may have been deleted|<h1>Sorry!<\/h1>',
  6384. 'optional--',
  6385. 'optional2--',
  6386. "//a[contains(@href,'yourfilestore.com/download')]"
  6387. );
  6388. }
  6389. if (GM_getValue("Check_filebig_dot_net_links", false))
  6390. {
  6391. addFileHost(
  6392. "filebig\\.net\/files\/\\w+",
  6393. 'downloadFile">',
  6394. '<p>File not found<\/p>',
  6395. 'optional--',
  6396. 'optional2--',
  6397. "//a[contains(@href,'filebig.net/files')]"
  6398. );
  6399. }
  6400. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6401. {
  6402. addFileHost(
  6403. "files\\.filefront\\.com\/\/;\\d+;;",
  6404. 'downloadLink">',
  6405. 'File not found, you',
  6406. 'optional--',
  6407. 'optional2--',
  6408. "//a[contains(@href,'files.filefront.com')]"
  6409. );
  6410.  
  6411. addFileHost(
  6412. "gamefront\\.com\/files\/\\d+",
  6413. 'downloadLink">',
  6414. 'File not found, you',
  6415. 'optional--',
  6416. 'optional2--',
  6417. "//a[contains(@href,'gamefront.com/files')]"
  6418. );
  6419. }
  6420. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6421. {
  6422. addFileHost(
  6423. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6424. 'dnlLnk"',
  6425. 'already been deleted',
  6426. 'optional--',
  6427. 'optional2--',
  6428. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6429. );
  6430. }
  6431. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6432. {
  6433. addFileHost(
  6434. "hellupload\\.com\/\\w+",
  6435. '<h3>Download File<br',
  6436. 'id="podstrona">|AVOID_IE_BUG',
  6437. 'optional--',
  6438. 'optional2--',
  6439. "//a[contains(@href,'hellupload.com/')]"
  6440. );
  6441. }
  6442. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6443. {
  6444. addFileHost(
  6445. "free\\-uploading\\.com\/\\w+",
  6446. 'op" value="download',
  6447. 'class="err">|width:500px;text-align:left;">',
  6448. 'optional--',
  6449. 'optional2--',
  6450. "//a[contains(@href,'free-uploading.com/')]"
  6451. );
  6452. }
  6453. if (GM_getValue("Check_fileape_dot_com_links", false))
  6454. {
  6455. addFileHost(
  6456. "fileape\\.com\/download\\-",
  6457. 'button_dl\\.png',
  6458. 'does not exist\\.',
  6459. 'optional--',
  6460. 'optional2--',
  6461. "//a[contains(@href,'fileape.com/')]"
  6462. );
  6463. }
  6464. if (GM_getValue("Check_uppit_dot_com_links", false))
  6465. {
  6466. addFileHost(
  6467. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6468. 'op" value="download',
  6469. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6470. 'optional--',
  6471. 'optional2--',
  6472. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6473. true
  6474. );
  6475. }
  6476. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6477. {
  6478. addFileHost(
  6479. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6480. 'op" value="download',
  6481. '>File Not Found<',
  6482. 'optional--',
  6483. 'optional2--',
  6484. "//a[contains(@href,'nosupload.com')]",
  6485. true
  6486. );
  6487. }
  6488. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6489. {
  6490. addFileHost(
  6491. "filesin\\.com\/\\w+\/download\\.html",
  6492. 'download_area">',
  6493. 'error_note">',
  6494. 'optional--',
  6495. 'optional2--',
  6496. "//a[contains(@href,'filesin.com/')]",
  6497. true
  6498. );
  6499. }*/
  6500. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6501. {
  6502. addFileHost(
  6503. "nowdownload\\.ch\/dl\/\\w+",
  6504. 'alert-success"',
  6505. 'This file does not exist!',
  6506. 'The file is being transfered',
  6507. 'optional2--',
  6508. "//a[contains(@href,'nowdownload.ch/dl')]"
  6509. );
  6510. }*/
  6511. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6512. {
  6513. addFileHost(
  6514. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6515. 'Dbutton_big"',
  6516. 'download\\-error\\.php',
  6517. 'optional--',
  6518. 'optional2--',
  6519. "//a[contains(@href,'axifile.com/')]"
  6520. );
  6521. }*/
  6522. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6523. {
  6524. addFileHost(
  6525. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6526. 'col-1">\\s*<s',
  6527. 'col-1">\\s*<h',
  6528. 'optional--',
  6529. 'optional2--',
  6530. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6531. );
  6532. }
  6533. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6534. {
  6535. addFileHost(
  6536. "turbobit\\.(?:net|pl)",
  6537. 'id="download-gate-info|id="file-list',
  6538. 'afterWait()|no files in this folder',
  6539. 'optional--',
  6540. 'optional2--',
  6541. "//a[contains(@href,'turbobit.net')]"
  6542. );
  6543. }
  6544. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6545. {
  6546. addFileHost(
  6547. "hitfile\\.net\/download\/folder\/\\d+",
  6548. 'content">\\s*<s',
  6549. 'content">\\s*<h',
  6550. 'optional--',
  6551. 'optional2--',
  6552. "//a[contains(@href,'hitfile.net/download/folder')]"
  6553. );
  6554. }
  6555. if (GM_getValue("Check_movshare_dot_net_links", false))
  6556. {
  6557. addFileHost(
  6558. "movshare\\.net\\/video\\/\\w+",
  6559. 'optional--"',
  6560. 'no longer exists',
  6561. 'optional--',
  6562. 'optional2--',
  6563. "//a[contains(@href,'movshare.net/video')]"
  6564. );
  6565. }
  6566. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6567. {
  6568. addFileHost(
  6569. "mafiastorage\\.com\/\\w+",
  6570. 'op" value="download',
  6571. 'class="err">|style="width:500px;text-align:left;"',
  6572. 'optional--',
  6573. 'optional2--',
  6574. "//a[contains(@href,'mafiastorage.com/')]"
  6575. );
  6576. }
  6577. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6578. {
  6579. addFileHost(
  6580. "uploadingit\\.com\/file\/\\w+",
  6581. 'downloadTitle">',
  6582. 'deleteContent">',
  6583. 'optional--',
  6584. 'optional2--',
  6585. "//a[contains(@href,'uploadingit.com/file')]"
  6586. );
  6587. }*/
  6588. if (GM_getValue("Check_rghost_dot_net_links", false))
  6589. {
  6590. addFileHost(
  6591. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6592. 'download_link|btn large download',
  6593. 'file is restricted|File is deleted|503 Service Unavailable',
  6594. 'optional--',
  6595. 'optional2--',
  6596. "//a[contains(@href,'rghost.')]"
  6597. );
  6598. }
  6599. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6600. {
  6601. addFileHost(
  6602. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6603. '">Staženo:\\s*<\/span>',
  6604. 'Soubor, který hledáte nenalezen',
  6605. 'optional--',
  6606. 'optional2--',
  6607. "//a[contains(@href,'xdisk.cz/')]"
  6608. );
  6609. }
  6610. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6611. {
  6612. addFileHost(
  6613. "2downloadz\.com\/\\w+",
  6614. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6615. 'color="#006DCC|File error',
  6616. 'optional--',
  6617. 'optional2--',
  6618. "//a[contains(@href,'2downloadz.com')]");
  6619. }
  6620. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6621. {
  6622. addFileHost(
  6623. "mightyupload\.com\/\\w+",
  6624. 'background:#ccc;text-align|CONTENT="Download File"',
  6625. 'style="background:#eee|var rr =|File Not Found',
  6626. 'error-code">1010',
  6627. 'optional2--',
  6628. "//a[contains(@href,'mightyupload.com')]");
  6629. }
  6630. if (GM_getValue("Check_anysend_dot_com_links", false))
  6631. {
  6632. addFileHost(
  6633. "anysend\.com\/\\w+",
  6634. 'var openCalled=false;|content="noindex"',
  6635. '_trackPageview',
  6636. 'optional--',
  6637. 'optional2--',
  6638. "//a[contains(@href,'anysend.com')]");
  6639. }
  6640. if (GM_getValue("Check_datafile_dot_com_links", false))
  6641. {
  6642. addFileHost(
  6643. "datafile\.com\/\\w+",
  6644. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6645. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6646. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6647. '; 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">
  6648. "//a[contains(@href,'datafile.com')]",
  6649. true);
  6650. }
  6651. if (GM_getValue("Check_upstore_dot_net_links", false))
  6652. {
  6653. addFileHost(
  6654. "upstore\.net\/\\w+",
  6655. 'name="free"',
  6656. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6657. 'optional--',
  6658. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6659. "//a[contains(@href,'upstore.net')]");
  6660. }
  6661. if (GM_getValue("Check_upsto_dot_re_links", false))
  6662. {
  6663. addFileHost(
  6664. "upsto\.re\/\\w+",
  6665. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6666. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6667. 'optional--',
  6668. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6669. "//a[contains(@href,'upsto.re')]");
  6670. }
  6671. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6672. {
  6673. addFileHost(
  6674. "speedy\.sh\/\\w+",
  6675. 'bgcolor=#eeeeee|class="addthis',
  6676. 'File not found|downloadfilenamenotfound>',
  6677. 'optional--',
  6678. 'optional2--',
  6679. "//a[contains(@href,'speedy.sh')]");
  6680. }
  6681. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6682. {
  6683. addFileHost(
  6684. "kingfiles\.net\/\\w+",
  6685. 'method_free|images/loading_small.gif"',
  6686. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6687. 'optional--',
  6688. 'optional2--',
  6689. "//a[contains(@href,'kingfiles.net')]");
  6690. }
  6691. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6692. {
  6693. addFileHost(
  6694. "secureupload\\.eu\/\\w+",
  6695. 'Downloading',
  6696. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6697. 'optional--',
  6698. 'optional2--',
  6699. "//a[contains(@href,'secureupload.eu')]"
  6700. );
  6701. } */
  6702. if (GM_getValue("Check_ge_dot_tt_links", false))
  6703. {
  6704. addFileHost(
  6705. "ge\.tt\/\\w+",
  6706. 'downloads pic',
  6707. 'is NOT the same as',
  6708. 'optional--',
  6709. 'optional2--',
  6710. "//a[contains(@href,'ge.tt')]");
  6711. }
  6712. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6713. {
  6714. addFileHost(
  6715. "filefactory\\.com\/file\/\\w+",
  6716. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6717. '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">',
  6718. 'Server Maintenance|temporarily overloaded',
  6719. 'Premium Account Required',
  6720. "//a[contains(@href,'filefactory.com/file')]");
  6721. } */
  6722. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6723. {
  6724. addFileHost(
  6725. "filesflash\.net\/\\w+",
  6726. 'align:right">Filename:',
  6727. 'class="msg">',
  6728. 'optional--',
  6729. 'optional2--',
  6730. "//a[contains(@href,'filesflash.net')]");
  6731. }
  6732. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6733. {
  6734. addFileHost(
  6735. "rapidgator\\.net\/folder\/\\w+",
  6736. 'href="/folder/',
  6737. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6738. 'optional--',
  6739. 'optional2--',
  6740. "//a[contains(@href,'rapidgator.net/folder')]",
  6741. true
  6742. );
  6743. }
  6744. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6745. {
  6746. addFileHost(
  6747. "salefiles\.com\/\\w+",
  6748. 'name="method_free',
  6749. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6750. 'optional--',
  6751. 'optional2--',
  6752. "//a[contains(@href,'salefiles.com')]");
  6753. }
  6754. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6755. {
  6756. addFileHost(
  6757. "datoid\.cz\/\\w+",
  6758. 'btn-download|class="icon-download-large"',
  6759. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6760. 'optional--',
  6761. 'optional2--',
  6762. "//a[contains(@href,'datoid.cz')]");
  6763. }
  6764. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6765. {
  6766. addFileHost(
  6767. "stiahni\.si\/\\w+",
  6768. 'report_icon.png"|slow-download-button',
  6769. 'none.png|deleted|<h2>Error 500</h2>',
  6770. 'optional--',
  6771. 'optional2--',
  6772. "//a[contains(@href,'stiahni.si')]");
  6773. }
  6774. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6775. {
  6776. addFileHost(
  6777. "cloudstor\.es\/\\w+",
  6778. '"btn_download"',
  6779. '404: Page Not Found',
  6780. 'optional--',
  6781. 'optional2--',
  6782. "//a[contains(@href,'cloudstor.es')]");
  6783. }
  6784. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6785. {
  6786. addFileHost(
  6787. "streamfile\.com\/\\w+",
  6788. 'class="btn',
  6789. 'class="green-btn',
  6790. 'optional--',
  6791. 'optional2--',
  6792. "//a[contains(@href,'streamfile.com')]");
  6793. }
  6794. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6795. {
  6796. addFileHost(
  6797. "eyesfile\.ca\/\\w+",
  6798. 'value="Get Link',
  6799. 'var rr =',
  6800. 'optional--',
  6801. 'optional2--',
  6802. "//a[contains(@href,'eyesfile.ca')]");
  6803. }
  6804. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6805. {
  6806. addFileHost(
  6807. "filemoney\.com\/\\w+",
  6808. 'og:title',
  6809. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6810. 'error-code">1010',
  6811. 'optional2--',
  6812. "//a[contains(@href,'filemoney.com')]");
  6813. }
  6814. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6815. {
  6816. addFileHost(
  6817. "uploadboy\.com\/\\w+",
  6818. 'width="740">|method_free',
  6819. 'var rr =|background:#ffffff|not be found|file was removed',
  6820. 'optional--',
  6821. 'optional2--',
  6822. "//a[contains(@href,'uploadboy.com')]");
  6823. }
  6824. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6825. {
  6826. addFileHost(
  6827. "uploadboy\.com\/\\w+",
  6828. 'width="740">|method_free',
  6829. 'var rr =|background:#ffffff|not be found|file was removed',
  6830. 'optional--',
  6831. 'optional2--',
  6832. "//a[contains(@href,'uploadboy.me')]");
  6833. }
  6834. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6835. {
  6836. addFileHost(
  6837. "speedshare\.eu\/\\w+",
  6838. 'favicon.png|color:#3d87c0|cross.png"',
  6839. 'var rr =|File Not Found|style="background:#eee',
  6840. 'optional--',
  6841. 'optional2--',
  6842. "//a[contains(@href,'speedshare.eu')]");
  6843. }
  6844. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6845. {
  6846. addFileHost(
  6847. "unlimitzone\.com\/\\w+",
  6848. 'name="method_free',
  6849. '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',
  6850. 'optional--',
  6851. 'optional2--',
  6852. "//a[contains(@href,'unlimitzone.com')]");
  6853. }
  6854. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6855. {
  6856. addFileHost(
  6857. "rioupload\.com\/\\w+",
  6858. 'sell.jpg',
  6859. 'var rr =',
  6860. 'optional--',
  6861. 'optional2--',
  6862. "//a[contains(@href,'rioupload.com')]");
  6863. }
  6864. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6865. {
  6866. addFileHost(
  6867. "jumbofiles\.org\/\\w+",
  6868. 'H71C5.png|class="downloadtitle">',
  6869. 'var swfu|ViewSourceBIN.png',
  6870. 'optional--',
  6871. 'optional2--',
  6872. "//a[contains(@href,'jumbofiles.org')]");
  6873. }
  6874. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6875. {
  6876. addFileHost(
  6877. "fshare\\.vn\/file\/\\w+",
  6878. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6879. 'không tồn tại|class="color_red m_t_50"',
  6880. 'optional--',
  6881. 'optional2--',
  6882. "//a[contains(@href,'fshare.vn/file')]",
  6883. true
  6884. );
  6885. }
  6886. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6887. {
  6888. addFileHost(
  6889. "spaceforfiles\.com\/\\w+",
  6890. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6891. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6892. 'optional--',
  6893. 'optional2--',
  6894. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6895. }
  6896. if (GM_getValue("Check_google_dot_com_links", false))
  6897. {
  6898. addFileHost(
  6899. "google\\.com\/file\/\\w+",
  6900. 'content="!">|color:#2d2d2d',
  6901. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6902. 'optional--',
  6903. 'optional2--',
  6904. "//a[contains(@href,'google.com/file')]",
  6905. true
  6906. );
  6907. }
  6908. if (GM_getValue("Check_google_dot_com_links", false))
  6909. {
  6910. addFileHost(
  6911. "docs.google.com\/\\w+",
  6912. 'content="!">|color:#2d2d2d',
  6913. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6914. 'optional--',
  6915. 'optional2--',
  6916. "//a[contains(@href,'docs.google.com')]",
  6917. true
  6918. );
  6919. }
  6920. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6921. {
  6922. addFileHost(
  6923. "drive.google.com\/\\w+",
  6924. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6925. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6926. 'optional--',
  6927. 'optional2--',
  6928. "//a[contains(@href,'drive.google.com')]",
  6929. true
  6930. );
  6931. }
  6932. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6933. {
  6934. addFileHost(
  6935. "up.media1fire\.com\/\\w+",
  6936. 'class="addthis_|value="download',
  6937. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6938. 'optional--',
  6939. 'optional2--',
  6940. "//a[contains(@href,'up.media1fire.com')]");
  6941. }
  6942. if (GM_getValue("Check_depfile_dot_com_links", false))
  6943. {
  6944. addFileHost(
  6945. "depfile\.com\/\\w+",
  6946. 'logo_0.png|downloads.gif"|verifycode',
  6947. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6948. 'optional--',
  6949. 'available only for Premium users',
  6950. "//a[contains(@href,'depfile.com')]");
  6951. }
  6952. if (GM_getValue("Check_go4up_dot_com_links", false))
  6953. {
  6954. addFileHost(
  6955. "go4up\.com\/\\w+",
  6956. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6957. '<title>GO4UP|dmca',
  6958. 'optional--',
  6959. 'optional2--',
  6960. "//a[contains(@href,'go4up.com')]");
  6961. }
  6962. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6963. {
  6964. addFileHost(
  6965. "redbunker\.net\/\\w+",
  6966. 'name="method_free"',
  6967. 'color="red">Unknow / Bilinmiyor<',
  6968. 'optional--',
  6969. '2.3 GB',
  6970. "//a[contains(@href,'redbunker.net')]");
  6971. }
  6972. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6973. {
  6974. addFileHost(
  6975. "divxpress\.com\/\\w+",
  6976. 'btn_download|logo.png"',
  6977. 'AVOID_IE_BUG|var rr =',
  6978. 'optional--',
  6979. 'optional2--',
  6980. "//a[contains(@href,'divxpress.com')]");
  6981. }
  6982. if (GM_getValue("Check_anafile_dot_com_links", false))
  6983. {
  6984. addFileHost(
  6985. "anafile\.com\/\\w+",
  6986. 'width="881" valign="top|color="#800080"|name="go"',
  6987. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6988. 'optional--',
  6989. 'optional2--',
  6990. "//a[contains(@href,'anafile.com')]");
  6991. }
  6992. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6993. {
  6994. addFileHost(
  6995. "uploadable\\.ch\/file\/\\w+",
  6996. 'captcha.js"|payment.js"|class="btn_download"',
  6997. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6998. 'optional--',
  6999. 'optional2--',
  7000. "//a[contains(@href,'uploadable.ch/file')]",
  7001. true
  7002. );
  7003. }
  7004. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7005. {
  7006. addFileHost(
  7007. "bigfile\\.to\/file\/\\w+",
  7008. 'captcha.js"|payment.js"|class="btn_download"',
  7009. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7010. 'optional--',
  7011. 'optional2--',
  7012. "//a[contains(@href,'bigfile.to/file')]",
  7013. true
  7014. );
  7015. }
  7016. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7017. {
  7018. addFileHost(
  7019. "arabloads\.net\/\\w+",
  7020. 'name="method_free"|name="method_premium"',
  7021. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7022. 'optional--',
  7023. 'optional2--',
  7024. "//a[contains(@href,'arabloads.net')]");
  7025. }
  7026. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7027. {
  7028. addFileHost(
  7029. "sharerepo\.com\/\\w+",
  7030. 'name="method_free"',
  7031. 'var public_on=|The file you were looking for could not be found',
  7032. 'optional--',
  7033. 'optional2--',
  7034. "//a[contains(@href,'sharerepo.com')]");
  7035. }
  7036. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7037. {
  7038. addFileHost(
  7039. "sfshare\.se\/\\w+",
  7040. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7041. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7042. 'optional--',
  7043. 'optional2--',
  7044. "//a[contains(@href,'sfshare.se')]");
  7045. }
  7046. if (GM_getValue("Check_files_dot_fm_links", false))
  7047. {
  7048. addFileHost(
  7049. "files\.fm\/\\w+",
  7050. 'dl.png"|background-color: transparent',
  7051. 'margin: 40px 40px|background: none;',
  7052. 'optional--',
  7053. 'optional2--',
  7054. "//a[contains(@href,'files.fm')]");
  7055. }
  7056. if (GM_getValue("Check_koofile_dot_com_links", false))
  7057. {
  7058. addFileHost(
  7059. "koofile\.com\/\\w+",
  7060. 'value="download1">|name="method_free"',
  7061. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7062. 'optional--',
  7063. 'optional2--',
  7064. "//a[contains(@href,'koofile.com')]");
  7065. }
  7066. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7067. {
  7068. addFileHost(
  7069. "vidxden\\.com\/\\w+",
  7070. 'Continue to Video"',
  7071. 'No such file',
  7072. 'optional--',
  7073. 'optional2--',
  7074. "//a[contains(@href,'vidxden.com')]"
  7075. );
  7076. }*/
  7077. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7078. {
  7079. addFileHost(
  7080. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7081. 'Details zur Datei|Details page',
  7082. 'Jetzt hochladen|upload now',
  7083. 'optional--',
  7084. 'optional2--',
  7085. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7086. );
  7087. }
  7088. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7089. {
  7090. addFileHost(
  7091. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7092. 'downloadbtn"',
  7093. 'DL_FileNotFound',
  7094. 'optional--',
  7095. 'optional2--',
  7096. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7097. );
  7098. }
  7099. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7100. {
  7101. addFileHost(
  7102. "fileflyer\.com\/view\/\\w+",
  7103. '(?:dwl|locked)btn"',
  7104. 'error.gif"|link">Removed|removedlink">',
  7105. 'optional--',
  7106. 'optional2--',
  7107. "//a[contains(@href,'fileflyer.com')]"
  7108. );
  7109. }
  7110. if (GM_getValue("Check_filestore_dot_to_links", false))
  7111. {
  7112. addFileHost(
  7113. "filestore\.to\/\\?d=\\w+",
  7114. '"downloading"',
  7115. 'Datei wurde nicht gefunden',
  7116. 'optional--',
  7117. 'optional2--',
  7118. "//a[contains(@href,'filestore.to')]"
  7119. );
  7120. }
  7121. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7122. {
  7123. addFileHost(
  7124. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7125. 'fz24">Download|class="pl15">',
  7126. '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',
  7127. 'optional--',
  7128. 'optional2--',
  7129. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7130. );
  7131. }
  7132. if (GM_getValue("Check_datei_dot_to_links", false))
  7133. {
  7134. addFileHost(
  7135. "datei\\.to\/\\??\\w+",
  7136. 'icon_downloaden\\.png|>Download starten<',
  7137. 'Datei wurde nicht gefunden|icon_deleted.png',
  7138. 'optional--',
  7139. 'optional2--',
  7140. "//a[contains(@href,'datei.to')]"
  7141. );
  7142. }
  7143. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7144. {
  7145. addFileHost(
  7146. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7147. '<body class="body" id="body">|value="Slow Download"',
  7148. '<body class="body" >',
  7149. 'optional--',
  7150. 'optional2--',
  7151. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7152. );
  7153. }
  7154. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7155. {
  7156. addFileHost(
  7157. "unibytes\\.com\/[\\w\.]+",
  7158. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7159. 'File not found|Файл не найден|',
  7160. 'optional--',
  7161. 'optional2--',
  7162. "//a[contains(@href,'unibytes.com')]"
  7163. );
  7164. }
  7165. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7166. {
  7167. addFileHost(
  7168. "www\\.hellshare\\.com\/\\d+",
  7169. 'tab\\-details"',
  7170. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7171. 'optional--',
  7172. 'optional2--',
  7173. "//a[contains(@href,'www.hellshare.com')]"
  7174. );
  7175. }
  7176. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7177. {
  7178. addFileHost(
  7179. "www\\.download.cz.hellshare\\.com\/\\w+",
  7180. 'tab\\-details"',
  7181. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7182. 'optional--',
  7183. 'optional2--',
  7184. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7185. );
  7186. }
  7187. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7188. {
  7189. addFileHost(
  7190. "filefactory\\.com",
  7191. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7192. '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',
  7193. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7194. 'Premium Account Required',
  7195. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7196. );
  7197. }
  7198. if (GM_getValue("Check_load_dot_to_links", false))
  7199. {
  7200. addFileHost(
  7201. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7202. '"download_table_left">Size',
  7203. 'Can\'t find file',
  7204. 'optional--',
  7205. 'optional2--',
  7206. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7207. );
  7208. }
  7209. if (GM_getValue("Check_divshare_dot_com_links", false))
  7210. {
  7211. addFileHost(
  7212. "divshare\\.com\/download\/",
  7213. 'download_new\.png',
  7214. 'have been removed',
  7215. 'optional--',
  7216. 'optional2--',
  7217. "//a[contains(@href,'divshare.com')]"
  7218. );
  7219. }
  7220. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7221. {
  7222. addFileHost(
  7223. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7224. 'download=true"',
  7225. '<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>',
  7226. 'optional--',
  7227. 'optional2--',
  7228. "//a[contains(@href,'euroshare.eu/file')]"
  7229. );
  7230. }
  7231. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7232. {
  7233. addFileHost(
  7234. 'files\\.mail\\.ru/(?:\\w*)',
  7235. 'fileList',
  7236. 'errorMessage',
  7237. 'optional--',
  7238. 'optional2--',
  7239. "//a[contains(@href,'files.mail.ru')]"
  7240. );
  7241. }
  7242. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7243. {
  7244. addFileHost(
  7245. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7246. 'Filesize',
  7247. 'Invalid|deleted|Could not download file',
  7248. 'slots|scheduled maintenance',
  7249. 'optional2--',
  7250. "//a[contains(@href,'megashares.com/')]"
  7251. );
  7252. } */
  7253. if (GM_getValue("Check_narod_dot_ru_links", false))
  7254. {
  7255. addFileHost(
  7256. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7257. 'b-submit|action="resource.download"',
  7258. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7259. 'Внутренняя ошибка сервиса',
  7260. 'optional2--',
  7261. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7262. );
  7263. }
  7264. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7265. {
  7266. addFileHost(
  7267. "rayfile\\.com\/",
  7268. 'FILEtitleTXT',
  7269. 'blueRow',
  7270. 'optional--',
  7271. 'optional2--',
  7272. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7273. );
  7274. }
  7275. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7279. 'button_green_body"',
  7280. 'error">',
  7281. 'optional--',
  7282. 'optional2--',
  7283. "//a[contains(@href,'filesmonster.com/download')]"
  7284. );
  7285. }
  7286. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7287. {
  7288. addFileHost(
  7289. 'usaupload\\.net\/d\/(?:\w*)',
  7290. '<strong>File size:</strong>',
  7291. 'is not available',
  7292. 'optional--',
  7293. 'optional2--',
  7294. "//a[contains(@href,'usaupload.net/d/')]"
  7295. );
  7296. }
  7297. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7298. {
  7299. addFileHost(
  7300. 'sendspace\\.com\/file\/\\w+',
  7301. 'file_description',
  7302. 'msg error"',
  7303. 'optional--',
  7304. 'optional2--',
  7305. "//a[contains(@href,'sendspace.com/file')]"
  7306. );
  7307. }
  7308. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7309. {
  7310. addFileHost(
  7311. 'sendspace\\.pl\/file\/\\w+',
  7312. 'download_file"',
  7313. 'Podany plik nie',
  7314. 'optional--',
  7315. 'optional2--',
  7316. "//a[contains(@href,'sendspace.pl/file')]"
  7317. );
  7318. }
  7319. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7320. {
  7321. addFileHost(
  7322. 'uploading\\.com\/(?:files\/)?\\w+',
  7323. 'free_method">',
  7324. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7325. 'optional--',
  7326. 'optional2--',
  7327. "//a[contains(@href,'uploading.com')]"
  7328. );
  7329. } */
  7330. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7331. {
  7332. addFileHost(
  7333. "gigasize\.com\/\\w+",
  7334. 'fileId"|class="estimate">',
  7335. 'error">',
  7336. 'optional--',
  7337. 'optional2--',
  7338. "//a[contains(@href,'gigasize.com/get')]"
  7339. );
  7340. }
  7341. if (GM_getValue("Check_good_dot_com_links", false))
  7342. {
  7343. addFileHost(
  7344. 'good\\.net\/(?:_|dl)',
  7345. 'Free Download',
  7346. 'Not Found',
  7347. 'Forbidden',
  7348. 'optional2--',
  7349. "//a[contains(@href,'good.net')]"
  7350. );
  7351. }
  7352. if (GM_getValue("Check_2shared_dot_com_links", false))
  7353. {
  7354. addFileHost(
  7355. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7356. 'File size',
  7357. 'File not found|is not valid|/images/important.gif',
  7358. 'optional--',
  7359. 'optional2--',
  7360. // "//a[contains(@href,'2shared.com')]"
  7361. "//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/')]"
  7362. );
  7363. }
  7364. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7365. {
  7366. addFileHost(
  7367. 'turboupload\\.com\/\\w*',
  7368. 'You have requested',
  7369. 'File Not Found',
  7370. 'optional--',
  7371. 'optional2--',
  7372. "//a[contains(@href,'turboupload.com')]"
  7373. );
  7374. }
  7375. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7376. {
  7377. addFileHost(
  7378. 'gigapeta\\.com\/dl\/',
  7379. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7380. '404|page_error',
  7381. 'optional--',
  7382. 'optional2--',
  7383. "//a[contains(@href,'gigapeta.com/dl')]"
  7384. );
  7385. }
  7386. if (GM_getValue("Check_veehd_dot_com_links", false))
  7387. {
  7388. addFileHost(
  7389. 'veehd\.com\/video\/.*?',
  7390. 'No sound|Download video',
  7391. 'Featured Videos',
  7392. 'optional--',
  7393. 'optional2--',
  7394. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7395. );
  7396. }
  7397. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7398. {
  7399. addFileHost(
  7400. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7401. 'fast_download_form">|submit_sms_download',
  7402. '<p style="text-align:center">',
  7403. 'optional--',
  7404. 'optional2--',
  7405. "//a[contains(@href,'vip-file.com/download')]"
  7406. );
  7407. }
  7408. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7409. {
  7410. addFileHost(
  7411. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7412. 'download\\-pnl ',
  7413. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7414. 'optional--',
  7415. 'optional2--',
  7416. "//a[contains(@href,'letitbit.net/download')]"
  7417. );
  7418. }*/
  7419. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7420. {
  7421. addFileHost(
  7422. 'ifolder\.ru\/\\d+',
  7423. 'file-info',
  7424. 'ui-state-error',
  7425. 'optional--',
  7426. 'optional2--',
  7427. "//a[contains(@href,'ifolder.ru')]"
  7428. );
  7429. }
  7430. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7431. {
  7432. addFileHost(
  7433. 'fileswap\\.com\/dl\/\\w+',
  7434. 'bttnDownloadLink"',
  7435. 'rounded_block_error"',
  7436. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7437. 'optional2--',
  7438. "//a[contains(@href,'fileswap.com/dl')]"
  7439. );
  7440. }*/
  7441. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7442. {
  7443. addFileHost(
  7444. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7445. 'var __error = 0|id="recaptchaPanel">',
  7446. 'FILES__DOESNT_EXIST|removed or did not exist',
  7447. 'optional--',
  7448. 'optional2--',
  7449. "//a[contains(@href,'filecloud.io/')]"
  7450. );
  7451. addFileHost(
  7452. 'ifile\\.it\/\\w+',
  7453. 'var __error = 0',
  7454. 'FILES__DOESNT_EXIST',
  7455. 'optional--',
  7456. 'optional2--',
  7457. "//a[contains(@href,'ifile.it/')]"
  7458. );
  7459. }
  7460. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7461. {
  7462. addFileHost(
  7463. 'solidfiles\\.com\/\\w+',
  7464. 'id="download"|content="Download',
  7465. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7466. 'optional--',
  7467. 'optional2--',
  7468. "//a[contains(@href,'solidfiles.com/')]"
  7469. );
  7470. }
  7471. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7472. {
  7473. addFileHost(
  7474. "(?:.\\.|)shareflare\\.net",
  7475. 'download-pnl|<div class="premium-block">',
  7476. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7477. 'optional--',
  7478. 'optional2--',
  7479. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7480. );
  7481. }
  7482. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7483. {
  7484. addFileHost(
  7485. "u18116681.shareflare\\.net",
  7486. 'download-pnl|<div class="premium-block">',
  7487. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7488. 'optional--',
  7489. 'optional2--',
  7490. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7491. );
  7492. }
  7493. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7494. {
  7495. addFileHost(
  7496. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7497. 'file\\-list-orderby|section-filedetail">',
  7498. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7499. 'optional--',
  7500. 'optional2--',
  7501. "//a[contains(@href,'hellspy.')]"
  7502. );
  7503. }
  7504. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7505. {
  7506. addFileHost(
  7507. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7508. '<body onload="">',
  7509. 'neexistuje|not exist',
  7510. 'optional--',
  7511. 'optional2--',
  7512. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7513. );
  7514. }
  7515. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7516. {
  7517. addFileHost(
  7518. "stahovanizasms\\.cz\/\\w+",
  7519. 'download\\.png>|font-size:11px><tr>',
  7520. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7521. 'optional--',
  7522. 'optional2--',
  7523. "//a[contains(@href,'stahovanizasms.cz')]"
  7524. );
  7525. }
  7526. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7527. {
  7528. addFileHost(
  7529. "share-links\\.biz\/\\w*",
  7530. 'online\\.gif',
  7531. '(?:offline|parts)\\.gif',
  7532. 'optional--',
  7533. 'optional2--',
  7534. "//a[contains(@href,'share-links.biz')]"
  7535. );
  7536. }
  7537. if (GM_getValue("Check_4shared_dot_com_links", false))
  7538. {
  7539. addFileHost(
  7540. "4shared\\.com\/.+\/",
  7541. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7542. 'class="warn\"|big red"|GetDataBack',
  7543. 'Service Unavailable',
  7544. 'optional2--',
  7545. "//a[contains(@href,'4shared.com')]"
  7546. );
  7547. }
  7548. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7549. {
  7550. addFileHost(
  7551. "(?:www\\d+\.|)zippyshare\.com\/",
  7552. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7553. 'not exist|Status 404',
  7554. 'optional--',
  7555. 'optional2--',
  7556. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7557. );
  7558. }
  7559. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7560. {
  7561. addFileHost(
  7562. "mediafire\.com\/",
  7563. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7564. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7565. 'set to private',
  7566. 'optional2--',
  7567. "//a[contains(@href,'mediafire.com')]"
  7568. );
  7569. }
  7570. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7571. {
  7572. addFileHost(
  7573. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7574. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7575. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7576. 'optional--',
  7577. 'GB</small>',
  7578. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7579. );
  7580. }
  7581. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7582. {
  7583. addFileHost(
  7584. "ulozisko\.sk\/",
  7585. 'Detaily',
  7586. 'neexistuje',
  7587. 'optional--',
  7588. 'optional2--',
  7589. "//a[contains(@href,'ulozisko.sk')]"
  7590. );
  7591. }
  7592. if (GM_getValue("Check_box_dot_com_links", false))
  7593. {
  7594. addFileHost(
  7595. "box\.com\/\\w+",
  7596. 'download-file-btn|id="download_button|preview-download',
  7597. 'BIyMin.png| <div class="error_message|link has been removed',
  7598. 'optional--',
  7599. 'optional2--',
  7600. "//a[contains(@href,'app.box.com')]");
  7601. }
  7602. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7603. {
  7604. addFileHost(
  7605. "uptobox\\.com\/\\w+",
  7606. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7607. '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|لا يوجد أي ملف',
  7608. 'Maintenance',
  7609. 'optional2--',
  7610. "//a[contains(@href,'uptobox.com')]",
  7611. true
  7612. );
  7613. }
  7614. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7615. {
  7616. addFileHost(
  7617. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7618. 'FILE DOWNLOAD<',
  7619. 'File Does Not Exist',
  7620. 'optional--',
  7621. 'optional2--',
  7622. "//a[contains(@href,'sharecash.org/download.php')]"
  7623. );
  7624. }
  7625. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7626. {
  7627. addFileHost(
  7628. "1fichier\\.com\/dir\/\\w+",
  7629. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7630. 'Shared Folder Not Found',
  7631. 'optional--',
  7632. 'optional2--',
  7633. "//a[contains(@href,'1fichier.com/dir')]"
  7634. );
  7635. }
  7636. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7637. {
  7638. addFileHost(
  7639. "depositfiles\\.com\/folders\/\\w+",
  7640. '<div class="progressContainer">',
  7641. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7642. 'optional--',
  7643. 'optional2--',
  7644. "//a[contains(@href,'depositfiles.com/folders')]"
  7645. );
  7646. }
  7647. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7648. {
  7649. addFileHost(
  7650. "rapidfileshare\\.net/\\w+",
  7651. '<div id="upload-header-bg">',
  7652. '<div style="width:500px;text-align:left;">',
  7653. 'optional--',
  7654. 'optional2--',
  7655. "//a[contains(@href,'rapidfileshare.net/')]"
  7656. );
  7657. }
  7658. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7659. {
  7660. addFileHost(
  7661. "stiahnito\\.sk/",
  7662. '<span class="filesize right">',
  7663. '<ol class="list-purp-2">',
  7664. 'optional--',
  7665. 'optional2--',
  7666. "//a[contains(@href,'stiahnito.sk/')]"
  7667. );
  7668. }
  7669. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7670. {
  7671. addFileHost(
  7672. "rusfolder\\.(?:com|net)",
  7673. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7674. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7675. 'optional--',
  7676. 'optional2--',
  7677. "//a[contains(@href,'rusfolder')]"
  7678. );
  7679. }
  7680. if (GM_getValue("Check_catshare_dot_net_links", false))
  7681. {
  7682. addFileHost(
  7683. "catshare\\.net/\\w+",
  7684. '"icon-share',
  7685. 'alert alert-error',
  7686. 'optional--',
  7687. 'optional2--',
  7688. "//a[contains(@href,'catshare.net/')]"
  7689. );
  7690. }
  7691. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7692. {
  7693. addFileHost(
  7694. "anonfiles\\.com/\\w+",
  7695. '"download_button"',
  7696. '<legend><b>404</b>',
  7697. 'optional--',
  7698. 'optional2--',
  7699. "//a[contains(@href,'anonfiles.com')]"
  7700. );
  7701. }*/
  7702. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7703. {
  7704. addFileHost(
  7705. "mixturecloud\\.com/media/\\w+",
  7706. '"btn icon i_globe gray share_150',
  7707. '"s_cross_close"></span> 404:',
  7708. 'optional--',
  7709. 'optional2--',
  7710. "//a[contains(@href,'mixturecloud.com/media/')]"
  7711. );
  7712. }
  7713. if (GM_getValue("Check_akafile_dot_com_links", false))
  7714. {
  7715. addFileHost(
  7716. "akafile\\.com\/\\w+",
  7717. 'download1',
  7718. 'File Not Found',
  7719. 'optional--',
  7720. 'optional2--',
  7721. "//a[contains(@href,'akafile.com/')]"
  7722. );
  7723. }
  7724. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7725. {
  7726. addFileHost(
  7727. "creafile\\.net\/\\w+",
  7728. 'downloadblock',
  7729. 'errtitle',
  7730. 'optional--',
  7731. 'optional2--',
  7732. "//a[contains(@href,'creafile.net/')]"
  7733. );
  7734. }*/
  7735. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7736. {
  7737. addFileHost(
  7738. "hugefiles\\.net\/\\w+",
  7739. 'download1|class="btn-create-download" value="Create Download Link">',
  7740. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7741. 'optional--',
  7742. 'optional2--',
  7743. "//a[contains(@href,'hugefiles.net/')]"
  7744. );
  7745. }*/
  7746. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7747. {
  7748. addFileHost(
  7749. "sendmyway\\.com\/\\w+",
  7750. 'id="btn_download"',
  7751. '500px;text-align:left;"|<center><h3>',
  7752. 'optional--',
  7753. 'optional2--',
  7754. "//a[contains(@href,'sendmyway.com/')]"
  7755. );
  7756. }
  7757. if (GM_getValue("Check_upload_dot_ee_links", false))
  7758. {
  7759. addFileHost(
  7760. "upload\\.ee\/\\w+",
  7761. 'onmouseout="document.dllink.src',
  7762. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7763. 'optional--',
  7764. 'optional2--',
  7765. "//a[contains(@href,'upload.ee/')]"
  7766. );
  7767. }
  7768. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7769. {
  7770. addFileHost(
  7771. "shareplace\\.org\/\\?\\w+",
  7772. 'Download-Link',
  7773. 'Your requested file is not found|Select file to send',
  7774. 'optional--',
  7775. 'optional2--',
  7776. "//a[contains(@href,'shareplace.org/?')]"
  7777. );
  7778. }
  7779. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7780. {
  7781. addFileHost(
  7782. "uploadc\\.com\/\\w+",
  7783. 'id="prebut"',
  7784. 'File Not Found|This file has been removed due',
  7785. 'optional--',
  7786. 'optional2--',
  7787. "//a[contains(@href,'uploadc.com/')]"
  7788. );
  7789. }
  7790. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7791. {
  7792. addFileHost(
  7793. "uploadc\\.ch\/\\w+",
  7794. 'id="prebut"',
  7795. 'File Not Found|This file has been removed due',
  7796. 'optional--',
  7797. 'optional2--',
  7798. "//a[contains(@href,'uploadc.ch/')]"
  7799. );
  7800. }
  7801. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7802. {
  7803. addFileHost(
  7804. "remixshare\\.com\/\\w+",
  7805. 'id="dl2"',
  7806. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7807. 'optional--',
  7808. 'optional2--',
  7809. "//a[contains(@href,'remixshare.com/')]"
  7810. );
  7811. }*/
  7812. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7813. {
  7814. addFileHost(
  7815. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7816. 'Last Download :',
  7817. 'img src="\\/404.jpg"',
  7818. 'optional--',
  7819. 'optional2--',
  7820. "//a[contains(@href,'exoshare.com/download.php')]"
  7821. );
  7822. }
  7823. if (GM_getValue("Check_borncash_dot_org_links", false))
  7824. {
  7825. addFileHost(
  7826. "borncash\\.org\/download\/\\?a=\\w+",
  7827. 'class="knop_1"',
  7828. '\/error\/er00',
  7829. 'optional--',
  7830. 'optional2--',
  7831. "//a[contains(@href,'borncash.org/download/')]"
  7832. );
  7833. }
  7834. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7835. {
  7836. addFileHost(
  7837. "vidplay\.net\/\\w+",
  7838. 'solvemedia puzzle widget',
  7839. 'File not found|AVOID_IE_BUG',
  7840. 'optional--',
  7841. 'optional2--',
  7842. "//a[contains(@href,'vidplay.net')]");
  7843. }*/
  7844. if (GM_getValue("Check_filedais_dot_com_links", false))
  7845. {
  7846. addFileHost(
  7847. "filedais\.com\/\\w+",
  7848. 'class="btn btn-info"|name="method_free"',
  7849. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7850. 'optional--',
  7851. 'optional2--',
  7852. "//a[contains(@href,'filedais.com')]");
  7853. }
  7854. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7855. {
  7856. addFileHost(
  7857. "up.4share\.vn\/\\w+",
  7858. '<font size="2" face="Verdana">',
  7859. 'font: 13px Tahoma; color: Brown',
  7860. 'optional--',
  7861. 'optional2--',
  7862. "//a[contains(@href,'up.4share.vn')]");
  7863. }
  7864. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7865. {
  7866. addFileHost(
  7867. "share.vnn\.vn\/\\w+",
  7868. '"index,follow"|<div class="main" id="download-box">',
  7869. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7870. 'optional--',
  7871. 'optional2--',
  7872. "//a[contains(@href,'share.vnn.vn')]");
  7873. }
  7874. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7875. {
  7876. addFileHost(
  7877. "upfile\.vn\/\\w+",
  7878. 'download-timer',
  7879. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7880. 'optional--',
  7881. 'optional2--',
  7882. "//a[contains(@href,'upfile.vn')]");
  7883. }
  7884. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7885. {
  7886. addFileHost(
  7887. "aisfile\.com\/\\w+",
  7888. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7889. '<div style="width:500px;text-align:left;">|File Not Found',
  7890. 'optional--',
  7891. 'optional2--',
  7892. "//a[contains(@href,'aisfile.com')]");
  7893. }
  7894. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7895. {
  7896. addFileHost(
  7897. "usersfiles\.com\/\\w+",
  7898. 'class="btn btn-success|id="btn_download" class="btn"',
  7899. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7900. 'optional--',
  7901. 'optional2--',
  7902. "//a[contains(@href,'usersfiles.com')]");
  7903. }
  7904. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7905. {
  7906. addFileHost(
  7907. "pan.baidu\.com\/\\w+",
  7908. 'target="_blank" title=|share-personal-info',
  7909. 'share_notfound.png|background:#f9f9f9',
  7910. 'optional--',
  7911. 'optional2--',
  7912. "//a[contains(@href,'pan.baidu.com')]");
  7913. }
  7914. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7915. {
  7916. addFileHost(
  7917. "yunpan\.cn\/\\w+",
  7918. 'class="icon icon-download',
  7919. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7920. 'optional--',
  7921. 'optional2--',
  7922. "//a[contains(@href,'yunpan.cn')]");
  7923. }
  7924. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7925. {
  7926. addFileHost(
  7927. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7928. 'getElementById("downbild")|style.display',
  7929. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7930. 'optional--',
  7931. 'optional2--',
  7932. "//a[contains(@href,'file-upload.net')]");
  7933. }
  7934. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7935. {
  7936. addFileHost(
  7937. "file\\-upload\\.com\/",
  7938. 'name="method_free"',
  7939. 'File Not Found|exclamation-triangle',
  7940. 'optional--',
  7941. 'optional2--',
  7942. "//a[contains(@href,'file-upload.com')]");
  7943. }
  7944. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7945. {
  7946. addFileHost(
  7947. "gulfup\.com\/",
  7948. '<!-- Downlod template -->|download.gif',
  7949. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7950. 'optional--',
  7951. 'optional2--',
  7952. "//a[contains(@href,'gulfup.com')]");
  7953. }*/
  7954. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7955. {
  7956. addFileHost(
  7957. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7958. 'dldtable">',
  7959. 'does not exist\\.',
  7960. 'optional--',
  7961. 'optional2--',
  7962. "//a[contains(@href,'datafilehost.com')]");
  7963. }
  7964. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7965. {
  7966. addFileHost(
  7967. "dropbox\.com\/s\/\\w+",
  7968. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7969. '>Nothing Here<|>Error (404)<',
  7970. 'title>Dropbox - 509|Error (403)|Error: 429',
  7971. 'optional2--',
  7972. "//a[contains(@href,'dropbox.com')]");
  7973. }
  7974. if (GM_getValue("Check_box_dot_net_links", false))
  7975. {
  7976. addFileHost(
  7977. "box\.net\/\\w+",
  7978. 'download-file-btn|id="download_button',
  7979. 'BIyMin.png| <div class="error_message',
  7980. 'optional--',
  7981. 'optional2--',
  7982. "//a[contains(@href,'box.net')]");
  7983. }
  7984. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7985. {
  7986. addFileHost(
  7987. "filedropper\.com\/\\w+",
  7988. 'background:#ddd;|width:985px; ',
  7989. 'background-color:#FFFFFF;|margin-left: -400px;',
  7990. 'optional--',
  7991. 'optional2--',
  7992. "//a[contains(@href,'filedropper.com')]");
  7993. }
  7994. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7995. {
  7996. addFileHost(
  7997. "tropicshare\\.com\/files\/\\d+",
  7998. 'MB</span>|GB</span>|KB</span>',
  7999. '>FNF<|size: </span>',
  8000. 'optional--',
  8001. 'optional2--',
  8002. "//a[contains(@href,'tropicshare.com')]");
  8003. }
  8004. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8005. {
  8006. addFileHost(
  8007. "worldbytez\.com",
  8008. '<div class="download_type">|method_free',
  8009. '<div style="width:500px;text-align:left;">',
  8010. 'optional--',
  8011. 'optional2--',
  8012. "//a[contains(@href,'worldbytez.com')]",
  8013. true);
  8014. }
  8015. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8016. {
  8017. addFileHost(
  8018. "freefilehosting\.net\/\\w+",
  8019. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8020. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8021. 'optional--',
  8022. 'optional2--',
  8023. "//a[contains(@href,'freefilehosting.net')]");
  8024. }
  8025. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8026. {
  8027. addFileHost(
  8028. "ziddu\.com\/\\w+",
  8029. 'downloads.ziddu.com|downloadfilelinkicon',
  8030. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8031. 'optional--',
  8032. 'optional2--',
  8033. "//a[contains(@href,'ziddu.com')]");
  8034. }
  8035. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8036. {
  8037. addFileHost(
  8038. "exclusiveloader\.com\/\\w+",
  8039. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8040. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8041. 'optional--',
  8042. 'optional2--',
  8043. "//a[contains(@href,'exclusiveloader.com')]");
  8044. }
  8045. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8046. {
  8047. addFileHost(
  8048. "sharerapid\.cz\/\\w+",
  8049. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8050. 'error_div">|404 - Not Found',
  8051. 'optional--',
  8052. 'optional2--',
  8053. "//a[contains(@href,'sharerapid.cz')]");
  8054. }
  8055. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8056. {
  8057. addFileHost(
  8058. "sdilej\.cz\/\\w+",
  8059. 'class="page-download"',
  8060. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8061. 'optional--',
  8062. 'optional2--',
  8063. "//a[contains(@href,'sdilej.cz')]");
  8064. }
  8065. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8066. {
  8067. addFileHost(
  8068. "lafiles\.com\/\\w+",
  8069. '<div id="pay_modes">',
  8070. '<b class="err"></b>',
  8071. 'optional--',
  8072. 'optional2--',
  8073. "//a[contains(@href,'lafiles.com')]");
  8074. }
  8075. if (GM_getValue("Check_acefile_dot_net_links", false))
  8076. {
  8077. addFileHost(
  8078. "acefile\.net\/\\w+",
  8079. 'align=right nowrap><b>',
  8080. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8081. 'optional--',
  8082. 'optional2--',
  8083. "//a[contains(@href,'acefile.net')]");
  8084. }
  8085. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8086. {
  8087. addFileHost(
  8088. "megarapid\.cz\/\\w+",
  8089. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8090. 'error_div">|404 - Not Found',
  8091. 'optional--',
  8092. 'optional2--',
  8093. "//a[contains(@href,'megarapid.cz')]");
  8094. }
  8095. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8096. {
  8097. addFileHost(
  8098. "yadi\.sk\/\\w+",
  8099. 'nb-button _nb-small-button',
  8100. 'error code|Nothing found',
  8101. 'optional--',
  8102. 'optional2--',
  8103. "//a[contains(@href,'yadi.sk')]");
  8104. }
  8105. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8106. {
  8107. addFileHost(
  8108. "hitfile\.net\/\\w+",
  8109. 'class="download-file',
  8110. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8111. 'optional--',
  8112. 'optional2--',
  8113. "//a[contains(@href,'hitfile.net')]");
  8114. }
  8115. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8116. {
  8117. addFileHost(
  8118. "up.top4top\.net\/\\w+",
  8119. 'start Downlod template',
  8120. 'start err template',
  8121. 'optional--',
  8122. 'optional2--',
  8123. "//a[contains(@href,'up.top4top.net')]");
  8124. }
  8125. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8126. {
  8127. addFileHost(
  8128. "filejoker\.net",
  8129. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8130. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8131. 'optional--',
  8132. 'id="download" class="premium-only">',
  8133. "//a[contains(@href,'filejoker.net')]");
  8134. }
  8135. if (GM_getValue("Check_free_dot_fr_links", false))
  8136. {
  8137. addFileHost(
  8138. "(?:dl.\\.|)free\\.fr",
  8139. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8140. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8141. 'optional--',
  8142. 'optional2--',
  8143. "//a[contains(@href,'dl.free.fr')]");
  8144. }
  8145. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8146. {
  8147. addFileHost(
  8148. "gboxes\.com\/\\w+",
  8149. 'You have requested|color="red">http://www.gboxes.com',
  8150. 'File Not Found|<div style="width:500px;text-align:left;">',
  8151. 'optional--',
  8152. 'optional2--',
  8153. "//a[contains(@href,'gboxes.com')]");
  8154. }
  8155. if (GM_getValue("Check_led_dot_wf_links", false))
  8156. {
  8157. addFileHost(
  8158. "led\.wf\/\\w+",
  8159. 'logo_0.png|downloads.gif"|verifycode',
  8160. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8161. 'optional--',
  8162. 'available only for Premium users',
  8163. "//a[contains(@href,'led.wf')]");
  8164. }
  8165. if (GM_getValue("Check_lan_dot_wf_links", false))
  8166. {
  8167. addFileHost(
  8168. "lan\.wf\/\\w+",
  8169. 'logo_0.png|downloads.gif"|verifycode',
  8170. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8171. 'optional--',
  8172. 'available only for Premium users',
  8173. "//a[contains(@href,'lan.wf')]");
  8174. }
  8175. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8176. {
  8177. addFileHost(
  8178. "adlink\.wf\/\\w+",
  8179. 'logo_0.png|downloads.gif"|verifycode',
  8180. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8181. 'optional--',
  8182. 'available only for Premium users',
  8183. "//a[contains(@href,'adlink.wf')]");
  8184. }
  8185. if (GM_getValue("Check_click_dot_tf_links", false))
  8186. {
  8187. addFileHost(
  8188. "click\.tf\/\\w+",
  8189. 'logo_0.png|downloads.gif"|verifycode',
  8190. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8191. 'optional--',
  8192. 'available only for Premium users',
  8193. "//a[contains(@href,'click.tf')]");
  8194. }
  8195. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8196. {
  8197. addFileHost(
  8198. "ssh\.tf\/\\w+",
  8199. 'logo_0.png|downloads.gif"|verifycode',
  8200. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8201. 'optional--',
  8202. 'available only for Premium users',
  8203. "//a[contains(@href,'ssh.tf')]");
  8204. }
  8205. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8206. {
  8207. addFileHost(
  8208. "ssh\.yt\/\\w+",
  8209. 'logo_0.png|downloads.gif"|verifycode',
  8210. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8211. 'optional--',
  8212. 'available only for Premium users',
  8213. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8214. }
  8215. if (GM_getValue("Check_yep_dot_pm_links", false))
  8216. {
  8217. addFileHost(
  8218. "yep\.pm\/\\w+",
  8219. 'logo_0.png|downloads.gif"|verifycode',
  8220. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8221. 'optional--',
  8222. 'available only for Premium users',
  8223. "//a[contains(@href,'yep.pm')]");
  8224. }
  8225. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8226. {
  8227. addFileHost(
  8228. "kyc\.pm\/\\w+",
  8229. 'logo_0.png|downloads.gif"|verifycode',
  8230. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8231. 'optional--',
  8232. 'available only for Premium users',
  8233. "//a[contains(@href,'kyc.pm')]");
  8234. }
  8235. if (GM_getValue("Check_brupload_dot_net_links", false))
  8236. {
  8237. addFileHost(
  8238. "brupload\.net\/\\w+",
  8239. 'Download Gratuito',
  8240. '<div style="width:500px;text-align:left;">',
  8241. 'optional--',
  8242. 'optional2--',
  8243. "//a[contains(@href,'brupload.net')]");
  8244. }
  8245. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8246. {
  8247. addFileHost(
  8248. "cloudzilla\.to\/\\w+",
  8249. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8250. 'File not found|/imgs/broken.png',
  8251. 'optional--',
  8252. 'optional2--',
  8253. "//a[contains(@href,'cloudzilla.to')]");
  8254. } */
  8255. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8256. {
  8257. addFileHost(
  8258. "clicknupload\.com\/\\w+",
  8259. 'name="method_free',
  8260. 'File Not Found',
  8261. 'optional--',
  8262. 'optional2--',
  8263. "//a[contains(@href,'clicknupload.com')]");
  8264. }
  8265. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8266. {
  8267. addFileHost(
  8268. "clicknupload\.me\/\\w+",
  8269. 'name="method_free',
  8270. 'File Not Found',
  8271. 'optional--',
  8272. 'optional2--',
  8273. "//a[contains(@href,'clicknupload.me')]");
  8274. }
  8275. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8276. {
  8277. addFileHost(
  8278. "clicknupload\.link\/\\w+",
  8279. 'name="method_free',
  8280. 'File Not Found',
  8281. 'optional--',
  8282. 'optional2--',
  8283. "//a[contains(@href,'clicknupload.link')]");
  8284. }
  8285. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8286. {
  8287. addFileHost(
  8288. "ex-load\.com\/\\w+",
  8289. 'name="method_free|<p>Download File:</p>',
  8290. 'Folder Not Found|File Not Found|Error 404',
  8291. 'optional--',
  8292. 'class="downprem wow bounceInLeft',
  8293. "//a[contains(@href,'ex-load.com')]");
  8294. }
  8295. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8296. {
  8297. addFileHost(
  8298. "hexupload\.com\/\\w+",
  8299. 'button" value="Free|type="submit" value=""',
  8300. 'File Not Found|<div style="width:500px;text-align:left;">',
  8301. 'optional--',
  8302. 'optional2--',
  8303. "//a[contains(@href,'hexupload.com')]");
  8304. }*/
  8305. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8306. {
  8307. addFileHost(
  8308. "wizupload\.com\/\\w+",
  8309. 'btn_download|class="downloadbtn"',
  8310. '>File Not Found<',
  8311. 'optional--',
  8312. 'optional2--',
  8313. "//a[contains(@href,'wizupload.com')]");
  8314. }
  8315. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8316. {
  8317. addFileHost(
  8318. "inclouddrive\.com\/\\w+",
  8319. 'initfreedownload',
  8320. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8321. 'optional--',
  8322. 'optional2--',
  8323. "//a[contains(@href,'inclouddrive.com')]");
  8324. }
  8325. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8326. {
  8327. addFileHost(
  8328. "radicalshare\.com\/\\w+",
  8329. 'value="download1|name="method_free"',
  8330. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8331. 'optional--',
  8332. 'optional2--',
  8333. "//a[contains(@href,'radicalshare.com')]");
  8334. }*/
  8335. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8336. {
  8337. addFileHost(
  8338. "sharemods\.com\/\\w+",
  8339. 'name="method_free"',
  8340. 'File Not Found<',
  8341. 'optional--',
  8342. 'optional2--',
  8343. "//a[contains(@href,'sharemods.com')]");
  8344. }
  8345. if (GM_getValue("Check_hostr_dot_co_links", false))
  8346. {
  8347. addFileHost(
  8348. "hostr\.co\/\\w+",
  8349. 'method="get"',
  8350. 'File not found<|error-page',
  8351. 'optional--',
  8352. 'optional2--',
  8353. "//a[contains(@href,'hostr.co')]");
  8354. }
  8355. if (GM_getValue("Check_filepi_dot_com_links", false))
  8356. {
  8357. addFileHost(
  8358. "filepi\.com\/\\w+",
  8359. 'id="button_start">',
  8360. 'File not found',
  8361. 'optional--',
  8362. 'optional2--',
  8363. "//a[contains(@href,'filepi.com')]");
  8364. }
  8365. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8366. {
  8367. addFileHost(
  8368. "tikfile\.com\/\\w+",
  8369. 'btn_download',
  8370. 'File Not Found|file was removed|Reason for deletion',
  8371. 'optional--',
  8372. 'optional2--',
  8373. "//a[contains(@href,'tikfile.com')]");
  8374. }
  8375. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8376. {
  8377. addFileHost(
  8378. "cloudsix\.me\/\\w+",
  8379. 'name="method_free"',
  8380. 'File Not Found|width:500px;text-align:left;">',
  8381. 'optional--',
  8382. 'optional2--',
  8383. "//a[contains(@href,'cloudsix.me')]");
  8384. }
  8385. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8386. {
  8387. addFileHost(
  8388. "neodrive\.co\/\\w+",
  8389. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8390. 'File not found|/imgs/broken.png',
  8391. 'optional--',
  8392. 'optional2--',
  8393. "//a[contains(@href,'neodrive.co')]");
  8394. } */
  8395. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8396. {
  8397. addFileHost(
  8398. "chayfile\.com\/\\w+",
  8399. 'name="method_free"',
  8400. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8401. 'optional--',
  8402. 'optional2--',
  8403. "//a[contains(@href,'chayfile.com')]");
  8404. }
  8405. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8406. {
  8407. addFileHost(
  8408. "xfileload\.com\/\\w+",
  8409. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8410. '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..|הקובץ שחיפשת לא נמצא.',
  8411. 'optional--',
  8412. 'optional2--',
  8413. "//a[contains(@href,'xfileload.com')]");
  8414. }*/
  8415. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8416. {
  8417. addFileHost(
  8418. "rockfile\.eu\/\\w+",
  8419. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8420. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8421. 'optional--',
  8422. 'optional2--',
  8423. "//a[contains(@href,'rockfile.eu')]",
  8424. true);
  8425. }
  8426. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8427. {
  8428. addFileHost(
  8429. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8430. 'i/icon/dll.png"|>Start download<br',
  8431. 'no longer available<|i/ino.png"',
  8432. 'optional--',
  8433. 'optional2--',
  8434. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8435. }
  8436. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8437. {
  8438. addFileHost(
  8439. "ozofiles\.com\/\\w+",
  8440. 'button" value="Free|name="method_free',
  8441. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8442. 'optional--',
  8443. 'optional2--',
  8444. "//a[contains(@href,'ozofiles.com')]");
  8445. }
  8446. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8447. {
  8448. addFileHost(
  8449. "userscloud\.com\/\\w+",
  8450. 'btn_download|class="label label-success">',
  8451. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8452. 'optional--',
  8453. 'optional2--',
  8454. "//a[contains(@href,'userscloud.com')]");
  8455. }
  8456. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8457. {
  8458. addFileHost(
  8459. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8460. 'class="button download',
  8461. 'internal server error',
  8462. 'optional--',
  8463. 'optional2--',
  8464. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8465. }
  8466. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8467. {
  8468. addFileHost(
  8469. "kb.simple-aja\.info\/\\w+",
  8470. 'class="button download',
  8471. 'internal server error|<p>404</p>',
  8472. 'optional--',
  8473. 'optional2--',
  8474. "//a[contains(@href,'kb.simple')]");
  8475. }
  8476. if (GM_getValue("Check_faststore_dot_org_links", false))
  8477. {
  8478. addFileHost(
  8479. "faststore\.org\/\\w+",
  8480. 'name="method_free',
  8481. 'File Not Found',
  8482. 'optional--',
  8483. 'optional2--',
  8484. "//a[contains(@href,'faststore.org')]");
  8485. }
  8486. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8487. {
  8488. addFileHost(
  8489. "prefiles\.com\/\\w+",
  8490. 'id="method_free',
  8491. 'File not Found',
  8492. 'optional--',
  8493. 'optional2--',
  8494. "//a[contains(@href,'prefiles.com')]");
  8495. }
  8496. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8497. {
  8498. addFileHost(
  8499. "doraupload\.com\/\\w+",
  8500. 'btn_download|name="method_free',
  8501. 'class="error-code|Could Not Be Found',
  8502. 'optional--',
  8503. 'optional2--',
  8504. "//a[contains(@href,'doraupload.com')]");
  8505. }
  8506. if (GM_getValue("Check_openload_dot_io_links", false))
  8507. {
  8508. addFileHost(
  8509. "openload\.io\/\\w+",
  8510. 'btn btn-primary|class="count">|secondsleftouter',
  8511. 'class="jumbotron">|We are sorry',
  8512. 'optional--',
  8513. 'optional2--',
  8514. "//a[contains(@href,'openload.io')]");
  8515. }
  8516. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8517. {
  8518. addFileHost(
  8519. "zxcfiles\.com\/\\w+",
  8520. 'class="downloadbtn',
  8521. 'File Not Found',
  8522. 'optional--',
  8523. 'optional2--',
  8524. "//a[contains(@href,'zxcfiles.com')]");
  8525. }
  8526. if (GM_getValue("Check_up07_dot_net_links", false))
  8527. {
  8528. addFileHost(
  8529. "up07\.net\/\\w+",
  8530. 'name="method_free',
  8531. 'File Not Found',
  8532. 'optional--',
  8533. 'optional2--',
  8534. "//a[contains(@href,'up07.net')]");
  8535. }
  8536. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8537. {
  8538. addFileHost(
  8539. "fileupload\.pw\/\\w+",
  8540. 'value="Free"',
  8541. 'File Not Found',
  8542. 'optional--',
  8543. 'optional2--',
  8544. "//a[contains(@href,'fileupload.pw')]");
  8545. }
  8546. if (GM_getValue("Check_4upld_dot_com_links", false))
  8547. {
  8548. addFileHost(
  8549. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8550. 'alt="Download Now"|content="Download file">|btn-free-element',
  8551. '<title>Error|content="error|File not found',
  8552. 'optional--',
  8553. 'optional2--',
  8554. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8555. }
  8556. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8557. {
  8558. addFileHost(
  8559. "(?:.swoopshare)\\.com\/\\w+",
  8560. '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',
  8561. '<input type="file" name="f"',
  8562. 'optional--',
  8563. 'optional2--',
  8564. "//a[contains(@href,'swoopshare.com')]"
  8565. );
  8566. }
  8567. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8568. {
  8569. addFileHost(
  8570. "cloudshares\.net\/\\w+",
  8571. '"method_free|"Low Speed Download|submit" name="go',
  8572. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8573. 'optional--',
  8574. 'optional2--',
  8575. "//a[contains(@href,'cloudshares.net')]"
  8576. );
  8577. }
  8578. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8579. {
  8580. addFileHost(
  8581. "allmyvideos\.net\/\\w+",
  8582. 'Continue to Video',
  8583. 'File Not Found|class="err">Removed for',
  8584. 'optional--',
  8585. 'optional2--',
  8586. "//a[contains(@href,'allmyvideos.net')]"
  8587. );
  8588. } */
  8589. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8590. {
  8591. addFileHost(
  8592. "vodlocker\.com\/\\w+",
  8593. 'Proceed to video',
  8594. 'Not Found',
  8595. 'optional--',
  8596. 'optional2--',
  8597. "//a[contains(@href,'vodlocker.com')]"
  8598. );
  8599. }
  8600. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8601. {
  8602. addFileHost(
  8603. "vidbull\.com\/\\w+",
  8604. 'Verifying Video Request',
  8605. 'File Not Found',
  8606. 'optional--',
  8607. 'optional2--',
  8608. "//a[contains(@href,'vidbull.com')]");
  8609. }
  8610. if (GM_getValue("Check_novamov_dot_com_links", false))
  8611. {
  8612. addFileHost(
  8613. "novamov\.com\/\\w+",
  8614. 'For version detection',
  8615. 'file no longer exists',
  8616. 'optional--',
  8617. 'optional2--',
  8618. "//a[contains(@href,'novamov.com')]"
  8619. );
  8620. }
  8621. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8622. {
  8623. addFileHost(
  8624. "filehoot\.com\/\\w+",
  8625. 'Continue to watch',
  8626. 'File Not Found',
  8627. 'optional--',
  8628. 'optional2--',
  8629. "//a[contains(@href,'filehoot.com')]"
  8630. );
  8631. }
  8632. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8633. {
  8634. addFileHost(
  8635. "stagevu\.com\/\\w+",
  8636. 'Video Info',
  8637. 'No video with the provided',
  8638. 'optional--',
  8639. 'optional2--',
  8640. "//a[contains(@href,'stagevu.com')]"
  8641. );
  8642. }
  8643. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8644. {
  8645. addFileHost(
  8646. "cloudtime\.to\/\\w+",
  8647. 'Download the video',
  8648. 'no longer exists',
  8649. 'optional--',
  8650. 'optional2--',
  8651. "//a[contains(@href,'cloudtime.to')]"
  8652. );
  8653. }
  8654. if (GM_getValue("Check_streamin_dot_to_links", false))
  8655. {
  8656. addFileHost(
  8657. "streamin\.to\/\\w+",
  8658. 'id="btn_download',
  8659. 'Not Found|Copyright Infringement|File Deleted',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'streamin.to')]"
  8663. );
  8664. }
  8665. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8666. {
  8667. addFileHost(
  8668. "videoweed\.es\/\\w+",
  8669. 'version detection',
  8670. 'no longer exists',
  8671. 'optional--',
  8672. 'optional2--',
  8673. "//a[contains(@href,'videoweed.es')]"
  8674. );
  8675. }
  8676. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8677. {
  8678. addFileHost(
  8679. "nowvideo\.sx\/\\w+",
  8680. 'Download this video|value="submit">Continue',
  8681. 'no longer exists',
  8682. 'optional--',
  8683. 'optional2--',
  8684. "//a[contains(@href,'nowvideo.sx')]"
  8685. );
  8686. }
  8687. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8688. {
  8689. addFileHost(
  8690. "thevideo\.me\/\\w+",
  8691. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8692. 'File Not Found',
  8693. 'optional--',
  8694. 'optional2--',
  8695. "//a[contains(@href,'thevideo.me')]"
  8696. );
  8697. }
  8698. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8699. {
  8700. addFileHost(
  8701. "gorillavid\.in\/\\w+",
  8702. 'Wait 5 seconds',
  8703. 'File Not Found',
  8704. 'optional--',
  8705. 'optional2--',
  8706. "//a[contains(@href,'gorillavid.in')]"
  8707. );
  8708. }
  8709. if (GM_getValue("Check_thefile_dot_me_links", false))
  8710. {
  8711. addFileHost(
  8712. "thefile\.me\/\\w+",
  8713. 'Choose free or',
  8714. '',
  8715. 'optional--',
  8716. 'optional2--',
  8717. "//a[contains(@href,'thefile.me')]"
  8718. );
  8719. }
  8720. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8721. {
  8722. addFileHost(
  8723. "vidzi\.tv\/\\w+",
  8724. 'video-embed-modal row',
  8725. 'File Not Found|file was deleted',
  8726. 'optional--',
  8727. 'optional2--',
  8728. "//a[contains(@href,'vidzi.tv')]"
  8729. );
  8730. }
  8731. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8732. {
  8733. addFileHost(
  8734. "filenuke\.com\/\\w+",
  8735. 'Download File',
  8736. 'Earn with us',
  8737. 'optional--',
  8738. 'optional2--',
  8739. "//a[contains(@href,'filenuke.com')]"
  8740. );
  8741. }
  8742. if (GM_getValue("Check_vidto_dot_me_links", false))
  8743. {
  8744. addFileHost(
  8745. "vidto\.me\/\\w+",
  8746. 'Proceed to video',
  8747. 'Not Found',
  8748. 'optional--',
  8749. 'optional2--',
  8750. "//a[contains(@href,'vidto.me')]"
  8751. );
  8752. }
  8753. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8754. {
  8755. addFileHost(
  8756. "vidspot\.net\/\\w+",
  8757. 'Duration|method_free',
  8758. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8759. 'optional--',
  8760. 'optional2--',
  8761. "//a[contains(@href,'vidspot.net')]"
  8762. );
  8763. } */
  8764. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8765. {
  8766. addFileHost(
  8767. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8768. 'Download File',
  8769. 'File Not Found',
  8770. 'optional--',
  8771. 'optional2--',
  8772. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8773. );
  8774. }
  8775. if (GM_getValue("Check_movpod_dot_in_links", false))
  8776. {
  8777. addFileHost(
  8778. "movpod\.in\/\\w+",
  8779. 'Continue',
  8780. 'File Not Found',
  8781. 'optional--',
  8782. 'optional2--',
  8783. "//a[contains(@href,'movpod.in')]"
  8784. );
  8785. }
  8786. if (GM_getValue("Check_down4files_dot_com_links", false))
  8787. {
  8788. addFileHost(
  8789. "down4files\.com\/\\w+",
  8790. 'down_table.png',
  8791. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8792. 'optional--',
  8793. 'optional2--',
  8794. "//a[contains(@href,'down4files.com')]"
  8795. );
  8796. }
  8797. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8798. {
  8799. addFileHost(
  8800. "storefiles\.co\/\\w+",
  8801. 'btn_download',
  8802. 'No such file|>Error<|mqmaintitle">',
  8803. 'optional--',
  8804. 'optional2--',
  8805. "//a[contains(@href,'storefiles.co')]"
  8806. );
  8807. }*/
  8808. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8809. {
  8810. addFileHost(
  8811. "filehost\.pw\/\\w+",
  8812. 'name="method_free',
  8813. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8814. 'optional--',
  8815. 'optional2--',
  8816. "//a[contains(@href,'filehost.pw')]"
  8817. );
  8818. }
  8819. if (GM_getValue("Check_uplea_dot_com_links", false))
  8820. {
  8821. addFileHost(
  8822. "uplea\.com\/\\w+",
  8823. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8824. 'expired link|ou est invalide',
  8825. 'optional--',
  8826. 'optional2--',
  8827. "//a[contains(@href,'uplea.com/dl')]",
  8828. true);
  8829. }
  8830. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8831. {
  8832. addFileHost(
  8833. "toutbox\.fr\/\\w+",
  8834. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8835. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8836. 'Serviço temporariamente indisponível',
  8837. 'optional2--',
  8838. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8839. );
  8840. }*/
  8841. if (GM_getValue("Check_openload_dot_co_links", false))
  8842. {
  8843. addFileHost(
  8844. "openload\.co\/\\w+",
  8845. 'id="downloadTimer">|button dlbutton',
  8846. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8847. 'optional--',
  8848. 'optional2--',
  8849. "//a[contains(@href,'openload.co')]"
  8850. );
  8851. }
  8852. if (GM_getValue("Check_oload_dot_tv_links", false))
  8853. {
  8854. addFileHost(
  8855. "oload\.tv\/\\w+",
  8856. 'id="downloadTimer">|button dlbutton',
  8857. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8858. 'optional--',
  8859. 'optional2--',
  8860. "//a[contains(@href,'oload.tv')]"
  8861. );
  8862. }
  8863. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8864. {
  8865. addFileHost(
  8866. "lolabits\.es\/\\w+",
  8867. 'Descargar:',
  8868. '<title>Archivos de usuario',
  8869. 'Service Unavailable',
  8870. 'optional2--',
  8871. "//a[contains(@href,'lolabits.es')]"
  8872. );
  8873. }*/
  8874. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8875. {
  8876. addFileHost(
  8877. "alfafile\.net\/\\w+",
  8878. 'id="slow_download_btn',
  8879. 'class="error-box">',
  8880. 'optional--',
  8881. 'optional2--',
  8882. "//a[contains(@href,'alfafile.net')]"
  8883. );
  8884. }
  8885. if (GM_getValue("Check_multiup_dot_org_links", false))
  8886. {
  8887. addFileHost(
  8888. "multiup\\.(?:org|eu)\/\\w+",
  8889. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8890. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8891. 'optional--',
  8892. 'optional2--',
  8893. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8894. );
  8895. }
  8896. if (GM_getValue("Check_file_dot_al_links", false))
  8897. {
  8898. addFileHost(
  8899. "file\\.al|1f.al",
  8900. 'method_free',
  8901. 'style="width:500px;text-align:left;">|invalid license_key',
  8902. 'optional--',
  8903. 'optional2--',
  8904. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8905. );
  8906. }
  8907. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8908. {
  8909. addFileHost(
  8910. "devilshare\.net\/\\w+",
  8911. '<div class="large-12" id="download">',
  8912. '(Link: 0 Invalid)|File Not Found',
  8913. 'optional--',
  8914. 'optional2--',
  8915. "//a[contains(@href,'devilshare.net')]"
  8916. );
  8917. }
  8918. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8919. {
  8920. addFileHost(
  8921. "dailyuploads\.net\/\\w+",
  8922. 'id="downloadBtnClickOrignal',
  8923. '<div style="width:500px;text-align:left;">',
  8924. 'optional--',
  8925. 'optional2--',
  8926. "//a[contains(@href,'dailyuploads.net')]"
  8927. );
  8928. }
  8929. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8930. {
  8931. addFileHost(
  8932. "datoteke\.com\/\\w+",
  8933. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8934. '&nbsp;File has been removed',
  8935. 'optional--',
  8936. '<title>Error - Datoteke',
  8937. "//a[contains(@href,'datoteke.com')]"
  8938. );
  8939. }
  8940. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8941. {
  8942. addFileHost(
  8943. "sharehost\.eu\/\\w+",
  8944. '/?v=download_free&',
  8945. 'Errors occured|Wystąpiły błędy',
  8946. 'optional--',
  8947. 'optional2--',
  8948. "//a[contains(@href,'sharehost.eu')]"
  8949. );
  8950. }
  8951. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8952. {
  8953. addFileHost(
  8954. "pornfile\.cz",
  8955. 'Stáhnout soubor|Stáhnout pomalu',
  8956. 'Soubor byl smazán|Stránka nenalezena',
  8957. 'optional--',
  8958. 'optional2--',
  8959. "//a[contains(@href,'pornfile.cz')]"
  8960. );
  8961. }
  8962. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8963. {
  8964. addFileHost(
  8965. "pornoid\.cz\/\\w+",
  8966. 'class="btn btn-large btn-download',
  8967. 'Soubor byl smazán',
  8968. 'optional--',
  8969. 'optional2--',
  8970. "//a[contains(@href,'pornoid.cz')]"
  8971. );
  8972. }
  8973. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8974. {
  8975. addFileHost(
  8976. "file-share\.top\/\\w+",
  8977. 'btn-success btn-lg download',
  8978. 'Stránka neexistuje|404 Not Found',
  8979. 'optional--',
  8980. 'optional2--',
  8981. "//a[contains(@href,'file-share.top')]"
  8982. );
  8983. }
  8984. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8985. {
  8986. addFileHost(
  8987. "bitster\.cz\/",
  8988. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8989. 'section" content=""',
  8990. 'optional--',
  8991. 'optional2--',
  8992. "//a[contains(@href,'bitster.cz')]"
  8993. );
  8994. }
  8995. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8996. {
  8997. addFileHost(
  8998. "rapidu\.net\/\\w+",
  8999. 'onclick="downloadFreeFile',
  9000. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9001. 'optional--',
  9002. 'optional2--',
  9003. "//a[contains(@href,'rapidu.net')]"
  9004. );
  9005. }
  9006. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9007. {
  9008. addFileHost(
  9009. "dinoshare\.cz\/\\w+",
  9010. 'class="download-button"',
  9011. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9012. 'optional--',
  9013. 'optional2--',
  9014. "//a[contains(@href,'dinoshare.cz')]"
  9015. );
  9016. }
  9017. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9018. {
  9019. addFileHost(
  9020. "bytewhale\.com\/\\w+",
  9021. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9022. 'var rawest = "0 MB|Copyrights Claim</div>',
  9023. 'optional--',
  9024. 'This file is available for premium members only',
  9025. "//a[contains(@href,'bytewhale.com')]"
  9026. );
  9027. }
  9028. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9029. {
  9030. addFileHost(
  9031. "rapidrar\.com\/\\w+",
  9032. 'value="Free Download',
  9033. '<div style="width:500px;text-align:left;">',
  9034. 'optional--',
  9035. 'optional--',
  9036. "//a[contains(@href,'rapidrar.com')]"
  9037. );
  9038. }
  9039. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9040. {
  9041. addFileHost(
  9042. "filesupload\.org\/\\w+",
  9043. '<a href="/download-or-watch/',
  9044. 'File not found',
  9045. 'optional--',
  9046. 'optional--',
  9047. "//a[contains(@href,'filesupload.org')]"
  9048. );
  9049. }
  9050. if (GM_getValue("Check_filecad_dot_com_links", false))
  9051. {
  9052. addFileHost(
  9053. "filecad\.com\/\\w+",
  9054. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9055. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9056. 'optional--',
  9057. 'optional--',
  9058. "//a[contains(@href,'filecad.com')]"
  9059. );
  9060. }
  9061. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9062. {
  9063. addFileHost(
  9064. "file.up09\.com\/\\w+",
  9065. 'name="method_free',
  9066. 'style="width:500px;text-align:left;">',
  9067. 'optional--',
  9068. 'optional--',
  9069. "//a[contains(@href,'file.up09.com')]"
  9070. );
  9071. }
  9072. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9073. {
  9074. addFileHost(
  9075. "lunaticfiles\.com\/\\w+",
  9076. 'name="method_free"',
  9077. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9078. 'optional--',
  9079. 'optional--',
  9080. "//a[contains(@href,'lunaticfiles.com')]"
  9081. );
  9082. }
  9083. if (GM_getValue("Check_upload_dot_af_links", false))
  9084. {
  9085. addFileHost(
  9086. "upload\.af\/\\w+",
  9087. 'id="method_free"',
  9088. '<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|ファイルが見つかりません',
  9089. 'optional--',
  9090. 'optional--',
  9091. "//a[contains(@href,'upload.af')]"
  9092. );
  9093. }
  9094. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9095. {
  9096. addFileHost(
  9097. "filedwon\.info\/\\w+",
  9098. 'name="method_free"',
  9099. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9100. 'optional--',
  9101. 'optional--',
  9102. "//a[contains(@href,'filedwon.info')]"
  9103. );
  9104. }
  9105. if (GM_getValue("Check_uplod_dot_it_links", false))
  9106. {
  9107. addFileHost(
  9108. "uplod\.it\/\\w+",
  9109. 'value="download2">|name="method_free',
  9110. '<Title>Download </Title>',
  9111. 'optional--',
  9112. 'optional--',
  9113. "//a[contains(@href,'uplod.it')]"
  9114. );
  9115. }
  9116. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9117. {
  9118. addFileHost(
  9119. "abelhas\.pt\/\\w+",
  9120. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9121. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9122. 'optional--',
  9123. 'optional--',
  9124. "//a[contains(@href,'abelhas.pt')]"
  9125. );
  9126. } */
  9127. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9128. {
  9129. addFileHost(
  9130. "disk.yandex\.com\/\\w+",
  9131. 'nb-button _nb-small-button',
  9132. 'error code|Nothing found',
  9133. 'optional--',
  9134. 'optional2--',
  9135. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9136. }
  9137. if (GM_getValue("Check_filespace_dot_com_links", false))
  9138. {
  9139. addFileHost(
  9140. "filespace\.com\/\\w+",
  9141. '"method_free',
  9142. '<div style="text-align:left;"><ul>|>File not found.<',
  9143. 'optional1--',
  9144. 'optional2--',
  9145. "//a[contains(@href,'filespace.com')]");
  9146. }
  9147. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9148. {
  9149. addFileHost(
  9150. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9151. 'name="downloadFile|id="downloadFile|value="Wait',
  9152. '<title>File not found</title>|>Error:<',
  9153. 'optional1--',
  9154. 'optional2--',
  9155. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9156. }
  9157. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9158. {
  9159. addFileHost(
  9160. "ncrypt\.in\/\\w+",
  9161. 'Sicherheitsabfrage:|Securitycheck:',
  9162. 'does not exist|existiert nicht',
  9163. 'optional1--',
  9164. 'optional2--',
  9165. "//a[contains(@href,'ncrypt.in')]");
  9166. }
  9167. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9168. {
  9169. addFileHost(
  9170. "jeodrive\.com\/\\w+",
  9171. 'btn-lg regular',
  9172. 'Not found',
  9173. 'optional1--',
  9174. 'optional2--',
  9175. "//a[contains(@href,'jeodrive.com')]");
  9176. }
  9177. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9178. {
  9179. addFileHost(
  9180. "myfiles\.onl\/\\w+",
  9181. 'value="Free"',
  9182. '<div style="width:500px;text-align:left;">',
  9183. 'optional1--',
  9184. 'optional2--',
  9185. "//a[contains(@href,'myfiles.onl')]");
  9186. }
  9187. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9188. {
  9189. addFileHost(
  9190. "uploadserv\.com\/\\w+",
  9191. 'color="red">http://uploadserv.com/',
  9192. 'content="Download File ">|<title>Download </title>',
  9193. 'optional1--',
  9194. 'optional2--',
  9195. "//a[contains(@href,'uploadserv.com')]");
  9196. }
  9197. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9198. {
  9199. addFileHost(
  9200. "keepshare\.net\/\\w+",
  9201. 'method_free',
  9202. '<div style="width:500px;text-align:left;">',
  9203. 'optional1--',
  9204. 'optional2--',
  9205. "//a[contains(@href,'keepshare.net')]");
  9206. }
  9207. if (GM_getValue("Check_oload_dot_net_links", false))
  9208. {
  9209. addFileHost(
  9210. "oload\.net\/\\w+",
  9211. '<font color="red">http://oload.net',
  9212. 'class="page-ttl">',
  9213. 'optional1--',
  9214. 'optional2--',
  9215. "//a[contains(@href,'oload.net')]");
  9216. }
  9217. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9218. {
  9219. addFileHost(
  9220. "filescdn\.com\/\\w+",
  9221. 'btn_download',
  9222. 'icon-warning text-danger|no longer available',
  9223. 'optional1--',
  9224. 'optional2--',
  9225. "//a[contains(@href,'filescdn.com')]");
  9226. }
  9227. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9228. {
  9229. addFileHost(
  9230. "bankupload\.com\/\\w+",
  9231. 'id="btn_download"|1.0 GB',
  9232. '<div style="width:500px;text-align:left;">',
  9233. 'optional1--',
  9234. ' GB',
  9235. "//a[contains(@href,'bankupload.com')]");
  9236. }
  9237. if (GM_getValue("Check_katfile_dot_com_links", false))
  9238. {
  9239. addFileHost(
  9240. "katfile\.com\/\\w+",
  9241. 'KB| MB|1.0 GB|id="method_free',
  9242. 'images/file_not_found.png"',
  9243. 'optional1--',
  9244. ' GB',
  9245. "//a[contains(@href,'katfile.com')]");
  9246. }
  9247. if (GM_getValue("Check_filesin_dot_space_links", false))
  9248. {
  9249. addFileHost(
  9250. "filesin\.space\/\\w+",
  9251. 'id="btn_download"',
  9252. 'class="err">',
  9253. 'optional1--',
  9254. 'optional2',
  9255. "//a[contains(@href,'filesin.space')]");
  9256. }
  9257. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9258. {
  9259. addFileHost(
  9260. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9261. 'download.php',
  9262. 'notfound|upload\\-suborov\\.php"',
  9263. 'optional--',
  9264. 'optional2--',
  9265. "//a[contains(@href,'upnito.sk')]"
  9266. );
  9267. }
  9268. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9269. {
  9270. addFileHost(
  9271. "alltu\.eu\/\\w+",
  9272. 'download-timer',
  9273. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9274. 'optional1--',
  9275. 'optional2',
  9276. "//a[contains(@href,'alltu.eu')]");
  9277. }
  9278. if (GM_getValue("Check_novafile_dot_com_links", false))
  9279. {
  9280. addFileHost(
  9281. "novafile\.com\/\\w+",
  9282. 'id="regular-download',
  9283. 'id="file-not-found',
  9284. 'optional1--',
  9285. 'id="premium-only',
  9286. "//a[contains(@href,'novafile.com')]");
  9287. }
  9288. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9289. {
  9290. addFileHost(
  9291. "uploadgig\.com",
  9292. 'id="countdownContainer',
  9293. 'File not found',
  9294. 'optional1--',
  9295. 'optional2',
  9296. "//a[contains(@href,'uploadgig.com')]");
  9297. }
  9298. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9299. {
  9300. addFileHost(
  9301. "mexashare\.com\/\\w+",
  9302. 'method_free',
  9303. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9304. 'optional1--',
  9305. 'optional2',
  9306. "//a[contains(@href,'mexashare.com')]");
  9307. }
  9308. if (GM_getValue("Check_daofile_dot_com_links", false))
  9309. {
  9310. addFileHost(
  9311. "daofile\.com\/\\w+",
  9312. 'class="captcha_code',
  9313. 'style="width:500px;text-align:left;">',
  9314. 'optional1--',
  9315. 'optional2',
  9316. "//a[contains(@href,'daofile.com')]");
  9317. }
  9318. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9319. {
  9320. addFileHost(
  9321. "imagenetz\.de\/\\w+",
  9322. 'id="download',
  9323. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9324. 'optional1--',
  9325. 'optional2',
  9326. "//a[contains(@href,'imagenetz.de')]");
  9327. }
  9328. if (GM_getValue("Check_uloz_dot_to_links", false))
  9329. {
  9330. addFileHost(
  9331. "uloz\.to",
  9332. 'limitedDownloadButton|Stáhnout pomalu',
  9333. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9334. 'optional1--',
  9335. 'optional2',
  9336. "//a[contains(@href,'uloz.to')]");
  9337. }
  9338. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9339. {
  9340. addFileHost(
  9341. "ulozto.net",
  9342. 'limitedDownloadButton|Stáhnout pomalu',
  9343. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9344. 'optional1--',
  9345. 'optional2',
  9346. "//a[contains(@href,'ulozto.net')]");
  9347. }
  9348. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9349. {
  9350. addFileHost(
  9351. "ulozto\.sk",
  9352. 'limitedDownloadButton|Stáhnout pomalu',
  9353. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9354. 'optional1--',
  9355. 'optional2',
  9356. "//a[contains(@href,'ulozto.sk')]");
  9357. }
  9358. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9359. {
  9360. addFileHost(
  9361. "ulozto\.cz",
  9362. 'limitedDownloadButton|Stáhnout pomalu',
  9363. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9364. 'optional1--',
  9365. 'optional2',
  9366. "//a[contains(@href,'ulozto.cz')]");
  9367. }
  9368. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9369. {
  9370. addFileHost(
  9371. "subyshare\.com\/\\w+",
  9372. 'id="method_free',
  9373. 'file was removed|class="err">|1s">404',
  9374. 'optional1--',
  9375. 'optional2',
  9376. "//a[contains(@href,'subyshare.com')]",
  9377. true);
  9378. }
  9379. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9380. {
  9381. addFileHost(
  9382. "fileshareup\.com\/\\w+",
  9383. 'download-timer|btn-free-element|content="Download file',
  9384. 'content="Error"|content="error|heading-1">Error<',
  9385. 'optional1--',
  9386. 'optional2',
  9387. "//a[contains(@href,'fileshareup.com')]");
  9388. }
  9389. if (GM_getValue("Check_mystore_dot_to_links", false))
  9390. {
  9391. addFileHost(
  9392. "mystore\.to\/\\w+",
  9393. 'Download File',
  9394. 'file not found',
  9395. 'optional1--',
  9396. 'optional2',
  9397. "//a[contains(@href,'mystore.to/dl')]");
  9398. }
  9399. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9400. {
  9401. addFileHost(
  9402. "usercloud\.net\/\\w+",
  9403. 'content="download|var seconds = 60|type="password',
  9404. 'content="error|report_file.html">',
  9405. 'optional1--',
  9406. 'optional2',
  9407. "//a[contains(@href,'usercloud.net')]");
  9408. }
  9409. if (GM_getValue("Check_workupload_dot_com_links", false))
  9410. {
  9411. addFileHost(
  9412. "workupload\.com\/\\w+",
  9413. 'content="Download|id="download"',
  9414. 'File not found|img/not-found.jpg|Error message',
  9415. 'optional1--',
  9416. 'optional2',
  9417. "//a[contains(@href,'workupload.com')]");
  9418. }
  9419. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9420. {
  9421. addFileHost(
  9422. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9423. 'class="download">',
  9424. 'class="error center',
  9425. 'optional1--',
  9426. 'optional2',
  9427. "//a[contains(@href,'storageserver.co.uk')]");
  9428. }
  9429. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9430. {
  9431. addFileHost(
  9432. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9433. '"kind": "file"',
  9434. '"error": "not_exists"',
  9435. 'optional1--',
  9436. 'optional2',
  9437. "//a[contains(@href,'cloud.mail.ru')]");
  9438. }
  9439. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9440. {
  9441. addFileHost(
  9442. "bdupload\.info\/\\w+",
  9443. 'class="downloadbtn">|id="downloadbtn"',
  9444. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9445. 'optional1--',
  9446. 'optional2',
  9447. "//a[contains(@href,'bdupload.info')]");
  9448. }
  9449. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9450. {
  9451. addFileHost(
  9452. "wayupload\.com\/\\w+",
  9453. 'class="nopay-btn gray"',
  9454. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9455. 'optional1--',
  9456. 'optional2',
  9457. "//a[contains(@href,'wayupload.com')]");
  9458. }
  9459. if (GM_getValue("Check_exbit_dot_net_links", false))
  9460. {
  9461. addFileHost(
  9462. "exbit\.net\/\\w+",
  9463. 'class="nopay-btn|href="/download/free/',
  9464. 'File not found',
  9465. 'optional1--',
  9466. 'optional2',
  9467. "//a[contains(@href,'exbit.net')]");
  9468. }
  9469. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9470. {
  9471. addFileHost(
  9472. "uploadocean\.com\/\\w+",
  9473. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9474. 'deleted.png"',
  9475. 'optional1--',
  9476. 'optional2',
  9477. "//a[contains(@href,'uploadocean.com')]");
  9478. }
  9479. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9480. {
  9481. addFileHost(
  9482. "fileflares\.com\/\\w+",
  9483. 'id="downloadbtn"',
  9484. '<div style="width:500px;text-align:left;">',
  9485. 'optional1--',
  9486. 'optional2',
  9487. "//a[contains(@href,'fileflares.com')]");
  9488. }
  9489. if (GM_getValue("Check_erafile_dot_com_links", false))
  9490. {
  9491. addFileHost(
  9492. "erafile\.com\/\\w+",
  9493. 'id="method_free',
  9494. '<div style="width:500px;text-align:left;">',
  9495. 'optional1--',
  9496. 'optional2',
  9497. "//a[contains(@href,'erafile.com')]");
  9498. }
  9499. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9500. {
  9501. addFileHost(
  9502. "suprafiles\.net\/\\w+",
  9503. 'name="method_free"',
  9504. 'File Not Found|style="width:1000px; text-align: left;">',
  9505. 'optional1--',
  9506. 'optional2',
  9507. "//a[contains(@href,'suprafiles.net')]");
  9508. }
  9509. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9510. {
  9511. addFileHost(
  9512. "upfiles\.net\/\\w+",
  9513. 'id="recaptcha2"|snail.png"',
  9514. 'Ten plik został usunięty.|style="margin-top:50px',
  9515. 'optional1--',
  9516. 'optional2',
  9517. "//a[contains(@href,'upfiles.net/f/')]");
  9518. }
  9519. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9520. {
  9521. addFileHost(
  9522. "dailyfiles\.net\/\\w+",
  9523. 'onclick="dwn',
  9524. '<title>Error',
  9525. 'optional1--',
  9526. 'optional2',
  9527. "//a[contains(@href,'dailyfiles.net')]");
  9528. }
  9529. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9530. {
  9531. addFileHost(
  9532. "littlebyte\.net\/\\w+",
  9533. '>Free download<|>Скачать медленно<',
  9534. 'images/dmca.png">',
  9535. 'optional1--',
  9536. 'optional2',
  9537. "//a[contains(@href,'littlebyte.net')]");
  9538. }
  9539. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9540. {
  9541. addFileHost(
  9542. "black\\-label\\.pro\/\\w+",
  9543. 'slow_download_button.png"|td><td title="',
  9544. 'STILL NEED CODE FOR DEAD LINKS',
  9545. 'optional1--',
  9546. 'optional2',
  9547. "//a[contains(@href,'black-label.pro')]");
  9548. } */
  9549. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9550. {
  9551. addFileHost(
  9552. "temp\\-share\\.com\/\\w+",
  9553. 'publickey',
  9554. 'STILL NEED CODE FOR DEAD LINKS',
  9555. 'optional1--',
  9556. 'optional2',
  9557. "//a[contains(@href,'temp-share.com')]");
  9558. }
  9559. if (GM_getValue("Check_filesha_dot_com_links", false))
  9560. {
  9561. addFileHost(
  9562. "filesha\.com\/\\w+",
  9563. '>Download Free<',
  9564. 'STILL NEED CODE FOR DEAD LINKS',
  9565. 'optional1--',
  9566. 'optional2',
  9567. "//a[contains(@href,'filesha.com')]");
  9568. }
  9569. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9570. {
  9571. addFileHost(
  9572. "ausfile\.com\/\\w+",
  9573. 'class="slow-download',
  9574. 'File Not Found',
  9575. 'optional1--',
  9576. 'optional2',
  9577. "//a[contains(@href,'ausfile.com')]");
  9578. }
  9579. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9580. {
  9581. addFileHost(
  9582. "upfile\.mobi\/\\w+",
  9583. 'class="download_button"',
  9584. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9585. 'optional1--',
  9586. 'optional2',
  9587. "//a[contains(@href,'upfile.mobi')]");
  9588. }
  9589. if (GM_getValue("Check_share_dot_az_links", false))
  9590. {
  9591. addFileHost(
  9592. "share\.az\/\\w+",
  9593. 'id="btn_download"',
  9594. 'File Not Found|We are sorry',
  9595. 'optional1--',
  9596. 'optional2',
  9597. "//a[contains(@href,'share.az')]");
  9598. }
  9599. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9600. {
  9601. addFileHost(
  9602. "partage-facile\.com",
  9603. 'class="title"><strong>',
  9604. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9605. 'optional--',
  9606. 'optional2--',
  9607. "//a[contains(@href,'partage-facile.com')]");
  9608. }
  9609. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9610. {
  9611. addFileHost(
  9612. "uploadify\.net\/\\w+",
  9613. 'loading_small.gif"',
  9614. '<title>Error -',
  9615. 'optional1--',
  9616. 'optional2',
  9617. "//a[contains(@href,'uploadify.net')]");
  9618. }
  9619. if (GM_getValue("Check_uploads_dot_to_links", false))
  9620. {
  9621. addFileHost(
  9622. "uploads\.to\/\\w+",
  9623. 'class="g-recaptcha',
  9624. 'File Not Found',
  9625. 'optional1--',
  9626. 'optional2',
  9627. "//a[contains(@href,'uploads.to')]");
  9628. }
  9629. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9630. {
  9631. addFileHost(
  9632. "crazyshare\.cc\/\\w+",
  9633. 'slow_download_button.png',
  9634. 'File Not Found',
  9635. 'optional1--',
  9636. 'optional2',
  9637. "//a[contains(@href,'crazyshare.cc')]");
  9638. }
  9639. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9640. {
  9641. addFileHost(
  9642. "fileshark\.pl\/\\w+",
  9643. 'Nazwa pliku / File name',
  9644. 'Nie znaleziono pliku w serwisie.',
  9645. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9646. 'optional2',
  9647. "//a[contains(@href,'fileshark.pl')]");
  9648. }
  9649. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9650. {
  9651. addFileHost(
  9652. "pobierz\.to\/\\w+",
  9653. 'class="download-timer',
  9654. 'Plik został usunięty.',
  9655. 'optional1--',
  9656. 'optional2',
  9657. "//a[contains(@href,'pobierz.to')]");
  9658. }
  9659. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9660. {
  9661. addFileHost(
  9662. "kingfile\.pl\/\\w+",
  9663. 'id="downloadBox',
  9664. 'Error 404 - File Not Found|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',
  9665. 'optional1--',
  9666. 'optional2',
  9667. "//a[contains(@href,'kingfile.pl')]");
  9668. }
  9669.  
  9670. }
  9671. //start here
  9672.  
  9673. //hosts with direct download, so they must be requested for headers only
  9674. function initFileHostsHeadersOnly()
  9675. {
  9676. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9677. {
  9678. var host = new Array(5);
  9679. host[0] = linkRegex;
  9680. host[1] = isAliveRegex;
  9681. host[2] = isDeadRegex;
  9682. host[4] = ispremRegex;
  9683. host[3] = xpathEx;
  9684. http_file_hosts_headers_only.push(host);
  9685. }
  9686. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9687. {
  9688. addFileHostHeadersOnly(
  9689. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9690. 'Connection: Keep-Alive',
  9691. 'Content-Length: 3857',
  9692. 'optional2',
  9693. "//a[contains(@href,'uloziste.com')]"
  9694. )
  9695. }
  9696. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9697. {
  9698. addFileHostHeadersOnly(
  9699. "filescdn\.com\/\\w+",
  9700. 'Connection: keep-alive',
  9701. 'Company</Title>',
  9702. 'optional2',
  9703. "//a[contains(@href,'filescdn.com')]"
  9704. )
  9705. } */
  9706. if (GM_getValue("Check_adrive_dot_com_links", false))
  9707. {
  9708. addFileHostHeadersOnly(
  9709. "adrive\\.com\/public\/\\w+",
  9710. 'Connection: keep-alive',
  9711. 'orig_ref=deleted',
  9712. 'optional2',
  9713. "//a[contains(@href,'adrive.com')]"
  9714. )
  9715. }
  9716. }
  9717.  
  9718. //CustomRules
  9719. //functions add...Host copied here
  9720. function addObsoleteHost(linkRegex, xpathEx)
  9721. {
  9722. var host = new Array(2);
  9723. host[0] = linkRegex;
  9724. host[1] = xpathEx;
  9725. http_file_hosts_obsolete.push(host);
  9726. }
  9727. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9728. {
  9729. var host = new Array(7);
  9730. host[0] = linkRegex;
  9731. host[1] = isAliveRegex;
  9732. host[2] = isDeadRegex;
  9733. host[3] = isUnavaRegex;
  9734. host[4] = xpathEx;
  9735. tryLoop ? host[5] = true : host[5] = false;
  9736. host[6] = ispremRegex;
  9737. http_file_hosts.push(host);
  9738. }
  9739. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9740. {
  9741. var host = new Array(5);
  9742. host[0] = linkRegex;
  9743. host[1] = isAliveRegex;
  9744. host[2] = isDeadRegex;
  9745. host[3] = xpathEx;
  9746. host[4] = ispremRegex;
  9747. http_file_hosts_headers_only.push(host);
  9748. }
  9749. //takes a fully built rules array and adds the rules to WARLC
  9750. function applyCustomRules(customRules)
  9751. {
  9752. if (!customRules) return;
  9753. var rules, r, i;
  9754. rules = customRules.rules;
  9755. for (i = 0 ; i < rules.length ; i++)
  9756. {
  9757. r = rules[i];
  9758. if (r.enabled)
  9759. {
  9760. switch (r.type)
  9761. {
  9762. case 'single':
  9763. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9764. break;
  9765. case 'headers':
  9766. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9767. break;
  9768. case 'obsolete':
  9769. addObsoleteHost(r.urlregex, r.xpath)
  9770. break;
  9771. }
  9772. }
  9773. }
  9774. }
  9775.  
  9776.  
  9777. function initFileHostsCustom()
  9778. {
  9779. if (Custom_rules && Custom_rules_text)
  9780. {
  9781. var msg = '';
  9782. if (newVersion)
  9783. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9784. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9785. msg = '60 or more days have passed since this notification.\n\n';
  9786. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9787. {
  9788. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9789. msg +=
  9790. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9791. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9792. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9793. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9794. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9795. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9796. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9797. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9798. setTimeout(function(){alert(msg)},0);
  9799. }
  9800. var customRules = parseCustomRules(Custom_rules_text);
  9801. if (customRules.warning || customRules.error)
  9802. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9803. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9804. JSON.stringify(customRules.info, null, ' '));
  9805. applyCustomRules(customRules);
  9806. }
  9807. }
  9808. //end of CustomRules processing
  9809.  
  9810.  
  9811.  
  9812. } //end of function start
  9813.  
  9814.  
  9815.  
  9816. function initClipBoardTools()
  9817. {
  9818. unsafeWindow.copyToClipboard = function(text)
  9819. {
  9820. try
  9821. {
  9822. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9823.  
  9824. var str = Components.classes["@mozilla.org/supports-string;1"].
  9825. createInstance(Components.interfaces.nsISupportsString);
  9826. if (!str) return false;
  9827.  
  9828. str.data = text;
  9829.  
  9830. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9831. createInstance(Components.interfaces.nsITransferable);
  9832. if (!trans) return false;
  9833.  
  9834. trans.addDataFlavor("text/unicode");
  9835. trans.setTransferData("text/unicode", str, text.length * 2);
  9836.  
  9837. var clipid = Components.interfaces.nsIClipboard;
  9838. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9839. if (!clip) return false;
  9840.  
  9841. clip.setData(trans, null, clipid.kGlobalClipboard);
  9842. } catch (e) {
  9843. GM_log("Error copyToClipboard : " + e);
  9844. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9845. }
  9846. }
  9847. }
  9848.  
  9849.  
  9850.  
  9851. //CustomRules
  9852.  
  9853. function escapeRegex(str)
  9854. {
  9855. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9856. }
  9857.  
  9858.  
  9859. //called internally from parseCustomRules.
  9860. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9861. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9862. function makeCustomRule(rule)
  9863. {
  9864. function makeMatchRegex(arrmatch)
  9865. {
  9866. return escapeRegex(arrmatch.join('\n'))
  9867. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9868. .replace(/\n/g,'|'); //join together
  9869. }
  9870. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9871. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9872. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9873. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9874. if (rule.baseurl)
  9875. {
  9876. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9877. for (i = 0 ; i < len ; i++)
  9878. {
  9879. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9880. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9881. {
  9882. 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'])
  9883. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9884. }
  9885. else //baseurl in the form: example.com/xxx
  9886. {
  9887. xpath.push(m[0]);
  9888. urlregex.push(escapeRegex(m[0]) + '.');
  9889. }
  9890. }
  9891. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9892. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9893. }
  9894. return rule;
  9895. } //function makeCustomRule
  9896.  
  9897.  
  9898. /*
  9899. Takes a string containing custom link checking rules.
  9900. Returns an object with fields:
  9901. info - contains notes, warnings and errors found during parsing
  9902. rules - the array of custom rules
  9903. note, warning, error - number of each of them found during parsing
  9904. Format of the input string:
  9905. One command per line. Command format: @keyword parameter
  9906. Keywords:
  9907. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9908. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9909. These keywords can be multiple (any of them will work):
  9910. @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...)
  9911. @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+
  9912. @alivelink, @deadlink - example links
  9913. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9914. Lines starting with // and empty lines are ignored.
  9915. Invalid parameters generate errors and those lines are skipped.
  9916. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9917. Example:
  9918. @customrule filehost
  9919. @baseurl filehost.com/download/
  9920. @baseurl filehost2. com net /d?=
  9921. @alivematch id="download">
  9922. @deadmatch File not found
  9923. @deadmatch File deleted
  9924. */
  9925. function parseCustomRules(rulesStr)
  9926. {
  9927. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9928. function addInfo(type, msg, ln){
  9929. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9930. customRules[type]++;
  9931. }
  9932. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9933. if (!lines) return null;
  9934. lines.push('@#customrule _'); //to save the last rule
  9935. var m, linecount = lines.length;
  9936. var keyword, param, constr, rule, err;
  9937. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9938. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9939. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9940. var constraints = {
  9941. 'baseurl': {
  9942. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9943. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9944. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9945. 'alivematch': {
  9946. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9947. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9948. 'deadmatch': {
  9949. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9950. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9951. 'unavamatch': {
  9952. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9953. 'alivelink': {
  9954. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9955. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9956. 'deadlink': {
  9957. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9958. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9959. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9960. };
  9961. for (linenum = 0 ; linenum < linecount ; linenum++)
  9962. {
  9963. //capturing groups: 1 23 4 5 6
  9964. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9965. if (m)
  9966. {
  9967. if (m[1] || !m[2])
  9968. continue; // ignore empty lines and lines starting with //
  9969. keyword = (m[4] || m[2]).toLowerCase();
  9970. param = m[6];
  9971. if (keyword == 'customrule')
  9972. {
  9973. //save the current rule if all required fields are provided
  9974. if (rule)
  9975. {
  9976. err = false;
  9977. $.each(constraints, function(kw, constraint){
  9978. var l, constr = constraint[rule.type];
  9979. if (constr)
  9980. {
  9981. l = rule[kw] ? rule[kw].length : 0;
  9982. if (l < constr.min || l > constr.max)
  9983. {
  9984. 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);
  9985. err = true;
  9986. }
  9987. }
  9988. });
  9989. if (!err)
  9990. customRules.rules.push(makeCustomRule(rule));
  9991. }
  9992. //start a new rule
  9993. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9994. {
  9995. rule = {
  9996. 'enabled': !m[3],
  9997. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9998. 'name': param
  9999. };
  10000. }
  10001. else
  10002. {
  10003. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10004. rule = null;
  10005. }
  10006. }
  10007. else //good line format, but keyword other than customrule
  10008. {
  10009. if (!rule)
  10010. {
  10011. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10012. continue;
  10013. }
  10014. if (constraints[keyword])
  10015. {
  10016. constr = constraints[keyword][rule.type];
  10017. if (constr)
  10018. {
  10019. if (constr.paramRE && !constr.paramRE.test(param))
  10020. {
  10021. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10022. continue;
  10023. }
  10024. }
  10025. else
  10026. {
  10027. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10028. continue;
  10029. }
  10030. }
  10031. //line OK, save
  10032. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10033. }
  10034. } //if (m)
  10035. else
  10036. addInfo('warning', 'Unknown line format. Line skipped.');
  10037. } //for loop
  10038. return customRules;
  10039. } //function parseCustomRules
  10040.  
  10041.  
  10042. /* ********************UPDATES********************
  10043.  
  10044. May 08, 2017
  10045. Version 1.3.8.7
  10046. added file-upload.com
  10047.  
  10048. May 04, 2017
  10049. Version 1.3.8.6
  10050. fixed rapidgator
  10051.  
  10052. April 30, 2017
  10053. Version 1.3.8.5
  10054. fixed rapidgator
  10055.  
  10056. April 30, 2017
  10057. Version 1.3.8.4
  10058. added code for kingfile.pl
  10059.  
  10060. April 30, 2017
  10061. Version 1.3.8.3
  10062. changed code for kingfile.pl
  10063.  
  10064. April 29, 2017
  10065. Version 1.3.8.2
  10066. added code to kingfile.pl
  10067.  
  10068. April 29, 2017
  10069. Version 1.3.8.1
  10070. added code to kingfile.pl
  10071.  
  10072. April 28, 2017
  10073. Version 1.3.8.0
  10074. fileshark.pl
  10075. kingfile.pl
  10076. pobierz.to
  10077.  
  10078. April 26, 2017
  10079. Version 1.3.7.9
  10080. fixed 1f.al
  10081.  
  10082. April 16, 2017
  10083. Version 1.3.7.8
  10084. added crazyshare.cc
  10085.  
  10086. April 16, 2017
  10087. Version 1.3.7.7
  10088. fixed uploadgig.com
  10089.  
  10090. April 13, 2017
  10091. Version 1.3.7.6
  10092. added neodrive.co to obsolete hosts
  10093.  
  10094. April 07, 2017
  10095. Version 1.3.7.5
  10096. added french code for rg premium links
  10097.  
  10098. April 05, 2017
  10099. Version 1.3.7.4
  10100. added oload.tv
  10101.  
  10102. March 30, 2017
  10103. Version 1.3.7.3
  10104. added uploads.to
  10105.  
  10106. March 20, 2017
  10107. Version 1.3.7.2
  10108. added black-label.pro to obsolete hosts
  10109.  
  10110. March 13, 2017
  10111. Version 1.3.7.1
  10112. fixed filescdn.com
  10113.  
  10114. February 27, 2017
  10115. Version 1.3.7.0
  10116. fixed openload.co
  10117.  
  10118. February 26, 2017
  10119. Version 1.3.6.9
  10120. fixed drive.google.com
  10121. fixed uptobox.com (by dodoxp)
  10122.  
  10123. February 25, 2017
  10124. Version 1.3.6.8
  10125. added uploading.com to obsolete hosts
  10126.  
  10127. February 24, 2017
  10128. Version 1.3.6.7
  10129. cloudzilla.to added to obsolete hosts
  10130.  
  10131. February 23, 2017
  10132. Version 1.3.6.6
  10133. uploadify.net
  10134.  
  10135. February 22, 2017
  10136. Version 1.3.6.5
  10137. fixed katfile.com
  10138.  
  10139. February 12, 2017
  10140. Version 1.3.6.3
  10141. added junocloud.me to obsolete hosts
  10142.  
  10143. January 12, 2017
  10144. Version 1.3.6.2
  10145. added share.az & upfile.mobi
  10146.  
  10147. January 07, 2017
  10148. Version 1.3.6.1
  10149. added ausfile.com
  10150.  
  10151. January 05, 2017
  10152. Version 1.3.6.0
  10153. removed uploadable.ch from obsolete hosts
  10154.  
  10155. January 04, 2017e
  10156.  
  10157. December 31, 2016
  10158. Version 1.3.5.8
  10159. disabled on pizzaonline.dominos
  10160.  
  10161. December 31, 2016
  10162. Version 1.3.5.7
  10163. added uploadable.ch to obsolete hosts
  10164.  
  10165. December 30, 2016
  10166. Version 1.3.5.6
  10167. restored kingfiles.net
  10168.  
  10169. December 14, 2016
  10170. Version 1.3.5.5
  10171. fixed some 1fichier links not checking (yurii)
  10172.  
  10173. December 01, 2016
  10174. Version 1.3.5.4
  10175. added temp-share.com & filesha.com
  10176.  
  10177. November 30, 2016
  10178. Version 1.3.5.3
  10179. fixed mexashare.com not detecting some dead links
  10180.  
  10181. November 29, 2016
  10182. Version 1.3.5.2
  10183. added black-label.pro (live links only)
  10184.  
  10185. November 27, 2016
  10186. Version 1.3.5.1
  10187. made changes to filefactory
  10188.  
  10189. November 23, 2016
  10190. Version 1.3.5.0
  10191. added megashares.com to obsolete hosts
  10192. fixed letitbit not showing as obsolete
  10193. added littlebyte.net
  10194.  
  10195. November 22, 2016
  10196. Version 1.3.4.9
  10197. added code for live links to rapidgator
  10198. added dailyfiles.net
  10199. added upfiles.net
  10200. added multiup.eu
  10201.  
  10202. November 17, 2016
  10203. Version 1.3.4.8
  10204. fixed filefactory, again
  10205.  
  10206. November 17, 2016
  10207. Version 1.3.4.7
  10208. fixed filefactory folders
  10209.  
  10210. November 15, 2016
  10211. Version 1.3.4.6
  10212. fixed filefactory
  10213.  
  10214. November 14, 2016
  10215. Version 1.3.4.5
  10216. fixed rapidgator
  10217. fixed filefactory folders
  10218.  
  10219.  
  10220. November 13, 2016
  10221. Version 1.3.4.4
  10222. fixed problem with drive.google.com
  10223. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10224.  
  10225. November 06, 2016
  10226. Version 1.3.4.3
  10227. added to obsolete hosts (by love buzz)
  10228. 4up.me
  10229. a nonfiles.com
  10230. axifile.com
  10231. creafile.net
  10232. demo.ovh.eu
  10233. filesin.com
  10234. file swap.com
  10235. gulfup.com
  10236. hexupload.com
  10237. hugefiles.net
  10238. jumbofiles.com
  10239. kingfiles.net
  10240. letitbit.net
  10241. lolabits.es
  10242. nowdownload.ch
  10243. openfile.ru
  10244. radicalshare.com
  10245. remixshare.com
  10246. storefiles.co
  10247. toutbox.fr
  10248. uploadbaz.com
  10249. uploadingit.com
  10250. verzend.be
  10251. vidplay.net
  10252. vidxden.com
  10253. xfileload.com
  10254.  
  10255. November 04, 2016
  10256. Version 1.3.4.2
  10257. added french code for rapidgator premium links
  10258. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10259.  
  10260. November 03, 2016
  10261. Version 1.3.4.1
  10262. added Portuguese code for rapidgator premium links
  10263. added suprafiles.net
  10264.  
  10265. November 02, 2016
  10266. Version 1.3.4.0
  10267. fixed depositfiles not detecting depositfiles.com/de links
  10268.  
  10269. October 27, 2016
  10270. Version 1.3.3.9
  10271. fixed uploaded.net not detecting some dead links
  10272.  
  10273. October 24, 2016
  10274. Version 1.3.3.8
  10275. added more french code for upload.af dead links
  10276.  
  10277. October 23, 2016
  10278. Version 1.3.3.7
  10279. added french for upload.af dead links
  10280.  
  10281. October 17, 2016
  10282. Version 1.3.3.6
  10283. fixed error (by Yurii)
  10284.  
  10285. October 17, 2016
  10286. Version 1.3.3.5
  10287. fixed file.al (by Yurii)
  10288.  
  10289. October 16, 2016
  10290. Version 1.3.3.4
  10291. test
  10292.  
  10293. October 11, 2016
  10294. Version 1.3.3.3
  10295. fixed subyshare.com not detecting some dead links
  10296. fixed mexashare.com
  10297. fixed pornfile.cz
  10298.  
  10299. October 10, 2016
  10300. Version 1.3.3.2
  10301. added fileflares.com
  10302. added erafile.com
  10303. added loop to subyshare.com & rockfile.eu
  10304.  
  10305. September 26, 2016
  10306. Version 1.3.3.1
  10307. added uploadocean.com
  10308.  
  10309. September 25, 2016
  10310. Version 1.3.3.0
  10311. added exbit.net
  10312.  
  10313. September 25, 2016
  10314. Version 1.3.2.9
  10315. fixed uptobox
  10316. fixed google (by kubbbie)
  10317.  
  10318. September 23, 2016
  10319. Version 1.3.2.8
  10320. added danish to rapidgator
  10321.  
  10322. September 22, 2016
  10323. Version 1.3.2.7
  10324. added wayupload.com
  10325.  
  10326. September 18, 2016
  10327. Version 1.3.2.6
  10328. added Portuguese language to rapidgator
  10329.  
  10330. September 15, 2016
  10331. Version 1.3.2.5
  10332. added languages to rapidgator
  10333. french
  10334. german
  10335. spanish
  10336. Italian
  10337. russian
  10338. polish
  10339. dutch
  10340. czech
  10341. chinese
  10342. japanese
  10343.  
  10344. September 14, 2016
  10345. Version 1.3.2.4
  10346. fixed spaceforfiles.com
  10347.  
  10348. September 09, 2016
  10349. Version 1.3.2.3
  10350. added bdupload.info
  10351. added german & deutsch language to workupload.com
  10352.  
  10353. September 08, 2016
  10354. Version 1.3.2.2
  10355. added...
  10356. storageserver.co.uk
  10357. cloud.mail.ru
  10358. fixed depositfiles
  10359.  
  10360. September 08, 2016
  10361. Version 1.3.2.1
  10362. added workupload.com
  10363.  
  10364. September 04, 2016
  10365. Version 1.3.2.0
  10366. made changes to euroshare.eu
  10367.  
  10368. September 03, 2016
  10369. Version 1.3.1.9
  10370. added usercloud.net
  10371. made changes to euroshare.eu
  10372.  
  10373. August 31, 2016
  10374. Version 1.3.1.8
  10375. fixed uptobox.com
  10376.  
  10377. August 30, 2016
  10378. Version 1.3.1.7
  10379. made changes to euroshare.eu
  10380.  
  10381. August 29, 2016
  10382. Version 1.3.1.6
  10383. made changes to data.hu
  10384.  
  10385. August 29, 2016
  10386. Version 1.3.1.5
  10387. fixed euroshare.eu not detecting dead links
  10388.  
  10389. August 23, 2016
  10390. Version 1.3.1.4
  10391. added ulozto.sk
  10392. added ulozto.cz
  10393.  
  10394. August 19, 2016
  10395. Version 1.3.1.3
  10396. fixed euroshare.eu
  10397. fixed 2share.com
  10398.  
  10399. August 17, 2016
  10400. Version 1.3.1.2
  10401. added french code for 1fichier
  10402.  
  10403. August 16, 2016
  10404. Version 1.3.1.1
  10405. fix for 1fichier folder links, by yurii
  10406.  
  10407. August 15, 2016
  10408. Version 1.3.1.0
  10409. another fix for 1fichier
  10410. added mystore.to
  10411.  
  10412. August 12, 2016
  10413. Version 1.3.0.9
  10414. fixed 1fichier
  10415.  
  10416. August 01, 2016
  10417. Version 1.3.0.8
  10418. fixed tezfiles.com not detecting some premium links
  10419.  
  10420. July 24, 2016
  10421. Version 1.3.0.7
  10422. added fileshareup.com
  10423.  
  10424. July 17, 2016
  10425. Version 1.3.0.6
  10426. added subyshare.com
  10427.  
  10428. july 10, 2016
  10429. Version 1.3.0.5
  10430. fixed ulozto.net
  10431.  
  10432. july 07, 2016
  10433. Version 1.3.0.4
  10434. fixed uloz.to
  10435.  
  10436. july 07, 2016
  10437. Version 1.3.0.3
  10438. added imagenetz.de
  10439.  
  10440. June 23, 2016
  10441. Version 1.3.0.2
  10442. excluded nexcess.net
  10443.  
  10444. June 20, 2016
  10445. Version 1.3.0.1
  10446. added daofile.com
  10447.  
  10448. June 16, 2016
  10449. Version 1.3.0.0
  10450. added mexashare.com
  10451.  
  10452. June 16, 2016
  10453. Version 1.2.9.9
  10454. added novafile.com
  10455. added uploadgig.com
  10456.  
  10457. June 15, 2016
  10458. Version 1.2.9.8
  10459. fixed upload.af
  10460.  
  10461. June 10, 2016
  10462. Version 1.2.9.7
  10463. added alltu.eu
  10464.  
  10465. June 09, 2016
  10466. Version 1.2.9.6
  10467. added code for french language to rapidgator.net & rg.to
  10468.  
  10469. June 04, 2016
  10470. Version 1.2.9.5
  10471. added upnito.sk
  10472.  
  10473. May 31, 2016
  10474. Version 1.2.9.4
  10475. fixed mega.co (by yurii)
  10476.  
  10477. May 31, 2016
  10478. Version 1.2.9.3
  10479. code cleanup
  10480.  
  10481. May 27, 2016
  10482. Version 1.2.9.2
  10483. added filesin.space
  10484.  
  10485. May 27, 2016
  10486. Version 1.2.9.1
  10487. added
  10488. filescdn.com
  10489. bankupload.com
  10490. katfile.com
  10491.  
  10492. May 18, 2016
  10493. Version 1.2.9.0
  10494. added warped.co to obsolete hosts
  10495.  
  10496. May 17, 2016
  10497. Version 1.2.8.9
  10498. fixed mega.nz
  10499.  
  10500. May 16, 2016
  10501. Version 1.2.8.8
  10502. added to obsolete hosts
  10503. fileband.com
  10504. filecloud.cc
  10505. filesmelt.com
  10506. goldbytez.com
  10507. hulkshare.com
  10508. idup.in
  10509. loudupload.net
  10510. muchshare.net
  10511. myupload.dk
  10512. nekaka.com
  10513. netkups.com
  10514. plunder.com
  10515. uploads.xxx
  10516. uploadspace.pl
  10517. xkeepfile.com
  10518.  
  10519. May 16, 2016
  10520. Version 1.2.8.7
  10521. added upnito.sk to obsolete hosts
  10522.  
  10523. May 15, 2016
  10524. Version 1.2.8.6
  10525. fixed uploading.site
  10526.  
  10527. May 15, 2016
  10528. Version 1.2.8.5
  10529. added oload.net
  10530.  
  10531. May 14, 2016
  10532. Version 1.2.8.4
  10533. added uploading.site
  10534.  
  10535. May 13, 2016
  10536. Version 1.2.8.3
  10537. added uploadc.ch
  10538. fixed vidspot.net
  10539.  
  10540. May 13, 2016
  10541. Version 1.2.8.2
  10542. added keepshare.net
  10543.  
  10544. May 11, 2016
  10545. Version 1.2.8.1
  10546. added uploadserv.com
  10547.  
  10548. May 09, 2016
  10549. Version 1.2.8.0
  10550. fixed upstore.net & upsto.re
  10551. added 24uploading.com to obsolete hosts
  10552.  
  10553. May 06, 2016
  10554. Version 1.2.7.9
  10555. added storagon.com to obsolete hosts
  10556. fixed worldbytez.com
  10557.  
  10558. May 02, 2016
  10559. Version 1.2.7.8
  10560. added myfiles.onl
  10561.  
  10562. april 28, 2016
  10563. Version 1.2.7.7
  10564. fixed bytewhale.com
  10565.  
  10566. april 27, 2016
  10567. Version 1.2.7.6
  10568. fixed rapidgator not detecting some premium links.
  10569.  
  10570. april 27, 2016
  10571. Version 1.2.7.5
  10572. added jeodrive.com
  10573.  
  10574. april 26, 2016
  10575. Version 1.2.7.4
  10576. added sanshare.com to obsolete hosts
  10577.  
  10578. april 26, 2016
  10579. Version 1.2.7.3
  10580. fixed vidspot.net
  10581.  
  10582. april 26, 2016
  10583. Version 1.2.7.2
  10584. added upx.nz
  10585.  
  10586. april 25, 2016
  10587. Version 1.2.7.1
  10588. added rapidfilehost.com to obsolete hosts
  10589. fixed bitster.cz
  10590.  
  10591. april 12, 2016
  10592. Version 1.2.7.0
  10593. fixed rapidgator not detecting some premium links.
  10594.  
  10595. april 11, 2016
  10596. Version 1.2.6.9
  10597. changed code for ncrypt.in
  10598.  
  10599. april 07, 2016
  10600. Version 1.2.6.8
  10601. added fileinz.com to obsolete hosts.
  10602.  
  10603. april 06, 2016
  10604. Version 1.2.6.7
  10605. added sharingmaster.com to obsolete hosts.
  10606.  
  10607. april 05, 2016
  10608. Version 1.2.6.6
  10609. added 4upfiles.com & elffiles.com to obsolete hosts
  10610.  
  10611. april 03, 2016
  10612. Version 1.2.6.5
  10613. updates to configuration page
  10614.  
  10615. March 31, 2016
  10616. Version 1.2.6.4
  10617. added code for tampermonkey 4.0 compatibility
  10618.  
  10619. March 31, 2016
  10620. Version 1.2.6.3
  10621. fixed uloz.to
  10622. fixed copy dead links to clipboard feature
  10623. added copy live links to clipboard feature.
  10624.  
  10625. March 24, 2016
  10626. Version 1.2.6.2
  10627. changed made to nitroflare. (yurri)
  10628.  
  10629. March 20, 2016
  10630. Version 1.2.6.1
  10631. fixed rapidgator
  10632. fixed dfiles
  10633. fixed dl.free.fr
  10634. fixed nitroflare.com (Fixed by Yurii)
  10635.  
  10636. March 15, 2016
  10637. Version 1.2.6.0
  10638. fixed rapidgator.net
  10639. fixed uploaded.net
  10640.  
  10641. March 13, 2016
  10642. Version 1.2.5.9
  10643. added
  10644. uploads.ws
  10645. upl.me
  10646. clicknupload.link
  10647. added fileover.net to obsolete hosts
  10648. fixed kingfiles.net
  10649.  
  10650. March 09, 2016
  10651. Version 1.2.5.8
  10652. added kingfiles.net to obsolete hosts
  10653. fixed 4upld.com/expressleech.com
  10654.  
  10655. March 08, 2016
  10656. Version 1.2.5.7
  10657. fixed solidfiles.com
  10658.  
  10659. March 01, 2016
  10660. Version 1.2.5.6
  10661. added filespace.com
  10662. fixed depositfiles (by yurii)
  10663.  
  10664. February 29, 2016
  10665. Version 1.2.5.5
  10666. made change to keep2share
  10667.  
  10668. February 28, 2016
  10669. Version 1.2.5.4
  10670. removed down4files.com from obsolete hosts.
  10671.  
  10672. February 26, 2016
  10673. Version 1.2.5.3
  10674. fixed userscloud.com
  10675.  
  10676. February 24, 2016
  10677. Version 1.2.5.2
  10678. added yandex.com
  10679. fixed datafile.com
  10680.  
  10681. February 22, 2016
  10682. Version 1.2.5.1
  10683. added bigfile.to
  10684.  
  10685. February 20, 2016
  10686. Version 1.2.5.0
  10687. added abelhas.pt
  10688.  
  10689. February 18, 2016
  10690. Version 1.2.4.9
  10691. made change to uptobox
  10692.  
  10693. February 17, 2016
  10694. Version 1.2.4.8
  10695. fixed yadi.sk
  10696.  
  10697. February 16, 2016
  10698. Version 1.2.4.7
  10699. fixed datafile.com
  10700. fixed filecad.com
  10701. added filecore.co & filestorm.to to obsolete hosts
  10702. added upload.af, filedwon.in & uplod.it
  10703.  
  10704. February 15, 2016
  10705. Version 1.2.4.6
  10706. fixed kumpulbagi.id
  10707. added sangfile.com to obsolete hosts
  10708.  
  10709. February 14, 2016
  10710. Version 1.2.4.5
  10711. fixed yandex.ru
  10712.  
  10713. February 13, 2016
  10714. Version 1.2.4.4
  10715. added lunaticfiles.com.
  10716.  
  10717. February 09, 2016
  10718. Version 1.2.4.3
  10719. added file.up09.com.
  10720.  
  10721. February 09, 2016
  10722. Version 1.2.4.2
  10723. tezfiles.com premium links now detected.
  10724.  
  10725. February 09, 2016
  10726. Version 1.2.4.1
  10727. added seenupload.com to obsolete hosts
  10728. fixed 180upload.com to show obsolete
  10729.  
  10730. February 08, 2016
  10731. Version 1.2.4.0
  10732. added tusfiles.com
  10733. added filesupload.org
  10734. added gigasize.com
  10735. added filecad.com
  10736. fixed filecloud.io
  10737. added uploadnet.co to obsolete hosts
  10738.  
  10739. February 07,2016
  10740. Vession 1.2.3.9
  10741. fixed depositfiles.com folders
  10742. fixed turbobit.net folders
  10743.  
  10744. February 06, 2016
  10745. Version 1.2.3.8
  10746. fixed 1fichier false dead links
  10747.  
  10748. February 04, 2106
  10749. Version 1.2.3.7
  10750. added geupload and lenfile to obsolete hosts
  10751. fixed kyc.pm/depfile
  10752.  
  10753. February 03, 2016
  10754. Version 1.2.3.6
  10755. fixed some nitroflare.com dead links not being detected
  10756.  
  10757. February 01, 2016
  10758. Version 1.2.3.5
  10759. script moved to new site
  10760.  
  10761. January 20, 2016
  10762. Version 1.2.3.3
  10763. fixed some rapidgator premium link not being detected
  10764.  
  10765. January 17, 2016
  10766. Version 1.2.3.2
  10767. added bytewhale.com
  10768. added rapidrar.com
  10769.  
  10770. Version 1.2.3.1
  10771. added 180upload.com to obsolete hosts
  10772. fixed hellspy.com
  10773. added dinoshare.cz,
  10774.  
  10775. January 13, 2016
  10776. Version 1.2.3.0
  10777. added rapidu.net
  10778. added uploadboy.me
  10779. fixed euroshare.eu
  10780.  
  10781. January 12, 2016
  10782. Version 1.2.2.9
  10783. added kb.simple-aja.info
  10784.  
  10785. January 10, 2016
  10786. Version 1.2.2.8
  10787. made changes to fastshare.cz
  10788.  
  10789. January 10, 2016
  10790. Version 1.2.2.7
  10791. fixed uptobox.com
  10792.  
  10793. January 09, 2016
  10794. Version 1.2.2.6
  10795. datoteke.com now detects premium links
  10796. fixed turbobit.net
  10797. fixed uptobox.com
  10798. added pornfile.cz
  10799. added pornoid.cz
  10800. added file-share.top
  10801. added bitster.cz
  10802.  
  10803. January 05, 2016
  10804. Version 1.2.2.5
  10805. fixed salefiles.com
  10806. fixed ozofile.com
  10807.  
  10808. January 04, 2016
  10809. Version 1.2.2.4
  10810. added sharehost.eu
  10811.  
  10812. December 30, 2015
  10813. Version 1.2.2.3
  10814. added tezfiles.com
  10815.  
  10816. December 28, 2015
  10817. Version 1.2.2.2
  10818. fixed some k2s & fboom dead link not getting detected
  10819. fixed some k2s premium links not getting detected.
  10820. fixed ssh.yt not detecting some dead links
  10821. fixed ncrypt.in dead links showing yellow
  10822.  
  10823. December 20, 2015
  10824. Version 1.2.2.0
  10825. added datoteke.com
  10826.  
  10827. December 19, 2015
  10828. Version 1.2.1.9
  10829. added secured.in & linksave.in to obsolete hosts
  10830.  
  10831. December 17, 2015
  10832. Version 1.2.1.8
  10833. added german for dead links to secureupload.eu.
  10834.  
  10835. December 17, 2015
  10836. Version 1.2.1.7
  10837. added french for dead links to secureupload.eu.
  10838. fixed problem with tooltip display.
  10839.  
  10840. December 13, 2015
  10841. Version 1.2.1.6
  10842. added netload.me & fileparadox.in to obsolete hosts
  10843.  
  10844. December 09, 2015
  10845. Version 1.2.1.5
  10846. added rapidsonic.com & fileparadox.com to obsolete hosts
  10847.  
  10848. December 04, 2015
  10849. Version 1.2.1.4
  10850. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10851.  
  10852. December 03, 2015
  10853. Version 1.2.1.3
  10854. added dailyuploads.net
  10855.  
  10856. December 02, 2015
  10857. Version 1.2.1.2
  10858. fixed hitfile.net
  10859. fixed kingfiles.net
  10860.  
  10861. November 30, 2015
  10862. Version 1.2.1.1
  10863. added filepost.com to obsolete hosts
  10864. added devilshare.net
  10865.  
  10866. November 28, 2015
  10867. Version 1.2.1.0
  10868. fixed datafile.com not detecting some premium links.
  10869.  
  10870. November 25, 2015
  10871. Version 1.2.0.9
  10872. fixed filejoker.net
  10873. fixed toutbox.fr
  10874. fixed nowvideo.sx
  10875.  
  10876. November 24, 2015
  10877. Version 1.2.0.8
  10878. fixed openload.io
  10879.  
  10880. November 20, 2015
  10881. Version 1.2.0.7
  10882. //added file.al
  10883. //fixed nitroflare.com false live links
  10884. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10885.  
  10886. November 17, 2015
  10887. Version 1.2.0.6
  10888. added clicknupload.me
  10889.  
  10890. November 09, 2015
  10891. Version 1.2.0.5
  10892. fixed some depfile premium links not being detected
  10893.  
  10894. November 08, 2015
  10895. Version 1.2.0.4
  10896. fixed some rapidgator premium links not being detected
  10897. fixed doraupload.com
  10898.  
  10899. November 08, 2015
  10900. Version 1.2.0.3
  10901. fixed uploaded false premium
  10902.  
  10903. November 07, 2015
  10904. Version 1.2.0.2
  10905. fixed redbunker.net
  10906.  
  10907. November 05, 2015
  10908. Version 1.2.0.1
  10909. fixed app.box.com
  10910. added multiup.org (does not detect all dead links)
  10911.  
  10912. November 01, 2015
  10913. Version 1.2.0.0
  10914. added more languages to rockfile and 1fichier
  10915.  
  10916. November 01, 2015
  10917. Version 1.1.9.9
  10918. fixed rockfile.eu
  10919. changed 1fichier code (Thanks yurri)
  10920. added to obsolete hosts... (Thanks Love Buzz)
  10921. burnupload.com
  10922. cramit.in
  10923. cramitin.net
  10924. down4files.com
  10925. edoc.com
  10926. jumbofile.net
  10927. krotix.net
  10928. migahost.com
  10929. movreel.com
  10930. netload.in
  10931. newfileland.com
  10932. quickshare.cz
  10933.  
  10934. October 30, 2015
  10935. Version 1.1.9.8
  10936. added alfafile.net
  10937.  
  10938. October 26, 2015
  10939. Version 1.1.9.7
  10940. changed datafile.com and uplea.com
  10941. added lolabits.es
  10942.  
  10943. October 26, 2015
  10944. Version 1.1.9.6
  10945. added toutbox.fr
  10946.  
  10947. October 25, 2015
  10948. Version 1.1.9.5
  10949. fixed counter error
  10950.  
  10951. October 25, 2015
  10952. Version 1.1.9.4
  10953. changed uptobox.com code
  10954.  
  10955. October 21, 2015
  10956. Version 1.1.9.3
  10957. fixed uptobox.com
  10958.  
  10959. October 20, 2015
  10960. Version 1.1.9.2
  10961. bug fixes and new method of detecting premium links.
  10962.  
  10963. October 15, 2015
  10964. Version 1.1.9.1
  10965. fixed hugefiles.net false premium
  10966. changed uptobox.com code
  10967.  
  10968. October 06, 2015
  10969. Version 1.1.9.0
  10970. fixed filefactory
  10971. fixed rockfile false premium
  10972. keep2share & fileboom now detect premium links (fixed by yurii)
  10973.  
  10974. October 01, 2015
  10975. Version 1.1.8.9
  10976. fixed free.fr false premium
  10977. fixed thevideo.me false premium
  10978.  
  10979. September 28, 2015
  10980. Version 1.1.8.8
  10981. added uplea.com and openload.co
  10982.  
  10983. September 27, 2015
  10984. Version 1.1.8.7
  10985. fixed fileparadox.in false premium
  10986. added kingfiles.net to obsolete hosts
  10987. removed inafile.com from obsolete hosts
  10988.  
  10989. September 22, 2015
  10990. Version 1.1.8.6
  10991. fixed nitroflare false premium
  10992.  
  10993. September 22, 2015
  10994. Version 1.1.8.5
  10995. fixed userscloud.com false premium
  10996. fixed usersfiles.com false premium
  10997. changed arabloads.com to arabloads.net
  10998. changed nowdownloads.eu to nowdownloads.ch
  10999.  
  11000. September 21, 2015
  11001. Version 1.1.8.3
  11002. added ryushare.com to obsolete hosts.
  11003.  
  11004. September 20, 2015
  11005. Version 1.1.8.2
  11006. fixed nitroflare not showing premium links
  11007. added down4files.com,storfiles.co,filehost.pw
  11008.  
  11009. September 16, 2015
  11010. Version 1.1.8.1
  11011. added crisshare.com to obsolete hosts
  11012. fixed filemoney.com false premium
  11013. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11014.  
  11015. September 14, 2015
  11016. Version 1.1.8.0
  11017. added to obsolete hosts...
  11018. sharebeast.com
  11019. tufiles.ru
  11020.  
  11021. September 12, 2015
  11022. Version 1.1.7.9
  11023. fixed rghost.net false premium
  11024. fixed unlimitzone.com false premium
  11025. fixed turbobit.net false live link
  11026.  
  11027. September 11, 2015
  11028. Version 1.1.7.8
  11029. Fixed filefactory.com false premium.
  11030.  
  11031. September 07, 2015
  11032. Version 1.1.7.7
  11033. fixed "depositfiles.com/en/files" links not checking
  11034.  
  11035. September 06, 2015
  11036. Version 1.1.7.6
  11037. added French code for 1fichier
  11038.  
  11039. August 29, 2015
  11040. Version 1.1.7.5
  11041. fixed depositfiles
  11042. fixed mega.co.nz/mega.nz
  11043. (fixed by yurii)
  11044.  
  11045. August 23, 2015
  11046. Version 1.1.7.4
  11047. Fixed uploadrocket (by yurii)
  11048.  
  11049. August 20, 2015
  11050. Version 1.1.7.3
  11051. fixed depfile.com false premium
  11052. fixed 1fichier false premium
  11053. fixed rapidgator false premium
  11054.  
  11055. August 08, 2015
  11056. Version 1.1.7.1
  11057. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11058.  
  11059. August 07, 2015
  11060. Version 1.1.7.0
  11061. fixed...
  11062. streamin.to
  11063. thefile.me
  11064. vidzi.tv
  11065. added...
  11066. filenuke.com
  11067. vidto.me
  11068. vidspot.net
  11069. sharesix.com
  11070. sharesix.net
  11071. movpod.in,
  11072.  
  11073. August 07, 2015
  11074. Version 1.1.6.9 added...
  11075. thefile.me
  11076. vidzi.tv
  11077. videoweed.es
  11078. vodlocker.com
  11079. nowvideo.sx
  11080. cloudtime.to
  11081. thevideo.me
  11082. vidbull.com
  11083. allmyvideos.net
  11084. novamov.com
  11085. filehoot.com
  11086. stagevu.com
  11087. gorillavid.in
  11088. streamin.to
  11089.  
  11090. August 02, 2015
  11091. Version 1.1.6.8
  11092. added cloudshares.net
  11093.  
  11094. August 01, 2015
  11095. Version 1.1.6.7
  11096. fixed depfile redirectors false premium
  11097.  
  11098. July 31, 2015
  11099. Version 1.1.6.6
  11100. fixed depfile.com false premium
  11101. */