W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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. // @exclude https://www.google.pl*
  15. // @include http://*
  16. // @include https://*
  17. // @include file:///*
  18. // @grant GM_setValue
  19. // @grant GM_getValue
  20. // @grant GM_xmlhttpRequest
  21. // @grant GM_log
  22. // @grant GM_addStyle
  23. // @grant GM_registerMenuCommand
  24. // @grant GM_getResourceText
  25. // @grant GM_info
  26. // @grant GM_setClipboard
  27. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  28. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  29. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  30. // @homepage http://usa.x10host.com/mybb
  31. // @namespace war premium
  32. // @noframes
  33. // @version 1.3.9.2
  34. // ==/UserScript==
  35.  
  36. var War_version = "1.3.9.2 May 25, 2017";
  37.  
  38. //separate alternative domains with "|" char (first name is considered being main)
  39. var allHostNames = [
  40. "1fichier.com|dl4free.com",
  41. "avatarshare.com",
  42. "owndrives.com",
  43. "hotlink.cc",
  44. "fileshark.pl",
  45. "pobierz.to",
  46. "kingfile.pl",
  47. "oload.tv",
  48. "uploads.to",
  49. "uploadify.net",
  50. "temp-share.com",
  51. "ausfile.com",
  52. "filesha.com",
  53. "upfiles.net",
  54. "dailyfiles.net",
  55. "upfile.mobi",
  56. "share.az",
  57. "crazyshare.cc",
  58. "uploadocean.com",
  59. "drive.google.com",
  60. "suprafiles.net",
  61. "fileflares.com",
  62. "erafile.com",
  63. "mystore.to",
  64. "littlebyte.net",
  65. "exbit.net",
  66. "bdupload.info",
  67. "workupload.com",
  68. "wayupload.com",
  69. "cloud.mail.ru",
  70. "fileshareup.com",
  71. "usercloud.net",
  72. "daofile.com",
  73. "subyshare.com",
  74. "mexashare.com",
  75. "uploadgig.com",
  76. "upload.af",
  77. "alltu.eu",
  78. "filesin.space",
  79. "imagenetz.de",
  80. "katfile.com",
  81. "bankupload.com",
  82. "keepshare.net",
  83. "filescdn.com",
  84. "myfiles.onl",
  85. "uploadserv.com",
  86. "uploading.site",
  87. "filedwon.info",
  88. "jeodrive.com",
  89. "ncrypt.in",
  90. "yandex.com",
  91. "down4files.com",
  92. 'filespace.com',
  93. "uplod.it",
  94. "rapidu.net",
  95. "uploads.ws|upl.me",
  96. "file.up09.com",
  97. "lunaticfiles.com",
  98. "filecad.com",
  99. "filesupload.org",
  100. "bytewhale.com",
  101. "rapidrar.com",
  102. "download.cz.hellshare.com",
  103. "pornfile.cz",
  104. "dinoshare.cz",
  105. "kb.simple-aja.info",
  106. "bitster.cz",
  107. "file-share.top",
  108. "pornoid.cz",
  109. "dailyuploads.net",
  110. "sharehost.eu",
  111. "tezfiles.com",
  112. "devilshare.net",
  113. "alfafile.net",
  114. "openload.co",
  115. "multiup.org",
  116. "uplea.com",
  117. "filenuke.com",
  118. "file.al|1f.al",
  119. "vidto.me",
  120. "filehost.pw",
  121. "turbobit.ru",
  122. "sharesix.com|sharesix.net",
  123. "movpod.in",
  124. "thefile.me",
  125. "datoteke.com",
  126. "vidzi.tv",
  127. "videoweed.es",
  128. "vodlocker.com",
  129. "nowvideo.sx",
  130. "cloudtime.to",
  131. "thevideo.me",
  132. "vidbull.com",
  133. "novamov.com",
  134. "filehoot.com",
  135. "stagevu.com",
  136. "gorillavid.in",
  137. "streamin.to",
  138. "4upld.com|expressleech.com",
  139. "cloudshares.net",
  140. "swoopshare.com",
  141. "2shared.com",
  142. "fileupload.pw",
  143. "zxcfiles.com",
  144. "up07.net",
  145. "4shared.com",
  146. "adrive.com",
  147. "aisfile.com",
  148. "bezvadata.cz",
  149. "usersfiles.com",
  150. "pan.baidu.com",
  151. "datei.to",
  152. "daten-hoster.de|filehosting.org|xtraupload.de",
  153. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  154. "divshare.com",
  155. "easy-share.com|crocko.com",
  156. "easybytez.com",
  157. "edisk.cz",
  158. "euroshare.eu",
  159. "file-upload.net",
  160. "file-upload.com",
  161. "yadi.sk",
  162. "wizupload.com",
  163. "fastshare.cz",
  164. "filefactory.com",
  165. "share.vnn.vn",
  166. "yunpan.cn",
  167. "tropicshare.com",
  168. "inclouddrive.com",
  169. "fileflyer.com",
  170. "filerio.com|filekeen.com",
  171. "up.4share.vn",
  172. "upfile.vn",
  173. "datafilehost.com",
  174. "worldbytez.com",
  175. "files.mail.ru",
  176. "filesflash.com",
  177. "box.com",
  178. "uptobox.com",
  179. "box.net",
  180. "sdilej.cz",
  181. "ex-load.com",
  182. "filesmonster.com",
  183. "filestore.to",
  184. "hulkload.com",
  185. "filedropper.com",
  186. "free-uploading.com",
  187. "gamefront.com|filefront.com",
  188. "gettyfile.ru",
  189. "gigapeta.com",
  190. "gigasize.com",
  191. "hellshare.com",
  192. "hellspy.com",
  193. "hitfile.net",
  194. "hostuje.net",
  195. "freefilehosting.net",
  196. "free.fr",
  197. "hyperfileshare.com",
  198. "filecloud.io|ifile.it",
  199. "ifolder.ru",
  200. "uploadrocket.net",
  201. "lafiles.com",
  202. "leteckaposta.cz|sharegadget.com",
  203. "load.to",
  204. "mediafire.com",
  205. "megafileupload.com",
  206. "movshare.net",
  207. "narod.ru|narod.yandex.ru",
  208. "fboom.me|fileboom.me",
  209. "partage-facile.com",
  210. "sharerapid.cz",
  211. "exclusiveloader.com",
  212. "acefile.net",
  213. "queenshare.com",
  214. "rapidgator.net",
  215. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  216. "oboom.com",
  217. "filepi.com",
  218. "rarefile.net",
  219. "rayfile.com",
  220. "rghost.net",
  221. "sendmyway.com",
  222. "clicknupload.com",
  223. "clicknupload.me",
  224. "clicknupload.link",
  225. "uploadable.ch",
  226. "sharemods.com",
  227. "hostr.co",
  228. "sendspace.com",
  229. "sharecash.org",
  230. "share-links.biz",
  231. "share-online.biz|egoshare.com",
  232. "megarapid.cz",
  233. "shareflare.net",
  234. "solidfiles.com",
  235. "led.wf",
  236. "lan.wf",
  237. "adlink.wf",
  238. "click.tf",
  239. "kyc.pm",
  240. "ssh.tf",
  241. "ssh.yt",
  242. "yep.pm",
  243. "stahovanizasms.cz",
  244. "turbobit.net",
  245. "tikfile.com",
  246. "cloudsix.me",
  247. "turboupload.com",
  248. "uloz.to",
  249. "ulozto.net",
  250. "ulozto.sk",
  251. "ulozto.cz",
  252. "ulozisko.sk",
  253. "uloziste.com",
  254. "unibytes.com",
  255. "upload-il.net|przeslij.net",
  256. "uploaded.to|uploaded.net|ul.to",
  257. "chayfile.com",
  258. "rockfile.eu",
  259. "usaupload.net",
  260. "veehd.com",
  261. "videobb.com",
  262. "vip-file.com",
  263. "webshare.cz",
  264. "xdisk.cz",
  265. "yunfile.com|filemarkets.com",
  266. "ziddu.com",
  267. "zippyshare.com",
  268. "rodfile.com",
  269. "wikiupload.com",
  270. "uploadstube.de",
  271. "faststore.org",
  272. "flyfiles.net",
  273. "prefiles.com",
  274. "hackerbox.org",
  275. "amonshare.com",
  276. "data.hu",
  277. "brupload.net",
  278. "kingfiles.net",
  279. "userscloud.com",
  280. "kumpulbagi.com|kumpulbagi.id",
  281. "uppit.com|up.ht|upx.nz",
  282. "downloadani.me",
  283. "filesabc.com",
  284. "extmatrix.com",
  285. "sendfiles.nl",
  286. "yourfilestore.com",
  287. "filebig.net",
  288. "file4safe.com",
  289. "tusfiles.net|tusfiles.com",
  290. "filemac.com",
  291. "ozofiles.com",
  292. "nosupload.com",
  293. "gboxes.com",
  294. "myvdrive.com|fileserving.com",
  295. "novafile.com",
  296. "longfiles.com",
  297. "bitupload.com",
  298. "indowebster.com",
  299. "superload.cz",
  300. "mafiastorage.com",
  301. "hellupload.com",
  302. "stiahni.si",
  303. "sendspace.pl",
  304. "fastshare.org",
  305. "filejoker.net",
  306. "filestore.com.ua",
  307. "rapidfileshare.net",
  308. "stiahnito.sk",
  309. "rusfolder.com",
  310. "catshare.net",
  311. "mixturecloud.com",
  312. "filedais.com",
  313. // "imdb.com",
  314. "nitroflare.com",
  315. "akafile.com",
  316. "up.top4top.net",
  317. "upload.ee",
  318. "shareplace.org",
  319. "uploadc.com",
  320. "uploadc.ch",
  321. "exoshare.com",
  322. "borncash.org",
  323. "2downloadz.com",
  324. "mightyupload.com",
  325. "anysend.com",
  326. "datafile.com",
  327. "upstore.net",
  328. "upsto.re",
  329. "speedy.sh",
  330. "ge.tt",
  331. "filesflash.net",
  332. "salefiles.com",
  333. "datoid.cz",
  334. "cloudstor.es",
  335. "streamfile.com",
  336. "eyesfile.ca",
  337. "filemoney.com",
  338. "uploadboy.com",
  339. "uploadboy.me",
  340. "speedshare.eu",
  341. "google.com|google.be",
  342. "unlimitzone.com",
  343. "rioupload.com",
  344. "rg.to",
  345. "jumbofiles.org",
  346. "fshare.vn",
  347. "spaceforfiles.com",
  348. "up.media1fire.com",
  349. "depfile.com",
  350. "go4up.com",
  351. "dropbox.com",
  352. "redbunker.net",
  353. "divxpress.com",
  354. "mega.nz|mega.co.nz",
  355. "storageserver.co.uk",
  356. "anafile.com",
  357. "bigfile.to",
  358. "arabloads.net",
  359. "sharerepo.com",
  360. "sfshare.se",
  361. "files.fm",
  362. "koofile.com",
  363. "doraupload.com",
  364. "openload.io",
  365. "upnito.sk",
  366. "oload.net",
  367. ];
  368.  
  369. try
  370. {
  371. //iframes excluded
  372. if (window.top != window.self)
  373. {
  374. return;
  375. }
  376. //allHostNames sites excluded
  377. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  378. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  379. ")"))
  380. {
  381. return;
  382. }
  383. }
  384. catch (e)
  385. {
  386. return;
  387. }
  388.  
  389. //separate alternative domains with "|" char (first name is considered being main)
  390. var allContainerNames = [
  391. "adf.ly",
  392. "linkcrypt.ws",
  393. "linksafe.me",
  394. // "linksave.in",
  395. "linkto.net",
  396. "madlink.sk",
  397. "multiload.cz",
  398. "mirrorcreator.com",
  399. // "ncrypt.in",
  400. "redi.re",
  401. "relink.us",
  402. "safelinking.net",
  403. "theloo.katt.it",
  404. "bit.ly",
  405.  
  406. ];
  407.  
  408. //separate alternative domains with "|" char (first name is considered being main)
  409. var allObsoleteNames = [
  410. "black-label.pro",
  411. "4up.me",
  412. "anonfiles.com",
  413. "axifile.com",
  414. "creafile.net",
  415. "cloudzilla.to",
  416. "neodrive.co",
  417. "demo.ovh.eu",
  418. "filesin.com",
  419. "fileswap.com",
  420. "junocloud.me",
  421. "gulfup.com",
  422. "hexupload.com",
  423. "secureupload.eu",
  424. "hugefiles.net",
  425. "jumbofiles.com",
  426. "letitbit.net",
  427. "lolabits.es",
  428. "nowdownload.ch",
  429. "openfile.ru",
  430. "radicalshare.com",
  431. "remixshare.com",
  432. "storefiles.co",
  433. "toutbox.fr",
  434. "uploadbaz.com",
  435. "uploadingit.com",
  436. "uploading.com",
  437. "verzend.be",
  438. "vidplay.net",
  439. "vidxden.com",
  440. "xfileload.com",
  441. "warped.co",
  442. "xkeepfile.com",
  443. "abelhas.pt",
  444. "uploadspace.pl",
  445. "allmyvideos.net",
  446. "uploads.xxx",
  447. "netkups.com",
  448. "nekaka.com",
  449. "vidspot.net",
  450. "myupload.dk",
  451. "muchshare.net",
  452. "loudupload.net",
  453. "idup.in",
  454. "hulkshare.com",
  455. "goldbytez.com",
  456. "filesmelt.com",
  457. "fileband.com",
  458. "uloz.cz",
  459. "secured.in",
  460. "rapidfilehost.com",
  461. "fileover.net",
  462. "fileinz.com",
  463. "linksave.in",
  464. "seenupload.com",
  465. "sangfile.com",
  466. "filepost.com|fp.io",
  467. "sharingmaster.com ",
  468. "24uploading.com",
  469. "storagon.com",
  470. "sanshare.com",
  471. "filestorm.to",
  472. "uploadnet.co",
  473. "180upload.com",
  474. "rapidsonic.com",
  475. "fileparadox.com",
  476. "4upfiles.com",
  477. "geupload.com",
  478. "lenfile.com",
  479. "fileparadox.in",
  480. "uploadhero.co",
  481. "uploadhero.com",
  482. "newfileland.com",
  483. "quickshare.cz",
  484. "elffiles.com",
  485. "netload.in",
  486. "netload.me",
  487. "movreel.com",
  488. "migahost.com",
  489. "krotix.net",
  490. "jumbofile.net",
  491. "edoc.com",
  492. "cramit.in|cramitin.net",
  493. "freakshare.com",
  494. "burnupload.com|burnupload.ihiphop.com",
  495. "freakshare.net",
  496. "daj.to",
  497. "bl.st",
  498. "2drive.net",
  499. "ryushare.com",
  500. "crisshare.com",
  501. "tufiles.ru",
  502. "uncapped-downloads.com",
  503. "sockshare.com",
  504. "ddlstorage.com",
  505. "dataport.cz",
  506. "dizzcloud.com",
  507. "sharebeast.com",
  508. "stahovadlo.cz",
  509. "shared.com",
  510. "storage.to",
  511. "putlocker.com",
  512. "lumfile.com",
  513. "lumfile.se",
  514. "lumfile.eu",
  515. "firedrive.com",
  516. "fileshare.in.ua",
  517. "filecore.co.nz",
  518. "filecore.co",
  519. "iskladka.cz",
  520. "file-rack.com",
  521. "fast-load.net",
  522. "subory.sk",
  523. "bigandfree.com",
  524. "fileop.com",
  525. "mujsoubor.cz",
  526. "sendfile.to",
  527. "superfastfile.com",
  528. "quickyshare.com",
  529. "duckload.com",
  530. "uploadstore.net",
  531. "meinupload.com",
  532. "dualshare.com",
  533. "2xupload.to|2xupload.de",
  534. "oxedion.com",
  535. "uploadline.com",
  536. "dll.bz",
  537. "movieshare.in",
  538. "milledrive.com",
  539. "quickupload.net",
  540. "safelink.in",
  541. "metadivx.com",
  542. "divxlink.com",
  543. "uploadrack.com",
  544. "teradepot.com",
  545. "dataup.to",
  546. "upit.to",
  547. "driveway.com",
  548. "eatlime.com",
  549. "a2zuploads.com",
  550. "friendlyfiles.net",
  551. "flyfile.us",
  552. "speedyshare.com",
  553. "uploadspace.eu",
  554. "keepfile.com",
  555. "piggyshare.com",
  556. "uplly.com",
  557. "filecrown.com",
  558. "6giga.com",
  559. "uploadjockey.com",
  560. "bluehost.to",
  561. "filegu.ru",
  562. "filebase.to",
  563. "up-file.com",
  564. "xvideos.com",
  565. "ufox.com",
  566. "filebling.com",
  567. "loaded.it",
  568. "uploadcell.com",
  569. "uploadshare.cz",
  570. "mangoshare.com",
  571. "filestab.com",
  572. "crazyupload.com",
  573. "gaiafile.com",
  574. "sharejunky.com",
  575. "fileho.com",
  576. "bigandfree.com",
  577. "bigfile.in",
  578. "bigshare.eu",
  579. "dahosting.org",
  580. "digisofts.net",
  581. "file4save.com",
  582. "filechip.com",
  583. "filescloud.com",
  584. "saveqube.com",
  585. "turboshare.de",
  586. "z-upload.com",
  587. "youshare.com",
  588. "jiffyupload.com",
  589. "gigeshare.com",
  590. "datenklo.net",
  591. "upload.dj",
  592. "loadfiles.in",
  593. "upit.to",
  594. "dsfileshare.com",
  595. "sharesimple.net",
  596. "4files.net",
  597. "wooupload.com",
  598. "odsiebie.com",
  599. "filenavi.com",
  600. "3oof.com",
  601. "meshwaar.com",
  602. "maxupload.com",
  603. "share.cx",
  604. "atserver.eu",
  605. "hotfiles.ws",
  606. "esnips.com",
  607. "tuxfile.com",
  608. "file2upload.net",
  609. "filebling.com",
  610. "turboshare.com",
  611. "rarhost.com",
  612. "isharehd.com",
  613. "i741.com",
  614. "dataup.de",
  615. "fofly.com",
  616. "shareonall.com",
  617. "sexuploader.com",
  618. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  619. "uploadhyper.com",
  620. "filespawn.com",
  621. "caizzii.com",
  622. "volnyweb.cz",
  623. "usershare.net",
  624. "filescash.net",
  625. "metahyper.com",
  626. "combozip.com",
  627. "x7.to",
  628. "uploadbox.com",
  629. "enterupload.com|flyupload.com",
  630. "filepoint.de",
  631. "mystream.to",
  632. "x-fs.com",
  633. "shareator.com",
  634. "srapid.eu",
  635. "sosame.cz",
  636. "filesdump.com",
  637. "2-klicks.de",
  638. "uploking.com",
  639. "silofiles.com",
  640. "upfile.in",
  641. "filehook.com",
  642. "uploadking.com",
  643. "uploadhere.com",
  644. "kewlshare.com",
  645. "rapidable.com",
  646. "uploadwaste.com",
  647. "filemup.com",
  648. "filesonic.com|sharingmatrix.com",
  649. "fileserve.com",
  650. "wupload.com",
  651. "skipfile.com",
  652. "smartuploader.com",
  653. "dualshare.com",
  654. "storeandserve.com",
  655. "mountfile.com",
  656. "transitfiles.com",
  657. "uploadstation.com",
  658. "filejungle.com",
  659. "shareshared.com",
  660. "quickyshare.com",
  661. "save.am",
  662. "petandrive.com",
  663. "file2box.com",
  664. "flyshare.cz",
  665. "yabadaba.ru",
  666. "cloudcache.cc",
  667. "yourfilehost.com",
  668. "jakfile.com",
  669. "kickload.com",
  670. "pyramidfiles.com",
  671. "refile.net",
  672. "zshare.net",
  673. "ddlani.me|ddlanime.com",
  674. "ftp2share.com",
  675. "fooget.com",
  676. "rapidhide.com",
  677. "gotupload.com",
  678. "mooload.com",
  679. "zupload.com",
  680. "mytempdir.com",
  681. "onionshare.com",
  682. "stahnu.to",
  683. "oron.com",
  684. "badongo.com",
  685. "filereactor.com",
  686. "filegaze.com",
  687. "4bytez.com",
  688. "1hostclick.com",
  689. "anonstream.com",
  690. "batshare.com",
  691. "bitroad.net",
  692. "brontofile.com",
  693. "cloudnxt.net",
  694. "cloudnator.com|shragle.com",
  695. "filesfrog.net",
  696. "coolshare.cz",
  697. "dotavi.com",
  698. "ezyfile.net",
  699. "file-bit.net",
  700. "filecosy.com",
  701. "fileduct.com|fileduct.net",
  702. "filefat.com",
  703. "filelaser.com",
  704. "filemashine.com",
  705. "fileserver.cc",
  706. "filetechnology.com",
  707. "fireuploads.net",
  708. "gigfiles.net",
  709. "holderfile.com",
  710. "ihostia.com",
  711. "k2files.com",
  712. "mojofile.com",
  713. "ovfile.com",
  714. "qshare.com",
  715. "shafiles.me",
  716. "sharefilehost.com",
  717. "shareupload.com",
  718. "stahuj.to",
  719. "ugotfile.com",
  720. "uploadboost.com",
  721. "fileom.com",
  722. "vidhog.com",
  723. "xfileshare.eu",
  724. "bzlink.us",
  725. "bulletupload.com",
  726. "bloggerarticles.com",
  727. "mojedata.sk",
  728. "sharpfile.com",
  729. "upgrand.com",
  730. "nasdilej.cz",
  731. "mediatack.cz",
  732. "share-it.to",
  733. "primeupload.com",
  734. "filebeer.info",
  735. "baberepublic",
  736. "xtu.me",
  737. "sharebase.de",
  738. "luckyshare.net",
  739. "filerobo.com",
  740. "filevelocity.com",
  741. "filezpro.com",
  742. "file4sharing.com",
  743. "cing.be",
  744. "ufile.eu",
  745. "pigsonic.com",
  746. "fileupped.com",
  747. "sharerun.com",
  748. "filesaur.com",
  749. "rapidslnare.com",
  750. "bestsharing.com",
  751. "savefiles.net",
  752. "file2share.biz",
  753. "filecache.de",
  754. "monsteruploads.eu",
  755. "b9bb.com",
  756. "aiotool.net",
  757. "jamber.info",
  758. "megaftp.com",
  759. "desiupload.net",
  760. "file27.com",
  761. "yastorage.com",
  762. "filehost.ws",
  763. "copyload.com",
  764. "venusfile.com",
  765. "aieshare.com",
  766. "terafile.co",
  767. "terafile.com",
  768. "fileza.net",
  769. "filerose.com",
  770. "squillion.com",
  771. "fileprohost.com",
  772. "bitbonus.com",
  773. "warserver.cz",
  774. "uload.to",
  775. "sharedbit.net",
  776. "megaload.it",
  777. "filewinds.com",
  778. "uploadcore.com",
  779. "syfiles.com",
  780. "eyesfile.com",
  781. "hotfile.com",
  782. "superupl.com",
  783. "oteupload.com",
  784. "henchfile.com",
  785. "filegag.com",
  786. "HenchFile.com",
  787. "filedefend.com",
  788. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  789. "megabitshare.com",
  790. "cloudzer.com",
  791. "asfile.com",
  792. "cloudzer.net",
  793. "clz.to",
  794. "extabit.com",
  795. "247upload.com",
  796. "2download.de",
  797. "4fastfile.com",
  798. "asixfiles.com",
  799. "berofile.com",
  800. "bigupload.com",
  801. "cepzo.com",
  802. "clouds.to",
  803. "cobrashare.sk",
  804. "coraldrive.net",
  805. "cyberlocker.ch",
  806. "czshare.com",
  807. "darkport.org",
  808. "dark-uploads.com",
  809. "davvas.com",
  810. "enigmashare.com",
  811. "erofly.cz",
  812. "fastsonic.net",
  813. "filebox.com",
  814. "filecity.net",
  815. "filedap.com",
  816. "filedino.com",
  817. "filedownloads.org",
  818. "filefolks.com",
  819. "fileking.co",
  820. "filemates.com",
  821. "files.to",
  822. "files2k.eu",
  823. "filesector.cc",
  824. "bitshare.com",
  825. "filesega.com",
  826. "filesend.net",
  827. "filestay.com",
  828. "filestrum.com",
  829. "fileuplo.de",
  830. "fileupup.com",
  831. "forunesia.com",
  832. "freeuploads.fr",
  833. "uploa.dk",
  834. "getthebit.com",
  835. "getzilla.net",
  836. "goldfile.eu",
  837. "good.com",
  838. "grupload.com",
  839. "hellfile.com",
  840. "hipfile.com",
  841. "hitfile.com",
  842. "hulkfile.eu|duckfile.net",
  843. "i-filez.com",
  844. "ifile.ws",
  845. "kupload.org",
  846. "packupload.com",
  847. "lemuploads.com",
  848. "limelinx.com",
  849. "maxshare.pl",
  850. "megarelease.org",
  851. "megashares.com",
  852. "megashare.com",
  853. "minus.com",
  854. "mlfat4arab.com",
  855. "multishare.cz",
  856. "nirafile.com",
  857. "ok2upload.com",
  858. "peejeshare.com",
  859. "premiuns.org",
  860. "przeklej.net",
  861. "qkup.net",
  862. "rapidupload.sk",
  863. "rockdizfile.com",
  864. "rocketfile.net",
  865. "share-now.net",
  866. "share76.com",
  867. "sharebees.com",
  868. "sharefiles.co",
  869. "slingfile.com",
  870. "sms4file.com",
  871. "space4file.com",
  872. "tigershare.net",
  873. "toucansharing.com",
  874. "ubuntuone.com",
  875. "unextfiles.com",
  876. "upaj.pl",
  877. "upfile.biz",
  878. "uploadbin.net",
  879. "uploadic.com",
  880. "uploadinc.com",
  881. "uploading4u.eu",
  882. "uploadjet.net",
  883. "uploadorb.com",
  884. "upthe.net",
  885. "uptorch.com",
  886. "vidbox.yt",
  887. "videozer.com",
  888. "vreer.com",
  889. "wallobit.com",
  890. "zooupload.com",
  891. "privatefiles.com",
  892. "xerver.co",
  893. "BillionUploads.com",
  894. "rapidshare.com",
  895. "rapidshare.ru",
  896. "4savefile.com",
  897. "bayfiles.com",
  898. "bayfiles.net",
  899. "dodane.pl",
  900. "dotsemper.com",
  901. "egofiles.com",
  902. "epicshare.net",
  903. "fiberupload.net",
  904. "filemonkey.in",
  905. "filemonster.net",
  906. "filepom.com",
  907. "filesbb.com",
  908. "filevice.com",
  909. "gigaup.fr",
  910. "isavelink.com",
  911. "loombo.com",
  912. "megafiles.se",
  913. "migupload.com",
  914. "mydisc.net",
  915. "nitrobits.com",
  916. "potload.com",
  917. "redload.net",
  918. "shareprofi.com",
  919. "sharesuper.info",
  920. "sinhro.net",
  921. "speedfile.cz",
  922. "speedshare.org",
  923. "storage.novoro.net",
  924. "swankshare.com",
  925. "swatupload.com",
  926. "upafile.com",
  927. "uploadmachine.com",
  928. "uploadsat.com",
  929. "upshared.com",
  930. "usefile.com",
  931. "yourfiles.to",
  932. "zomgupload.com",
  933. "ultramegabit.com",
  934. "uploadto.us",
  935. "inafile.com",
  936. "megairon.net",
  937.  
  938. ];
  939. ///////////////////////////////////////////////////////////////////////////////////////
  940. var firstRun = GM_getValue("First_run", true);
  941.  
  942. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  943. //////////////////////////////////////////////////////////////////////////////////////
  944. try
  945. {
  946. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  947. var last_known_version = GM_getValue("last_known_version", "");
  948. if (!last_known_version)
  949. {
  950. last_known_version = thisVersion;
  951. GM_setValue("last_known_version", last_known_version);
  952. }
  953. //var newVersion = !(thisVersion == last_known_version);
  954. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  955. GM_setValue("last_known_version", thisVersion);
  956. }
  957. catch (err)
  958. {
  959. var newVersion = false;
  960. }
  961.  
  962. var now = (new Date()).getTime();
  963. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  964. if (!last_custom_rules_nag)
  965. {
  966. last_custom_rules_nag = now;
  967. GM_setValue('last_custom_rules_nag', ''+now);
  968. }
  969.  
  970.  
  971. allHostNames.sort();
  972. allContainerNames.sort();
  973. allObsoleteNames.sort();
  974.  
  975. var RAND_STRING = "8QyvpOSsRG3QWq";
  976. var DEBUG_MODE = false;
  977.  
  978. var TOOLTIP_MAXWIDTH = 600; //in pixels
  979. var TOOLTIP_THUMBWIDTH = 200;
  980. var containers_processed = false;
  981.  
  982. //settings for keyboard functions start
  983. var CHECK_ALL_LINKS_KEY = "A";
  984. var CONFIGURATION_KEY = "C";
  985. var copy_to_dead_key = "D";
  986. var copy_to_live_key = "L";
  987. var toggle_autocheck_key = "W";
  988. var toggle_Enable_Anonymizer_key = "Z";
  989. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  990. var first_key_keycodename = 'CTRL';
  991. var second_key_keycode = '18';
  992. var second_key_keycodename = 'ALT';
  993. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  994. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  995. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  996. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  997. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  998. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  999. //settings for keyboard functions end
  1000.  
  1001. //global settings start
  1002. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1003. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1004. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1005. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1006. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1007. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1008. var Progress_box_refresh_rate;
  1009. var Obsolete_file_hosts;
  1010. var Custom_rules, Custom_rules_text;
  1011. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1012.  
  1013. var messageBox = document.createElement('b'); // top-left message box
  1014.  
  1015. var cLinksTotal = 0;
  1016. var cLinksDead = 0;
  1017. var cLinksAlive = 0;
  1018. var cLinksUnava = 0;
  1019. var cLinksprem = 0;
  1020. var cLinksProcessed = 0;
  1021.  
  1022. var intervalId; //for updateProgress()
  1023.  
  1024. //icon resources
  1025. 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+AXuRLahdYwP2SycQW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
  1034.  
  1035. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1036. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NF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aV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1038. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1039.  
  1040. //global settings end
  1041. if (window.opera && !window.console)
  1042. {
  1043. window.console = {};
  1044.  
  1045. function fn()
  1046. {
  1047. opera.postError(arguments);
  1048. };
  1049. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1050. {
  1051. window.console[name] = fn;
  1052. });
  1053. }
  1054.  
  1055. //displays colored text in message box
  1056. function sendMessage(text, color)
  1057. {
  1058. var msgDiv = document.createElement('div');
  1059. msgDiv.style.color = color;
  1060. msgDiv.innerHTML = text;
  1061. messageBox.appendChild(msgDiv);
  1062. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1063. }
  1064.  
  1065. function linkify(totalourls)
  1066. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1067. var ikkeTilladteTags;
  1068. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1069. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1070. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1071. allLinksRegex = new RegExp(allLinksRegex, "g");
  1072. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1073.  
  1074. if (Do_not_linkify_DL_links)
  1075. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1076. else
  1077. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1078.  
  1079. var regex = new RegExp(regexy);
  1080. var textNode, muligtLink;
  1081.  
  1082. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1083. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1084.  
  1085. var i = textNodes.snapshotLength;
  1086. while (i--)
  1087. {
  1088. textNode = textNodes.snapshotItem(i);
  1089.  
  1090. muligtLink = textNode.nodeValue; //all links on page
  1091.  
  1092. var myArray = null;
  1093. var span = null;
  1094. var lastLastIndex = 0;
  1095. allLinksRegex.lastIndex = 0;
  1096. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1097. {
  1098. if (textNode.parentNode.className == "adead_link") continue;
  1099. var censoredLink = muligtLink;
  1100. var span = document.createElement('span');
  1101. span.className = "adead_link";
  1102. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1103. $(span).html(censoredLink);
  1104. span.addEventListener("mouseover", displayTooltipError, false);
  1105. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1106. textNode.parentNode.replaceChild(span, textNode);
  1107. continue;
  1108. alert(censoredLink);
  1109. }
  1110. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1111. {
  1112. if (!regex.test(myArray[0])) //this link is not recognized
  1113. {
  1114.  
  1115. continue;
  1116. }
  1117. if (!span)
  1118. span = document.createElement('span');
  1119.  
  1120. var link = myArray[0];
  1121. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1122.  
  1123. var $a = $("<a>" + link + "</a>")
  1124. if (!link.match(/https?:\/\//))
  1125. {
  1126. link = 'http://' + link;
  1127. }
  1128.  
  1129. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1130. .addClass("processing_link")
  1131. .appendTo(span);
  1132. lastLastIndex = allLinksRegex.lastIndex;
  1133. }
  1134. if (span)
  1135. {
  1136. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1137. textNode.parentNode.replaceChild(span, textNode);
  1138. }
  1139. }
  1140. }
  1141.  
  1142. function add_WARLC_style()
  1143. {
  1144. if (!(document.getElementsByTagName('WARLC')[0]))
  1145. {
  1146. var meta_not_to_add_more_style = document.createElement("WARLC");
  1147. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1148. meta_not_to_add_more_style.setAttribute('name', 'description');
  1149. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1150. alive_link_png = "";
  1151. adead_link_png = "";
  1152. unava_link_png = "";
  1153. prem_link_png = "";
  1154. switch(Icon_set)
  1155. {
  1156. //no icons
  1157. case 0: break;
  1158. // cat paws
  1159. case 1: alive_link_png = PAW_ICON_GREEN;
  1160. adead_link_png = PAW_ICON_RED;
  1161. unava_link_png = PAW_ICON_YELLOW;
  1162. prem_link_png = PAW_ICON_PINK;
  1163. break;
  1164. // classic RSLC look
  1165. case 2: alive_link_png = RSLC_ICON_GREEN;
  1166. adead_link_png = RSLC_ICON_RED;
  1167. unava_link_png = RSLC_ICON_YELLOW;
  1168. prem_link_png = RSLC_ICON_PINK;
  1169. break;
  1170. // New Icons
  1171. case 3: alive_link_png = NEW_ICON_GREEN;
  1172. adead_link_png = NEW_ICON_RED;
  1173. unava_link_png = NEW_ICON_YELLOW;
  1174. prem_link_png = NEW_ICON_PINK;
  1175. break;
  1176. // cat paws
  1177. default:alive_link_png = PAW_ICON_GREEN;
  1178. adead_link_png = PAW_ICON_RED;
  1179. unava_link_png = PAW_ICON_YELLOW;
  1180. prem_link_png = PAW_ICON_PINK;
  1181. break;
  1182. }
  1183. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1184. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1185.  
  1186. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1187.  
  1188. if (Color_DL_links)
  1189. {
  1190. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1191. live_color_css = 'color:' + Live_links_color + ' !important;';
  1192. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1193. container_color_css = 'color:' + Container_links_color + ' !important;';
  1194. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1195. }
  1196. else
  1197. {
  1198. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1199. }
  1200.  
  1201. if (Show_black_background_in_DL_links)
  1202. {
  1203. black_background_css = 'background-color: black !important;';
  1204. }
  1205. else
  1206. {
  1207. black_background_css = '';
  1208. }
  1209.  
  1210. if (Show_line_through_in_dead_links)
  1211. {
  1212. line_through_css = 'text-decoration: line-through !important;';
  1213. }
  1214. else
  1215. {
  1216. line_through_css = '';
  1217. }
  1218.  
  1219. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1220. 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 + "}");
  1221. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1222. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1223. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1224. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1225. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1226. }
  1227. }
  1228.  
  1229. var warlcTooltip = null;
  1230. var mouseoverLink = null; //link href with mouse cursor over it
  1231.  
  1232. var lastX = 0;
  1233. var lastY = 0;
  1234.  
  1235. $(document).ready(initTooltip);
  1236. //inits tooltip
  1237. function initTooltip()
  1238. { warlcTooltip = document.createElement("div");
  1239. 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;");
  1240. warlcTooltip.style.visibility = "hidden";
  1241. document.body.appendChild(warlcTooltip);
  1242. }
  1243.  
  1244. //"mousemove" event handler for all links
  1245. function moveTooltip(event)
  1246. {
  1247. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1248. { //no need to reflow if the cursor moved just a little
  1249. return;
  1250. }
  1251. else
  1252. {
  1253. lastX = event.clientX;
  1254. lastY = event.clientY;
  1255. }
  1256.  
  1257. posX = event.clientX + window.pageXOffset + 10;
  1258. posY = event.clientY + window.pageYOffset;
  1259. var ttHeight = warlcTooltip.offsetHeight;
  1260. var ttFreeSpace = window.innerHeight - event.clientY;
  1261. if (ttHeight > ttFreeSpace)
  1262. { //prevents tooltip from getting out of the window
  1263. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1264. }
  1265. else
  1266. {
  1267. posY += 7;
  1268. }
  1269. warlcTooltip.style.top = posY + "px";
  1270. warlcTooltip.style.left = posX + "px";
  1271. }
  1272.  
  1273. //"mouseout" event handler for all links
  1274. function hideTooltip(){
  1275. warlcTooltip.style.visibility = "hidden";
  1276. mouseoverLink = null;
  1277. }
  1278.  
  1279.  
  1280. //"mouseover" event handler for dead links
  1281. //displays tooltip error message on dead links
  1282. function displayTooltipError()
  1283. {
  1284. mouseoverLink = this.href;
  1285. this.addEventListener("mouseout", hideTooltip);
  1286. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1287. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1288. warlcTooltip.style.minWidth = 0;
  1289. warlcTooltip.style.visibility = "visible";
  1290. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1291. {
  1292. warlcTooltip.innerHTML = this.warlc_error;
  1293. }
  1294. else
  1295. {
  1296. loadErrorInfo(this);
  1297. }
  1298. function loadErrorInfo(link)
  1299. {
  1300. var href = link.href;
  1301. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1302. GM_xmlhttpRequest({
  1303. method: 'GET',
  1304. url: href.replace(Ref_anonymize_service, ""),
  1305. headers: {
  1306. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1307. 'Accept': 'text/xml',
  1308. 'Referer': ""
  1309. },
  1310. onload: function(result) {
  1311. var res = result.responseText;
  1312. //TODO: errorRegexs -
  1313. var errorRegexs = [ //generic error messages follow
  1314. /(empty directory)/i,
  1315. /(soubor nebyl nalezen)/i,
  1316. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1317. //server specific error messages follow
  1318. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1319. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1320. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1321. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1322. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1323. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1324. /class="red">(.+?)<(?:span|br)>/, //czshare
  1325. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1326. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1327. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1328. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1329. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1330. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1331. /(File has been removed due to Copyright Claim)/, //filerio
  1332. ];
  1333. var errorIdx = errorRegexs.length;
  1334. var error = "Cause of error: <b>unknown</b>";
  1335. var errorCandidate = "";
  1336. while(errorIdx--)
  1337. {
  1338. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1339. if (errorCandidate != null)
  1340. {
  1341. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1342. break;
  1343. }
  1344. }
  1345. //link attributes
  1346. link.warlc_error = error;
  1347. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1348. {
  1349. warlcTooltip.innerHTML = error;
  1350. }
  1351. }
  1352. });
  1353. }
  1354. }
  1355.  
  1356. //"mouseover" event handler for alive links
  1357. //displays tooltip info (file size, file name,...) on alive links
  1358. function displayTooltipInfo()
  1359. {
  1360. mouseoverLink = this.href;
  1361. //exclude direct download filehostings
  1362. 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)/))
  1363. {
  1364. return;
  1365. }
  1366. this.addEventListener("mouseout", hideTooltip);
  1367. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1368. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1369. warlcTooltip.style.minWidth = 0;
  1370. warlcTooltip.style.visibility = "visible";
  1371. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1372. {
  1373. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1374. }
  1375. else
  1376. {
  1377. loadInfo(this);
  1378. }
  1379. function loadInfo(link)
  1380. {
  1381. var href = link.href;
  1382. GM_xmlhttpRequest({
  1383. method: 'GET',
  1384. url: href.replace(Ref_anonymize_service, ""),
  1385. headers: {
  1386. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1387. 'Accept': 'text/xml',
  1388. 'Referer': ""
  1389. },
  1390. onload: function(result) {
  1391. var res = result.responseText;
  1392. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1393. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1394. /fl" title="(.+?)">/, //edisk
  1395. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1396. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1397. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1398. /title="download (.+?)">/, //sendspace
  1399. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1400. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1401. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1402. /d0FileName = "(.+?)";/, //letitbit
  1403. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1404. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1405. /fname" value="(.+?)">/, //syfiles, grupload,
  1406. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1407. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1408. /Complete name : (.+?)<br \/>/, //bezvadata
  1409. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1410. ];
  1411. var nameIdx = nameRegexs.length;
  1412. // [sizeRegexs]
  1413. // / \ \?
  1414. // prefix (size) postfix
  1415. // / \
  1416. // val quant
  1417. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1418. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1419. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1420. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1421. var postSizeRegex = '(?:\\))?';
  1422. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1423. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1424. ];
  1425. var sizeIdx = sizeRegexs.length;
  1426. //
  1427. //
  1428. var tooltip = "File Name: <b>";
  1429. var fileName = "unknown";
  1430. var nameCandidate = "";
  1431. while(nameIdx--)
  1432. {
  1433. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1434. if (nameCandidate != null)
  1435. {
  1436. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1437. break;
  1438. }
  1439. }
  1440. tooltip += fileName + "</b><br>File Size: <b>";
  1441. var fileSize = "unknown";
  1442. var sizeCandidate = "";
  1443. while(sizeIdx--)
  1444. {
  1445. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1446. if (sizeCandidate != null)
  1447. {
  1448. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1449. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1450. {
  1451. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1452. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1453. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1454. }
  1455. break;
  1456. }
  1457. }
  1458. tooltip += fileSize + "</b>";
  1459. // PROTOTYPE
  1460. // video thumbnails
  1461. if (href.match('hellshare'))
  1462. {
  1463. var thumbs;
  1464. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1465. if (thumbs)
  1466. {
  1467. tooltip += '<br>';
  1468. var j = Math.min(thumbs.length, 9);
  1469. for (var i = 0; i < j; i++)
  1470. {
  1471. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1472. }
  1473. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1474. }
  1475. }
  1476. if (href.match('czshare'))
  1477. {
  1478. var thumbs;
  1479. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1480. if (thumbs)
  1481. {
  1482. var thumbsServer = thumbs[1];
  1483. var thumbsId = thumbs[2];
  1484. tooltip += '<br>';
  1485. for (var i = 1; i < 9; i++)
  1486. {
  1487. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1488. }
  1489. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1490. }
  1491. }
  1492. if (href.match('bezvadata'))
  1493. {
  1494. var thumbs;
  1495. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1496. if (thumbs)
  1497. {
  1498. tooltip += '<br>';
  1499. var j = Math.min(thumbs.length, 9);
  1500. for (var i = 0; i < j; i++)
  1501. {
  1502. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1503. }
  1504. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1505. }
  1506. }
  1507. link.warlc_tooltipcache = tooltip;
  1508. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1509. {
  1510. warlcTooltip.innerHTML = tooltip;
  1511. }
  1512. }
  1513. });
  1514. }
  1515. }
  1516.  
  1517. function setVariables()
  1518. {
  1519. if (firstRun)
  1520. {
  1521. GM_log('First run, applying default settings...');
  1522. GM_setValue("Icon_set",1);
  1523. GM_setValue("Display_tooltip_info",true);
  1524. GM_setValue("Show_black_background_in_DL_links",false);
  1525. GM_setValue("Show_line_through_in_dead_links",false);
  1526. GM_setValue("Display_full_links_in_link_containers",false);
  1527. GM_setValue("Allow_spaces_in_DL_links",false);
  1528. GM_setValue("Autocheck",true);
  1529. GM_setValue("Enable_Anonymizer",false);
  1530. GM_setValue("Do_not_linkify_DL_links",false);
  1531. GM_setValue("Show_progress_stats",true);
  1532. GM_setValue("Keyboard_functions",true);
  1533. GM_setValue("Obsolete_file_hosts",false);
  1534. GM_setValue("Color_DL_links",true);
  1535. GM_setValue("Live_links_color","Green");
  1536. GM_setValue("Dead_links_color","#FF3300");
  1537. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1538. GM_setValue("Container_links_color","DarkKhaki");
  1539. GM_setValue("Premium_links_color","DeepPink");
  1540. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1541. GM_setValue("Custom_rules",false);
  1542. GM_setValue("Custom_rules_text","");
  1543. GM_setValue("Processbox_Pos_Y", 0);
  1544. GM_setValue("Processbox_Pos_X", 88);
  1545. GM_setValue("Progressbox_Scaling", 100);
  1546. GM_setValue("First_run", false);
  1547. }
  1548. //hidden settings
  1549. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1550. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1551. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1552. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1553. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1554. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1555. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1556. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1557. //hidden settings end
  1558.  
  1559. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1560. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1561. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1562. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1563. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1564. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1565. Autocheck = GM_getValue("Autocheck", true);
  1566. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1567. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1568. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1569. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1570. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1571. Color_DL_links = GM_getValue("Color_DL_links", true);
  1572. Live_links_color = GM_getValue("Live_links_color", "Green");
  1573. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1574. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1575. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1576. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1577. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1578. Custom_rules = GM_getValue("Custom_rules", false);
  1579. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1580. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1581. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1582. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1583. }
  1584.  
  1585.  
  1586. // Delinkifies the links
  1587. // params:
  1588. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1589. // e.g. 'uloz.to/xs68skxl8')
  1590. function delinkifySnapshot(snapshot)
  1591. {
  1592. var n = snapshot.snapshotLength;
  1593.  
  1594. while (n--)
  1595. {
  1596. thisLink = snapshot.snapshotItem(n);
  1597.  
  1598. var spanElm = document.createElement("span");
  1599. spanElm.className = thisLink.className;
  1600. spanElm.innerHTML = thisLink.innerHTML;
  1601.  
  1602. if (Display_tooltip_info)
  1603. {
  1604. spanElm.href = thisLink.href;
  1605. switch (thisLink.className){
  1606. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1607. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1608. case "unava_link": //reserved
  1609. default:
  1610. }
  1611. }
  1612. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1613. }
  1614. }
  1615.  
  1616. function processContainers()
  1617. {
  1618. var redirectorTypes = { "HTTP_302": 0,
  1619. "INNER_LINK": 1,
  1620. "THELOO_KATT_IT": 2,
  1621. "CING_BE": 3,
  1622. "ADF_LY": 4};
  1623. var cMultiloadTotal = 0;
  1624. var cMultiloadProcessed = 0;
  1625.  
  1626. var cMirrorcreatorComTotal = 0;
  1627. var cMirrorcreatorComProcessed = 0;
  1628.  
  1629. var hostRestrictionRegex = "";
  1630. var multiloadComRestriction = "";
  1631. var multiloadComRestrictionRegex;
  1632.  
  1633. //
  1634. //HANDLING REDIRECTORS START
  1635. //
  1636.  
  1637. var redirectors = new Array();
  1638. initRedirectors();
  1639.  
  1640. var redirectorsCount = redirectors.length;
  1641.  
  1642. if (redirectorsCount > 0)
  1643. {
  1644. var allRedirectorsRegex = "";
  1645.  
  1646. //linkify redirector links
  1647. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1648. {
  1649. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1650. }
  1651. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1652. linkify(allRedirectorsRegex);
  1653. //
  1654. //process redirector links
  1655. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1656. {
  1657. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1658. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1659.  
  1660. cLinksTotal += redirectors[redirIdx].cTotal;
  1661. var linkIdx = redirectors[redirIdx].cTotal;
  1662.  
  1663. while(linkIdx--)
  1664. {
  1665. switch(redirectors[redirIdx].type)
  1666. {
  1667. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1668. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1669. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1670. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1671. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1672. default:
  1673. }
  1674. }
  1675. }
  1676. //
  1677. }
  1678.  
  1679. //HTTP_302
  1680. function processRedirectorLink(link, redirectorId)
  1681. {
  1682. link.className = 'container_link';
  1683.  
  1684. GM_xmlhttpRequest({
  1685. method: 'HEAD',
  1686. url: link.href,
  1687. headers: {
  1688. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1689. 'Accept': 'text/xml',
  1690. 'Referer': ""
  1691. },
  1692. onload: function(result) {
  1693. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1694. {
  1695. processRedirectorLink(link, redirectorId);
  1696. }
  1697. else
  1698. {
  1699. redirectors[redirectorId].cProcessed++;
  1700. link.href = result.finalUrl;
  1701. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1702. checkLinks('container_link');
  1703. }
  1704. },
  1705. onerror: function(result) { //probably caused by unresponsive filehosting
  1706. redirectors[redirectorId].cProcessed++;
  1707. link.className = 'unava_link';
  1708. cLinksProcessed++;
  1709. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1710. checkLinks('container_link');
  1711. }
  1712. });
  1713. }
  1714. //INNER_LINK
  1715. function processRedirectorLinkEx(link, redirectorId)
  1716. {
  1717. link.className = 'container_link';
  1718. GM_xmlhttpRequest({
  1719. method: 'GET',
  1720. url: link.href,
  1721. headers: {
  1722. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1723. 'Accept': 'text/xml',
  1724. 'Referer': ""
  1725. },
  1726. onload: function(result) {
  1727. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1728. redirectors[redirectorId].cProcessed++;
  1729. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1730. checkLinks('container_link');
  1731. }
  1732. });
  1733. }
  1734. //theloo.katt.it (wrapped safelinking.net)
  1735. function processThelooKattItLink(link, redirectorId)
  1736. {
  1737. link.className = 'container_link';
  1738. GM_xmlhttpRequest({
  1739. method: 'GET',
  1740. url: link.href,
  1741. headers: {
  1742. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1743. 'Accept': 'text/xml',
  1744. 'Referer': ""
  1745. },
  1746. onload: function(result) {
  1747. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1748. redirectors[redirectorId].cProcessed++;
  1749. //the inner links are safelinking.net links, so lets proceed with it
  1750. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1751. {
  1752. processRedirectorLink(link, 0);
  1753. }
  1754. }
  1755. });
  1756. }
  1757. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1758. function processAdfLyLink(link, redirectorId)
  1759. {
  1760. link.className = 'container_link';
  1761. GM_xmlhttpRequest({
  1762. method: 'GET',
  1763. url: link.href,
  1764. headers: {
  1765. 'User-agent': 'Mozilla/4.0',
  1766. 'Accept': 'text/xml',
  1767. 'Referer': ""
  1768. },
  1769. onload: function(result) {
  1770. if (result.finalUrl.match('/locked/'))
  1771. {
  1772. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1773. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1774. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1775. }
  1776. else
  1777. {
  1778. // GM_log('Processing... ' + link.href);
  1779. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1780. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1781. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1782. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1783. //confirm advert
  1784. GM_xmlhttpRequest(
  1785. {
  1786. method: 'POST',
  1787. url: 'http://adf.ly/l.php',
  1788. headers: {
  1789. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1790. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1791. 'Referer': link.href
  1792. },
  1793. data: users + '&lt=' + logToken,
  1794. onload: function(result) {
  1795. //retrieve final url from .../go/... link
  1796. GM_xmlhttpRequest({
  1797. method: 'GET',
  1798. url: directLink,
  1799. headers: {
  1800. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1801. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1802. 'Referer': link.href
  1803. },
  1804. onload: function(result) {
  1805. link.href = result.finalUrl;
  1806. redirectors[redirectorId].cProcessed++;
  1807. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1808. checkLinks('container_link');
  1809. }
  1810. });
  1811. }
  1812. });
  1813. }
  1814. }
  1815. });
  1816. function proceedOK()
  1817. {
  1818. }
  1819. }
  1820. //MULTILOAD.CZ START
  1821. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1822. {
  1823. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1824. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1825.  
  1826. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1827.  
  1828. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1829. hostRestrictionRegex += 'hellshare|';
  1830. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1831. hostRestrictionRegex += 'downloadhellshare|';
  1832. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1833. hostRestrictionRegex += 'share-rapid\\.com|';
  1834. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1835. hostRestrictionRegex += 'quickshare\\.cz|';
  1836. if (GM_getValue("Check_czshare_dot_com_links", false))
  1837. hostRestrictionRegex += 'czshare\\.com|';
  1838. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1839. hostRestrictionRegex += 'hellspy|';
  1840. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1841. hostRestrictionRegex += 'multishare\\.cz|';
  1842.  
  1843. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1844.  
  1845. linkify(mlRegex);
  1846.  
  1847. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1848. var mlCount = mlSnapshot.snapshotLength;
  1849.  
  1850. if (mlCount > 0)
  1851. {
  1852. cMultiloadTotal += mlCount;
  1853.  
  1854. mlIdx = mlCount - 1;
  1855. do
  1856. {
  1857. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1858. }
  1859. while(mlIdx--)
  1860. }
  1861. }
  1862. //MULTILOAD.CZ END
  1863.  
  1864.  
  1865.  
  1866. function processMultiloadLink(mlLink)
  1867. {
  1868. GM_xmlhttpRequest({
  1869. method: 'GET',
  1870. url: mlLink.href,
  1871. headers: {
  1872. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1873. 'Accept': 'text/xml',
  1874. 'Referer': ""
  1875. },
  1876. onload: function(result) {
  1877. var res = result.responseText;
  1878.  
  1879. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1880. 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;
  1881. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1882. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1883.  
  1884. var blocks; // blocks of links
  1885. var blockIdx;
  1886.  
  1887. mlLink.className = '';
  1888.  
  1889. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1890. {
  1891. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1892. return;
  1893. }
  1894.  
  1895. blocks = res.match(innerBlockRegex);
  1896.  
  1897. if (blocks == null) //no links found, cancel further processing
  1898. {
  1899. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1900. cMultiloadProcessed++;
  1901. if (cMultiloadTotal <= cMultiloadProcessed)
  1902. {
  1903. startBulkCheck('container_link');
  1904. start('container_link');
  1905. }
  1906. return;
  1907. }
  1908.  
  1909. blockIdx = blocks.length;
  1910.  
  1911. if (Display_full_links_in_link_containers)
  1912. {
  1913. var ulElm = document.createElement('ul');
  1914. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1915.  
  1916. while(blockIdx--)
  1917. {
  1918. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1919. {
  1920. continue;
  1921. }
  1922.  
  1923. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1924.  
  1925. var linkIdx = innerLinks.length;
  1926. while (linkIdx--)
  1927. {
  1928. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1929.  
  1930. var liElm = document.createElement('li');
  1931.  
  1932. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1933. {
  1934. liElm.appendChild(document.createTextNode(innerLink));
  1935. }
  1936. else
  1937. {
  1938. var aElm = document.createElement('a');
  1939. aElm.innerHTML = innerLink;
  1940. aElm.href = innerLink;
  1941. aElm.className = 'container_link';
  1942.  
  1943. liElm.appendChild(aElm);
  1944. }
  1945.  
  1946. ulElm.appendChild(liElm);
  1947. cLinksTotal++;
  1948. }
  1949. }
  1950.  
  1951. mlLink.parentNode.appendChild(ulElm);
  1952. }
  1953. else //compact view
  1954. {
  1955. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1956.  
  1957. while(blockIdx--)
  1958. {
  1959. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1960. {
  1961. continue;
  1962. }
  1963.  
  1964. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1965.  
  1966. var linkIdx = innerLinks.length;
  1967. while (linkIdx--)
  1968. {
  1969. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1970.  
  1971. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1972. {
  1973. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1974. }
  1975. else
  1976. {
  1977. var aElm = document.createElement('a');
  1978.  
  1979. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1980.  
  1981. //abbreviate host name
  1982. switch(hostName + ""){
  1983.  
  1984. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1985. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1986. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1987. case 'multishare': aElm.innerHTML = 'MS'; break;
  1988. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1989. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1990. case 'czshare': aElm.innerHTML = 'CS'; break;
  1991. default: aElm.innerHTML = 'xx';
  1992.  
  1993. }
  1994.  
  1995. aElm.href = innerLink;
  1996. aElm.className = 'container_link';
  1997.  
  1998. mlLink.parentNode.appendChild(aElm);
  1999. cLinksTotal++;
  2000. }
  2001. }
  2002.  
  2003. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2004.  
  2005. }
  2006. }
  2007.  
  2008. cMultiloadProcessed++;
  2009. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2010. {
  2011. if (Do_not_linkify_DL_links)
  2012. {
  2013. delinkifySnapshot(mlSnapshot);
  2014. }
  2015. startBulkCheck('container_link');
  2016. start('container_link');
  2017. }
  2018. }
  2019. });
  2020. }
  2021.  
  2022.  
  2023. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2024. {
  2025. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2026. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2027. var mcShortHostNames =
  2028. '?? 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';
  2029. // 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
  2030. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2031. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2032. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2033. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2034.  
  2035. linkify(mcRegex);
  2036.  
  2037. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2038. var mcCount = mcSnapshot.snapshotLength;
  2039.  
  2040. cMirrorcreatorComTotal = mcCount;
  2041.  
  2042. if (mcCount > 0)
  2043. {
  2044. mcShortHostNames = mcShortHostNames.split(' ');
  2045. mcIdx = mcCount;
  2046. while(mcIdx--)
  2047. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2048. }
  2049.  
  2050. }
  2051. //MIRRORCREATOR.CZ END
  2052.  
  2053.  
  2054. //mirrorcreator.com checking works like this:
  2055. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2056. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2057. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2058. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2059. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2060. function processMirrorcreatorLink(mcLink)
  2061. {
  2062. var mcURL = mcLink.href.match(mcRegex);
  2063. if(!mcURL || !mcURL[1]) return;
  2064. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2065. GM_xmlhttpRequest({
  2066. method: 'GET',
  2067. url: mcURL,
  2068. headers: {
  2069. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2070. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2071. 'Referer': ""
  2072. },
  2073. onload: function(mcLinkResult) {
  2074. var mcLinkRes = mcLinkResult.responseText;
  2075.  
  2076. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2077. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2078.  
  2079. var mcRedirectors;
  2080. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2081. var m = mcLinkRes.match(mcLinkBlockRegex);
  2082. if (m)
  2083. mcHostsFound = m.length;
  2084. else
  2085. { //no files inside container
  2086. processMirrorcreatorFoundHosts(mcLink, []);
  2087. return;
  2088. }
  2089.  
  2090. var mcRedirectorURL, idx, timedOut = false;
  2091.  
  2092. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2093. GM_xmlhttpRequest({
  2094. method: 'GET',
  2095. url: mcRedirectorURL,
  2096. headers: {
  2097. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2098. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2099. 'Referer': ""
  2100. },
  2101. onload: function(mcHostResult) {
  2102. if (timedOut) return; //too late, the list is already displayed
  2103. var mcHostRes = mcHostResult.responseText;
  2104. var mcHost = mcHostRes.match(mcHostRegex);
  2105. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2106. if (mcHost && idx!=-1)
  2107. {
  2108. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2109. mcHostsRetrieved++;
  2110. mcHostsToProcess++;
  2111. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2112. {
  2113. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2114. mcHostsToProcess = 0;
  2115. }
  2116. }
  2117. } //end of onload: function
  2118. }); //end of GM_xmlhttpRequest call
  2119. };//end of var gmxhrFunc
  2120.  
  2121. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2122. { //load individual redirector pages
  2123. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2124. mcHostURLs.push(mcRedirectorURL);
  2125. mcRedirectorIDs.push(mcRedirectors[2]);
  2126. gmxhrFunc(mcRedirectorURL);
  2127. } //end of while block
  2128.  
  2129. setTimeout(function(){ //in case the last page fails to load and call the function
  2130. timedOut = true;
  2131. if (mcHostsToProcess)
  2132. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2133. }, 60000);
  2134.  
  2135. } //end of onload function
  2136. }); //end of GM_xmlhttpRequest call
  2137. } //end of function processMirrorcreatorLink
  2138.  
  2139.  
  2140. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2141. {
  2142. var aEl, liEl, docFrag;
  2143. var hostName, mcRedirectorID, trimFilename = false;
  2144. var i = mcHostURLs.length;
  2145. if (i == 0)
  2146. {
  2147. trimFilename = true;
  2148. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2149. }
  2150. else
  2151. {
  2152. if (Display_full_links_in_link_containers)
  2153. { //full view
  2154. var wrapperEl = document.createElement('span');
  2155. wrapperEl.style.display = 'block';
  2156. var ulistEl = document.createElement('ul');
  2157. ulistEl.className = 'container_list';
  2158. while (i--)
  2159. {
  2160. liEl = document.createElement('li');
  2161. aEl = document.createElement('a');
  2162. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2163. aEl.href = mcHostURLs[i];
  2164. aEl.className = 'container_link';
  2165. liEl.appendChild(aEl);
  2166. ulistEl.appendChild(liEl);
  2167. }
  2168. wrapperEl.appendChild(ulistEl);
  2169. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2170. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2171. }
  2172. else
  2173. { //compact view
  2174. trimFilename = true;
  2175. docFrag = document.createDocumentFragment();
  2176. docFrag.appendChild(document.createTextNode(' |'));
  2177. while (i--)
  2178. {
  2179. mcRedirectorID = mcRedirectorIDs[i];
  2180. hostName = mcHostURLs[i];
  2181. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2182. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2183. else
  2184. hostName = mcShortHostNames[mcRedirectorID];
  2185. aEl = document.createElement('a');
  2186. aEl.href = mcHostURLs[i];
  2187. aEl.className = 'container_link';
  2188. aEl.appendChild(document.createTextNode(hostName));
  2189. docFrag.appendChild(aEl);
  2190. docFrag.appendChild(document.createTextNode('|'));
  2191. }
  2192. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2193. } //end of else block
  2194. } //end of else block
  2195. mcLink.className = '';
  2196. if (trimFilename)
  2197. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2198. cMirrorcreatorComProcessed++;
  2199. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2200. {
  2201. if (Do_not_linkify_DL_links)
  2202. delinkifySnapshot(mcSnapshot);
  2203. startBulkCheck('container_link');
  2204. start('container_link');
  2205. }
  2206. } //end of function processMirrorcreatorFoundHosts
  2207.  
  2208. containers_processed = true;
  2209.  
  2210.  
  2211. function initRedirectors()
  2212. {
  2213. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2214. {
  2215. var redirector = new Object();
  2216. redirector.linkRegex = linkRegex;
  2217. redirector.xpath = xpathEx; //xpath expression
  2218. redirector.cProcessed = 0; //processed links count
  2219. redirector.cTotal = 0; //total links count
  2220. redirector.type = redirType; //redirectorTypes enum
  2221. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2222. redirectors.push(redirector);
  2223. }
  2224. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2225. {
  2226. addRedirector(
  2227. 'safelinking\\.net\/d\/\\w+',
  2228. "//a[contains(@href,'safelinking.net/d/')]",
  2229. redirectorTypes.HTTP_302,
  2230. null);
  2231. }
  2232. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2233. {
  2234. addRedirector(
  2235. 'linksafe\\.me\/d\/\\w+',
  2236. "//a[contains(@href,'linksafe.me/d/')]",
  2237. redirectorTypes.HTTP_302,
  2238. null);
  2239. }
  2240. if (GM_getValue("Check_linkto_dot_net_links", false))
  2241. {
  2242. addRedirector(
  2243. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2244. "//a[contains(@href,'linkto.net/?')]",
  2245. redirectorTypes.INNER_LINK,
  2246. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2247. }
  2248. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2249. {
  2250. addRedirector(
  2251. '(?:the)?loo\\.katt\\.it\/\\w+',
  2252. "//a[contains(@href,'loo.katt.it/')]",
  2253. redirectorTypes.THELOO_KATT_IT,
  2254. /Proceed to URL - <a href="(.+?)">/);
  2255. }
  2256. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2257. {
  2258. addRedirector(
  2259. 'madlink\\.sk\/\\w+',
  2260. "//a[contains(@href,'madlink.sk/')]",
  2261. redirectorTypes.INNER_LINK,
  2262. /name="url" value="(.+?)\s*"\/>/);
  2263. }
  2264. if (GM_getValue("Check_adf_dot_ly_links", false))
  2265. {
  2266. addRedirector(
  2267. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2268. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2269. redirectorTypes.ADF_LY,
  2270. null);
  2271. }
  2272. if (GM_getValue("Check_redi_dot_re_links", false))
  2273. {
  2274. addRedirector(
  2275. 'redi\\.re\/\\w+',
  2276. "//a[contains(@href,'redi.re/')]",
  2277. redirectorTypes.HTTP_302,
  2278. null);
  2279. }
  2280. if (GM_getValue("Check_bit_dot_ly_links", false))
  2281. {
  2282. addRedirector(
  2283. 'bit\\.ly\/\\w+',
  2284. "//a[contains(@href,'bit.ly/')]",
  2285. redirectorTypes.HTTP_302,
  2286. null);
  2287. }
  2288. }
  2289.  
  2290. }
  2291.  
  2292. var bulkHosts = new Array();
  2293. var bulkHostNames = new Array();
  2294. function initBulkCheck()
  2295. {
  2296. /////////////////////////////
  2297. // Inits filehost object
  2298. /////////////////////////////
  2299. // params :
  2300. // hostName -- [string] host name (multiple domains separated with coma)
  2301. // linkRegex -- [string] link regex
  2302. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2303. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2304. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2305. // corrReplWhat -- [regex] link correction regex (replace)
  2306. // corrReplWith -- [string]
  2307. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2308. //
  2309. // apiUrl -- [string] web linkchecker or API URL
  2310. // postData -- [string] POSTDATA of xmlhttprequest
  2311. // resLinkRegex -- [regex]
  2312. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2313. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2314. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2315. // func -- [function] bulkcheck handler, genBulkCheck if null
  2316. //
  2317. //////////////////////////////
  2318. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2319. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2320. {
  2321. var fileHost = new Object();
  2322.  
  2323. fileHost.linkRegex = linkRegex;
  2324. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2325. fileHost.xpath = xpath;
  2326. fileHost.cFound = 0; //found links counter
  2327. fileHost.links = new Array(); //found links
  2328. if (blockSize == null)
  2329. {
  2330. fileHost.blockSize = 50;
  2331. }
  2332. else
  2333. {
  2334. fileHost.blockSize = blockSize;
  2335. }
  2336. fileHost.corrMatch = corrMatch;
  2337. fileHost.corrReplWhat = corrReplWhat;
  2338. fileHost.corrReplWith = corrReplWith;
  2339. if (splitSeparator == null)
  2340. {
  2341. fileHost.splitSeparator = "\r\n";
  2342. }
  2343. else
  2344. {
  2345. fileHost.splitSeparator = splitSeparator;
  2346. }
  2347. fileHost.apiUrl = apiUrl;
  2348. fileHost.postData = postData;
  2349. fileHost.resLinkRegex = resLinkRegex;
  2350. fileHost.resLiveRegex = resLiveRegex;
  2351. fileHost.resDeadRegex = resDeadRegex;
  2352. fileHost.resUnavaRegex = resUnavaRegex;
  2353. if (func == null)
  2354. {
  2355. fileHost.func = genBulkCheck;
  2356. }
  2357. else
  2358. {
  2359. fileHost.func = func;
  2360. }
  2361. bulkHosts.push(fileHost);
  2362. var names = hostName.split(',');
  2363. var i = names.length;
  2364. while(i--)
  2365. {
  2366. bulkHostNames[names[i]] = fileHost;
  2367. }
  2368. }
  2369. var genType1 = [
  2370. "rodfile.com", "downloadani.me", //"migahost.com",
  2371. "rarefile.net",
  2372. "filesabc.com",
  2373. // "verzend.be",
  2374. // "movreel.com",
  2375. "file4safe.com", "filemac.com",
  2376. "longfiles.com",
  2377. "bitupload.com", //"4up.me",
  2378. //"uploadbaz.com"
  2379. ];
  2380. var genType2 = [ "queenshare.com",
  2381. "hulkload.com",
  2382. "amonshare.com", //"edoc.com",
  2383. ];
  2384. //xfilesharing 1.0
  2385. function addGenericType1()
  2386. {
  2387. var i = genType1.length;
  2388. while(i--)
  2389. {
  2390. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2391. {
  2392. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2393. addHost(
  2394. genType1[i].match(/[\w-]+/)[0], //hostname
  2395. regexSafe + "\/\\w+", //linkregex
  2396. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2397. null, //blocksize
  2398. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2399. null, //corrreplwhat
  2400. null, //corrreplwith
  2401. null, //separator
  2402. "http://" + genType1[i] + "/checkfiles.html", //api url
  2403. "op=checkfiles&process=Check+URLs&list=", //postdata
  2404. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2405. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2406. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2407. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2408. null //function delegate
  2409. )
  2410. }
  2411. }
  2412. }
  2413. //xfilesharing 2.0
  2414. function addGenericType2()
  2415. {
  2416. var i = genType2.length;
  2417. while(i--)
  2418. {
  2419. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2420. {
  2421. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2422. addHost(
  2423. genType2[i].match(/[\w-]+/)[0], //hostname
  2424. regexSafe + "\/\\w+", //linkregex
  2425. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2426. null, //blocksize
  2427. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2428. null, //corrreplwhat
  2429. null, //corrreplwith
  2430. null, //separator
  2431. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2432. "op=checkfiles&process=Check+URLs&list=", //postdata
  2433. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2434. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2435. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2436. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2437. null //function delegate
  2438. )
  2439. }
  2440. }
  2441. }
  2442. // TEMPLATE
  2443. // if (GM_getValue("Check__dot_com_links", false))
  2444. // {
  2445. // addHost(
  2446. // "", //hostname
  2447. // "", //linkregex
  2448. // "//a[contains(@href,'.com/')]", //xpath
  2449. // null, //blocksize
  2450. // null, //corrmatch
  2451. // null, //corrreplwhat
  2452. // null, //corrreplwith
  2453. // null, //separator
  2454. // "", //api url
  2455. // "", //postdata
  2456. // /()/, //linkregex
  2457. // //liveregex
  2458. // //deadregex
  2459. // //unavaregex
  2460. // null //function delegate
  2461. // )
  2462. // }
  2463. addGenericType1();
  2464. addGenericType2();
  2465.  
  2466. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2467. {
  2468. addHost(
  2469. "myvdrive,fileserving", //hostname
  2470. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2471. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2472. null, //blocksize
  2473. null, //corrmatch
  2474. null, //corrreplwhat
  2475. null, //corrreplwith
  2476. null, //separator
  2477. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2478. "links=", //postdata
  2479. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2480. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2481. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2482. null, //unavaregex
  2483. null //function delegate
  2484. )
  2485. }
  2486. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2487. {
  2488. addHost(
  2489. "hackerbox", //hostname
  2490. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2491. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2492. null, //blocksize
  2493. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2494. null, //corrreplwhat
  2495. null, //corrreplwith
  2496. null, //separator
  2497. "http://host.hackerbox.org/checkfiles.html", //api url
  2498. "op=checkfiles&process=Check+URLs&list=", //postdata
  2499. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2500. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2501. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2502. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2503. null //function delegate
  2504. )
  2505. }
  2506. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2507. {
  2508. addHost(
  2509. "hellshare", //hostname
  2510. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2511. "//a[contains(@href,'hellshare.')]", //xpath
  2512. 48, //blocksize
  2513. null, //corrmatch
  2514. null, //corrreplwhat
  2515. null, //corrreplwith
  2516. null, //separator
  2517. null, //api url
  2518. null, //postdata
  2519. null, //linkregex
  2520. null, //liveregex
  2521. null, //deadregex
  2522. null, //unavaregex
  2523. hellshareBulkCheck //function delegate
  2524. )
  2525. }
  2526. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2527. {
  2528. addHost(
  2529. "uploadrocket", //hostname
  2530. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2531. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2532. null, //blocksize
  2533. null, //corrmatch
  2534. null, //corrreplwhat
  2535. null, //corrreplwith
  2536. "\n", //separator
  2537. 'http://uploadrocket.net/?op=checkfiles',
  2538. 'op=checkfiles&process=Check+URLs&list=',
  2539. /uploadrocket.net\/(\w+)/,
  2540. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2541. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2542. null,
  2543. null //function delegate
  2544. )
  2545. }
  2546. if (GM_getValue("Check_uploading_dot_site_links", false))
  2547. {
  2548. addHost(
  2549. "uploading", //hostname
  2550. "(?:uploading\\.site)\/\\w+", //linkregex
  2551. "//a[contains(@href,'uploading.site/')]", //xpath
  2552. null, //blocksize
  2553. null, //corrmatch
  2554. null, //corrreplwhat
  2555. null, //corrreplwith
  2556. "\n", //separator
  2557. 'http://uploading.site/?op=checkfiles',
  2558. 'op=checkfiles&process=Check+URLs&list=',
  2559. /uploading.site\/(\w+)/,
  2560. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2561. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2562. null,
  2563. null //function delegate
  2564. )
  2565. }
  2566. if (GM_getValue("Check_1f_dot_al_links", false))
  2567. {
  2568. addHost(
  2569. "1f",
  2570. "(?:1f\\.al)\/d\/\\w+",
  2571. "//a[contains(@href,'1f.al/d/')]",
  2572. 100000, //blocksize
  2573. null, //corrmatch
  2574. null, //corrreplwhat
  2575. null, //corrreplwith
  2576. null, //separator
  2577. null,
  2578. null,
  2579. null,
  2580. null,
  2581. null,
  2582. null,
  2583. _1falBulkCheck //function delegate
  2584. )
  2585. }
  2586. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2587. {
  2588. addHost(
  2589. "k2s,keep2s,keep2share",
  2590. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2591. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2592. 100000, //blocksize
  2593. null, //corrmatch
  2594. null, //corrreplwhat
  2595. null, //corrreplwith
  2596. null, //separator
  2597. null,
  2598. null,
  2599. null,
  2600. null,
  2601. null,
  2602. null,
  2603. k2sBulkCheck //function delegate
  2604. )
  2605. }
  2606. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2607. {
  2608. addHost(
  2609. "tezfiles",
  2610. "(?:tezfiles\\.com)\/\\w+",
  2611. "//a[contains(@href,'tezfiles.com')]",
  2612. 100000, //blocksize
  2613. null, //corrmatch
  2614. null, //corrreplwhat
  2615. null, //corrreplwith
  2616. null, //separator
  2617. null,
  2618. null,
  2619. null,
  2620. null,
  2621. null,
  2622. null,
  2623. k2sBulkCheck //function delegate
  2624. )
  2625. }
  2626. if (GM_getValue("Check_fboom_dot_me_links", false))
  2627. {
  2628. addHost(
  2629. "fboom,fileboom",
  2630. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2631. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2632. 100000, //blocksize
  2633. null, //corrmatch
  2634. null, //corrreplwhat
  2635. null, //corrreplwith
  2636. null, //separator
  2637. null,
  2638. null,
  2639. null,
  2640. null,
  2641. null,
  2642. null,
  2643. fboomBulkCheck //function delegate
  2644. )
  2645. }
  2646. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2647. {
  2648. addHost(
  2649. "1fichier,dl4free",
  2650. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2651. "//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/?')]",
  2652. 100000, //blocksize
  2653. null, //corrmatch
  2654. null, //corrreplwhat
  2655. null, //corrreplwith
  2656. null, //separator
  2657. null,
  2658. null,
  2659. null,
  2660. null,
  2661. null,
  2662. null,
  2663. dl4free_1fichier_BulkCheck //function delegate
  2664. )
  2665. }
  2666. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2667. {
  2668. addHost(
  2669. "nitroflare",
  2670. "nitroflare\\.com\/\\w+",
  2671. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2672. 100000, //blocksize
  2673. null, //corrmatch
  2674. null, //corrreplwhat
  2675. null, //corrreplwith
  2676. null, //separator
  2677. null,
  2678. null,
  2679. null,
  2680. null,
  2681. null,
  2682. null,
  2683. nitroflareBulkCheck //function delegate
  2684. )
  2685. }
  2686. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2687. {
  2688. addHost(
  2689. "depositfiles,dfiles",
  2690. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2691. "//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/')]",
  2692. 100000, //blocksize
  2693. null, //corrmatch
  2694. null, //corrreplwhat
  2695. null, //corrreplwith
  2696. null, //separator
  2697. null,
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. null,
  2703. depositfilesBulkCheck //function delegate
  2704. )
  2705. }
  2706. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2707. {
  2708. addHost(
  2709. "filesflash", //hostname
  2710. "filesflash\\.com\/\\w+", //linkregex
  2711. "//a[contains(@href,'filesflash.com')]", //xpath
  2712. null, //blocksize
  2713. null, //corrmatch
  2714. /http:\/\//, //corrreplwhat
  2715. '', //corrreplwith
  2716. null, //separator
  2717. 'http://filesflash.com/checklinks.php',
  2718. 'submit=Go&links=',
  2719. /filesflash\.com\/(\w+)/,
  2720. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2721. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2722. null,
  2723. null //function delegate
  2724. )
  2725. }
  2726. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2727. {
  2728. addHost(
  2729. "jumbofiles", //hostname
  2730. "jumbofiles\\.com\/\\w+", //linkregex
  2731. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2732. null, //blocksize
  2733. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2734. null, //corrreplwhat
  2735. null, //corrreplwith
  2736. null, //separator
  2737. "http://jumbofiles.com/checkfiles.html", //api url
  2738. "op=checkfiles&process=Check+URLs&list=", //postdata
  2739. /(jumbofiles\.com\/\w+)/, //linkregex
  2740. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2741. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2742. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2743. null //function delegate
  2744. )
  2745. }*/
  2746. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2747. {
  2748. addHost(
  2749. "edisk", //hostname
  2750. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2751. "//a[contains(@href,'edisk.')]", //xpath
  2752. null, //blocksize
  2753. null, //corrmatch
  2754. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2755. 'edisk.cz/stahni', //corrreplwith
  2756. null, //separator
  2757. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2758. 'submitBtn=Zkontrolovat&checkFiles=',
  2759. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2760. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2761. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2762. null,
  2763. null //function delegate
  2764. )
  2765. }
  2766. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2767. {
  2768. GM_xmlhttpRequest( //age check skip
  2769. {
  2770. method: 'POST',
  2771. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2772. headers: {
  2773. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2774. 'Content-type': 'application/x-www-form-urlencoded',
  2775. 'Referer': ""
  2776. }
  2777. });
  2778. addHost(
  2779. "bezvadata", //hostname
  2780. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2781. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2782. null, //blocksize
  2783. null, //corrmatch
  2784. null, //corrreplwhat
  2785. null, //corrreplwith
  2786. null, //separator
  2787. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2788. 'zkontrolovat=Zkontrolovat&odkazy=',
  2789. /(bezvadata\.cz\/stahnout\/\d+)/,
  2790. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2791. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2792. null,
  2793. null //function delegate
  2794. )
  2795. }
  2796. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2797. {
  2798. addHost(
  2799. "linkcrypt", //hostname
  2800. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2801. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2802. 100000, //blocksize
  2803. null, //corrmatch
  2804. null, //corrreplwhat
  2805. null, //corrreplwith
  2806. null, //separator
  2807. null,
  2808. null,
  2809. null,
  2810. null,
  2811. null,
  2812. null,
  2813. linkcryptBulkCheck //function delegate
  2814. )
  2815. }
  2816. if (GM_getValue("Check_videobb_dot_com_links", false))
  2817. {
  2818. addHost(
  2819. "videobb", //hostname
  2820. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2821. "//a[contains(@href,'videobb.com')]", //xpath
  2822. null, //blocksize
  2823. null, //corrmatch
  2824. /watch_video\.php\?v=/, //corrreplwhat
  2825. 'video/', //corrreplwith
  2826. null, //separator
  2827. 'http://www.videobb.com/link_checker.php',
  2828. 'links=',
  2829. /videobb\.com\/video\/(\w+)/,
  2830. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2831. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2832. null,
  2833. null //function delegate
  2834. )
  2835. }
  2836. if (GM_getValue("Check_filerio_dot_com_links", false))
  2837. {
  2838. addHost(
  2839. "filekeen,filerio", //hostname
  2840. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2841. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2842. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2843. null, //blocksize
  2844. null, //corrmatch
  2845. null, //corrreplwhat
  2846. null, //corrreplwith
  2847. null, //separator
  2848. 'http://filerio.in/checkfiles.html',
  2849. 'op=checkfiles&process=Check+URLs&list=',
  2850. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2851. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2852. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2853. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2854. null //function delegate
  2855. )
  2856. }
  2857. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2858. {
  2859. addHost(
  2860. "share-online,egoshare", //hostname
  2861. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2862. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2863. null, //blocksize
  2864. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2865. null, //corrreplwhat
  2866. null, //corrreplwith
  2867. "\n", //separator
  2868. 'http://api.share-online.biz/linkcheck.php',
  2869. 'links=',
  2870. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2871. /\w+;OK/g,
  2872. /\w+;(?:NOTFOUND|DELETED)/g,
  2873. null,
  2874. null //function delegate
  2875. )
  2876. }
  2877. if (GM_getValue("Check_oboom_dot_com_links", false))
  2878. {
  2879. addHost(
  2880. "oboom", //hostname
  2881. "oboom\\.com\/#?\\w{8}", //linkregex
  2882. "//a[contains(@href,'oboom.com/')]", //xpath
  2883. null, //blocksize
  2884. /oboom\.com\/#?(\w{8})/, //corrmatch
  2885. null, //corrreplwhat
  2886. null, //corrreplwith
  2887. null, //separator
  2888. null,
  2889. null,
  2890. null,
  2891. null, //liveregex
  2892. null, //deadregex
  2893. null,
  2894. oboomBulk //function delegate
  2895. )
  2896. }
  2897. if (GM_getValue("Check_mega_dot_nz_links", false))
  2898. {
  2899. addHost(
  2900. "mega",
  2901. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2902. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2903. 100000, //blocksize
  2904. null, //corrmatch
  2905. null, //corrreplwhat
  2906. null, //corrreplwith
  2907. null, //separator
  2908. null,
  2909. null,
  2910. null,
  2911. null,
  2912. null,
  2913. null,
  2914. megaBulkCheck //function delegate
  2915. )
  2916. }
  2917.  
  2918. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2919.  
  2920. if (GM_getValue("Check_extabit_dot_com_links", false))
  2921. {
  2922. addHost(
  2923. "extabit", //hostname
  2924. "extabit\\.com\/file\/\\w+", //linkregex
  2925. "//a[contains(@href,'extabit.com')]", //xpath
  2926. null, //blocksize
  2927. null, //corrmatch
  2928. null, //corrreplwhat
  2929. null, //corrreplwith
  2930. "\n", //separator
  2931. "http://extabit.com/linkchecker.jsp", //api url
  2932. "url=", //postdata
  2933. /extabit\.com\/(file\/\w+)/, //linkregex
  2934. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2935. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2936. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2937. extabitBulkCheck //function delegate
  2938. )
  2939. }
  2940. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2941. {
  2942. addHost(
  2943. "junocloud", //hostname
  2944. "junocloud\\.me\/\\w+", //linkregex
  2945. "//a[contains(@href,'junocloud.me')]", //xpath
  2946. null, //blocksize
  2947. null, //corrmatch
  2948. null, //corrreplwhat
  2949. null, //corrreplwith
  2950. "\n", //separator
  2951. "http://junocloud.me/checkfiles.html", //api url
  2952. "op=checkfiles&process=Check+URLs&list=", //postdata
  2953. /(junocloud\.me\/\w+)/, //linkregex
  2954. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2955. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2956. null, //unavaregex
  2957. null //function delegate
  2958. )
  2959. } */
  2960. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2961. {
  2962. addHost(
  2963. "webshare", //hostname
  2964. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2965. "//a[contains(@href,'webshare.cz')]", //xpath
  2966. 100000, //blocksize
  2967. null, //corrmatch
  2968. null, //corrreplwhat
  2969. null, //corrreplwith
  2970. null, //separator
  2971. null, //api url
  2972. null, //postdata
  2973. null, //linkregex
  2974. null, //liveregex
  2975. null, //deadregex
  2976. null, //unavaregex
  2977. webshareBulkCheck //function delegate
  2978. )
  2979. }
  2980. /////////////////////////////
  2981. // Common function delegate to send links to get checked by host linkchecker
  2982. /////////////////////////////
  2983. // If you define a new delegate, you may use following properties
  2984. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2985. // this.apiUrl [string] API or web linkchecker URL
  2986. // this.postData [string] POSTDATA for POST request
  2987. // this.resLiveRegex [regex] matches live substrings in the request response
  2988. // this.resDeadRegex [regex] matches dead substrings in the request response
  2989. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2990. //
  2991. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2992. //
  2993. // See the code below for standard bulkcheck handling reference.
  2994. //////////////////////////////
  2995. function genBulkCheck()
  2996. {
  2997. var blockIdx = this.links.length;
  2998. while (blockIdx--)
  2999. {
  3000. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3001. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3002. }
  3003. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3004. {
  3005. GM_xmlhttpRequest(
  3006. {
  3007. method: 'POST',
  3008. url: api,
  3009. headers: {
  3010. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3011. 'Content-type': 'application/x-www-form-urlencoded',
  3012. 'Referer': api,
  3013. 'X-Requested-With': 'XMLHttpRequest'
  3014. },
  3015. data: postData + encodeURIComponent(links),
  3016. onload: function (result)
  3017. {
  3018. var res = result.responseText;
  3019. // GM_log(res);
  3020. var i;
  3021.  
  3022. var livelinks = res.match(liveRegex);
  3023. var deadlinks = res.match(deadRegex);
  3024. // GM_log(livelinks);
  3025. // GM_log(deadlinks);
  3026. if (livelinks != null)
  3027. {
  3028. i = livelinks.length - 1;
  3029. do
  3030. {
  3031. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3032. }
  3033. while (i--);
  3034. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3035. }
  3036.  
  3037. if (deadlinks != null)
  3038. {
  3039. i = deadlinks.length - 1;
  3040. do
  3041. {
  3042. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3043. }
  3044. while (i--);
  3045. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3046. }
  3047.  
  3048. if (unavaRegex != null)
  3049. {
  3050. var unavalinks = res.match(unavaRegex);
  3051. if (unavalinks)
  3052. {
  3053. i = unavalinks.length - 1;
  3054. do
  3055. {
  3056. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3057. }
  3058. while (i--);
  3059. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3060. }
  3061. }
  3062. }
  3063. });
  3064. }
  3065. }
  3066. //specialized bulkchecking handlers follow
  3067. function webshareBulkCheck()
  3068. {
  3069. var arr = this.links[0].split("\r\n");
  3070. var i = arr.length;
  3071. while(i--)
  3072. {
  3073. postRequest(arr[i]);
  3074. }
  3075. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3076. function postRequest(wsLink)
  3077. {
  3078. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3079. GM_xmlhttpRequest(
  3080. {
  3081. method: 'POST',
  3082. url: "http://webshare.cz/api/file_info/",
  3083. headers: {
  3084. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3085. 'Content-type': 'application/x-www-form-urlencoded',
  3086. 'Referer': "",
  3087. },
  3088. data: "wst=&ident=" + id,
  3089. onload: function (result)
  3090. {
  3091. var res = result.responseText;
  3092. if (res.match(/<name>.+?<\/name>/))
  3093. {
  3094. DisplayTheCheckedLinks([id], 'alive_link');
  3095. }
  3096. else
  3097. {
  3098. DisplayTheCheckedLinks([id], 'adead_link');
  3099. }
  3100. }
  3101. });
  3102. }
  3103. }
  3104. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3105. //extabit also doesn't like requests in fast succession, so some delays are added.
  3106. function extabitBulkCheck()
  3107. {
  3108. var timeoutDelay = 0;
  3109. var blockIdx = this.links.length;
  3110. while (blockIdx--)
  3111. {
  3112. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3113. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3114. }
  3115. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3116. {
  3117. GM_xmlhttpRequest(
  3118. {
  3119. method: 'POST',
  3120. url: api,
  3121. headers: {
  3122. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3123. 'Content-type': 'application/x-www-form-urlencoded',
  3124. 'Referer': api,
  3125. 'X-Requested-With': 'XMLHttpRequest'
  3126. },
  3127. data: postData + encodeURIComponent(links),
  3128. onload: function (result)
  3129. {
  3130. var res = result.responseText;
  3131. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3132. {
  3133. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3134. {
  3135. //GM_log(tryID + ': ' + link);
  3136. GM_xmlhttpRequest(
  3137. {
  3138. method: 'GET',
  3139. url: link,
  3140. 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': ""},
  3141. onload: function(result2)
  3142. {
  3143. var res2 = result2.responseText;
  3144. var res2Status = result.status;
  3145. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3146. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3147. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3148. {
  3149. if (tryID < 7)
  3150. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3151. else
  3152. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3153. }
  3154. }
  3155. });
  3156. }
  3157. //split the hrefs and check them one by one
  3158. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3159. links = links.split('\n');
  3160. var i = links.length;
  3161. while (i--)
  3162. {
  3163. if (links[i])
  3164. {
  3165. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3166. timeoutDelay += 500;
  3167. }
  3168. }
  3169. return;
  3170. }
  3171. var i;
  3172.  
  3173. var livelinks = res.match(liveRegex);
  3174. var deadlinks = res.match(deadRegex);
  3175. if (livelinks != null)
  3176. {
  3177. i = livelinks.length - 1;
  3178. do
  3179. {
  3180. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3181. }
  3182. while (i--);
  3183. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3184. }
  3185.  
  3186. if (deadlinks != null)
  3187. {
  3188. i = deadlinks.length - 1;
  3189. do
  3190. {
  3191. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3192. }
  3193. while (i--);
  3194. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3195. }
  3196.  
  3197. if (unavaRegex != null)
  3198. {
  3199. var unavalinks = res.match(unavaRegex);
  3200. if (unavalinks)
  3201. {
  3202. i = unavalinks.length - 1;
  3203. do
  3204. {
  3205. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3206. }
  3207. while (i--);
  3208. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3209. }
  3210. }
  3211. }
  3212. });
  3213. }
  3214. }
  3215. function _1falBulkCheck()
  3216. {
  3217. var arr = this.links[0].split("\r\n");
  3218. var i = arr.length;
  3219. c=0;
  3220. arrIDs=[];
  3221. while(i--)
  3222. {
  3223. id = arr[i].match(/\/d\/(\w+)/)[1];
  3224.  
  3225. _1falalreadyexist=false;
  3226. for (j=0;j<arrIDs.length;j++)
  3227. {
  3228. if (arrIDs[j]==id)
  3229. {
  3230. _1falalreadyexist=g
  3231. break;
  3232. }
  3233. }
  3234. if (_1falalreadyexist) continue;
  3235. arrIDs.push(id);
  3236. c++;
  3237. setTimeout(_1falRequest,c*500,arr[i]);
  3238. }
  3239. }
  3240. function _1falRequest(_1falLink)
  3241. {
  3242. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3243. GM_xmlhttpRequest(
  3244. {
  3245. method: 'GET',
  3246. url: _1falLink,
  3247. headers: {
  3248. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3249. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3250. 'Referer': 'http://www.planetsuzy.org/'
  3251. },
  3252. onload: function (result)
  3253. {
  3254. var res = result.responseText;
  3255. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3256. if (FAarr!=null)
  3257. {
  3258. FALink=FAarr[1];
  3259. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3260. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3261. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3262. GM_xmlhttpRequest(
  3263. {
  3264. method: 'POST',
  3265. url: FALink,
  3266. headers: {
  3267. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3268. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3269. 'Content-Type': 'application/x-www-form-urlencoded',
  3270. 'Referer': _1falLink
  3271. },
  3272. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3273. onload: function (_2ndresult)
  3274. {
  3275. var newres = _2ndresult.responseText;
  3276. FAalivelink=new RegExp("method_free");
  3277. if (FAalivelink.test(newres))
  3278. {
  3279. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3280. return;
  3281. }
  3282. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3283. if (FAdeadlink.test(newres))
  3284. {
  3285. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3286. return;
  3287. }
  3288. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3289. return;
  3290. }
  3291. });
  3292. return;
  3293. }
  3294. else
  3295. {
  3296. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3297. return;
  3298. }
  3299. },
  3300. onerror: function ()
  3301. {
  3302. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3303. return;
  3304. }
  3305. });
  3306. }
  3307. function k2sBulkCheck()
  3308. {
  3309. var arr = this.links[0].split("\r\n");
  3310. var i = arr.length;
  3311. c=0;
  3312. arrIDs=[];
  3313. while(i--)
  3314. {
  3315. id = arr[i].match(/\/file\/(\w+)/)[1];
  3316. if (id=='info')
  3317. {
  3318. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3319. continue;
  3320. }
  3321. k2salreadyexist=false;
  3322. for (j=0;j<arrIDs.length;j++)
  3323. {
  3324. if (arrIDs[j]==id)
  3325. {
  3326. k2salreadyexist=g
  3327. break;
  3328. }
  3329. }
  3330. if (k2salreadyexist) continue;
  3331. arrIDs.push(id);
  3332. c++;
  3333. setTimeout(k2sRequest,c*500,arr[i]);
  3334. }
  3335. }
  3336. function k2sRequest(K2SLink)
  3337. {
  3338. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3339. GM_xmlhttpRequest(
  3340. {
  3341. method: 'GET',
  3342. url: K2SLink,
  3343. headers: {
  3344. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3345. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3346. 'Referer': ''
  3347. },
  3348. onload: function (result)
  3349. {
  3350. var res = result.responseText;
  3351. K2Dom='k2s.cc';
  3352. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3353. K2SLink2='http://'+K2Dom+'/file/'+id;
  3354.  
  3355. 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'))
  3356. {
  3357. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3358. return;
  3359. }
  3360. if (res.match('method="post">Displaying'))
  3361. {
  3362. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3363. return;
  3364. }
  3365. if (res.match('Premium only|only for premium members'))
  3366. {
  3367. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3368. return;
  3369. }
  3370. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3371. {
  3372. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3373. slID=slow_id.exec(res)[1];
  3374. GM_xmlhttpRequest(
  3375. {
  3376. method: 'POST',
  3377. url: K2SLink2,
  3378. headers: {
  3379. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3380. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3381. 'Content-Type': 'application/x-www-form-urlencoded',
  3382. 'Referer': K2SLink
  3383. },
  3384. data: 'slow_id='+slID+'&yt0=',
  3385. onload: function (result)
  3386. {
  3387. var newres = result.responseText;
  3388. newoversizedtest=new RegExp("Free user can't download large files.");
  3389. if (newoversizedtest.test(newres))
  3390. {
  3391. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3392. return;
  3393. }
  3394. else
  3395. {
  3396. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3397. return;
  3398. }
  3399. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3400. return;
  3401. }
  3402. });
  3403. /////////////////////end additional check for oversized links
  3404. return;
  3405. }
  3406. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3407. return;
  3408. },
  3409. onerror: function ()
  3410. {
  3411. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3412. return;
  3413. }
  3414. });
  3415. }
  3416. function fboomBulkCheck()
  3417. {
  3418. var arr = this.links[0].split("\r\n");
  3419. var i = arr.length;
  3420. c=0;
  3421. arrIDs=[];
  3422. while(i--)
  3423. {
  3424. id = arr[i].match(/\/file\/(\w+)/)[1];
  3425. if (id=='info')
  3426. {
  3427. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3428. continue;
  3429. }
  3430. fbalreadyexist=false;
  3431. for (j=0;j<arrIDs.length;j++)
  3432. {
  3433. if (arrIDs[j]==id)
  3434. {
  3435. fbalreadyexist=true;
  3436. break;
  3437. }
  3438. }
  3439. if (fbalreadyexist) continue;
  3440. arrIDs.push(id);
  3441. c++;
  3442. setTimeout(fboomRequest,c*500,arr[i]);
  3443. }
  3444. }
  3445. function fboomRequest(FBoomLink)
  3446. {
  3447. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3448. FBoomLink2='http://fboom.me/file/'+id;
  3449. GM_xmlhttpRequest(
  3450. {
  3451. method: 'GET',
  3452. url: FBoomLink,
  3453. headers: {
  3454. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3455. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3456. 'Referer': ''
  3457. },
  3458. onload: function (result)
  3459. {
  3460. var res = result.responseText;
  3461. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3462. {
  3463. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3464. return;
  3465. }
  3466. if (res.match('method="post">Displaying'))
  3467. {
  3468. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3469. return;
  3470. }
  3471. if (res.match('only for premium members'))
  3472. {
  3473. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3474. return;
  3475. }
  3476. if (res.match('id="download-free" href="#"'))
  3477. {
  3478. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3479. slID=slow_id.exec(res)[1];
  3480. GM_xmlhttpRequest(
  3481. {
  3482. method: 'POST',
  3483. url: FBoomLink2,
  3484. headers: {
  3485. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3486. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3487. 'Content-Type': 'application/x-www-form-urlencoded',
  3488. 'Referer': FBoomLink
  3489. },
  3490. data: 'slow_id='+slID,
  3491. onload: function (result)
  3492. {
  3493. var newres = result.responseText;
  3494. newoversizedtest=new RegExp("Downloading is not possible");
  3495. if (newoversizedtest.test(newres))
  3496. {
  3497. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3498. return;
  3499. }
  3500. else
  3501. {
  3502. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3503. return;
  3504. }
  3505. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3506. return;
  3507. }
  3508. });
  3509. /////////////////////end additional check for oversized links
  3510. return;
  3511. }
  3512. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3513. return;
  3514. },
  3515. onerror: function ()
  3516. {
  3517. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3518. return;
  3519. }
  3520. });
  3521. }
  3522. function dl4free_1fichier_BulkCheck()
  3523. {
  3524. var arr = this.links[0].split("\r\n");
  3525. var i = arr.length;
  3526. while(i--)
  3527. {
  3528. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3529. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3530. gethead_dl4free_1fichier(arr[i]);
  3531. }
  3532. }
  3533. function gethead_dl4free_1fichier(link)
  3534. {
  3535. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3536. GM_xmlhttpRequest(
  3537. {
  3538. method: 'HEAD',
  3539. url: link,
  3540. headers: {
  3541. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3542. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3543. 'Referer': ''
  3544. },
  3545. onload: function (result)
  3546. {
  3547. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3548. {
  3549. DisplayTheCheckedLinks([id], 'alive_link');
  3550. return;
  3551. }
  3552. else
  3553. {
  3554. getlink_dl4free_1fichier(link);
  3555. }
  3556. return;
  3557. },
  3558. onerror: function ()
  3559. {
  3560. DisplayTheCheckedLinks([id], 'unava_link');
  3561. }
  3562. });
  3563. }
  3564. function getlink_dl4free_1fichier(link)
  3565. {
  3566. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3567. GM_xmlhttpRequest(
  3568. {
  3569. method: 'GET',
  3570. url: link,
  3571. headers: {
  3572. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3573. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3574. 'Referer': ''
  3575. },
  3576. onload: function (result)
  3577. {
  3578. var res = result.responseText;
  3579. 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');
  3580. if (deadRegex.test(res))
  3581. {
  3582. DisplayTheCheckedLinks([id], 'adead_link');
  3583. return;
  3584. }
  3585. premiumRegex=new RegExp('only for premium users');
  3586. if (premiumRegex.test(res))
  3587. {
  3588. DisplayTheCheckedLinks([id], 'prem_link');
  3589. return;
  3590. }
  3591. 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="');
  3592. if (liveRegex.test(res))
  3593. {
  3594. DisplayTheCheckedLinks([id], 'alive_link');
  3595. return;
  3596. }
  3597. DisplayTheCheckedLinks([id], 'unava_link');
  3598. },
  3599. onerror: function ()
  3600. {
  3601. DisplayTheCheckedLinks([id], 'unava_link');
  3602. }
  3603. });
  3604. }
  3605. function nitroflareBulkCheck()
  3606. {
  3607. var arr = this.links[0].split("\r\n");
  3608. var i = arr.length;
  3609. while(i--)
  3610. {
  3611. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3612. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3613. NitroFlareRequest(arr[i]);
  3614. }
  3615. }
  3616. function NitroFlareRequest(NFLink)
  3617. {
  3618. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3619. GM_xmlhttpRequest(
  3620. {
  3621. method: "GET",
  3622. url: NFLink,
  3623. headers: {
  3624. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3625. 'Content-Type': 'application/x-www-form-urlencoded',
  3626. 'Referer': ""
  3627. },
  3628. onload: function (result)
  3629. {
  3630. var res = result.responseText;
  3631. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3632. {
  3633. DisplayTheCheckedLinks([NFID], 'adead_link');
  3634. return;
  3635. }
  3636. if (res.match('Report this file<\/a>'))
  3637. {
  3638. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3639. sizearr=measureRegex.exec(res);
  3640. if (sizearr[2]=='GB')
  3641. {
  3642. if (parseFloat(sizearr[1])>1)
  3643. {
  3644. DisplayTheCheckedLinks([NFID], 'prem_link');
  3645. }
  3646. else
  3647. {
  3648. DisplayTheCheckedLinks([NFID], 'alive_link');
  3649. }
  3650. }
  3651. else
  3652. {
  3653. DisplayTheCheckedLinks([NFID], 'alive_link');
  3654. }
  3655. return;
  3656. }
  3657. DisplayTheCheckedLinks([NFID], 'unava_link');
  3658. }
  3659. });
  3660. }
  3661. function depositfilesBulkCheck()
  3662. {
  3663. var arr = this.links[0].split("\r\n");
  3664. var i = arr.length;
  3665. var seqno = Math.floor(Math.random()*1000000000);
  3666. while(i--)
  3667. {
  3668. DFpostRequest(arr[i]);
  3669. }
  3670. }
  3671. function DFpostRequest(DFLink)
  3672. {
  3673. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3674. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3675. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3676. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3677. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3678. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3679. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3680. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3681. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3682. GM_xmlhttpRequest(
  3683. {
  3684. method: "GET",
  3685. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3686. headers: {
  3687. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3688. 'Content-Type': 'application/x-www-form-urlencoded',
  3689. 'Referer': ""
  3690. },
  3691. onload: function (result)
  3692. {
  3693. var res = result.responseText;
  3694. if (res.match('(?:no_file|file_ban)'))
  3695. {
  3696. DisplayTheCheckedLinks([id], 'adead_link');
  3697. return;
  3698. }
  3699. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3700. {
  3701. DisplayTheCheckedLinks([id], 'alive_link');
  3702. return;
  3703. }
  3704. DisplayTheCheckedLinks([id], 'unava_link');
  3705. }
  3706. });
  3707. }
  3708.  
  3709. function megaBulkCheck()
  3710. {
  3711. var arr = this.links[0].split("\r\n");
  3712. var i = arr.length;
  3713. var seqno = Math.floor(Math.random()*1000000000);
  3714. while(i--)
  3715. {
  3716. postRequest(arr[i]);
  3717. }
  3718. function postRequest(megaLink)
  3719. {
  3720. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3721. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3722. if (id=='F')
  3723. {
  3724. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3725. DisplayTheCheckedLinks([id], 'unava_link');
  3726. }
  3727. else
  3728. GM_xmlhttpRequest(
  3729. {
  3730. method: "POST",
  3731. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3732. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3733. headers: {
  3734. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3735. 'Content-Type': 'application/xml',
  3736. 'Referer': "https://mega.co.nz/"
  3737. },
  3738. onload: function (result)
  3739. {
  3740. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3741. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3742. {
  3743.  
  3744. DisplayTheCheckedLinks([id], 'adead_link');
  3745. }
  3746. if (res.at)
  3747. {
  3748. DisplayTheCheckedLinks([id], 'alive_link');
  3749. }
  3750. if (res.e == "ETEMPUNAVAIL")
  3751. {
  3752. DisplayTheCheckedLinks([id], 'unava_link');
  3753. }
  3754. }
  3755. });
  3756. }
  3757.  
  3758. }
  3759.  
  3760. function oboomBulk() {
  3761. var a = [], b = [], c = [];
  3762. var array = this.links;
  3763.  
  3764. GM_xmlhttpRequest({
  3765. method: 'GET',
  3766. url: 'https://www.oboom.com/1/guestsession',
  3767. headers: {
  3768. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3769. 'Content-type': 'application/x-www-form-urlencoded',
  3770. 'Referer': 'https://www.oboom.com',
  3771. 'X-Requested-With': 'XMLHttpRequest'
  3772. },
  3773. onload: function(result) {
  3774. var blockIdx = array.length;
  3775. var token = JSON.parse(result.responseText)[1];
  3776. while (blockIdx--) {
  3777. startCheck(array[blockIdx].split('\r\n'), token);
  3778. }
  3779. }
  3780. });
  3781.  
  3782. function startCheck(links, token) {
  3783. GM_xmlhttpRequest({
  3784. method: 'POST',
  3785. url: "https://api.oboom.com/1/info",
  3786. headers: {
  3787. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3788. 'Content-type': 'application/x-www-form-urlencoded',
  3789. 'Referer': 'https://www.oboom.com/',
  3790. 'X-Requested-With': 'XMLHttpRequest'
  3791. },
  3792. data: "token=" + token + "&items=" + links.join(","),
  3793. onload: function(result) {
  3794. var res = JSON.parse(result.responseText)[1];
  3795. var i = res.length, s;
  3796.  
  3797. while (i--) {
  3798. s = res[i].state;
  3799. if (s == 'online') a.push(res[i].id);
  3800. 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);
  3801. else c.push(res[i].id);
  3802. }
  3803.  
  3804. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3805. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3806. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3807. }
  3808. });
  3809. }
  3810. }
  3811. function linkcryptBulkCheck()
  3812. {
  3813. var arr = this.links[0].split("\r\n");
  3814. var i = arr.length;
  3815. while(i--)
  3816. {
  3817. postRequest(arr[i]);
  3818. }
  3819. function postRequest(lcLink)
  3820. {
  3821. GM_xmlhttpRequest(
  3822. {
  3823. method: "GET",
  3824. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3825. headers: {
  3826. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3827. 'Accept': 'text/xml',
  3828. 'Referer': ""
  3829. },
  3830. onload: function (result)
  3831. {
  3832. var res = result.responseText;
  3833. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3834. {
  3835. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3836. return;
  3837. }
  3838. if (res.match(/folderStatus>1/)) //Online status
  3839. {
  3840. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3841. }
  3842. else
  3843. {
  3844. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3845. }
  3846. }
  3847. });
  3848. }
  3849. }
  3850.  
  3851. /* function megashareBulkCheck()
  3852. {
  3853. var arr = this.links[0].split("\r\n");
  3854. var i = arr.length;
  3855. while(i--)
  3856. {
  3857. postRequest(arr[i]);
  3858. }
  3859. function postRequest(msLink)
  3860. {
  3861. GM_xmlhttpRequest(
  3862. {
  3863. method: "GET",
  3864. url: msLink,
  3865. headers: {
  3866. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3867. 'Content-Type': 'application/x-www-form-urlencoded',
  3868. 'Referer': ""
  3869. },
  3870. onload: function (result)
  3871. {
  3872. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3873. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3874. if ((prZVal == null) || (btn3Name == null))
  3875. {
  3876. return;
  3877. }
  3878. GM_xmlhttpRequest(
  3879. {
  3880. method: "POST",
  3881. url: msLink,
  3882. headers: {
  3883. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3884. 'Content-Type': 'application/x-www-form-urlencoded',
  3885. 'Referer': ""
  3886. },
  3887. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3888. onload: function (result)
  3889. {
  3890. var res = result.responseText;
  3891. if (res.match(/<div id="err">/))
  3892. {
  3893. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3894. }
  3895. else
  3896. {
  3897. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3898. }
  3899. }
  3900. });
  3901. }
  3902. });
  3903. }
  3904. } */
  3905. function hellshareBulkCheck()
  3906. {
  3907. var links = this.links;
  3908. GM_xmlhttpRequest(
  3909. {
  3910. method: "GET",
  3911. url: 'http://www.hellshare.com',
  3912. headers: {
  3913. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3914. 'Accept': 'text/xml',
  3915. 'Referer': ""
  3916. },
  3917. onload: function (result)
  3918. {
  3919. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3920.  
  3921. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3922. if (domain == 'sk')
  3923. loc = 'check=Skontrolova%C5%A5&links=';
  3924. if (domain == 'com')
  3925. loc = 'check=Check+availability&links=';
  3926. if (domain == 'hu')
  3927. loc = 'check=Kontrol%C3%A1lj&links=';
  3928. if (domain == 'pl')
  3929. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3930.  
  3931. genBulkCheck.call({ links: links,
  3932. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3933. postData: loc,
  3934. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3935. 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,
  3936. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3937. resUnavaRegex: null
  3938. });
  3939. }
  3940. });
  3941. }
  3942. /**
  3943. * Displays check result
  3944. * @param {Array} Array of links or link fragments.
  3945. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3946. */
  3947. function DisplayTheCheckedLinks(links, resultStatus)
  3948. {
  3949. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3950. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3951. if (Do_not_linkify_DL_links)
  3952. { //TODO into separate jQuery function
  3953. $links.replaceWith(function(){
  3954. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3955. });
  3956. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3957. }
  3958. $links.removeClass().addClass(resultStatus);
  3959. $links.each(function() {
  3960. this.href = Ref_anonymize_service + $(this).attr("href");
  3961. });
  3962. switch(resultStatus)
  3963. {
  3964. case "alive_link": cLinksAlive += $links.length;
  3965. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3966. break;
  3967. case "adead_link": cLinksDead += $links.length;
  3968. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3969. break;
  3970. case "prem_link": cLinksprem += $links.length;
  3971. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3972. break;
  3973. case "unava_link": cLinksUnava += $links.length; break;
  3974. default:
  3975. }
  3976. cLinksProcessed += $links.length;
  3977. }
  3978. }
  3979. // starts bulkchecking
  3980. //
  3981. // params
  3982. // filterId [string] restricts link detection with passed id attribute
  3983. function startBulkCheck(filterId)
  3984. {
  3985. var cHosts = bulkHosts.length;
  3986. if (cHosts == 0) //no filehostings selected
  3987. return;
  3988. // STEP 1 linkify the links
  3989. var linkifyRegex = '';
  3990. var hostIdx = cHosts;
  3991. while(hostIdx--)
  3992. {
  3993. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3994. }
  3995. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3996. linkify(linkifyRegex);
  3997. //
  3998. //STEP 2 detect link objects
  3999. var xpathAll = '';
  4000. var hostIdx = cHosts;
  4001. while(hostIdx--)
  4002. {
  4003. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4004. }
  4005. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4006. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4007. if (filterId != null) //insert id restriction in the xpath
  4008. {
  4009. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4010. }
  4011. else
  4012. {
  4013. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4014. }
  4015. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4016. if (filterId == null)
  4017. {
  4018. cLinksTotal += links.snapshotLength;
  4019. }
  4020. //
  4021. //STEP 3 bind links with hostings
  4022. var linkIdx = links.snapshotLength;
  4023. var href = null;
  4024. if (linkIdx == 0) // no links found
  4025. return;
  4026. var name;
  4027. while (linkIdx--)
  4028. {
  4029. href = links.snapshotItem(linkIdx).href;
  4030. try // DO NOT REMOVE, filters crap that went through xpath detection
  4031. {
  4032. name = gimmeHostName(href);
  4033. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4034. bulkHostNames[name].links.push(href);
  4035. }
  4036. catch(e)
  4037. {
  4038.  
  4039. }
  4040. }
  4041. //
  4042. //STEP 4 process the links for each filehosting
  4043. var hostIdx = cHosts;
  4044. var host;
  4045. var m,n;
  4046. var arr;
  4047. while (hostIdx--)
  4048. {
  4049. host = bulkHosts[hostIdx];
  4050. arr = host.links;
  4051. if (arr.length == 0) //no links for this hosting, skip
  4052. {
  4053. continue;
  4054. }
  4055. //links match corrections
  4056. if (host.corrMatch != null)
  4057. {
  4058. var idx = arr.length;
  4059. while (idx--)
  4060. {
  4061. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4062. }
  4063. }
  4064. //links replace corrections
  4065. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4066. {
  4067. var idx = arr.length;
  4068. while (idx--)
  4069. {
  4070. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4071. }
  4072. }
  4073. m = arr.length;
  4074. n = host.blockSize;
  4075. if (m > n)
  4076. {
  4077. //insert block separators (RAND_STRING) into the array
  4078. for(var i = n; i < m; i += n + 1)
  4079. {
  4080. arr.splice(i, 0, RAND_STRING);
  4081. }
  4082. }
  4083.  
  4084. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4085. apiUrl: host.apiUrl,
  4086. postData: host.postData,
  4087. resLinkRegex: host.resLinkRegex,
  4088. resLiveRegex: host.resLiveRegex,
  4089. resDeadRegex: host.resDeadRegex,
  4090. resUnavaRegex: host.resUnavaRegex
  4091. });
  4092. //clean up
  4093. arr.length = 0;
  4094. }
  4095. //
  4096.  
  4097. function gimmeHostName(link)
  4098. {
  4099. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4100. }
  4101. }
  4102. function checkLinks(filterId)
  4103. {
  4104. startBulkCheck(filterId);
  4105. start(filterId);
  4106. }
  4107.  
  4108. /**
  4109. * Initialises progress box including event binding and CSS
  4110. */
  4111. function initProgressBox()
  4112. {
  4113. if ($("#warlc-progressbox").length > 0)
  4114. return;
  4115. //progressbox css change size and color of progress box
  4116. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4117. "; opacity:" + (Progress_box_opacity / 100) +
  4118. "; bottom:" + Processbox_Pos_Y +
  4119. "%; left:" + Processbox_Pos_X +
  4120. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4121. \
  4122. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4123. \
  4124. .warlc-progressitem {}\
  4125. \
  4126. .alive {color:#00FF7F; " + Live_links_color +
  4127. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4128. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4129. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4130. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4131. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4132. //
  4133. if (Progressbox_Scaling != 100) {
  4134. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4135. 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
  4136. });
  4137. }
  4138. 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
  4139.  
  4140. GM_addStyle(progressboxCss);
  4141. $('body').append(' <div id="warlc-progressbox">\
  4142. <div class="warlc-progressbar"></div>\
  4143. <span class="warlc-progressitem alive"></span> - \
  4144. <span class="warlc-progressitem dead"></span> - \
  4145. <span class="warlc-progressitem unava"></span> - \
  4146. <span class="warlc-progressitem prem"></span> - \
  4147. <span class="warlc-progressitem processing"></span>\
  4148. </div>');
  4149. $('#warlc-progressbox').hide().click(function(){
  4150. clearInterval(intervalId);
  4151. $(this).hide();
  4152. return false;
  4153. });
  4154. $(".warlc-progressbar").progressbar({complete: function(){
  4155. $(this).fadeOut();
  4156. clearInterval(intervalId); //stop refreshing the stats
  4157. }
  4158. })
  4159. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4160. }
  4161. /**
  4162. * Updates progress data in progress box
  4163. */
  4164. function updateProgress()
  4165. {
  4166. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4167. if (cLinksTotal) // some links were detected on page
  4168. {
  4169. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4170. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4171. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4172. if ((cLinksTotal - cLinksProcessed) == 0)
  4173. {
  4174. $progressItems.first().text(cLinksAlive)
  4175. .next().text(cLinksDead)
  4176. .next().text(cLinksUnava)
  4177. .next().text(cLinksprem)
  4178. .next().remove();
  4179. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4180. $('#warlc-progressbox div:first-child').remove();
  4181. }
  4182. else
  4183. {
  4184. $progressItems.first().text(cLinksAlive)
  4185. .next().text(cLinksDead)
  4186. .next().text(cLinksUnava)
  4187. .next().text(cLinksprem)
  4188. .next().text(cLinksTotal - cLinksProcessed);
  4189. }
  4190. }
  4191. }
  4192.  
  4193. function check_all_links()
  4194. {
  4195. add_WARLC_style();
  4196.  
  4197. if (Show_progress_stats)
  4198. {
  4199. initProgressBox();
  4200. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4201. }
  4202.  
  4203. startBulkCheck(null);
  4204. start(null);
  4205.  
  4206. if (!containers_processed)
  4207. {
  4208. processContainers();
  4209. }
  4210. }
  4211.  
  4212. //Copies all found dead links to clipboard - right now for Scriptish only
  4213. function copy_dead_to_clipboard()
  4214. {
  4215. initClipBoardTools();
  4216.  
  4217. var deadlinksxpath = "//.[@class='adead_link']";
  4218.  
  4219. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4220. var foundlinkstext = '';
  4221.  
  4222. var foundlinkIdx = foundlinks.snapshotLength;
  4223.  
  4224. while(foundlinkIdx--)
  4225. {
  4226. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4227. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4228. }
  4229.  
  4230. GM_setClipboard(foundlinkstext);
  4231. }
  4232. //Copies all found live links to clipboard
  4233. function copy_live_to_clipboard()
  4234. {
  4235. initClipBoardTools();
  4236.  
  4237. var livelinksxpath = "//.[@class='alive_link']";
  4238.  
  4239. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4240. var foundlinks2text = '';
  4241.  
  4242. var foundlink2Idx = foundlinks2.snapshotLength;
  4243.  
  4244. while(foundlink2Idx--)
  4245. {
  4246. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4247. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4248. }
  4249.  
  4250. GM_setClipboard(foundlinks2text);
  4251. }
  4252.  
  4253. function toggle_autocheck()
  4254. {
  4255. var currentState = GM_getValue("Autocheck", false);
  4256. GM_setValue("Autocheck", !currentState);
  4257.  
  4258. if (currentState == true)
  4259. {
  4260. sendMessage('Autocheck disabled', 'red');
  4261. }
  4262. else
  4263. {
  4264. sendMessage('Autocheck enabled', 'SpringGreen');
  4265. }
  4266. }
  4267. function toggle_Enable_Anonymizer()
  4268. {
  4269. var currentState = GM_getValue("Enable_Anonymizer", false);
  4270. GM_setValue("Enable_Anonymizer", !currentState);
  4271.  
  4272. if (currentState == true)
  4273. {
  4274. GM_setValue("Ref_anonymize_service", "");
  4275. sendMessage('Anonymizer Disabled', 'red');
  4276. }
  4277. else
  4278. {
  4279. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4280. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4281. }
  4282. }
  4283.  
  4284. function KeyDownHandler(event)
  4285. {
  4286. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4287. if (event.ctrlKey && event.altKey)
  4288. {
  4289. switch(kcode)
  4290. {
  4291. case 65 : check_all_links(); break;
  4292. case 67 : configuration(); break;
  4293. case 68 : copy_dead_to_clipboard(); break;
  4294. case 76 : copy_live_to_clipboard(); break;
  4295. case 87 : toggle_autocheck(); break;
  4296. case 90 : toggle_Enable_Anonymizer(); break;
  4297. }
  4298. }
  4299. }
  4300.  
  4301. //
  4302. //
  4303. // SCRIPT EXECUTION START POINT
  4304. //
  4305. //
  4306. // Safari specific GM_getResourceText override
  4307. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4308. {
  4309. GM_getResourceText = function(res) {
  4310. var $cssText = GM_getValue("jquery_css", "");
  4311. if ($cssText == "")
  4312. {
  4313. GM_xmlhttpRequest(
  4314. {
  4315. method: 'GET',
  4316. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4317. onload: function (result)
  4318. {
  4319. GM_setValue("jquery_css", result.responseText);
  4320. window.location.reload();
  4321. }
  4322. });
  4323. }
  4324. else
  4325. {
  4326. return $cssText;
  4327. }
  4328. }
  4329. }
  4330. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4331. GM_addStyle(jQueryUICSS);
  4332. //init the stuff
  4333. setVariables();
  4334. initBulkCheck();
  4335. //init info boxes
  4336. messageBox.style.position = 'fixed';
  4337. messageBox.style.top = '20px';
  4338. messageBox.style.left = '10px';
  4339. messageBox.style.opacity = '0.85';
  4340. messageBox.style.background = 'DimGray';
  4341. messageBox.style.fontSize = '36px';
  4342. document.body.appendChild(messageBox);
  4343.  
  4344. //register GM menu commands & keyboard shortcut event handler
  4345. if (Keyboard_functions)
  4346. {
  4347. $(document).keydown(KeyDownHandler);
  4348. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4349. 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);
  4350. }
  4351. else
  4352. {
  4353. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4354. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4355. }
  4356.  
  4357. //start linkchecking
  4358. if (Autocheck)
  4359. {
  4360. $(document).ready(check_all_links);
  4361. }
  4362.  
  4363. //
  4364. //
  4365. // SCRIPT EXECUTION END POINT
  4366. //
  4367. //
  4368.  
  4369. //shows configuration box
  4370. function configuration()
  4371. {
  4372.  
  4373. //prevent multiple creating of config window
  4374. if ($("#hideshow").length)
  4375. {
  4376. $("#hideshow").show();
  4377. return;
  4378. }
  4379.  
  4380. var configcss = '\
  4381. .popup_block .popup fieldset{\
  4382. padding: 1%;\
  4383. border-style: solid;\
  4384. border-width: 1px;\
  4385. border-color: gray;\
  4386. margin-bottom: 1px;\
  4387. }\
  4388. #h3hideshowtitle{\
  4389. font-size: 2em;\
  4390. }\
  4391. #h3hideshow{\
  4392. font-size: 1.5em;\
  4393. }\
  4394. #imghideshow {\
  4395. border: none;\
  4396. }\
  4397. #plusimage{\
  4398. display:inline;\
  4399. }\
  4400. #hideshow {\
  4401. position: fixed;\
  4402. width: 100%;\
  4403. height: 100%;\
  4404. top: 0;\
  4405. left: 0;\
  4406. font-size:12px;\
  4407. z-index:2147483645;\
  4408. text-align:left;\
  4409. }\
  4410. #fade {\
  4411. background: #000;\
  4412. position: fixed;\
  4413. width: 100%;\
  4414. height: 100%;\
  4415. opacity: .80;\
  4416. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4417. left: 0;\
  4418. z-index: 10;\
  4419. }\
  4420. .popup_block {\
  4421. font-family:verdana;\
  4422. color:black;\
  4423. background: #ddd;\
  4424. padding: 10px 20px;\
  4425. border: 2px solid DarkOrange;\
  4426. float: left;\
  4427. width: 700px;\
  4428. position: absolute;\
  4429. top: 7%;\
  4430. left: 50%;\
  4431. bottom: 7%;\
  4432. margin: 0 0 0 -350px;\
  4433. -moz-border-radius:10px;\
  4434. z-index: 100;\
  4435. \
  4436. }\
  4437. .popup_block .popup {\
  4438. float: left;\
  4439. width: 100%;\
  4440. background: #fff;\
  4441. margin: 10px 0;\
  4442. padding: 0px 0 0px;\
  4443. border-left: 1px solid #bbb;\
  4444. border-top: 1px solid #bbb;\
  4445. border-right: 1px solid #bbb;\
  4446. }\
  4447. #h3hideshow{\
  4448. margin: 1px 0 0px;\
  4449. padding: 1px 10px;\
  4450. border-bottom: 1px solid #bbb;\
  4451. font-size: 1.5em;\
  4452. font-weight: normal;\
  4453. cursor:pointer;\
  4454. background:#DDDDDD none repeat scroll 0 0;\
  4455. }\
  4456. #h3hideshow:hover{\
  4457. background:#C0BEBE none repeat scroll 0 0;\
  4458. }\
  4459. #h3hideshowtitle{\
  4460. margin: 2px 0 0px;\
  4461. padding: 7px 10px;\
  4462. border-bottom: 1px solid #bbb;\
  4463. font-size: 1.5em;\
  4464. font-weight: normal;\
  4465. }\
  4466. .popup_block .popup a {\
  4467. color:DarkSkyBlue;\
  4468. text-decoration:none;\
  4469. }\
  4470. .popup p {\
  4471. padding: 1px 10px;\
  4472. margin: 0px 0;\
  4473. -x-system-font:none;\
  4474. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4475. font-size:10pt;\
  4476. font-size-adjust:none;\
  4477. font-stretch:normal;\
  4478. font-style:normal;\
  4479. font-variant:normal;\
  4480. font-weight:normal;\
  4481. line-height:normal;\
  4482. }\
  4483. #sites {\
  4484. padding: 1px 10px;\
  4485. margin: 0px 0;display:inline-block;width:16em;\
  4486. }\
  4487. #dev_ver {\
  4488. color: #00FF00;\
  4489. background: Black;\
  4490. text-align: right;\
  4491. }\
  4492. #sites_suspended {\
  4493. padding: 1px 10px;\
  4494. margin: 0px 0;display:inline-block;width:16em;\
  4495. text-decoration: line-through;\
  4496. }\
  4497. .popup img.cntrl {\
  4498. position: absolute;\
  4499. right: -15px;\
  4500. top: -15px;\
  4501. }\
  4502. #bulk {\
  4503. font-size:8pt;\
  4504. color:orange;\
  4505. padding: 1px 10px;\
  4506. margin: 0px 0;\
  4507. display:inline-block;\
  4508. width:100px;\
  4509. }\
  4510. #note {\
  4511. font-size:7pt;\
  4512. color:gray;\
  4513. padding: 1px 10px;\
  4514. margin: 0px 0;display:inline-block;\
  4515. min-width:100px;\
  4516. }\
  4517. #rednote {\
  4518. font-size:7pt;\
  4519. color:red;\
  4520. padding: 1px 10px;\
  4521. margin: 0px 0;display:inline-block;\
  4522. }\
  4523. #configinfo {\
  4524. font-size:8pt;\
  4525. color:gray;\
  4526. padding: 1px 10px;\
  4527. margin: 0px 0;display:inline-block;width:60em;\
  4528. }\
  4529. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4530. color:black;\
  4531. border-style: solid;\
  4532. border-width: 1px;\
  4533. border-color: gray;\
  4534. }\
  4535. #h3hideshowcontent {\
  4536. min-height:220px;\
  4537. max-height:220px;\
  4538. overflow:auto;\
  4539. display: none;\
  4540. padding: 10px 10px;\
  4541. }\
  4542. #specinfo{\
  4543. font-size:14px;\
  4544. }\
  4545. .warlc-ui-tab {\
  4546. height:300px;\
  4547. overflow:auto;\
  4548. }\
  4549. #warlcsitelist2, #warlcsitelist1 {\
  4550. height:220px;\
  4551. border-top: 1px solid #ddd;\
  4552. padding-top: 5px;\
  4553. overflow:auto;\
  4554. }\
  4555. input:hover+label {\
  4556. background:#F1F77C;\
  4557. font-size:110%;\
  4558. }\
  4559. ';
  4560.  
  4561. GM_addStyle(configcss);
  4562.  
  4563. var customRulesRefHTML =
  4564. '\
  4565. <br>\
  4566. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4567. <b>@keyword</b> <i>parameter</i>\
  4568. <br><br>\
  4569. 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. \
  4570. <br><br>\
  4571. 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.\
  4572. 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.\
  4573. 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.\
  4574. 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,\
  4575. but all commands until the next valid @customrule are ignored.<br><br>\
  4576. Available forms and types:\
  4577. <ul>\
  4578. <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.\
  4579. <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.\
  4580. <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.\
  4581. <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.\
  4582. </ul>\
  4583. Other available commands:<br>\
  4584. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4585. <ul>\
  4586. <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.\
  4587. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4588. <ul>examples:<br>\
  4589. <li>good: <i>filehost.com/download/</i><br>\
  4590. <li>good: <i>download.filehost.net/?d=</i><br>\
  4591. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4592. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4593. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4594. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4595. <li>bad: <i>filehost.com</i> - no slash<br>\
  4596. </ul>\
  4597. \
  4598. <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.\
  4599. 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 \
  4600. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4601. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4602. 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.)\
  4603. Two spaces again match any whitespace.\
  4604. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4605. Two spaces again match any whitespace.\
  4606. <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. \
  4607. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4608. </ul>\
  4609. \
  4610. ';
  4611.  
  4612. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4613. var configurationinnerHTML =
  4614. '<div id="fade"></div>\
  4615. <div class="popup_block">\
  4616. <div class="popup">\
  4617. <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/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Z+U1Dz5cIAYtX15mQE4uhMY0IZuEwx+KBlwL6DiT09t+eurclmdqy4Y7kMd2RciKaCANEIwbD81vjX6/dqMdDVVbiIbeDueefT8aOHjizcxW4BVgbm2N0TS9RqFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+YCiwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4619. <div id="warlc-conf-tabs">\
  4620. <ul>\
  4621. <li><a href="#tabs-1">Filehostings</a></li>\
  4622. <li><a href="#tabs-2">Containers</a></li>\
  4623. <li><a href="#tabs-5">Custom rules</a></li>\
  4624. <li><a href="#tabs-3">Settings</a></li>\
  4625. <li><a href="#tabs-4">About</a></li>\
  4626. </ul>\
  4627. <div id="tabs-1" class="warlc-ui-tab">\
  4628. <div class="warlc-ui-buttonset">\
  4629. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4630. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4631. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4632. </div><br>\
  4633. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4634. <div id="warlcsitelist1"><span>Empty</span></div>\
  4635. </div>\
  4636. <div id="tabs-2" class="warlc-ui-tab">\
  4637. <div class="warlc-ui-buttonset">\
  4638. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4639. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4640. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4641. </div><br>\
  4642. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4643. <div id="warlcsitelist2"><span>Empty</span></div>\
  4644. </div>\
  4645. <div id="tabs-5" class="warlc-ui-tab">\
  4646. <div class="warlcsettings">\
  4647. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4648. <br>\
  4649. <div>Edit custom rules: \
  4650. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4651. <div id="customRulesReference" style="display:none;">'
  4652. + customRulesRefHTML + '\
  4653. </div>\
  4654. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4655. </div>\
  4656. </div>\
  4657. </div>\
  4658. <div id="tabs-3" class="warlc-ui-tab">\
  4659. <div class="warlcsettings">\
  4660. <fieldset>\
  4661. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4662. <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>\
  4663. </fieldset>\
  4664. <fieldset>\
  4665. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4666. <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>\
  4667. <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>\
  4668. <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>\
  4669. <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>\
  4670. <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>\
  4671. <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>\
  4672. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4673. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4674. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4675. <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>\
  4676. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4677. <fieldset>\
  4678. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4679. <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>\
  4680. <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>\
  4681. <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>\
  4682. </fieldset>\
  4683. </fieldset>\
  4684. <fieldset>\
  4685. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4686. </fieldset>\
  4687. <fieldset>\
  4688. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4689. </fieldset>\
  4690. <fieldset>\
  4691. <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>\
  4692. </fieldset>\
  4693. <fieldset>\
  4694. <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>\
  4695. </fieldset>\
  4696. <fieldset>\
  4697. <legend>Progress box settings</legend>\
  4698. <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>\
  4699. <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>\
  4700. <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>\
  4701. </fieldset>\
  4702. </div>\
  4703. </div>\
  4704. <div id="tabs-4" class="warlc-ui-tab">\
  4705. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4706. <br />\
  4707. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4708. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4709. <br />\
  4710. <p><b>Currently supported:</b><br>\
  4711. Filehostings: ' + allHostNames.length + '<br />\
  4712. Containers: ' + allContainerNames.length + '<br />\
  4713. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4714. <br />\
  4715. <p><b>Based on:</b><br>\
  4716. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4717. <br />\
  4718. <p><b>Uses:</b></p>\
  4719. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4720. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4721. <br />\
  4722. <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>\
  4723. </div>\
  4724. </div>\
  4725. </div>\
  4726. </div>';
  4727. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4728. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4729. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4730. var elmHostList = document.getElementById("warlcsitelist1");
  4731. var elmContainerList = document.getElementById("warlcsitelist2");
  4732. buildSettings();
  4733. buildSitelist("", allHostNames, elmHostList);
  4734. buildSitelist("", allContainerNames, elmContainerList);
  4735. if (DEBUG_MODE)
  4736. {
  4737. //log all sites availability status
  4738. diagSites();
  4739. }
  4740. //handler for checkbox state change
  4741. function changeConfiguration(e)
  4742. {
  4743. var element = e.target;
  4744.  
  4745. if (element.type == 'checkbox')
  4746. {
  4747. if (element.checked == 1)
  4748. {
  4749. GM_setValue(element.id, true);
  4750. }
  4751. else
  4752. {
  4753. GM_setValue(element.id, false);
  4754. }
  4755.  
  4756. }
  4757. setVariables();
  4758. }
  4759.  
  4760. //Selects all filehosting checkboxes
  4761. function selectAll()
  4762. {
  4763. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4764. .each(function(index, element){GM_setValue(this.id, true)});
  4765. }
  4766.  
  4767. //Deselects all filehosting checkboxes
  4768. function selectNone()
  4769. {
  4770. $(":checkbox:visible:checked").prop("checked",false)
  4771. .each(function(index, element){GM_setValue(this.id, false)});
  4772. }
  4773. //Sets Processbox position setting
  4774. function changeProgBox(event) {
  4775. var setting;
  4776. switch(event.data.set) {
  4777. case "X": setting = "Processbox_Pos_X"; break;
  4778. case "Y": setting = "Processbox_Pos_Y"; break;
  4779. case "Scale": setting = "Progressbox_Scaling"; break;
  4780. }
  4781. var $setting = $("#" + setting);
  4782. var newSet = $setting.val().replace("%", "");
  4783. GM_setValue(setting, newSet);
  4784. }
  4785. //Sets value of Processbox position
  4786. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4787. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4788. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4789.  
  4790. //Inverts filehosting checkboxes selection
  4791. function selectInvert()
  4792. {
  4793. var $checked = $(":checkbox:visible:checked");
  4794. var $unchecked = $(":checkbox:visible:not(:checked)");
  4795. $unchecked.prop("checked",true)
  4796. .each(function(index, element){GM_setValue(this.id, true)});
  4797. $checked.prop("checked",false)
  4798. .each(function(index, element){GM_setValue(this.id, false)});
  4799. }
  4800. //toggles anonymizer on off
  4801. function Enable_Anonymizer()
  4802. {
  4803. var $checked = $(":checkbox:visible:checked");
  4804. var $unchecked = $(":checkbox:visible:not(:checked)");
  4805. $unchecked.prop("checked",true)
  4806. .each(function(index, element){GM_setValue(this.id, true)});
  4807. $checked.prop("checked",false)
  4808. .each(function(index, element){GM_setValue(this.id, false)});
  4809. }
  4810.  
  4811. function changeRefAnonymizer(){
  4812. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4813. }
  4814.  
  4815. //Sets live links color
  4816. function changeColorLive()
  4817. {
  4818. var inColorLive = document.getElementById("inputColorLive");
  4819. inColorLive.style.background = inColorLive.value;
  4820. GM_setValue("Live_links_color", inColorLive.value);
  4821. }
  4822.  
  4823. //Sets dead links color
  4824. function changeColorDead()
  4825. {
  4826. var inColorDead = document.getElementById("inputColorDead");
  4827. inColorDead.style.background = inColorDead.value;
  4828. GM_setValue("Dead_links_color", inColorDead.value);
  4829. }
  4830.  
  4831. //Sets temp. unavailable links color
  4832. function changeColorTemp()
  4833. {
  4834. var inColorTemp = document.getElementById("inputColorTemp");
  4835. inColorTemp.style.background = inColorTemp.value;
  4836. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4837. }
  4838.  
  4839. //Sets temp. unavailable links color
  4840. function changeColorCont()
  4841. {
  4842. var inColorCont = document.getElementById("inputColorCont");
  4843. inColorCont.style.background = inColorCont.value;
  4844. GM_setValue("Container_links_color", inColorCont.value);
  4845. }
  4846. //Sets premium. links color
  4847. function changeColorprem()
  4848. {
  4849. var inColorprem = document.getElementById("inputColorprem");
  4850. inColorprem.style.background = inColorprem.value;
  4851. GM_setValue("Premium_links_color", inColorprem.value);
  4852. }
  4853.  
  4854. //Diagnose sites for availability
  4855. function diagSites()
  4856. {
  4857. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4858.  
  4859. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4860. {
  4861. if (boxes[i].type == "checkbox")
  4862. {
  4863. checkAvailability(boxes[i]);
  4864. }
  4865. }
  4866.  
  4867. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4868.  
  4869. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4870. {
  4871. if (boxes[i].type == "checkbox")
  4872. {
  4873. checkAvailability(boxes[i]);
  4874. }
  4875. }
  4876.  
  4877. function checkAvailability(cbElm)
  4878. {
  4879. var cb = cbElm;
  4880. GM_xmlhttpRequest(
  4881. {
  4882. method: 'HEAD',
  4883. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4884. headers: {
  4885. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4886. 'Accept': 'text/xml',
  4887. 'Referer': ""
  4888. },
  4889. onload: function (result)
  4890. {
  4891. if (result.status != 200)
  4892. {
  4893. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4894. }
  4895. },
  4896. onerror: function (result)
  4897. {
  4898. if (result.status != 200)
  4899. {
  4900. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4901. //Sets Progress_box position setting
  4902. function changeProgBox(event) {
  4903. var setting;
  4904. switch(event.data.set) {
  4905. case "X": setting = "Progress_box_Pos_X"; break;
  4906. case "Y": setting = "Progress_box_Pos_Y"; break;
  4907. case "Scale": setting = "Progress_box_Scaling"; break;
  4908. }
  4909.  
  4910. var $setting = $("#" + setting);
  4911. var newSet = $setting.val().replace("%", "");
  4912. lsSetVal("general", setting, newSet);
  4913. }
  4914.  
  4915. //Sets value of Progress_box position
  4916. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4917. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4918. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4919. }
  4920. }
  4921. });
  4922. }
  4923. }
  4924. function buildSettings()
  4925. {
  4926. $(".warlcsettings :checkbox").each(function(){
  4927. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4928. .click(function(e){
  4929. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4930. setVariables();
  4931. });
  4932. })
  4933. }
  4934. //Dynamic build of host list
  4935. //param search [string] searches for hostnames matching search substring
  4936. //param siteNames [array] array of site names
  4937. //param targetNode [DOM Node] where the list should be built
  4938. // first child node is replaced
  4939. function buildSitelist(search, siteNames, targetNode)
  4940. {
  4941. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4942. var $targetNode = $(targetNode).empty();
  4943. var searchedSite = "";
  4944. $.each(siteNames, function(i, site){
  4945. if (searchedSite = site.match(searchRegex))
  4946. {
  4947. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4948. //ensuring backward compatibility with the rest of code, to be refactored later
  4949. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4950. //
  4951. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4952. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4953. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4954. );
  4955. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4956. .change(changeConfiguration);
  4957. $targetNode.append('<br />');
  4958. }
  4959. });
  4960. $targetNode.append("<hr>");
  4961. //obsolete hosts checkbox
  4962. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4963. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4964. .change(changeConfiguration);
  4965. $targetNode.append('<br />');
  4966. var foundName = "";
  4967. $.each(allObsoleteNames, function(i, site){
  4968. if (foundName = allObsoleteNames[i].match(searchRegex))
  4969. {
  4970. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4971. }
  4972. })
  4973. }
  4974. var hostSearchBox = document.getElementById("hostSearchBox");
  4975. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4976. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4977. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4978. $(".warlc-ui-select-all").click(selectAll).button();
  4979. $(".warlc-ui-select-none").click(selectNone).button();
  4980. $(".warlc-ui-select-invert").click(selectInvert).button();
  4981. $(".warlc-ui-buttonset").buttonset();
  4982. var inColorLive = document.getElementById("inputColorLive");
  4983. inColorLive.addEventListener('keyup', changeColorLive, false);
  4984.  
  4985. var inColorDead = document.getElementById("inputColorDead");
  4986. inColorDead.addEventListener('keyup', changeColorDead, false);
  4987.  
  4988. var inColorTemp = document.getElementById("inputColorTemp");
  4989. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4990.  
  4991. var inColorCont = document.getElementById("inputColorCont");
  4992. inColorCont.addEventListener('keyup', changeColorCont, false);
  4993. var inColorprem = document.getElementById("inputColorprem");
  4994. inColorprem.addEventListener('keyup', changeColorprem, false);
  4995. $("#refAnonymizer").change(changeRefAnonymizer);
  4996. //buttons and edit boxes init end
  4997.  
  4998. //icon sets radio buttons
  4999. var radioButtons = document.getElementsByName("warlciconset");
  5000. radioButtons[Icon_set].checked = "checked";
  5001.  
  5002. radioButtons[0].addEventListener("change", updateIconSet);
  5003. radioButtons[1].addEventListener("change", updateIconSet);
  5004. radioButtons[2].addEventListener("change", updateIconSet);
  5005. radioButtons[3].addEventListener("change", updateIconSet);
  5006. function updateIconSet()
  5007. {
  5008. GM_setValue("Icon_set", this.value * 1);
  5009. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5010. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5011. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5012. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5013. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5014.  
  5015. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5016. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5017.  
  5018. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5019. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5020. }
  5021. //
  5022. $('#showCustomRulesReference').click(function(e){
  5023. e.preventDefault();
  5024. $('#customRulesReference').toggle();
  5025. });
  5026. $('#Custom_rules_text')
  5027. .val(Custom_rules_text)
  5028. .change(saveCustomRules);
  5029. function saveCustomRules(e)
  5030. {
  5031. var cr = parseCustomRules(this.value);
  5032. if (cr.info.length)
  5033. 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, ' '));
  5034. GM_setValue('Custom_rules_text', this.value);
  5035. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5036. }
  5037. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5038. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5039. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5040. }
  5041.  
  5042. //begin standard link checking algorithm
  5043. function start(filterId)
  5044. {
  5045. var doNotLinkify = Do_not_linkify_DL_links;
  5046.  
  5047. // USER SELECTED FILE HOSTS INITIALIZATION START
  5048. var http_file_hosts = new Array(); //standard hostings
  5049. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5050. var http_file_hosts_obsolete = new Array(); //dead hostings
  5051. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5052.  
  5053. initFileHosts();
  5054. initFileHostsHeadersOnly();
  5055. initFileHostsCustom(); //CustomRules
  5056. // USER SELECTED FILE HOSTS INITIALIZATION END
  5057.  
  5058. // LINKIFICATION START
  5059. var totalxpath = '';
  5060. var totalxpathcoded = '';
  5061. var totalxpathobsolete = '';
  5062. var totalxpathheadersonly = '';
  5063. var totalourls = '';
  5064.  
  5065. var filehostLen = http_file_hosts.length;
  5066. var filehostCodedLen = http_file_hosts_coded.length;
  5067. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5068. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5069.  
  5070. var filehostIdx = filehostLen;
  5071. var filehostCodedIdx = filehostCodedLen;
  5072. var filehostObsoleteIdx = filehostObsoleteLen;
  5073. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5074.  
  5075. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5076. return;
  5077.  
  5078. while (filehostIdx--)
  5079. {
  5080. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5081. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5082. }
  5083.  
  5084. while (filehostCodedIdx--)
  5085. {
  5086. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5087. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5088. }
  5089.  
  5090. while (filehostObsoleteIdx--)
  5091. {
  5092. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5093. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5094. }
  5095.  
  5096. while (filehostHeadersOnlyIdx--)
  5097. {
  5098. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5099. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5100. }
  5101.  
  5102. totalourls = totalourls.replace(/\|$/g, "");
  5103. //TODO: further refactoring needed
  5104. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5105. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5106. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5107. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5108. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5109. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5110. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5111. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5112. if (filterId != null) //insert id restriction in the xpath
  5113. {
  5114. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5115. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5116. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5117. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5118. }
  5119. else
  5120. {
  5121. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5122. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5123. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5124. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5125. }
  5126. linkify(totalourls);
  5127. //LINKIFICATION END
  5128. //ENCRYPTED LINKS PROCESSING START
  5129. if (http_file_hosts_coded.length > 0)
  5130. {
  5131. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5132.  
  5133. // decrypt coded links (redirects, link protectors etc.)
  5134. if (linksCoded.snapshotLength > 0)
  5135. {
  5136. var link;
  5137. var reallinkreg;
  5138. var reallinkcorrection;
  5139.  
  5140. if (filterId == null)
  5141. {
  5142. cLinksTotal += linksCoded.snapshotLength;
  5143. }
  5144.  
  5145. var y = linksCoded.snapshotLength - 1;
  5146. do
  5147. {
  5148. // linksCoded.snapshotItem(y).id = 'processing_link';
  5149. link = linksCoded.snapshotItem(y);
  5150. filehostIdx = filehostCodedLen;
  5151. while (filehostIdx--)
  5152. {
  5153. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5154. {
  5155. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5156. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5157. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5158.  
  5159. decurl(link, reallinkreg, reallinkcorrection);
  5160. break;
  5161. }
  5162. }
  5163. }
  5164. while (y--);
  5165. }
  5166. }
  5167. //ENCRYPTED LINKS PROCESSING END
  5168.  
  5169. //STANDARD LINKCHECKING START
  5170. if (http_file_hosts.length > 0)
  5171. {
  5172. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5173.  
  5174. if (filterId == null)
  5175. {
  5176. cLinksTotal += lianks.snapshotLength;
  5177. }
  5178.  
  5179. if (lianks.snapshotLength > 0)
  5180. {
  5181. var link;
  5182.  
  5183. var URL = "";
  5184. var name = "";
  5185. var isAliveRegex = "";
  5186. var isDeadRegex = "";
  5187. var isUnavaRegex = "";
  5188. var ispremRegex = "";
  5189. var tryLoop = false;
  5190.  
  5191. var y = lianks.snapshotLength;
  5192.  
  5193. while (y--)
  5194. {
  5195. link = lianks.snapshotItem(y);
  5196.  
  5197. filehostIdx = filehostLen;
  5198. while (filehostIdx--)
  5199. {
  5200. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5201. {
  5202. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5203. isAliveRegex = http_file_hosts[filehostIdx][1];
  5204. isDeadRegex = http_file_hosts[filehostIdx][2];
  5205. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5206. ispremRegex = http_file_hosts[filehostIdx][6];
  5207. tryLoop = http_file_hosts[filehostIdx][5];
  5208.  
  5209. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5210.  
  5211. break;
  5212. }
  5213. }
  5214. }
  5215. }
  5216. }
  5217. //STANDARD LINKCHECKING END
  5218. //OBSOLETE FILE HOSTS PROCESSING START
  5219. if (filehostObsoleteLen > 0)
  5220. {
  5221. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5222.  
  5223. var obsoleteLink;
  5224.  
  5225. //check links
  5226. if (obsoletelinks.snapshotLength > 0)
  5227. {
  5228. var y = obsoletelinks.snapshotLength;
  5229.  
  5230. if (filterId == null)
  5231. {
  5232. cLinksTotal += y;
  5233. }
  5234.  
  5235. while (y--)
  5236. {
  5237. obsoleteLink = obsoletelinks.snapshotItem(y);
  5238.  
  5239. if (Display_tooltip_info)
  5240. {
  5241. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5242. }
  5243. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5244. }
  5245. }
  5246. }
  5247. //OBSOLETE FILE HOSTS PROCESSING END
  5248.  
  5249. //DIRECT LINKCHECKING START
  5250. if (http_file_hosts_headers_only.length > 0)
  5251. {
  5252. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5253.  
  5254. //check links
  5255. if (links.snapshotLength > 0)
  5256. {
  5257. var link;
  5258. var isAliveRegex;
  5259. var isDeadRegex;
  5260. var ispremRegex;
  5261.  
  5262. var y = links.snapshotLength;
  5263.  
  5264.  
  5265. if (filterId == null)
  5266. {
  5267. cLinksTotal += y;
  5268. }
  5269.  
  5270. while (y--)
  5271. {
  5272. // links.snapshotItem(y).id = 'processing_link';
  5273. link = links.snapshotItem(y);
  5274. filehostIdx = filehostHeadersOnlyLen;
  5275. while (filehostIdx--)
  5276. {
  5277. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5278. {
  5279. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5280. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5281. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5282. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5283.  
  5284. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5285.  
  5286. break;
  5287. }
  5288. }
  5289. }
  5290.  
  5291. }
  5292. }
  5293. //DIRECT LINKCHECKING END
  5294.  
  5295.  
  5296. //finds the real url on the page, replaces link.href with it and calls geturl
  5297. function decurl(link, reallinkreg, reallinkcorrection)
  5298. {
  5299.  
  5300. GM_xmlhttpRequest(
  5301. {
  5302. method: 'GET',
  5303. url: link.href,
  5304. headers: {
  5305. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5306. 'Accept': 'text/xml',
  5307. 'Referer': ""
  5308. },
  5309. onload: function (result)
  5310. {
  5311. // cLinksProcessed++;
  5312.  
  5313. var reallink = result.responseText.match(reallinkreg)[0];
  5314. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5315.  
  5316. link.href = reallink;
  5317.  
  5318. var i = http_file_hosts.length - 1;
  5319. do
  5320. {
  5321. if ((reallink.match(http_file_hosts[i][0])))
  5322. {
  5323. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5324. var isAliveRegex = http_file_hosts[i][1];
  5325. var isDeadRegex = http_file_hosts[i][2];
  5326. var isUnavaRegex = http_file_hosts[i][3];
  5327. var ispremRegex = http_file_hosts[i][4];
  5328.  
  5329. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5330.  
  5331. break;
  5332. }
  5333. }
  5334. while (i--);
  5335. }
  5336. });
  5337. }
  5338.  
  5339. function randUA()
  5340. {
  5341. //TODO
  5342. }
  5343. //Processes link
  5344. //
  5345. // [string] link link URL
  5346. // [string] isAliveRegex alive link regex
  5347. // [string] isDeadRegex dead link regex
  5348. // [string] isUnavaRegex unavailable link regex
  5349. // [string] ispremRegex premium link regex
  5350. // [boolean] tryLoop repeats request until succeeded
  5351. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5352. {
  5353. GM_xmlhttpRequest(
  5354. {
  5355. method: 'GET',
  5356. url: link.href,
  5357. headers: {
  5358. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5359. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5360. 'Referer': ""
  5361. },
  5362. onload: function (result)
  5363. {
  5364. var res = result.responseText;
  5365. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5366. {
  5367. displayTheCheckedLink(link, 'alive_link');
  5368. return;
  5369. }
  5370.  
  5371. if (res.match(isAliveRegex))
  5372. {
  5373. displayTheCheckedLink(link, 'alive_link');
  5374. return;
  5375. }
  5376.  
  5377. if (res.match(isDeadRegex))
  5378. {
  5379. displayTheCheckedLink(link, 'adead_link');
  5380. return;
  5381. }
  5382.  
  5383. if (isUnavaRegex && res.match(isUnavaRegex))
  5384. {
  5385. displayTheCheckedLink(link, 'unava_link');
  5386. return;
  5387. }
  5388. if (res.match(ispremRegex))
  5389. {
  5390. displayTheCheckedLink(link, 'prem_link');
  5391. return;
  5392. }
  5393.  
  5394. var resStatus = result.status;
  5395.  
  5396. if (resStatus == 404)
  5397. {
  5398. displayTheCheckedLink(link, 'adead_link');
  5399. }
  5400. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5401. {
  5402. if (tryLoop)
  5403. {
  5404. //wait 1-5 seconds and repeat the request
  5405. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5406. }
  5407. else
  5408. {
  5409. displayTheCheckedLink(link, 'unava_link');
  5410. }
  5411.  
  5412. return;
  5413. }
  5414. },
  5415. onerror: function ()
  5416. {
  5417. displayTheCheckedLink(link, 'unava_link');
  5418. }
  5419. });
  5420. }
  5421.  
  5422. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5423. {
  5424. GM_xmlhttpRequest(
  5425. {
  5426. method: 'HEAD',
  5427. url: link.href,
  5428. headers: {
  5429. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5430. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5431. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5432. 'Referer': ""
  5433. },
  5434. onload: function (result)
  5435. {
  5436. var resStatus = result.status;
  5437. var resHeaders = "";
  5438. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5439. {
  5440. displayTheCheckedLink(link, 'adead_link');
  5441. return;
  5442. }
  5443.  
  5444. resHeaders = result.responseHeaders;
  5445.  
  5446. if (resHeaders.match(isDeadRegex))
  5447. {
  5448. displayTheCheckedLink(link, 'adead_link');
  5449. return;
  5450. }
  5451.  
  5452. if (resHeaders.match(isAliveRegex))
  5453. {
  5454. displayTheCheckedLink(link, 'alive_link');
  5455. return;
  5456. }
  5457. if (resHeaders.match(ispremRegex))
  5458. {
  5459. displayTheCheckedLink(link, 'prem_link');
  5460. return;
  5461. }
  5462. },
  5463. onerror: function ()
  5464. {
  5465. displayTheCheckedLink(link, 'unava_link');
  5466. }
  5467. });
  5468. }
  5469.  
  5470. //Delinkfifies the <a> element object
  5471. function delinkifyLink(link)
  5472. {
  5473. var spanElm = document.createElement("span");
  5474. spanElm.className = link.className;
  5475. spanElm.innerHTML = link.innerHTML;
  5476.  
  5477. if (Display_tooltip_info)
  5478. {
  5479. spanElm.href = link.href;
  5480. spanElm.warlc_error = link.warlc_error;
  5481. switch (link.className){
  5482. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5483. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5484. case "unava_link": //reserved
  5485. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5486. default:
  5487. }
  5488. }
  5489. link.parentNode.replaceChild(spanElm, link);
  5490. }
  5491.  
  5492. //Assigns result status to the <a> element object and calls delinkifying eventually
  5493. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5494. function displayTheCheckedLink(link, resultStatus)
  5495. {
  5496. link.className = resultStatus;
  5497. link.href = Ref_anonymize_service + link.href;
  5498. if (Display_tooltip_info)
  5499. {
  5500. switch (resultStatus){
  5501. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5502. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5503. case "unava_link": //reserved
  5504. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5505. default:
  5506. }
  5507. }
  5508. if (doNotLinkify)
  5509. {
  5510. delinkifyLink(link);
  5511. }
  5512. cLinksProcessed++;
  5513.  
  5514. if (resultStatus == "alive_link")
  5515. {
  5516. cLinksAlive++;
  5517. return;
  5518. }
  5519.  
  5520. if (resultStatus == "adead_link")
  5521. {
  5522. cLinksDead++;
  5523. return;
  5524. }
  5525.  
  5526. if (resultStatus == "unava_link")
  5527. {
  5528. cLinksUnava++;
  5529. }
  5530. if (resultStatus == "prem_link")
  5531. {
  5532. cLinksprem++;
  5533. return;
  5534. }
  5535. }
  5536.  
  5537.  
  5538. function initFileHosts()
  5539. {
  5540.  
  5541. function addObsoleteHost(linkRegex, xpathEx)
  5542. {
  5543. var host = new Array(2);
  5544. host[0] = linkRegex;
  5545. host[1] = xpathEx;
  5546. http_file_hosts_obsolete.push(host);
  5547. }
  5548.  
  5549. //obsolete file hosts init start
  5550. if (Obsolete_file_hosts)
  5551. {
  5552. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5553. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5554. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5555. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5556. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5557. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5558. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5559. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5560. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5561. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5562. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5563. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5564. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5565. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5566. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5567. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5568. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5569. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5570. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5571. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5572. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5573. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5574. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5575. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5576. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5577. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5578. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5579. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5580. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5581. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5582. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5583. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5584. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5585. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5586. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5587. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5588. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5589. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5590. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5591. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5592. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5593. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5594. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5595. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5596. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5597. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5598. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5599. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5600. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5601. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5602. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5603. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5604. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5605. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5606. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5607. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5608. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5609. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5610. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5611. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5612. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5613. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5614. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5615. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5616. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5617. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5618. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5619. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5620. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5621. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5622. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5623. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5624. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5625. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5626. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5627. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5628. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5629. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5630. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5631. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5632. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5633. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5634. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5635. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5636. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5637. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5638. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5639. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5640. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5641. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5642. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5643. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5644. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5645. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5646. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5647. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5648. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5649. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5650. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5651. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5652. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5653. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5654. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5655. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5656. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5657. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5658. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5659. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5660. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5661. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5662. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5663. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5664. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5665. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5666. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5667. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5668. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5669. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5670. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5671. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5672. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5673. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5674. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5675. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5676. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5677. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5678. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5679. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5680. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5681. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5682. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5683. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5684. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5685. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5686. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5687. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5688. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5689. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5690. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5691. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5692. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5693. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5694. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5695. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5696. 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')]");
  5697. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5698. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5699. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5700. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5701. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5702. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5703. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5704. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5705. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5706. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5707. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5708. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5709. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5710. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5711. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5712. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5713. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5714. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5715. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5716. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5717. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5718. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5719. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5720. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5721. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5722. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5723. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5724. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5725. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5726. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5727. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5728. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5729. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5730. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5731. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5732. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5733. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5734. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5735. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5736. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5737. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5738. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5739. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5740. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5741. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5742. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5743. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5744. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5745. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5746. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5747. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5748. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5749. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5750. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5751. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5752. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5753. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5754. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5755. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5756. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5757. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5758. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5759. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5760. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5761. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5762. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5763. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5764. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5765. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5766. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5767. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5768. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5769. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5770. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5771. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5772. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5773. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5774. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5775. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5776. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5777. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5778. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5779. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5780. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5781. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5782. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5783. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5784. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5785. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5786. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5787. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5788. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5789. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5790. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5791. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5792. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5793. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5794. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5795. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5796. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5797. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5798. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5799. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5800. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5801. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5802. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5803. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5804. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5805. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5806. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5807. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5808. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5809. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5810. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5811. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5812. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5813. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5814. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5815. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5816. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5817. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5818. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5819. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5820. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5821. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5822. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5823. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5824. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5825. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5826. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5827. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5828. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5829. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5830. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5831. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5832. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5833. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5834. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5835. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5836. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5837. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5838. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5839. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5840. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5841. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5842. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5843. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5844. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5845. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5846. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5847. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5848. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5849. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5850. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5851. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5852. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5853. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5854. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5855. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5856. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5857. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5858. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5859. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5860. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5861. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5862. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5863. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5864. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5865. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5866. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5867. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5868. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5869. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5870. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5871. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5872. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5873. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5874. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5875. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5876. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5877. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5878. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5879. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5880. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5881. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5882. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5883. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5884. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5885. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5886. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5887. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5888. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5889. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5890. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5891. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5892. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5893. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5894. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5895. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5896. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5897. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5898. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5899. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5900. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5901. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5902. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5903. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5904. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5905. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5906. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5907. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5908. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5909. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5910. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5911. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5912. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5913. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5914. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5915. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5916. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5917. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5918. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5919. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5920. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5921. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5922. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5923. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5924. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5925. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5926. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5927. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5928. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5929. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5930. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5931. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5932. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5933. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5934. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5935. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5936. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5937. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5938. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5939. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5940. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5941. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5942. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5943. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5944. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5945. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5946. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5947. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5948. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5949. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5950. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5951. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5952. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5953. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5954. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5955. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5956. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5957. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5958. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5959. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5960. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5961. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5962. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5963. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5964. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5965. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5966. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5967. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5968. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5969. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5970. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5971. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5972. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5973. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5974. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5975. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5976. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5977. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5978. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5979. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5980. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5981. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5982. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5983. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5984. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5985. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5986. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5987. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5988. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5989. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5990. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5991. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5992. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5993. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5994. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5995. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5996. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5997. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5998. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5999. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6000. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6001. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6002. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6003. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6004. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6005. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6006. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6007. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6008. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6009. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6010. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6011. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6012. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6013. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6014. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6015. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6016. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6017. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6018. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6019. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6020. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6021. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6022. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6023. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6024. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6025. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6026. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6027. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6028. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6029. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6030. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6031. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6032. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6033. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6034. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6035. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6036. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6037. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6038. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6039. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6040. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6041. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6042. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6043. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6044. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6045. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6046. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6047. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6048. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6049. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6050. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6051. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6052. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6053. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6054. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6055. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6056. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6057. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6058. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6059. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6060. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6061. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6062. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6063. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6064. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6065. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6066. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6067. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6068. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6069. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6070. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6071. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6072. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6073. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6074. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6075. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6076. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6077. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6078. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6079. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6080. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6081. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6082. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6083. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6084. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6085. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6086. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6087. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6088. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6089. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6090. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6091. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6092. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6093. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6094. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6095. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6096. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6097. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6098. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6099. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6100.  
  6101. // obsolete start start2
  6102. }
  6103. //obsolete file hosts init end
  6104. //Add Host Example
  6105. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6106. {
  6107. addFileHost(
  6108. "datafile\.com\/\\w+",
  6109. 'var captchaPanel|<link href="/css/files_download.css"',
  6110. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6111. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6112. '<style type="text/css">',
  6113. "//a[contains(@href,'datafile.com')]",
  6114. true);
  6115. } */
  6116.  
  6117. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6118. {
  6119. var host = new Array(7);
  6120. host[0] = linkRegex;
  6121. host[1] = isAliveRegex;
  6122. host[2] = isDeadRegex;
  6123. host[3] = isUnavaRegex;
  6124. host[6] = ispremRegex;
  6125. host[4] = xpathEx;
  6126. tryLoop ? host[5] = true : host[5] = false;
  6127. http_file_hosts.push(host);
  6128. }
  6129. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6130. {
  6131. addFileHost(
  6132. "megafileupload\.com\/..\/file\/",
  6133. 'downloadbtn',
  6134. 'is not found',
  6135. 'optional--',
  6136. 'optional2--',
  6137. "//a[contains(@href,'megafileupload.com')]");
  6138. }
  6139. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6140. {
  6141. addFileHost(
  6142. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6143. 'download\\.gif"',
  6144. 'p_point">',
  6145. 'optional--',
  6146. 'optional2--',
  6147. "//a[contains(@href,'demo.ovh.eu')]");
  6148. }*/
  6149. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6150. {
  6151. addFileHost(
  6152. "safelinking\\.net\/p\/\\w+",
  6153. 'color:green;"',
  6154. 'color:(?:red|orange);"',
  6155. 'color:(?:grey|brown);"',
  6156. 'optional2--',
  6157. "//a[contains(@href,'safelinking.net/p/')]",
  6158. true);
  6159. }
  6160. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6161. {
  6162. addFileHost(
  6163. "fastshare\\.cz\/\\d+\/\\w*",
  6164. 'dwntable">|speed-low',
  6165. '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',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'fastshare.cz')]");
  6169. }
  6170. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6171. {
  6172. addFileHost(
  6173. "[fF]ast[sS]hare\\.org\/download",
  6174. 'Download ">',
  6175. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6176. 'optional--',
  6177. 'optional2--',
  6178. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6179. }
  6180. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6181. {
  6182. addFileHost(
  6183. "rapidgator\\.net\/file\/\\w+",
  6184. '/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.',
  6185. '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',
  6186. 'optional--',
  6187. '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',
  6188. "//a[contains(@href,'rapidgator.net/file')]",
  6189. true
  6190. );
  6191. }
  6192. if (GM_getValue("Check_rg_dot_to_links", false))
  6193. {
  6194. addFileHost(
  6195. "rg\.to\/\\w+",
  6196. '/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.',
  6197. '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',
  6198. 'optional--',
  6199. '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',
  6200. "//a[contains(@href,'rg.to')]");
  6201. }
  6202. if (GM_getValue("Check_relink_dot_us_links", false))
  6203. {
  6204. addFileHost(
  6205. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6206. 'online_detail\\.png" alt="Status',
  6207. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6208. 'unknown_detail\\.png" alt="Status',
  6209. 'optional2--',
  6210. "//a[contains(@href,'relink.us/')]"
  6211. );
  6212. }
  6213. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6214. {
  6215. addFileHost(
  6216. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6217. 'div id="dl"',
  6218. 'Sie haben den Link falsch',
  6219. 'optional--',
  6220. 'optional2--',
  6221. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6222. );
  6223. }
  6224. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6225. {
  6226. addFileHost(
  6227. "flyfiles\\.net\/\\w+",
  6228. 'download_button"|"Download file"',
  6229. 'File not found!|Файл не найден',
  6230. 'optional--',
  6231. 'optional2--',
  6232. "//a[contains(@href,'flyfiles.net/')]"
  6233. );
  6234. }
  6235. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6236. {
  6237. addFileHost(
  6238. "wikiupload\\.com\/\\w+",
  6239. 'download-button">',
  6240. 'Sorry, File not found',
  6241. 'optional--',
  6242. 'optional2--',
  6243. "//a[contains(@href,'wikiupload.com/')]"
  6244. );
  6245. }
  6246. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6247. {
  6248. addFileHost(
  6249. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6250. 'file\\.php">|Pobierz Plik',
  6251. 'Podany plik nie zosta',
  6252. 'optional--',
  6253. 'optional2--',
  6254. "//a[contains(@href,'hostuje.net/file')]"
  6255. );
  6256. }
  6257. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6258. {
  6259. addFileHost(
  6260. "gettyfile\\.ru\/\\d+",
  6261. 'download\\.gif border',
  6262. '<center><font size="3">',
  6263. 'optional--',
  6264. 'optional2--',
  6265. "//a[contains(@href,'gettyfile.ru/')]"
  6266. );
  6267. }
  6268. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6269. {
  6270. addFileHost(
  6271. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6272. 'download\\-file">',
  6273. 'col-1">\\s*<h1>',
  6274. 'optional--',
  6275. 'optional2--',
  6276. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6277. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6278. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6279. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6280. );
  6281. }
  6282. if (GM_getValue("Check_data_dot_hu_links", false))
  6283. {
  6284. addFileHost(
  6285. "data\\.hu",
  6286. 'download_box_button|Lassú letöltés',
  6287. 'missing\\.php|Az adott fájl nem létezik',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'data.hu')]",
  6291. true
  6292. );
  6293. }
  6294. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6295. {
  6296. addFileHost(
  6297. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6298. 'premiumBtn"',
  6299. 'errorMessage"',
  6300. 'optional--',
  6301. 'optional2--',
  6302. "//a[contains(@href,'indowebster.com/download')]"
  6303. );
  6304. }
  6305. if (GM_getValue("Check_superload_dot_cz_links", false))
  6306. {
  6307. addFileHost(
  6308. "superload\\.cz\/dl\/\\w+",
  6309. 'icon-download">',
  6310. 'soubor nebyl nalezen',
  6311. 'optional--',
  6312. 'optional2--',
  6313. "//a[contains(@href,'superload.cz/dl')]"
  6314. );
  6315. }
  6316. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6317. {
  6318. addFileHost(
  6319. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6320. 'op" value="download',
  6321. 'class="err">|width:500px;text-align:left;">',
  6322. 'optional--',
  6323. 'optional2--',
  6324. "//a[contains(@href,'hulkfile.')]"
  6325. );
  6326. }
  6327. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6328. {
  6329. addFileHost(
  6330. "easybytez\\.com\/\\w+",
  6331. 'op" value="download',
  6332. 'stop_error\\.gif',
  6333. 'optional--',
  6334. 'optional2--',
  6335. "//a[contains(@href,'easybytez.com/')]"
  6336. );
  6337. }
  6338. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6339. {
  6340. addFileHost(
  6341. "filestore\\.com\\.ua\/\\?d=\\w+",
  6342. 'tdrow1>',
  6343. 'class=warn',
  6344. 'optional--',
  6345. 'optional2--',
  6346. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6347. );
  6348. }
  6349. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6350. {
  6351. addFileHost(
  6352. "openfile\\.ru\/(?:video\/|)\\d+",
  6353. 'videobox_left">',
  6354. 'blog_title">|not found on this server',
  6355. 'optional--',
  6356. 'optional2--',
  6357. "//a[contains(@href,'openfile.ru/')]"
  6358. );
  6359. }*/
  6360. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6361. {
  6362. addFileHost(
  6363. "extmatrix\\.com\/files\/\\w+",
  6364. 'div class="success"',
  6365. 'div class="error"',
  6366. 'optional--',
  6367. 'optional2--',
  6368. "//a[contains(@href,'extmatrix.com/files')]"
  6369. );
  6370. }
  6371. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6372. {
  6373. addFileHost(
  6374. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6375. 'content_lnkDownload',
  6376. 'error\\.aspx\\?',
  6377. 'optional--',
  6378. 'optional2--',
  6379. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6380. );
  6381. }
  6382. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6383. {
  6384. addFileHost(
  6385. "yourfilestore\\.com\/download\/\\d+\/",
  6386. 'download_data">',
  6387. 'may have been deleted|<h1>Sorry!<\/h1>',
  6388. 'optional--',
  6389. 'optional2--',
  6390. "//a[contains(@href,'yourfilestore.com/download')]"
  6391. );
  6392. }
  6393. if (GM_getValue("Check_filebig_dot_net_links", false))
  6394. {
  6395. addFileHost(
  6396. "filebig\\.net\/files\/\\w+",
  6397. 'downloadFile">',
  6398. '<p>File not found<\/p>',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'filebig.net/files')]"
  6402. );
  6403. }
  6404. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6405. {
  6406. addFileHost(
  6407. "files\\.filefront\\.com\/\/;\\d+;;",
  6408. 'downloadLink">',
  6409. 'File not found, you',
  6410. 'optional--',
  6411. 'optional2--',
  6412. "//a[contains(@href,'files.filefront.com')]"
  6413. );
  6414.  
  6415. addFileHost(
  6416. "gamefront\\.com\/files\/\\d+",
  6417. 'downloadLink">',
  6418. 'File not found, you',
  6419. 'optional--',
  6420. 'optional2--',
  6421. "//a[contains(@href,'gamefront.com/files')]"
  6422. );
  6423. }
  6424. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6425. {
  6426. addFileHost(
  6427. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6428. 'dnlLnk"',
  6429. 'already been deleted',
  6430. 'optional--',
  6431. 'optional2--',
  6432. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6433. );
  6434. }
  6435. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6436. {
  6437. addFileHost(
  6438. "hellupload\\.com\/\\w+",
  6439. '<h3>Download File<br',
  6440. 'id="podstrona">|AVOID_IE_BUG',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'hellupload.com/')]"
  6444. );
  6445. }
  6446. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6447. {
  6448. addFileHost(
  6449. "free\\-uploading\\.com\/\\w+",
  6450. 'op" value="download',
  6451. 'class="err">|width:500px;text-align:left;">',
  6452. 'optional--',
  6453. 'optional2--',
  6454. "//a[contains(@href,'free-uploading.com/')]"
  6455. );
  6456. }
  6457. if (GM_getValue("Check_fileape_dot_com_links", false))
  6458. {
  6459. addFileHost(
  6460. "fileape\\.com\/download\\-",
  6461. 'button_dl\\.png',
  6462. 'does not exist\\.',
  6463. 'optional--',
  6464. 'optional2--',
  6465. "//a[contains(@href,'fileape.com/')]"
  6466. );
  6467. }
  6468. if (GM_getValue("Check_uppit_dot_com_links", false))
  6469. {
  6470. addFileHost(
  6471. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6472. 'op" value="download',
  6473. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6474. 'optional--',
  6475. 'optional2--',
  6476. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6477. true
  6478. );
  6479. }
  6480. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6481. {
  6482. addFileHost(
  6483. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6484. 'op" value="download',
  6485. '>File Not Found<',
  6486. 'optional--',
  6487. 'optional2--',
  6488. "//a[contains(@href,'nosupload.com')]",
  6489. true
  6490. );
  6491. }
  6492. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6493. {
  6494. addFileHost(
  6495. "filesin\\.com\/\\w+\/download\\.html",
  6496. 'download_area">',
  6497. 'error_note">',
  6498. 'optional--',
  6499. 'optional2--',
  6500. "//a[contains(@href,'filesin.com/')]",
  6501. true
  6502. );
  6503. }*/
  6504. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6505. {
  6506. addFileHost(
  6507. "nowdownload\\.ch\/dl\/\\w+",
  6508. 'alert-success"',
  6509. 'This file does not exist!',
  6510. 'The file is being transfered',
  6511. 'optional2--',
  6512. "//a[contains(@href,'nowdownload.ch/dl')]"
  6513. );
  6514. }*/
  6515. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6516. {
  6517. addFileHost(
  6518. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6519. 'Dbutton_big"',
  6520. 'download\\-error\\.php',
  6521. 'optional--',
  6522. 'optional2--',
  6523. "//a[contains(@href,'axifile.com/')]"
  6524. );
  6525. }*/
  6526. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6527. {
  6528. addFileHost(
  6529. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6530. 'col-1">\\s*<s',
  6531. 'col-1">\\s*<h',
  6532. 'optional--',
  6533. 'optional2--',
  6534. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6535. );
  6536. }
  6537. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6538. {
  6539. addFileHost(
  6540. "turbobit\\.(?:net|pl)",
  6541. 'id="download-gate-info|id="file-list',
  6542. 'afterWait()|no files in this folder',
  6543. 'optional--',
  6544. 'optional2--',
  6545. "//a[contains(@href,'turbobit.net')]"
  6546. );
  6547. }
  6548. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6549. {
  6550. addFileHost(
  6551. "hitfile\\.net\/download\/folder\/\\d+",
  6552. 'content">\\s*<s',
  6553. 'content">\\s*<h',
  6554. 'optional--',
  6555. 'optional2--',
  6556. "//a[contains(@href,'hitfile.net/download/folder')]"
  6557. );
  6558. }
  6559. if (GM_getValue("Check_movshare_dot_net_links", false))
  6560. {
  6561. addFileHost(
  6562. "movshare\\.net\\/video\\/\\w+",
  6563. 'optional--"',
  6564. 'no longer exists',
  6565. 'optional--',
  6566. 'optional2--',
  6567. "//a[contains(@href,'movshare.net/video')]"
  6568. );
  6569. }
  6570. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6571. {
  6572. addFileHost(
  6573. "mafiastorage\\.com\/\\w+",
  6574. 'op" value="download',
  6575. 'class="err">|style="width:500px;text-align:left;"',
  6576. 'optional--',
  6577. 'optional2--',
  6578. "//a[contains(@href,'mafiastorage.com/')]"
  6579. );
  6580. }
  6581. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6582. {
  6583. addFileHost(
  6584. "uploadingit\\.com\/file\/\\w+",
  6585. 'downloadTitle">',
  6586. 'deleteContent">',
  6587. 'optional--',
  6588. 'optional2--',
  6589. "//a[contains(@href,'uploadingit.com/file')]"
  6590. );
  6591. }*/
  6592. if (GM_getValue("Check_rghost_dot_net_links", false))
  6593. {
  6594. addFileHost(
  6595. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6596. 'download_link|btn large download',
  6597. 'file is restricted|File is deleted|503 Service Unavailable',
  6598. 'optional--',
  6599. 'optional2--',
  6600. "//a[contains(@href,'rghost.')]"
  6601. );
  6602. }
  6603. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6604. {
  6605. addFileHost(
  6606. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6607. '">Staženo:\\s*<\/span>',
  6608. 'Soubor, který hledáte nenalezen',
  6609. 'optional--',
  6610. 'optional2--',
  6611. "//a[contains(@href,'xdisk.cz/')]"
  6612. );
  6613. }
  6614. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6615. {
  6616. addFileHost(
  6617. "2downloadz\.com\/\\w+",
  6618. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6619. 'color="#006DCC|File error',
  6620. 'optional--',
  6621. 'optional2--',
  6622. "//a[contains(@href,'2downloadz.com')]");
  6623. }
  6624. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6625. {
  6626. addFileHost(
  6627. "mightyupload\.com\/\\w+",
  6628. 'background:#ccc;text-align|CONTENT="Download File"',
  6629. 'style="background:#eee|var rr =|File Not Found',
  6630. 'error-code">1010',
  6631. 'optional2--',
  6632. "//a[contains(@href,'mightyupload.com')]");
  6633. }
  6634. if (GM_getValue("Check_anysend_dot_com_links", false))
  6635. {
  6636. addFileHost(
  6637. "anysend\.com\/\\w+",
  6638. 'var openCalled=false;|content="noindex"',
  6639. '_trackPageview',
  6640. 'optional--',
  6641. 'optional2--',
  6642. "//a[contains(@href,'anysend.com')]");
  6643. }
  6644. if (GM_getValue("Check_datafile_dot_com_links", false))
  6645. {
  6646. addFileHost(
  6647. "datafile\.com\/\\w+",
  6648. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6649. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6650. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6651. '; 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">
  6652. "//a[contains(@href,'datafile.com')]",
  6653. true);
  6654. }
  6655. if (GM_getValue("Check_upstore_dot_net_links", false))
  6656. {
  6657. addFileHost(
  6658. "upstore\.net\/\\w+",
  6659. 'name="free"',
  6660. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6661. 'optional--',
  6662. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6663. "//a[contains(@href,'upstore.net')]");
  6664. }
  6665. if (GM_getValue("Check_upsto_dot_re_links", false))
  6666. {
  6667. addFileHost(
  6668. "upsto\.re\/\\w+",
  6669. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6670. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6671. 'optional--',
  6672. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6673. "//a[contains(@href,'upsto.re')]");
  6674. }
  6675. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6676. {
  6677. addFileHost(
  6678. "speedy\.sh\/\\w+",
  6679. 'bgcolor=#eeeeee|class="addthis',
  6680. 'File not found|downloadfilenamenotfound>',
  6681. 'optional--',
  6682. 'optional2--',
  6683. "//a[contains(@href,'speedy.sh')]");
  6684. }
  6685. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6686. {
  6687. addFileHost(
  6688. "kingfiles\.net\/\\w+",
  6689. 'method_free|images/loading_small.gif"',
  6690. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6691. 'optional--',
  6692. 'optional2--',
  6693. "//a[contains(@href,'kingfiles.net')]");
  6694. }
  6695. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6696. {
  6697. addFileHost(
  6698. "secureupload\\.eu\/\\w+",
  6699. 'Downloading',
  6700. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6701. 'optional--',
  6702. 'optional2--',
  6703. "//a[contains(@href,'secureupload.eu')]"
  6704. );
  6705. } */
  6706. if (GM_getValue("Check_ge_dot_tt_links", false))
  6707. {
  6708. addFileHost(
  6709. "ge\.tt\/\\w+",
  6710. 'downloads pic',
  6711. 'is NOT the same as',
  6712. 'optional--',
  6713. 'optional2--',
  6714. "//a[contains(@href,'ge.tt')]");
  6715. }
  6716. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6717. {
  6718. addFileHost(
  6719. "filefactory\\.com\/file\/\\w+",
  6720. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6721. '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">',
  6722. 'Server Maintenance|temporarily overloaded',
  6723. 'Premium Account Required',
  6724. "//a[contains(@href,'filefactory.com/file')]");
  6725. } */
  6726. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6727. {
  6728. addFileHost(
  6729. "filesflash\.net\/\\w+",
  6730. 'align:right">Filename:',
  6731. 'class="msg">',
  6732. 'optional--',
  6733. 'optional2--',
  6734. "//a[contains(@href,'filesflash.net')]");
  6735. }
  6736. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6737. {
  6738. addFileHost(
  6739. "rapidgator\\.net\/folder\/\\w+",
  6740. 'href="/folder/',
  6741. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6742. 'optional--',
  6743. 'optional2--',
  6744. "//a[contains(@href,'rapidgator.net/folder')]",
  6745. true
  6746. );
  6747. }
  6748. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6749. {
  6750. addFileHost(
  6751. "salefiles\.com\/\\w+",
  6752. 'name="method_free',
  6753. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'salefiles.com')]");
  6757. }
  6758. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6759. {
  6760. addFileHost(
  6761. "datoid\.cz\/\\w+",
  6762. 'btn-download|class="icon-download-large"',
  6763. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'datoid.cz')]");
  6767. }
  6768. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6769. {
  6770. addFileHost(
  6771. "stiahni\.si\/\\w+",
  6772. 'report_icon.png"|slow-download-button',
  6773. 'none.png|deleted|<h2>Error 500</h2>',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'stiahni.si')]");
  6777. }
  6778. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6779. {
  6780. addFileHost(
  6781. "cloudstor\.es\/\\w+",
  6782. '"btn_download"',
  6783. '404: Page Not Found',
  6784. 'optional--',
  6785. 'optional2--',
  6786. "//a[contains(@href,'cloudstor.es')]");
  6787. }
  6788. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6789. {
  6790. addFileHost(
  6791. "streamfile\.com\/\\w+",
  6792. 'class="btn',
  6793. 'class="green-btn',
  6794. 'optional--',
  6795. 'optional2--',
  6796. "//a[contains(@href,'streamfile.com')]");
  6797. }
  6798. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6799. {
  6800. addFileHost(
  6801. "eyesfile\.ca\/\\w+",
  6802. 'value="Get Link',
  6803. 'var rr =',
  6804. 'optional--',
  6805. 'optional2--',
  6806. "//a[contains(@href,'eyesfile.ca')]");
  6807. }
  6808. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6809. {
  6810. addFileHost(
  6811. "filemoney\.com\/\\w+",
  6812. 'og:title',
  6813. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6814. 'error-code">1010',
  6815. 'optional2--',
  6816. "//a[contains(@href,'filemoney.com')]");
  6817. }
  6818. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6819. {
  6820. addFileHost(
  6821. "uploadboy\.com\/\\w+",
  6822. 'width="740">|method_free',
  6823. 'var rr =|background:#ffffff|not be found|file was removed',
  6824. 'optional--',
  6825. 'optional2--',
  6826. "//a[contains(@href,'uploadboy.com')]");
  6827. }
  6828. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6829. {
  6830. addFileHost(
  6831. "uploadboy\.com\/\\w+",
  6832. 'width="740">|method_free',
  6833. 'var rr =|background:#ffffff|not be found|file was removed',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'uploadboy.me')]");
  6837. }
  6838. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6839. {
  6840. addFileHost(
  6841. "speedshare\.eu\/\\w+",
  6842. 'favicon.png|color:#3d87c0|cross.png"',
  6843. 'var rr =|File Not Found|style="background:#eee',
  6844. 'optional--',
  6845. 'optional2--',
  6846. "//a[contains(@href,'speedshare.eu')]");
  6847. }
  6848. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6849. {
  6850. addFileHost(
  6851. "unlimitzone\.com\/\\w+",
  6852. 'name="method_free',
  6853. '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',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'unlimitzone.com')]");
  6857. }
  6858. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6859. {
  6860. addFileHost(
  6861. "rioupload\.com\/\\w+",
  6862. 'sell.jpg',
  6863. 'var rr =',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'rioupload.com')]");
  6867. }
  6868. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6869. {
  6870. addFileHost(
  6871. "jumbofiles\.org\/\\w+",
  6872. 'H71C5.png|class="downloadtitle">',
  6873. 'var swfu|ViewSourceBIN.png',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'jumbofiles.org')]");
  6877. }
  6878. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6879. {
  6880. addFileHost(
  6881. "fshare\\.vn\/file\/\\w+",
  6882. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6883. 'không tồn tại|class="color_red m_t_50"',
  6884. 'optional--',
  6885. 'optional2--',
  6886. "//a[contains(@href,'fshare.vn/file')]",
  6887. true
  6888. );
  6889. }
  6890. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6891. {
  6892. addFileHost(
  6893. "spaceforfiles\.com\/\\w+",
  6894. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6895. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6896. 'optional--',
  6897. 'optional2--',
  6898. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6899. }
  6900. if (GM_getValue("Check_google_dot_com_links", false))
  6901. {
  6902. addFileHost(
  6903. "google\\.com\/file\/\\w+",
  6904. 'content="!">|color:#2d2d2d',
  6905. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6906. 'optional--',
  6907. 'optional2--',
  6908. "//a[contains(@href,'google.com/file')]",
  6909. true
  6910. );
  6911. }
  6912. if (GM_getValue("Check_google_dot_com_links", false))
  6913. {
  6914. addFileHost(
  6915. "docs.google.com\/\\w+",
  6916. 'content="!">|color:#2d2d2d',
  6917. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6918. 'optional--',
  6919. 'optional2--',
  6920. "//a[contains(@href,'docs.google.com')]",
  6921. true
  6922. );
  6923. }
  6924. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6925. {
  6926. addFileHost(
  6927. "drive.google.com\/\\w+",
  6928. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6929. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6930. 'optional--',
  6931. 'optional2--',
  6932. "//a[contains(@href,'drive.google.com')]",
  6933. true
  6934. );
  6935. }
  6936. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6937. {
  6938. addFileHost(
  6939. "up.media1fire\.com\/\\w+",
  6940. 'class="addthis_|value="download',
  6941. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6942. 'optional--',
  6943. 'optional2--',
  6944. "//a[contains(@href,'up.media1fire.com')]");
  6945. }
  6946. if (GM_getValue("Check_depfile_dot_com_links", false))
  6947. {
  6948. addFileHost(
  6949. "depfile\.com\/\\w+",
  6950. 'logo_0.png|downloads.gif"|verifycode',
  6951. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6952. 'optional--',
  6953. 'available only for Premium users',
  6954. "//a[contains(@href,'depfile.com')]");
  6955. }
  6956. if (GM_getValue("Check_go4up_dot_com_links", false))
  6957. {
  6958. addFileHost(
  6959. "go4up\.com\/\\w+",
  6960. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6961. '<title>GO4UP|dmca',
  6962. 'optional--',
  6963. 'optional2--',
  6964. "//a[contains(@href,'go4up.com')]");
  6965. }
  6966. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6967. {
  6968. addFileHost(
  6969. "redbunker\.net\/\\w+",
  6970. 'name="method_free"',
  6971. 'color="red">Unknow / Bilinmiyor<',
  6972. 'optional--',
  6973. '2.3 GB',
  6974. "//a[contains(@href,'redbunker.net')]");
  6975. }
  6976. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6977. {
  6978. addFileHost(
  6979. "divxpress\.com\/\\w+",
  6980. 'btn_download|logo.png"',
  6981. 'AVOID_IE_BUG|var rr =',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'divxpress.com')]");
  6985. }
  6986. if (GM_getValue("Check_anafile_dot_com_links", false))
  6987. {
  6988. addFileHost(
  6989. "anafile\.com\/\\w+",
  6990. 'width="881" valign="top|color="#800080"|name="go"',
  6991. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'anafile.com')]");
  6995. }
  6996. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6997. {
  6998. addFileHost(
  6999. "uploadable\\.ch\/file\/\\w+",
  7000. 'captcha.js"|payment.js"|class="btn_download"',
  7001. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7002. 'optional--',
  7003. 'optional2--',
  7004. "//a[contains(@href,'uploadable.ch/file')]",
  7005. true
  7006. );
  7007. }
  7008. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7009. {
  7010. addFileHost(
  7011. "bigfile\\.to\/file\/\\w+",
  7012. 'captcha.js"|payment.js"|class="btn_download"',
  7013. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7014. 'optional--',
  7015. 'optional2--',
  7016. "//a[contains(@href,'bigfile.to/file')]",
  7017. true
  7018. );
  7019. }
  7020. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7021. {
  7022. addFileHost(
  7023. "arabloads\.net\/\\w+",
  7024. 'name="method_free"|name="method_premium"',
  7025. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'arabloads.net')]");
  7029. }
  7030. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7031. {
  7032. addFileHost(
  7033. "sharerepo\.com\/\\w+",
  7034. 'name="method_free"',
  7035. 'var public_on=|The file you were looking for could not be found',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'sharerepo.com')]");
  7039. }
  7040. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7041. {
  7042. addFileHost(
  7043. "sfshare\.se\/\\w+",
  7044. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7045. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'sfshare.se')]");
  7049. }
  7050. if (GM_getValue("Check_files_dot_fm_links", false))
  7051. {
  7052. addFileHost(
  7053. "files\.fm\/\\w+",
  7054. 'dl.png"|background-color: transparent',
  7055. 'margin: 40px 40px|background: none;',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'files.fm')]");
  7059. }
  7060. if (GM_getValue("Check_koofile_dot_com_links", false))
  7061. {
  7062. addFileHost(
  7063. "koofile\.com\/\\w+",
  7064. 'value="download1">|name="method_free"',
  7065. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'koofile.com')]");
  7069. }
  7070. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7071. {
  7072. addFileHost(
  7073. "vidxden\\.com\/\\w+",
  7074. 'Continue to Video"',
  7075. 'No such file',
  7076. 'optional--',
  7077. 'optional2--',
  7078. "//a[contains(@href,'vidxden.com')]"
  7079. );
  7080. }*/
  7081. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7082. {
  7083. addFileHost(
  7084. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7085. 'Details zur Datei|Details page',
  7086. 'Jetzt hochladen|upload now',
  7087. 'optional--',
  7088. 'optional2--',
  7089. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7090. );
  7091. }
  7092. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7093. {
  7094. addFileHost(
  7095. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7096. 'downloadbtn"',
  7097. 'DL_FileNotFound',
  7098. 'optional--',
  7099. 'optional2--',
  7100. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7101. );
  7102. }
  7103. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7104. {
  7105. addFileHost(
  7106. "fileflyer\.com\/view\/\\w+",
  7107. '(?:dwl|locked)btn"',
  7108. 'error.gif"|link">Removed|removedlink">',
  7109. 'optional--',
  7110. 'optional2--',
  7111. "//a[contains(@href,'fileflyer.com')]"
  7112. );
  7113. }
  7114. if (GM_getValue("Check_filestore_dot_to_links", false))
  7115. {
  7116. addFileHost(
  7117. "filestore\.to\/\\?d=\\w+",
  7118. '"downloading"',
  7119. 'Datei wurde nicht gefunden',
  7120. 'optional--',
  7121. 'optional2--',
  7122. "//a[contains(@href,'filestore.to')]"
  7123. );
  7124. }
  7125. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7126. {
  7127. addFileHost(
  7128. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7129. 'fz24">Download|class="pl15">',
  7130. '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',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7134. );
  7135. }
  7136. if (GM_getValue("Check_datei_dot_to_links", false))
  7137. {
  7138. addFileHost(
  7139. "datei\\.to\/\\??\\w+",
  7140. 'icon_downloaden\\.png|>Download starten<',
  7141. 'Datei wurde nicht gefunden|icon_deleted.png',
  7142. 'optional--',
  7143. 'optional2--',
  7144. "//a[contains(@href,'datei.to')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7148. {
  7149. addFileHost(
  7150. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7151. '<body class="body" id="body">|value="Slow Download"',
  7152. '<body class="body" >',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7156. );
  7157. }
  7158. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7159. {
  7160. addFileHost(
  7161. "unibytes\\.com\/[\\w\.]+",
  7162. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7163. 'File not found|Файл не найден|',
  7164. 'optional--',
  7165. 'optional2--',
  7166. "//a[contains(@href,'unibytes.com')]"
  7167. );
  7168. }
  7169. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7170. {
  7171. addFileHost(
  7172. "www\\.hellshare\\.com\/\\d+",
  7173. 'tab\\-details"',
  7174. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7175. 'optional--',
  7176. 'optional2--',
  7177. "//a[contains(@href,'www.hellshare.com')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7181. {
  7182. addFileHost(
  7183. "www\\.download.cz.hellshare\\.com\/\\w+",
  7184. 'tab\\-details"',
  7185. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7186. 'optional--',
  7187. 'optional2--',
  7188. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7192. {
  7193. addFileHost(
  7194. "filefactory\\.com",
  7195. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7196. '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',
  7197. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7198. 'Premium Account Required',
  7199. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7200. );
  7201. }
  7202. if (GM_getValue("Check_load_dot_to_links", false))
  7203. {
  7204. addFileHost(
  7205. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7206. '"download_table_left">Size',
  7207. 'Can\'t find file',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7211. );
  7212. }
  7213. if (GM_getValue("Check_divshare_dot_com_links", false))
  7214. {
  7215. addFileHost(
  7216. "divshare\\.com\/download\/",
  7217. 'download_new\.png',
  7218. 'have been removed',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'divshare.com')]"
  7222. );
  7223. }
  7224. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7225. {
  7226. addFileHost(
  7227. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7228. 'download=true"',
  7229. '<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>',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'euroshare.eu/file')]"
  7233. );
  7234. }
  7235. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7236. {
  7237. addFileHost(
  7238. 'files\\.mail\\.ru/(?:\\w*)',
  7239. 'fileList',
  7240. 'errorMessage',
  7241. 'optional--',
  7242. 'optional2--',
  7243. "//a[contains(@href,'files.mail.ru')]"
  7244. );
  7245. }
  7246. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7247. {
  7248. addFileHost(
  7249. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7250. 'Filesize',
  7251. 'Invalid|deleted|Could not download file',
  7252. 'slots|scheduled maintenance',
  7253. 'optional2--',
  7254. "//a[contains(@href,'megashares.com/')]"
  7255. );
  7256. } */
  7257. if (GM_getValue("Check_narod_dot_ru_links", false))
  7258. {
  7259. addFileHost(
  7260. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7261. 'b-submit|action="resource.download"',
  7262. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7263. 'Внутренняя ошибка сервиса',
  7264. 'optional2--',
  7265. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7269. {
  7270. addFileHost(
  7271. "rayfile\\.com\/",
  7272. 'FILEtitleTXT',
  7273. 'blueRow',
  7274. 'optional--',
  7275. 'optional2--',
  7276. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7280. {
  7281. addFileHost(
  7282. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7283. 'button_green_body"',
  7284. 'error">',
  7285. 'optional--',
  7286. 'optional2--',
  7287. "//a[contains(@href,'filesmonster.com/download')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7291. {
  7292. addFileHost(
  7293. 'usaupload\\.net\/d\/(?:\w*)',
  7294. '<strong>File size:</strong>',
  7295. 'is not available',
  7296. 'optional--',
  7297. 'optional2--',
  7298. "//a[contains(@href,'usaupload.net/d/')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7302. {
  7303. addFileHost(
  7304. 'sendspace\\.com\/file\/\\w+',
  7305. 'file_description',
  7306. 'msg error"',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'sendspace.com/file')]"
  7310. );
  7311. }
  7312. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7313. {
  7314. addFileHost(
  7315. 'sendspace\\.pl\/file\/\\w+',
  7316. 'download_file"',
  7317. 'Podany plik nie',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'sendspace.pl/file')]"
  7321. );
  7322. }
  7323. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7324. {
  7325. addFileHost(
  7326. 'uploading\\.com\/(?:files\/)?\\w+',
  7327. 'free_method">',
  7328. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'uploading.com')]"
  7332. );
  7333. } */
  7334. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7335. {
  7336. addFileHost(
  7337. "gigasize\.com\/\\w+",
  7338. 'fileId"|class="estimate">',
  7339. 'error">',
  7340. 'optional--',
  7341. 'optional2--',
  7342. "//a[contains(@href,'gigasize.com/get')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_good_dot_com_links", false))
  7346. {
  7347. addFileHost(
  7348. 'good\\.net\/(?:_|dl)',
  7349. 'Free Download',
  7350. 'Not Found',
  7351. 'Forbidden',
  7352. 'optional2--',
  7353. "//a[contains(@href,'good.net')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_2shared_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7360. 'File size',
  7361. 'File not found|is not valid|/images/important.gif',
  7362. 'optional--',
  7363. 'optional2--',
  7364. // "//a[contains(@href,'2shared.com')]"
  7365. "//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/')]"
  7366. );
  7367. }
  7368. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7369. {
  7370. addFileHost(
  7371. 'turboupload\\.com\/\\w*',
  7372. 'You have requested',
  7373. 'File Not Found',
  7374. 'optional--',
  7375. 'optional2--',
  7376. "//a[contains(@href,'turboupload.com')]"
  7377. );
  7378. }
  7379. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7380. {
  7381. addFileHost(
  7382. 'gigapeta\\.com\/dl\/',
  7383. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7384. '404|page_error',
  7385. 'optional--',
  7386. 'optional2--',
  7387. "//a[contains(@href,'gigapeta.com/dl')]"
  7388. );
  7389. }
  7390. if (GM_getValue("Check_veehd_dot_com_links", false))
  7391. {
  7392. addFileHost(
  7393. 'veehd\.com\/video\/.*?',
  7394. 'No sound|Download video',
  7395. 'Featured Videos',
  7396. 'optional--',
  7397. 'optional2--',
  7398. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7399. );
  7400. }
  7401. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7402. {
  7403. addFileHost(
  7404. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7405. 'fast_download_form">|submit_sms_download',
  7406. '<p style="text-align:center">',
  7407. 'optional--',
  7408. 'optional2--',
  7409. "//a[contains(@href,'vip-file.com/download')]"
  7410. );
  7411. }
  7412. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7413. {
  7414. addFileHost(
  7415. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7416. 'download\\-pnl ',
  7417. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7418. 'optional--',
  7419. 'optional2--',
  7420. "//a[contains(@href,'letitbit.net/download')]"
  7421. );
  7422. }*/
  7423. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7424. {
  7425. addFileHost(
  7426. 'ifolder\.ru\/\\d+',
  7427. 'file-info',
  7428. 'ui-state-error',
  7429. 'optional--',
  7430. 'optional2--',
  7431. "//a[contains(@href,'ifolder.ru')]"
  7432. );
  7433. }
  7434. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7435. {
  7436. addFileHost(
  7437. 'fileswap\\.com\/dl\/\\w+',
  7438. 'bttnDownloadLink"',
  7439. 'rounded_block_error"',
  7440. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7441. 'optional2--',
  7442. "//a[contains(@href,'fileswap.com/dl')]"
  7443. );
  7444. }*/
  7445. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7446. {
  7447. addFileHost(
  7448. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7449. 'var __error = 0|id="recaptchaPanel">',
  7450. 'FILES__DOESNT_EXIST|removed or did not exist',
  7451. 'optional--',
  7452. 'optional2--',
  7453. "//a[contains(@href,'filecloud.io/')]"
  7454. );
  7455. addFileHost(
  7456. 'ifile\\.it\/\\w+',
  7457. 'var __error = 0',
  7458. 'FILES__DOESNT_EXIST',
  7459. 'optional--',
  7460. 'optional2--',
  7461. "//a[contains(@href,'ifile.it/')]"
  7462. );
  7463. }
  7464. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7465. {
  7466. addFileHost(
  7467. 'solidfiles\\.com\/\\w+',
  7468. 'id="download"|content="Download',
  7469. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7470. 'optional--',
  7471. 'optional2--',
  7472. "//a[contains(@href,'solidfiles.com/')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7476. {
  7477. addFileHost(
  7478. "(?:.\\.|)shareflare\\.net",
  7479. 'download-pnl|<div class="premium-block">',
  7480. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7481. 'optional--',
  7482. 'optional2--',
  7483. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7484. );
  7485. }
  7486. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7487. {
  7488. addFileHost(
  7489. "u18116681.shareflare\\.net",
  7490. 'download-pnl|<div class="premium-block">',
  7491. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7492. 'optional--',
  7493. 'optional2--',
  7494. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7495. );
  7496. }
  7497. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7498. {
  7499. addFileHost(
  7500. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7501. 'file\\-list-orderby|section-filedetail">',
  7502. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7503. 'optional--',
  7504. 'optional2--',
  7505. "//a[contains(@href,'hellspy.')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7509. {
  7510. addFileHost(
  7511. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7512. '<body onload="">',
  7513. 'neexistuje|not exist',
  7514. 'optional--',
  7515. 'optional2--',
  7516. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7520. {
  7521. addFileHost(
  7522. "stahovanizasms\\.cz\/\\w+",
  7523. 'download\\.png>|font-size:11px><tr>',
  7524. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'stahovanizasms.cz')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7531. {
  7532. addFileHost(
  7533. "share-links\\.biz\/\\w*",
  7534. 'online\\.gif',
  7535. '(?:offline|parts)\\.gif',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'share-links.biz')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_4shared_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. "4shared\\.com\/.+\/",
  7545. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7546. 'class="warn\"|big red"|GetDataBack',
  7547. 'Service Unavailable',
  7548. 'optional2--',
  7549. "//a[contains(@href,'4shared.com')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7553. {
  7554. addFileHost(
  7555. "(?:www\\d+\.|)zippyshare\.com\/",
  7556. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7557. 'not exist|Status 404',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7564. {
  7565. addFileHost(
  7566. "mediafire\.com\/",
  7567. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7568. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7569. 'set to private',
  7570. 'optional2--',
  7571. "//a[contains(@href,'mediafire.com')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7575. {
  7576. addFileHost(
  7577. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7578. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7579. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7580. 'optional--',
  7581. 'GB</small>',
  7582. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7586. {
  7587. addFileHost(
  7588. "ulozisko\.sk\/",
  7589. 'Detaily',
  7590. 'neexistuje',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'ulozisko.sk')]"
  7594. );
  7595. }
  7596. if (GM_getValue("Check_box_dot_com_links", false))
  7597. {
  7598. addFileHost(
  7599. "box\.com\/\\w+",
  7600. 'download-file-btn|id="download_button|preview-download',
  7601. 'BIyMin.png| <div class="error_message|link has been removed',
  7602. 'optional--',
  7603. 'optional2--',
  7604. "//a[contains(@href,'app.box.com')]");
  7605. }
  7606. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7607. {
  7608. addFileHost(
  7609. "uptobox\\.com\/\\w+",
  7610. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7611. '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|لا يوجد أي ملف',
  7612. 'Maintenance',
  7613. 'optional2--',
  7614. "//a[contains(@href,'uptobox.com')]",
  7615. true
  7616. );
  7617. }
  7618. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7619. {
  7620. addFileHost(
  7621. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7622. 'FILE DOWNLOAD<',
  7623. 'File Does Not Exist',
  7624. 'optional--',
  7625. 'optional2--',
  7626. "//a[contains(@href,'sharecash.org/download.php')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7630. {
  7631. addFileHost(
  7632. "1fichier\\.com\/dir\/\\w+",
  7633. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7634. 'Shared Folder Not Found',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'1fichier.com/dir')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7641. {
  7642. addFileHost(
  7643. "depositfiles\\.com\/folders\/\\w+",
  7644. '<div class="progressContainer">',
  7645. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7646. 'optional--',
  7647. 'optional2--',
  7648. "//a[contains(@href,'depositfiles.com/folders')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7652. {
  7653. addFileHost(
  7654. "rapidfileshare\\.net/\\w+",
  7655. '<div id="upload-header-bg">',
  7656. '<div style="width:500px;text-align:left;">',
  7657. 'optional--',
  7658. 'optional2--',
  7659. "//a[contains(@href,'rapidfileshare.net/')]"
  7660. );
  7661. }
  7662. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7663. {
  7664. addFileHost(
  7665. "stiahnito\\.sk/",
  7666. '<span class="filesize right">',
  7667. '<ol class="list-purp-2">',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'stiahnito.sk/')]"
  7671. );
  7672. }
  7673. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7674. {
  7675. addFileHost(
  7676. "rusfolder\\.(?:com|net)",
  7677. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7678. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7679. 'optional--',
  7680. 'optional2--',
  7681. "//a[contains(@href,'rusfolder')]"
  7682. );
  7683. }
  7684. if (GM_getValue("Check_catshare_dot_net_links", false))
  7685. {
  7686. addFileHost(
  7687. "catshare\\.net/\\w+",
  7688. '"icon-share|"col-xs-12',
  7689. 'alert alert-error',
  7690. 'optional--',
  7691. 'optional2--',
  7692. "//a[contains(@href,'catshare.net/')]"
  7693. );
  7694. }
  7695. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7696. {
  7697. addFileHost(
  7698. "anonfiles\\.com/\\w+",
  7699. '"download_button"',
  7700. '<legend><b>404</b>',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'anonfiles.com')]"
  7704. );
  7705. }*/
  7706. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7707. {
  7708. addFileHost(
  7709. "mixturecloud\\.com/media/\\w+",
  7710. '"btn icon i_globe gray share_150',
  7711. '"s_cross_close"></span> 404:',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'mixturecloud.com/media/')]"
  7715. );
  7716. }
  7717. if (GM_getValue("Check_akafile_dot_com_links", false))
  7718. {
  7719. addFileHost(
  7720. "akafile\\.com\/\\w+",
  7721. 'download1',
  7722. 'File Not Found',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'akafile.com/')]"
  7726. );
  7727. }
  7728. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7729. {
  7730. addFileHost(
  7731. "creafile\\.net\/\\w+",
  7732. 'downloadblock',
  7733. 'errtitle',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'creafile.net/')]"
  7737. );
  7738. }*/
  7739. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7740. {
  7741. addFileHost(
  7742. "hugefiles\\.net\/\\w+",
  7743. 'download1|class="btn-create-download" value="Create Download Link">',
  7744. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'hugefiles.net/')]"
  7748. );
  7749. }*/
  7750. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7751. {
  7752. addFileHost(
  7753. "sendmyway\\.com\/\\w+",
  7754. 'id="btn_download"',
  7755. '500px;text-align:left;"|<center><h3>',
  7756. 'optional--',
  7757. 'optional2--',
  7758. "//a[contains(@href,'sendmyway.com/')]"
  7759. );
  7760. }
  7761. if (GM_getValue("Check_upload_dot_ee_links", false))
  7762. {
  7763. addFileHost(
  7764. "upload\\.ee\/\\w+",
  7765. 'onmouseout="document.dllink.src',
  7766. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'upload.ee/')]"
  7770. );
  7771. }
  7772. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7773. {
  7774. addFileHost(
  7775. "shareplace\\.org\/\\?\\w+",
  7776. 'Download-Link',
  7777. 'Your requested file is not found|Select file to send',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'shareplace.org/?')]"
  7781. );
  7782. }
  7783. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7784. {
  7785. addFileHost(
  7786. "uploadc\\.com\/\\w+",
  7787. 'id="prebut"',
  7788. 'File Not Found|This file has been removed due',
  7789. 'optional--',
  7790. 'optional2--',
  7791. "//a[contains(@href,'uploadc.com/')]"
  7792. );
  7793. }
  7794. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7795. {
  7796. addFileHost(
  7797. "uploadc\\.ch\/\\w+",
  7798. 'id="prebut"',
  7799. 'File Not Found|This file has been removed due',
  7800. 'optional--',
  7801. 'optional2--',
  7802. "//a[contains(@href,'uploadc.ch/')]"
  7803. );
  7804. }
  7805. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7806. {
  7807. addFileHost(
  7808. "remixshare\\.com\/\\w+",
  7809. 'id="dl2"',
  7810. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7811. 'optional--',
  7812. 'optional2--',
  7813. "//a[contains(@href,'remixshare.com/')]"
  7814. );
  7815. }*/
  7816. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7817. {
  7818. addFileHost(
  7819. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7820. 'Last Download :',
  7821. 'img src="\\/404.jpg"',
  7822. 'optional--',
  7823. 'optional2--',
  7824. "//a[contains(@href,'exoshare.com/download.php')]"
  7825. );
  7826. }
  7827. if (GM_getValue("Check_borncash_dot_org_links", false))
  7828. {
  7829. addFileHost(
  7830. "borncash\\.org\/download\/\\?a=\\w+",
  7831. 'class="knop_1"',
  7832. '\/error\/er00',
  7833. 'optional--',
  7834. 'optional2--',
  7835. "//a[contains(@href,'borncash.org/download/')]"
  7836. );
  7837. }
  7838. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7839. {
  7840. addFileHost(
  7841. "vidplay\.net\/\\w+",
  7842. 'solvemedia puzzle widget',
  7843. 'File not found|AVOID_IE_BUG',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'vidplay.net')]");
  7847. }*/
  7848. if (GM_getValue("Check_filedais_dot_com_links", false))
  7849. {
  7850. addFileHost(
  7851. "filedais\.com\/\\w+",
  7852. 'class="btn btn-info"|name="method_free"',
  7853. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7854. 'optional--',
  7855. 'optional2--',
  7856. "//a[contains(@href,'filedais.com')]");
  7857. }
  7858. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7859. {
  7860. addFileHost(
  7861. "up.4share\.vn\/\\w+",
  7862. '<font size="2" face="Verdana">',
  7863. 'font: 13px Tahoma; color: Brown',
  7864. 'optional--',
  7865. 'optional2--',
  7866. "//a[contains(@href,'up.4share.vn')]");
  7867. }
  7868. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7869. {
  7870. addFileHost(
  7871. "share.vnn\.vn\/\\w+",
  7872. '"index,follow"|<div class="main" id="download-box">',
  7873. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7874. 'optional--',
  7875. 'optional2--',
  7876. "//a[contains(@href,'share.vnn.vn')]");
  7877. }
  7878. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7879. {
  7880. addFileHost(
  7881. "upfile\.vn\/\\w+",
  7882. 'download-timer',
  7883. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7884. 'optional--',
  7885. 'optional2--',
  7886. "//a[contains(@href,'upfile.vn')]");
  7887. }
  7888. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7889. {
  7890. addFileHost(
  7891. "aisfile\.com\/\\w+",
  7892. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7893. '<div style="width:500px;text-align:left;">|File Not Found',
  7894. 'optional--',
  7895. 'optional2--',
  7896. "//a[contains(@href,'aisfile.com')]");
  7897. }
  7898. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7899. {
  7900. addFileHost(
  7901. "usersfiles\.com\/\\w+",
  7902. 'class="btn btn-success|id="btn_download" class="btn"',
  7903. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7904. 'optional--',
  7905. 'optional2--',
  7906. "//a[contains(@href,'usersfiles.com')]");
  7907. }
  7908. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7909. {
  7910. addFileHost(
  7911. "pan.baidu\.com\/\\w+",
  7912. 'target="_blank" title=|share-personal-info',
  7913. 'share_notfound.png|background:#f9f9f9',
  7914. 'optional--',
  7915. 'optional2--',
  7916. "//a[contains(@href,'pan.baidu.com')]");
  7917. }
  7918. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7919. {
  7920. addFileHost(
  7921. "yunpan\.cn\/\\w+",
  7922. 'class="icon icon-download',
  7923. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7924. 'optional--',
  7925. 'optional2--',
  7926. "//a[contains(@href,'yunpan.cn')]");
  7927. }
  7928. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7929. {
  7930. addFileHost(
  7931. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7932. 'getElementById("downbild")|style.display',
  7933. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7934. 'optional--',
  7935. 'optional2--',
  7936. "//a[contains(@href,'file-upload.net')]");
  7937. }
  7938. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7939. {
  7940. addFileHost(
  7941. "file\\-upload\\.com\/",
  7942. 'name="method_free"',
  7943. 'File Not Found|exclamation-triangle',
  7944. 'optional--',
  7945. 'optional2--',
  7946. "//a[contains(@href,'file-upload.com')]");
  7947. }
  7948. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7949. {
  7950. addFileHost(
  7951. "gulfup\.com\/",
  7952. '<!-- Downlod template -->|download.gif',
  7953. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7954. 'optional--',
  7955. 'optional2--',
  7956. "//a[contains(@href,'gulfup.com')]");
  7957. }*/
  7958. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7959. {
  7960. addFileHost(
  7961. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7962. 'dldtable">',
  7963. 'does not exist\\.',
  7964. 'optional--',
  7965. 'optional2--',
  7966. "//a[contains(@href,'datafilehost.com')]");
  7967. }
  7968. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7969. {
  7970. addFileHost(
  7971. "dropbox\.com\/s\/\\w+",
  7972. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7973. '>Nothing Here<|>Error (404)<',
  7974. 'title>Dropbox - 509|Error (403)|Error: 429',
  7975. 'optional2--',
  7976. "//a[contains(@href,'dropbox.com')]");
  7977. }
  7978. if (GM_getValue("Check_box_dot_net_links", false))
  7979. {
  7980. addFileHost(
  7981. "box\.net\/\\w+",
  7982. 'download-file-btn|id="download_button',
  7983. 'BIyMin.png| <div class="error_message',
  7984. 'optional--',
  7985. 'optional2--',
  7986. "//a[contains(@href,'box.net')]");
  7987. }
  7988. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7989. {
  7990. addFileHost(
  7991. "filedropper\.com\/\\w+",
  7992. 'background:#ddd;|width:985px; ',
  7993. 'background-color:#FFFFFF;|margin-left: -400px;',
  7994. 'optional--',
  7995. 'optional2--',
  7996. "//a[contains(@href,'filedropper.com')]");
  7997. }
  7998. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7999. {
  8000. addFileHost(
  8001. "tropicshare\\.com\/files\/\\d+",
  8002. 'MB</span>|GB</span>|KB</span>',
  8003. '>FNF<|size: </span>',
  8004. 'optional--',
  8005. 'optional2--',
  8006. "//a[contains(@href,'tropicshare.com')]");
  8007. }
  8008. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8009. {
  8010. addFileHost(
  8011. "worldbytez\.com",
  8012. '<div class="download_type">|method_free',
  8013. '<div style="width:500px;text-align:left;">',
  8014. 'optional--',
  8015. 'optional2--',
  8016. "//a[contains(@href,'worldbytez.com')]",
  8017. true);
  8018. }
  8019. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8020. {
  8021. addFileHost(
  8022. "freefilehosting\.net\/\\w+",
  8023. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8024. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8025. 'optional--',
  8026. 'optional2--',
  8027. "//a[contains(@href,'freefilehosting.net')]");
  8028. }
  8029. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8030. {
  8031. addFileHost(
  8032. "ziddu\.com\/\\w+",
  8033. 'downloads.ziddu.com|downloadfilelinkicon',
  8034. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'ziddu.com')]");
  8038. }
  8039. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8040. {
  8041. addFileHost(
  8042. "exclusiveloader\.com\/\\w+",
  8043. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8044. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8045. 'optional--',
  8046. 'optional2--',
  8047. "//a[contains(@href,'exclusiveloader.com')]");
  8048. }
  8049. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8050. {
  8051. addFileHost(
  8052. "sharerapid\.cz\/\\w+",
  8053. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8054. 'error_div">|404 - Not Found',
  8055. 'optional--',
  8056. 'optional2--',
  8057. "//a[contains(@href,'sharerapid.cz')]");
  8058. }
  8059. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8060. {
  8061. addFileHost(
  8062. "sdilej\.cz\/\\w+",
  8063. 'class="page-download"',
  8064. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'sdilej.cz')]");
  8068. }
  8069. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8070. {
  8071. addFileHost(
  8072. "lafiles\.com\/\\w+",
  8073. '<div id="pay_modes">',
  8074. '<b class="err"></b>',
  8075. 'optional--',
  8076. 'optional2--',
  8077. "//a[contains(@href,'lafiles.com')]");
  8078. }
  8079. if (GM_getValue("Check_acefile_dot_net_links", false))
  8080. {
  8081. addFileHost(
  8082. "acefile\.net\/\\w+",
  8083. 'align=right nowrap><b>',
  8084. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8085. 'optional--',
  8086. 'optional2--',
  8087. "//a[contains(@href,'acefile.net')]");
  8088. }
  8089. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8090. {
  8091. addFileHost(
  8092. "megarapid\.cz\/\\w+",
  8093. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8094. 'error_div">|404 - Not Found',
  8095. 'optional--',
  8096. 'optional2--',
  8097. "//a[contains(@href,'megarapid.cz')]");
  8098. }
  8099. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8100. {
  8101. addFileHost(
  8102. "yadi\.sk\/\\w+",
  8103. 'nb-button _nb-small-button',
  8104. 'error code|Nothing found',
  8105. 'optional--',
  8106. 'optional2--',
  8107. "//a[contains(@href,'yadi.sk')]");
  8108. }
  8109. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8110. {
  8111. addFileHost(
  8112. "hitfile\.net\/\\w+",
  8113. 'class="download-file',
  8114. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8115. 'optional--',
  8116. 'optional2--',
  8117. "//a[contains(@href,'hitfile.net')]");
  8118. }
  8119. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8120. {
  8121. addFileHost(
  8122. "up.top4top\.net\/\\w+",
  8123. 'start Downlod template',
  8124. 'start err template',
  8125. 'optional--',
  8126. 'optional2--',
  8127. "//a[contains(@href,'up.top4top.net')]");
  8128. }
  8129. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8130. {
  8131. addFileHost(
  8132. "filejoker\.net",
  8133. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8134. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8135. 'optional--',
  8136. 'id="download" class="premium-only">',
  8137. "//a[contains(@href,'filejoker.net')]");
  8138. }
  8139. if (GM_getValue("Check_free_dot_fr_links", false))
  8140. {
  8141. addFileHost(
  8142. "(?:dl.\\.|)free\\.fr",
  8143. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8144. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8145. 'optional--',
  8146. 'optional2--',
  8147. "//a[contains(@href,'dl.free.fr')]");
  8148. }
  8149. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8150. {
  8151. addFileHost(
  8152. "gboxes\.com\/\\w+",
  8153. 'You have requested|color="red">http://www.gboxes.com',
  8154. 'File Not Found|<div style="width:500px;text-align:left;">',
  8155. 'optional--',
  8156. 'optional2--',
  8157. "//a[contains(@href,'gboxes.com')]");
  8158. }
  8159. if (GM_getValue("Check_led_dot_wf_links", false))
  8160. {
  8161. addFileHost(
  8162. "led\.wf\/\\w+",
  8163. 'logo_0.png|downloads.gif"|verifycode',
  8164. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8165. 'optional--',
  8166. 'available only for Premium users',
  8167. "//a[contains(@href,'led.wf')]");
  8168. }
  8169. if (GM_getValue("Check_lan_dot_wf_links", false))
  8170. {
  8171. addFileHost(
  8172. "lan\.wf\/\\w+",
  8173. 'logo_0.png|downloads.gif"|verifycode',
  8174. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8175. 'optional--',
  8176. 'available only for Premium users',
  8177. "//a[contains(@href,'lan.wf')]");
  8178. }
  8179. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8180. {
  8181. addFileHost(
  8182. "adlink\.wf\/\\w+",
  8183. 'logo_0.png|downloads.gif"|verifycode',
  8184. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8185. 'optional--',
  8186. 'available only for Premium users',
  8187. "//a[contains(@href,'adlink.wf')]");
  8188. }
  8189. if (GM_getValue("Check_click_dot_tf_links", false))
  8190. {
  8191. addFileHost(
  8192. "click\.tf\/\\w+",
  8193. 'logo_0.png|downloads.gif"|verifycode',
  8194. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8195. 'optional--',
  8196. 'available only for Premium users',
  8197. "//a[contains(@href,'click.tf')]");
  8198. }
  8199. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8200. {
  8201. addFileHost(
  8202. "ssh\.tf\/\\w+",
  8203. 'logo_0.png|downloads.gif"|verifycode',
  8204. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8205. 'optional--',
  8206. 'available only for Premium users',
  8207. "//a[contains(@href,'ssh.tf')]");
  8208. }
  8209. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8210. {
  8211. addFileHost(
  8212. "ssh\.yt\/\\w+",
  8213. 'logo_0.png|downloads.gif"|verifycode',
  8214. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8215. 'optional--',
  8216. 'available only for Premium users',
  8217. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8218. }
  8219. if (GM_getValue("Check_yep_dot_pm_links", false))
  8220. {
  8221. addFileHost(
  8222. "yep\.pm\/\\w+",
  8223. 'logo_0.png|downloads.gif"|verifycode',
  8224. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8225. 'optional--',
  8226. 'available only for Premium users',
  8227. "//a[contains(@href,'yep.pm')]");
  8228. }
  8229. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8230. {
  8231. addFileHost(
  8232. "kyc\.pm\/\\w+",
  8233. 'logo_0.png|downloads.gif"|verifycode',
  8234. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8235. 'optional--',
  8236. 'available only for Premium users',
  8237. "//a[contains(@href,'kyc.pm')]");
  8238. }
  8239. if (GM_getValue("Check_brupload_dot_net_links", false))
  8240. {
  8241. addFileHost(
  8242. "brupload\.net\/\\w+",
  8243. 'Download Gratuito',
  8244. '<div style="width:500px;text-align:left;">',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'brupload.net')]");
  8248. }
  8249. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8250. {
  8251. addFileHost(
  8252. "cloudzilla\.to\/\\w+",
  8253. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8254. 'File not found|/imgs/broken.png',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'cloudzilla.to')]");
  8258. } */
  8259. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8260. {
  8261. addFileHost(
  8262. "clicknupload\.com\/\\w+",
  8263. 'name="method_free',
  8264. 'File Not Found',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'clicknupload.com')]");
  8268. }
  8269. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8270. {
  8271. addFileHost(
  8272. "clicknupload\.me\/\\w+",
  8273. 'name="method_free',
  8274. 'File Not Found',
  8275. 'optional--',
  8276. 'optional2--',
  8277. "//a[contains(@href,'clicknupload.me')]");
  8278. }
  8279. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8280. {
  8281. addFileHost(
  8282. "clicknupload\.link\/\\w+",
  8283. 'name="method_free',
  8284. 'File Not Found',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'clicknupload.link')]");
  8288. }
  8289. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8290. {
  8291. addFileHost(
  8292. "ex-load\.com\/\\w+",
  8293. 'name="method_free|<p>Download File:</p>',
  8294. 'Folder Not Found|File Not Found|Error 404',
  8295. 'optional--',
  8296. 'class="downprem wow bounceInLeft',
  8297. "//a[contains(@href,'ex-load.com')]");
  8298. }
  8299. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8300. {
  8301. addFileHost(
  8302. "hexupload\.com\/\\w+",
  8303. 'button" value="Free|type="submit" value=""',
  8304. 'File Not Found|<div style="width:500px;text-align:left;">',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'hexupload.com')]");
  8308. }*/
  8309. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "wizupload\.com\/\\w+",
  8313. 'btn_download|class="downloadbtn"',
  8314. '>File Not Found<',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'wizupload.com')]");
  8318. }
  8319. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8320. {
  8321. addFileHost(
  8322. "inclouddrive\.com\/\\w+",
  8323. 'initfreedownload',
  8324. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'inclouddrive.com')]");
  8328. }
  8329. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8330. {
  8331. addFileHost(
  8332. "radicalshare\.com\/\\w+",
  8333. 'value="download1|name="method_free"',
  8334. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'radicalshare.com')]");
  8338. }*/
  8339. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8340. {
  8341. addFileHost(
  8342. "sharemods\.com\/\\w+",
  8343. 'name="method_free"',
  8344. 'File Not Found<',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'sharemods.com')]");
  8348. }
  8349. if (GM_getValue("Check_hostr_dot_co_links", false))
  8350. {
  8351. addFileHost(
  8352. "hostr\.co\/\\w+",
  8353. 'method="get"',
  8354. 'File not found<|error-page',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'hostr.co')]");
  8358. }
  8359. if (GM_getValue("Check_filepi_dot_com_links", false))
  8360. {
  8361. addFileHost(
  8362. "filepi\.com\/\\w+",
  8363. 'id="button_start">',
  8364. 'File not found',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'filepi.com')]");
  8368. }
  8369. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8370. {
  8371. addFileHost(
  8372. "tikfile\.com\/\\w+",
  8373. 'btn_download',
  8374. 'File Not Found|file was removed|Reason for deletion',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'tikfile.com')]");
  8378. }
  8379. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8380. {
  8381. addFileHost(
  8382. "cloudsix\.me\/\\w+",
  8383. 'name="method_free"',
  8384. 'File Not Found|width:500px;text-align:left;">',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'cloudsix.me')]");
  8388. }
  8389. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8390. {
  8391. addFileHost(
  8392. "neodrive\.co\/\\w+",
  8393. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8394. 'File not found|/imgs/broken.png',
  8395. 'optional--',
  8396. 'optional2--',
  8397. "//a[contains(@href,'neodrive.co')]");
  8398. } */
  8399. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8400. {
  8401. addFileHost(
  8402. "chayfile\.com\/\\w+",
  8403. 'name="method_free"',
  8404. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'chayfile.com')]");
  8408. }
  8409. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8410. {
  8411. addFileHost(
  8412. "xfileload\.com\/\\w+",
  8413. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8414. '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..|הקובץ שחיפשת לא נמצא.',
  8415. 'optional--',
  8416. 'optional2--',
  8417. "//a[contains(@href,'xfileload.com')]");
  8418. }*/
  8419. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8420. {
  8421. addFileHost(
  8422. "rockfile\.eu\/\\w+",
  8423. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8424. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8425. 'optional--',
  8426. 'optional2--',
  8427. "//a[contains(@href,'rockfile.eu')]",
  8428. true);
  8429. }
  8430. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8431. {
  8432. addFileHost(
  8433. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8434. 'i/icon/dll.png"|>Start download<br',
  8435. 'no longer available<|i/ino.png"',
  8436. 'optional--',
  8437. 'optional2--',
  8438. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8439. }
  8440. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8441. {
  8442. addFileHost(
  8443. "ozofiles\.com\/\\w+",
  8444. 'button" value="Free|name="method_free',
  8445. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8446. 'optional--',
  8447. 'optional2--',
  8448. "//a[contains(@href,'ozofiles.com')]");
  8449. }
  8450. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8451. {
  8452. addFileHost(
  8453. "userscloud\.com\/\\w+",
  8454. 'btn_download|class="label label-success">',
  8455. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8456. 'optional--',
  8457. 'optional2--',
  8458. "//a[contains(@href,'userscloud.com')]");
  8459. }
  8460. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8461. {
  8462. addFileHost(
  8463. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8464. 'class="button download',
  8465. 'internal server error',
  8466. 'optional--',
  8467. 'optional2--',
  8468. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8469. }
  8470. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8471. {
  8472. addFileHost(
  8473. "kb.simple-aja\.info\/\\w+",
  8474. 'class="button download',
  8475. 'internal server error|<p>404</p>',
  8476. 'optional--',
  8477. 'optional2--',
  8478. "//a[contains(@href,'kb.simple')]");
  8479. }
  8480. if (GM_getValue("Check_faststore_dot_org_links", false))
  8481. {
  8482. addFileHost(
  8483. "faststore\.org\/\\w+",
  8484. 'name="method_free',
  8485. 'File Not Found',
  8486. 'optional--',
  8487. 'optional2--',
  8488. "//a[contains(@href,'faststore.org')]");
  8489. }
  8490. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8491. {
  8492. addFileHost(
  8493. "prefiles\.com\/\\w+",
  8494. 'id="method_free',
  8495. 'File not Found',
  8496. 'optional--',
  8497. 'optional2--',
  8498. "//a[contains(@href,'prefiles.com')]");
  8499. }
  8500. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8501. {
  8502. addFileHost(
  8503. "doraupload\.com\/\\w+",
  8504. 'btn_download|name="method_free',
  8505. 'class="error-code|Could Not Be Found',
  8506. 'optional--',
  8507. 'optional2--',
  8508. "//a[contains(@href,'doraupload.com')]");
  8509. }
  8510. if (GM_getValue("Check_openload_dot_io_links", false))
  8511. {
  8512. addFileHost(
  8513. "openload\.io\/\\w+",
  8514. 'btn btn-primary|class="count">|secondsleftouter',
  8515. 'class="jumbotron">|We are sorry',
  8516. 'optional--',
  8517. 'optional2--',
  8518. "//a[contains(@href,'openload.io')]");
  8519. }
  8520. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8521. {
  8522. addFileHost(
  8523. "zxcfiles\.com\/\\w+",
  8524. 'class="downloadbtn',
  8525. 'File Not Found',
  8526. 'optional--',
  8527. 'optional2--',
  8528. "//a[contains(@href,'zxcfiles.com')]");
  8529. }
  8530. if (GM_getValue("Check_up07_dot_net_links", false))
  8531. {
  8532. addFileHost(
  8533. "up07\.net\/\\w+",
  8534. 'name="method_free',
  8535. 'File Not Found',
  8536. 'optional--',
  8537. 'optional2--',
  8538. "//a[contains(@href,'up07.net')]");
  8539. }
  8540. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8541. {
  8542. addFileHost(
  8543. "fileupload\.pw\/\\w+",
  8544. 'value="Free"',
  8545. 'File Not Found',
  8546. 'optional--',
  8547. 'optional2--',
  8548. "//a[contains(@href,'fileupload.pw')]");
  8549. }
  8550. if (GM_getValue("Check_4upld_dot_com_links", false))
  8551. {
  8552. addFileHost(
  8553. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8554. 'alt="Download Now"|content="Download file">|btn-free-element',
  8555. '<title>Error|content="error|File not found',
  8556. 'optional--',
  8557. 'optional2--',
  8558. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8559. }
  8560. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8561. {
  8562. addFileHost(
  8563. "(?:.swoopshare)\\.com\/\\w+",
  8564. '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',
  8565. '<input type="file" name="f"',
  8566. 'optional--',
  8567. 'optional2--',
  8568. "//a[contains(@href,'swoopshare.com')]"
  8569. );
  8570. }
  8571. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8572. {
  8573. addFileHost(
  8574. "cloudshares\.net\/\\w+",
  8575. '"method_free|"Low Speed Download|submit" name="go',
  8576. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'cloudshares.net')]"
  8580. );
  8581. }
  8582. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8583. {
  8584. addFileHost(
  8585. "allmyvideos\.net\/\\w+",
  8586. 'Continue to Video',
  8587. 'File Not Found|class="err">Removed for',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'allmyvideos.net')]"
  8591. );
  8592. } */
  8593. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8594. {
  8595. addFileHost(
  8596. "vodlocker\.com\/\\w+",
  8597. 'Proceed to video',
  8598. 'Not Found',
  8599. 'optional--',
  8600. 'optional2--',
  8601. "//a[contains(@href,'vodlocker.com')]"
  8602. );
  8603. }
  8604. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8605. {
  8606. addFileHost(
  8607. "vidbull\.com\/\\w+",
  8608. 'Verifying Video Request',
  8609. 'File Not Found',
  8610. 'optional--',
  8611. 'optional2--',
  8612. "//a[contains(@href,'vidbull.com')]");
  8613. }
  8614. if (GM_getValue("Check_novamov_dot_com_links", false))
  8615. {
  8616. addFileHost(
  8617. "novamov\.com\/\\w+",
  8618. 'For version detection',
  8619. 'file no longer exists',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'novamov.com')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8626. {
  8627. addFileHost(
  8628. "filehoot\.com\/\\w+",
  8629. 'Continue to watch',
  8630. 'File Not Found',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'filehoot.com')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8637. {
  8638. addFileHost(
  8639. "stagevu\.com\/\\w+",
  8640. 'Video Info',
  8641. 'No video with the provided',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'stagevu.com')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8648. {
  8649. addFileHost(
  8650. "cloudtime\.to\/\\w+",
  8651. 'Download the video',
  8652. 'no longer exists',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'cloudtime.to')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_streamin_dot_to_links", false))
  8659. {
  8660. addFileHost(
  8661. "streamin\.to\/\\w+",
  8662. 'id="btn_download',
  8663. 'Not Found|Copyright Infringement|File Deleted',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'streamin.to')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8670. {
  8671. addFileHost(
  8672. "videoweed\.es\/\\w+",
  8673. 'version detection',
  8674. 'no longer exists',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'videoweed.es')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8681. {
  8682. addFileHost(
  8683. "nowvideo\.sx\/\\w+",
  8684. 'Download this video|value="submit">Continue',
  8685. 'no longer exists',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'nowvideo.sx')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8692. {
  8693. addFileHost(
  8694. "thevideo\.me\/\\w+",
  8695. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8696. 'File Not Found',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'thevideo.me')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8703. {
  8704. addFileHost(
  8705. "gorillavid\.in\/\\w+",
  8706. 'Wait 5 seconds',
  8707. 'File Not Found',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'gorillavid.in')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_thefile_dot_me_links", false))
  8714. {
  8715. addFileHost(
  8716. "thefile\.me\/\\w+",
  8717. 'Choose free or',
  8718. '',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'thefile.me')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8725. {
  8726. addFileHost(
  8727. "vidzi\.tv\/\\w+",
  8728. 'video-embed-modal row',
  8729. 'File Not Found|file was deleted',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'vidzi.tv')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8736. {
  8737. addFileHost(
  8738. "filenuke\.com\/\\w+",
  8739. 'Download File',
  8740. 'Earn with us',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'filenuke.com')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_vidto_dot_me_links", false))
  8747. {
  8748. addFileHost(
  8749. "vidto\.me\/\\w+",
  8750. 'Proceed to video',
  8751. 'Not Found',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'vidto.me')]"
  8755. );
  8756. }
  8757. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8758. {
  8759. addFileHost(
  8760. "vidspot\.net\/\\w+",
  8761. 'Duration|method_free',
  8762. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'vidspot.net')]"
  8766. );
  8767. } */
  8768. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8769. {
  8770. addFileHost(
  8771. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8772. 'Download File',
  8773. 'File Not Found',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8777. );
  8778. }
  8779. if (GM_getValue("Check_movpod_dot_in_links", false))
  8780. {
  8781. addFileHost(
  8782. "movpod\.in\/\\w+",
  8783. 'Continue',
  8784. 'File Not Found',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'movpod.in')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_down4files_dot_com_links", false))
  8791. {
  8792. addFileHost(
  8793. "down4files\.com\/\\w+",
  8794. 'down_table.png',
  8795. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'down4files.com')]"
  8799. );
  8800. }
  8801. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8802. {
  8803. addFileHost(
  8804. "storefiles\.co\/\\w+",
  8805. 'btn_download',
  8806. 'No such file|>Error<|mqmaintitle">',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'storefiles.co')]"
  8810. );
  8811. }*/
  8812. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8813. {
  8814. addFileHost(
  8815. "filehost\.pw\/\\w+",
  8816. 'name="method_free',
  8817. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8818. 'optional--',
  8819. 'optional2--',
  8820. "//a[contains(@href,'filehost.pw')]"
  8821. );
  8822. }
  8823. if (GM_getValue("Check_uplea_dot_com_links", false))
  8824. {
  8825. addFileHost(
  8826. "uplea\.com\/\\w+",
  8827. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8828. 'expired link|ou est invalide',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'uplea.com/dl')]",
  8832. true);
  8833. }
  8834. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8835. {
  8836. addFileHost(
  8837. "toutbox\.fr\/\\w+",
  8838. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8839. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8840. 'Serviço temporariamente indisponível',
  8841. 'optional2--',
  8842. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8843. );
  8844. }*/
  8845. if (GM_getValue("Check_openload_dot_co_links", false))
  8846. {
  8847. addFileHost(
  8848. "openload\.co\/\\w+",
  8849. 'id="downloadTimer">|button dlbutton',
  8850. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8851. 'optional--',
  8852. 'optional2--',
  8853. "//a[contains(@href,'openload.co')]"
  8854. );
  8855. }
  8856. if (GM_getValue("Check_oload_dot_tv_links", false))
  8857. {
  8858. addFileHost(
  8859. "oload\.tv\/\\w+",
  8860. 'id="downloadTimer">|button dlbutton',
  8861. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'oload.tv')]"
  8865. );
  8866. }
  8867. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8868. {
  8869. addFileHost(
  8870. "lolabits\.es\/\\w+",
  8871. 'Descargar:',
  8872. '<title>Archivos de usuario',
  8873. 'Service Unavailable',
  8874. 'optional2--',
  8875. "//a[contains(@href,'lolabits.es')]"
  8876. );
  8877. }*/
  8878. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8879. {
  8880. addFileHost(
  8881. "alfafile\.net\/\\w+",
  8882. 'id="slow_download_btn',
  8883. 'class="error-box">',
  8884. 'optional--',
  8885. 'optional2--',
  8886. "//a[contains(@href,'alfafile.net')]"
  8887. );
  8888. }
  8889. if (GM_getValue("Check_multiup_dot_org_links", false))
  8890. {
  8891. addFileHost(
  8892. "multiup\\.(?:org|eu)\/\\w+",
  8893. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8894. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8898. );
  8899. }
  8900. if (GM_getValue("Check_file_dot_al_links", false))
  8901. {
  8902. addFileHost(
  8903. "file\\.al|1f.al",
  8904. 'method_free',
  8905. 'style="width:500px;text-align:left;">|invalid license_key',
  8906. 'optional--',
  8907. 'optional2--',
  8908. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8909. );
  8910. }
  8911. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8912. {
  8913. addFileHost(
  8914. "devilshare\.net\/\\w+",
  8915. '<div class="large-12" id="download">',
  8916. '(Link: 0 Invalid)|File Not Found',
  8917. 'optional--',
  8918. 'optional2--',
  8919. "//a[contains(@href,'devilshare.net')]"
  8920. );
  8921. }
  8922. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8923. {
  8924. addFileHost(
  8925. "dailyuploads\.net\/\\w+",
  8926. 'id="downloadBtnClickOrignal',
  8927. '<div style="width:500px;text-align:left;">',
  8928. 'optional--',
  8929. 'optional2--',
  8930. "//a[contains(@href,'dailyuploads.net')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8934. {
  8935. addFileHost(
  8936. "datoteke\.com\/\\w+",
  8937. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8938. '&nbsp;File has been removed',
  8939. 'optional--',
  8940. '<title>Error - Datoteke',
  8941. "//a[contains(@href,'datoteke.com')]"
  8942. );
  8943. }
  8944. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8945. {
  8946. addFileHost(
  8947. "sharehost\.eu\/\\w+",
  8948. '/?v=download_free&',
  8949. 'Errors occured|Wystąpiły błędy',
  8950. 'optional--',
  8951. 'optional2--',
  8952. "//a[contains(@href,'sharehost.eu')]"
  8953. );
  8954. }
  8955. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8956. {
  8957. addFileHost(
  8958. "pornfile\.cz",
  8959. 'Stáhnout soubor|Stáhnout pomalu',
  8960. 'Soubor byl smazán|Stránka nenalezena',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'pornfile.cz')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8967. {
  8968. addFileHost(
  8969. "pornoid\.cz\/\\w+",
  8970. 'class="btn btn-large btn-download',
  8971. 'Soubor byl smazán',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'pornoid.cz')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8978. {
  8979. addFileHost(
  8980. "file-share\.top\/\\w+",
  8981. 'btn-success btn-lg download',
  8982. 'Stránka neexistuje|404 Not Found',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'file-share.top')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8989. {
  8990. addFileHost(
  8991. "bitster\.cz\/",
  8992. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8993. 'section" content=""',
  8994. 'optional--',
  8995. 'optional2--',
  8996. "//a[contains(@href,'bitster.cz')]"
  8997. );
  8998. }
  8999. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9000. {
  9001. addFileHost(
  9002. "rapidu\.net\/\\w+",
  9003. 'onclick="downloadFreeFile',
  9004. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9005. 'optional--',
  9006. 'optional2--',
  9007. "//a[contains(@href,'rapidu.net')]"
  9008. );
  9009. }
  9010. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9011. {
  9012. addFileHost(
  9013. "dinoshare\.cz\/\\w+",
  9014. 'class="download-button"',
  9015. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9016. 'optional--',
  9017. 'optional2--',
  9018. "//a[contains(@href,'dinoshare.cz')]"
  9019. );
  9020. }
  9021. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9022. {
  9023. addFileHost(
  9024. "bytewhale\.com\/\\w+",
  9025. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9026. 'var rawest = "0 MB|Copyrights Claim</div>',
  9027. 'optional--',
  9028. 'This file is available for premium members only',
  9029. "//a[contains(@href,'bytewhale.com')]"
  9030. );
  9031. }
  9032. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9033. {
  9034. addFileHost(
  9035. "rapidrar\.com\/\\w+",
  9036. 'value="Free Download',
  9037. '<div style="width:500px;text-align:left;">',
  9038. 'optional--',
  9039. 'optional--',
  9040. "//a[contains(@href,'rapidrar.com')]"
  9041. );
  9042. }
  9043. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9044. {
  9045. addFileHost(
  9046. "filesupload\.org\/\\w+",
  9047. '<a href="/download-or-watch/',
  9048. 'File not found',
  9049. 'optional--',
  9050. 'optional--',
  9051. "//a[contains(@href,'filesupload.org')]"
  9052. );
  9053. }
  9054. if (GM_getValue("Check_filecad_dot_com_links", false))
  9055. {
  9056. addFileHost(
  9057. "filecad\.com\/\\w+",
  9058. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9059. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9060. 'optional--',
  9061. 'optional--',
  9062. "//a[contains(@href,'filecad.com')]"
  9063. );
  9064. }
  9065. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9066. {
  9067. addFileHost(
  9068. "file.up09\.com\/\\w+",
  9069. 'name="method_free',
  9070. 'style="width:500px;text-align:left;">',
  9071. 'optional--',
  9072. 'optional--',
  9073. "//a[contains(@href,'file.up09.com')]"
  9074. );
  9075. }
  9076. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9077. {
  9078. addFileHost(
  9079. "lunaticfiles\.com\/\\w+",
  9080. 'name="method_free"',
  9081. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9082. 'optional--',
  9083. 'optional--',
  9084. "//a[contains(@href,'lunaticfiles.com')]"
  9085. );
  9086. }
  9087. if (GM_getValue("Check_upload_dot_af_links", false))
  9088. {
  9089. addFileHost(
  9090. "upload\.af\/\\w+",
  9091. 'id="method_free"',
  9092. '<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|ファイルが見つかりません',
  9093. 'optional--',
  9094. 'optional--',
  9095. "//a[contains(@href,'upload.af')]"
  9096. );
  9097. }
  9098. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9099. {
  9100. addFileHost(
  9101. "filedwon\.info\/\\w+",
  9102. 'name="method_free"',
  9103. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9104. 'optional--',
  9105. 'optional--',
  9106. "//a[contains(@href,'filedwon.info')]"
  9107. );
  9108. }
  9109. if (GM_getValue("Check_uplod_dot_it_links", false))
  9110. {
  9111. addFileHost(
  9112. "uplod\.it\/\\w+",
  9113. 'value="download2">|name="method_free',
  9114. '<Title>Download </Title>',
  9115. 'optional--',
  9116. 'optional--',
  9117. "//a[contains(@href,'uplod.it')]"
  9118. );
  9119. }
  9120. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9121. {
  9122. addFileHost(
  9123. "abelhas\.pt\/\\w+",
  9124. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9125. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9126. 'optional--',
  9127. 'optional--',
  9128. "//a[contains(@href,'abelhas.pt')]"
  9129. );
  9130. } */
  9131. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9132. {
  9133. addFileHost(
  9134. "disk.yandex\.com\/\\w+",
  9135. 'nb-button _nb-small-button',
  9136. 'error code|Nothing found',
  9137. 'optional--',
  9138. 'optional2--',
  9139. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9140. }
  9141. if (GM_getValue("Check_filespace_dot_com_links", false))
  9142. {
  9143. addFileHost(
  9144. "filespace\.com\/\\w+",
  9145. '"method_free',
  9146. '<div style="text-align:left;"><ul>|>File not found.<',
  9147. 'optional1--',
  9148. 'optional2--',
  9149. "//a[contains(@href,'filespace.com')]");
  9150. }
  9151. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9152. {
  9153. addFileHost(
  9154. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9155. 'name="downloadFile|id="downloadFile|value="Wait',
  9156. '<title>File not found</title>|>Error:<',
  9157. 'optional1--',
  9158. 'optional2--',
  9159. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9160. }
  9161. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9162. {
  9163. addFileHost(
  9164. "ncrypt\.in\/\\w+",
  9165. 'Sicherheitsabfrage:|Securitycheck:',
  9166. 'does not exist|existiert nicht',
  9167. 'optional1--',
  9168. 'optional2--',
  9169. "//a[contains(@href,'ncrypt.in')]");
  9170. }
  9171. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9172. {
  9173. addFileHost(
  9174. "jeodrive\.com\/\\w+",
  9175. 'btn-lg regular',
  9176. 'Not found',
  9177. 'optional1--',
  9178. 'optional2--',
  9179. "//a[contains(@href,'jeodrive.com')]");
  9180. }
  9181. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9182. {
  9183. addFileHost(
  9184. "myfiles\.onl\/\\w+",
  9185. 'value="Free"',
  9186. '<div style="width:500px;text-align:left;">',
  9187. 'optional1--',
  9188. 'optional2--',
  9189. "//a[contains(@href,'myfiles.onl')]");
  9190. }
  9191. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9192. {
  9193. addFileHost(
  9194. "uploadserv\.com\/\\w+",
  9195. 'color="red">http://uploadserv.com/',
  9196. 'content="Download File ">|<title>Download </title>',
  9197. 'optional1--',
  9198. 'optional2--',
  9199. "//a[contains(@href,'uploadserv.com')]");
  9200. }
  9201. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9202. {
  9203. addFileHost(
  9204. "keepshare\.net\/\\w+",
  9205. 'method_free',
  9206. '<div style="width:500px;text-align:left;">',
  9207. 'optional1--',
  9208. 'optional2--',
  9209. "//a[contains(@href,'keepshare.net')]");
  9210. }
  9211. if (GM_getValue("Check_oload_dot_net_links", false))
  9212. {
  9213. addFileHost(
  9214. "oload\.net\/\\w+",
  9215. '<font color="red">http://oload.net',
  9216. 'class="page-ttl">',
  9217. 'optional1--',
  9218. 'optional2--',
  9219. "//a[contains(@href,'oload.net')]");
  9220. }
  9221. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9222. {
  9223. addFileHost(
  9224. "filescdn\.com\/\\w+",
  9225. 'btn_download',
  9226. 'icon-warning text-danger|no longer available',
  9227. 'optional1--',
  9228. 'optional2--',
  9229. "//a[contains(@href,'filescdn.com')]");
  9230. }
  9231. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9232. {
  9233. addFileHost(
  9234. "bankupload\.com\/\\w+",
  9235. 'id="btn_download"|1.0 GB',
  9236. '<div style="width:500px;text-align:left;">',
  9237. 'optional1--',
  9238. ' GB',
  9239. "//a[contains(@href,'bankupload.com')]");
  9240. }
  9241. if (GM_getValue("Check_katfile_dot_com_links", false))
  9242. {
  9243. addFileHost(
  9244. "katfile\.com\/\\w+",
  9245. 'KB| MB|1.0 GB|id="method_free',
  9246. 'images/file_not_found.png"',
  9247. 'optional1--',
  9248. ' GB',
  9249. "//a[contains(@href,'katfile.com')]");
  9250. }
  9251. if (GM_getValue("Check_filesin_dot_space_links", false))
  9252. {
  9253. addFileHost(
  9254. "filesin\.space\/\\w+",
  9255. 'id="btn_download"',
  9256. 'class="err">',
  9257. 'optional1--',
  9258. 'optional2',
  9259. "//a[contains(@href,'filesin.space')]");
  9260. }
  9261. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9262. {
  9263. addFileHost(
  9264. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9265. 'download.php',
  9266. 'notfound|upload\\-suborov\\.php"',
  9267. 'optional--',
  9268. 'optional2--',
  9269. "//a[contains(@href,'upnito.sk')]"
  9270. );
  9271. }
  9272. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9273. {
  9274. addFileHost(
  9275. "alltu\.eu\/\\w+",
  9276. 'download-timer',
  9277. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9278. 'optional1--',
  9279. 'optional2',
  9280. "//a[contains(@href,'alltu.eu')]");
  9281. }
  9282. if (GM_getValue("Check_novafile_dot_com_links", false))
  9283. {
  9284. addFileHost(
  9285. "novafile\.com\/\\w+",
  9286. 'id="regular-download',
  9287. 'id="file-not-found',
  9288. 'optional1--',
  9289. 'id="premium-only',
  9290. "//a[contains(@href,'novafile.com')]");
  9291. }
  9292. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9293. {
  9294. addFileHost(
  9295. "uploadgig\.com",
  9296. 'id="countdownContainer',
  9297. 'File not found',
  9298. 'optional1--',
  9299. 'optional2',
  9300. "//a[contains(@href,'uploadgig.com')]");
  9301. }
  9302. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9303. {
  9304. addFileHost(
  9305. "mexashare\.com\/\\w+",
  9306. 'method_free',
  9307. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9308. 'optional1--',
  9309. 'optional2',
  9310. "//a[contains(@href,'mexashare.com')]");
  9311. }
  9312. if (GM_getValue("Check_daofile_dot_com_links", false))
  9313. {
  9314. addFileHost(
  9315. "daofile\.com\/\\w+",
  9316. 'class="captcha_code',
  9317. 'style="width:500px;text-align:left;">',
  9318. 'optional1--',
  9319. 'optional2',
  9320. "//a[contains(@href,'daofile.com')]");
  9321. }
  9322. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9323. {
  9324. addFileHost(
  9325. "imagenetz\.de\/\\w+",
  9326. 'id="download',
  9327. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9328. 'optional1--',
  9329. 'optional2',
  9330. "//a[contains(@href,'imagenetz.de')]");
  9331. }
  9332. if (GM_getValue("Check_uloz_dot_to_links", false))
  9333. {
  9334. addFileHost(
  9335. "uloz\.to",
  9336. 'limitedDownloadButton|Stáhnout pomalu',
  9337. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9338. 'optional1--',
  9339. 'optional2',
  9340. "//a[contains(@href,'uloz.to')]");
  9341. }
  9342. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9343. {
  9344. addFileHost(
  9345. "ulozto.net",
  9346. 'limitedDownloadButton|Stáhnout pomalu',
  9347. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9348. 'optional1--',
  9349. 'optional2',
  9350. "//a[contains(@href,'ulozto.net')]");
  9351. }
  9352. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9353. {
  9354. addFileHost(
  9355. "ulozto\.sk",
  9356. 'limitedDownloadButton|Stáhnout pomalu',
  9357. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9358. 'optional1--',
  9359. 'optional2',
  9360. "//a[contains(@href,'ulozto.sk')]");
  9361. }
  9362. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9363. {
  9364. addFileHost(
  9365. "ulozto\.cz",
  9366. 'limitedDownloadButton|Stáhnout pomalu',
  9367. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9368. 'optional1--',
  9369. 'optional2',
  9370. "//a[contains(@href,'ulozto.cz')]");
  9371. }
  9372. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9373. {
  9374. addFileHost(
  9375. "subyshare\.com\/\\w+",
  9376. 'id="method_free',
  9377. 'file was removed|class="err">|1s">404',
  9378. 'optional1--',
  9379. 'optional2',
  9380. "//a[contains(@href,'subyshare.com')]",
  9381. true);
  9382. }
  9383. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9384. {
  9385. addFileHost(
  9386. "fileshareup\.com\/\\w+",
  9387. 'download-timer|btn-free-element|content="Download file',
  9388. 'content="Error"|content="error|heading-1">Error<',
  9389. 'optional1--',
  9390. 'optional2',
  9391. "//a[contains(@href,'fileshareup.com')]");
  9392. }
  9393. if (GM_getValue("Check_mystore_dot_to_links", false))
  9394. {
  9395. addFileHost(
  9396. "mystore\.to\/\\w+",
  9397. 'Download File',
  9398. 'file not found',
  9399. 'optional1--',
  9400. 'optional2',
  9401. "//a[contains(@href,'mystore.to/dl')]");
  9402. }
  9403. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9404. {
  9405. addFileHost(
  9406. "usercloud\.net\/\\w+",
  9407. 'content="download|var seconds = 60|type="password',
  9408. 'content="error|report_file.html">',
  9409. 'optional1--',
  9410. 'optional2',
  9411. "//a[contains(@href,'usercloud.net')]");
  9412. }
  9413. if (GM_getValue("Check_workupload_dot_com_links", false))
  9414. {
  9415. addFileHost(
  9416. "workupload\.com\/\\w+",
  9417. 'content="Download|id="download"',
  9418. 'File not found|img/not-found.jpg|Error message',
  9419. 'optional1--',
  9420. 'optional2',
  9421. "//a[contains(@href,'workupload.com')]");
  9422. }
  9423. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9424. {
  9425. addFileHost(
  9426. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9427. 'class="download">',
  9428. 'class="error center',
  9429. 'optional1--',
  9430. 'optional2',
  9431. "//a[contains(@href,'storageserver.co.uk')]");
  9432. }
  9433. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9434. {
  9435. addFileHost(
  9436. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9437. '"kind": "file"',
  9438. '"error": "not_exists"',
  9439. 'optional1--',
  9440. 'optional2',
  9441. "//a[contains(@href,'cloud.mail.ru')]");
  9442. }
  9443. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9444. {
  9445. addFileHost(
  9446. "bdupload\.info\/\\w+",
  9447. 'class="downloadbtn">|id="downloadbtn"',
  9448. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9449. 'optional1--',
  9450. 'optional2',
  9451. "//a[contains(@href,'bdupload.info')]");
  9452. }
  9453. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9454. {
  9455. addFileHost(
  9456. "wayupload\.com\/\\w+",
  9457. 'class="nopay-btn gray"',
  9458. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9459. 'optional1--',
  9460. 'optional2',
  9461. "//a[contains(@href,'wayupload.com')]");
  9462. }
  9463. if (GM_getValue("Check_exbit_dot_net_links", false))
  9464. {
  9465. addFileHost(
  9466. "exbit\.net\/\\w+",
  9467. 'class="nopay-btn|href="/download/free/',
  9468. 'File not found',
  9469. 'optional1--',
  9470. 'optional2',
  9471. "//a[contains(@href,'exbit.net')]");
  9472. }
  9473. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9474. {
  9475. addFileHost(
  9476. "uploadocean\.com\/\\w+",
  9477. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9478. 'deleted.png"',
  9479. 'optional1--',
  9480. 'optional2',
  9481. "//a[contains(@href,'uploadocean.com')]");
  9482. }
  9483. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9484. {
  9485. addFileHost(
  9486. "fileflares\.com\/\\w+",
  9487. 'id="downloadbtn"',
  9488. '<div style="width:500px;text-align:left;">',
  9489. 'optional1--',
  9490. 'optional2',
  9491. "//a[contains(@href,'fileflares.com')]");
  9492. }
  9493. if (GM_getValue("Check_erafile_dot_com_links", false))
  9494. {
  9495. addFileHost(
  9496. "erafile\.com\/\\w+",
  9497. 'id="method_free',
  9498. '<div style="width:500px;text-align:left;">',
  9499. 'optional1--',
  9500. 'optional2',
  9501. "//a[contains(@href,'erafile.com')]");
  9502. }
  9503. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9504. {
  9505. addFileHost(
  9506. "suprafiles\.net\/\\w+",
  9507. 'name="method_free"',
  9508. 'File Not Found|style="width:1000px; text-align: left;">',
  9509. 'optional1--',
  9510. 'optional2',
  9511. "//a[contains(@href,'suprafiles.net')]");
  9512. }
  9513. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9514. {
  9515. addFileHost(
  9516. "upfiles\.net\/\\w+",
  9517. 'id="recaptcha2"|snail.png"',
  9518. 'Ten plik został usunięty.|style="margin-top:50px',
  9519. 'optional1--',
  9520. 'optional2',
  9521. "//a[contains(@href,'upfiles.net/f/')]");
  9522. }
  9523. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9524. {
  9525. addFileHost(
  9526. "dailyfiles\.net\/\\w+",
  9527. 'onclick="dwn',
  9528. '<title>Error',
  9529. 'optional1--',
  9530. 'optional2',
  9531. "//a[contains(@href,'dailyfiles.net')]");
  9532. }
  9533. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9534. {
  9535. addFileHost(
  9536. "littlebyte\.net\/\\w+",
  9537. '>Free download<|>Скачать медленно<',
  9538. 'images/dmca.png">',
  9539. 'optional1--',
  9540. 'optional2',
  9541. "//a[contains(@href,'littlebyte.net')]");
  9542. }
  9543. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9544. {
  9545. addFileHost(
  9546. "black\\-label\\.pro\/\\w+",
  9547. 'slow_download_button.png"|td><td title="',
  9548. 'STILL NEED CODE FOR DEAD LINKS',
  9549. 'optional1--',
  9550. 'optional2',
  9551. "//a[contains(@href,'black-label.pro')]");
  9552. } */
  9553. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9554. {
  9555. addFileHost(
  9556. "temp\\-share\\.com\/\\w+",
  9557. 'publickey',
  9558. 'STILL NEED CODE FOR DEAD LINKS',
  9559. 'optional1--',
  9560. 'optional2',
  9561. "//a[contains(@href,'temp-share.com')]");
  9562. }
  9563. if (GM_getValue("Check_filesha_dot_com_links", false))
  9564. {
  9565. addFileHost(
  9566. "filesha\.com\/\\w+",
  9567. '>Download Free<',
  9568. 'STILL NEED CODE FOR DEAD LINKS',
  9569. 'optional1--',
  9570. 'optional2',
  9571. "//a[contains(@href,'filesha.com')]");
  9572. }
  9573. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9574. {
  9575. addFileHost(
  9576. "ausfile\.com\/\\w+",
  9577. 'class="slow-download',
  9578. 'File Not Found',
  9579. 'optional1--',
  9580. 'optional2',
  9581. "//a[contains(@href,'ausfile.com')]");
  9582. }
  9583. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9584. {
  9585. addFileHost(
  9586. "upfile\.mobi\/\\w+",
  9587. 'class="download_button"',
  9588. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9589. 'optional1--',
  9590. 'optional2',
  9591. "//a[contains(@href,'upfile.mobi')]");
  9592. }
  9593. if (GM_getValue("Check_share_dot_az_links", false))
  9594. {
  9595. addFileHost(
  9596. "share\.az\/\\w+",
  9597. 'id="btn_download"',
  9598. 'File Not Found|We are sorry',
  9599. 'optional1--',
  9600. 'optional2',
  9601. "//a[contains(@href,'share.az')]");
  9602. }
  9603. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9604. {
  9605. addFileHost(
  9606. "partage-facile\.com",
  9607. 'class="title"><strong>',
  9608. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9609. 'optional--',
  9610. 'optional2--',
  9611. "//a[contains(@href,'partage-facile.com')]");
  9612. }
  9613. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9614. {
  9615. addFileHost(
  9616. "uploadify\.net\/\\w+",
  9617. 'loading_small.gif"',
  9618. '<title>Error -',
  9619. 'optional1--',
  9620. 'optional2',
  9621. "//a[contains(@href,'uploadify.net')]");
  9622. }
  9623. if (GM_getValue("Check_uploads_dot_to_links", false))
  9624. {
  9625. addFileHost(
  9626. "uploads\.to\/\\w+",
  9627. 'class="g-recaptcha',
  9628. 'File Not Found',
  9629. 'optional1--',
  9630. 'optional2',
  9631. "//a[contains(@href,'uploads.to')]");
  9632. }
  9633. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9634. {
  9635. addFileHost(
  9636. "crazyshare\.cc\/\\w+",
  9637. 'slow_download_button.png',
  9638. 'File Not Found',
  9639. 'optional1--',
  9640. 'optional2',
  9641. "//a[contains(@href,'crazyshare.cc')]");
  9642. }
  9643. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9644. {
  9645. addFileHost(
  9646. "fileshark\.pl\/\\w+",
  9647. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9648. 'Nie znaleziono pliku w serwisie.',
  9649. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9650. 'optional2',
  9651. "//a[contains(@href,'fileshark.pl')]");
  9652. }
  9653. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9654. {
  9655. addFileHost(
  9656. "pobierz\.to\/\\w+",
  9657. 'class="download-timer',
  9658. 'Plik został usunięty.',
  9659. 'optional1--',
  9660. 'optional2',
  9661. "//a[contains(@href,'pobierz.to')]");
  9662. }
  9663. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9664. {
  9665. addFileHost(
  9666. "kingfile\.pl\/\\w+",
  9667. 'id="downloadBox',
  9668. 'Error 404 - File Not Found|Nie znaleziono pliku|Szukany plik nie jest już dostępny|Przykro nam – ale plik który chcesz pobrac zmienil|Przykro nam - ale plik który cholsz pobrać zmienił swój adres lub został usunięty',
  9669. 'optional1--',
  9670. 'optional2',
  9671. "//a[contains(@href,'kingfile.pl')]");
  9672. }
  9673. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9674. {
  9675. addFileHost(
  9676. "hotlink\.cc\/",
  9677. 'id="downloadbtn">|class="free"|id="counttext1"',
  9678. 'Error 404|Page not found',
  9679. 'optional1--',
  9680. 'optional2',
  9681. "//a[contains(@href,'hotlink.cc')]");
  9682. }
  9683. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9684. {
  9685. addFileHost(
  9686. "owndrives\.com\/\\w+",
  9687. 'id="method_free"',
  9688. 'File Not Found',
  9689. 'optional1--',
  9690. 'optional2',
  9691. "//a[contains(@href,'owndrives.com')]");
  9692. }
  9693. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9694. {
  9695. addFileHost(
  9696. "avatarshare\.com\/\\w+",
  9697. 'name="method_free"',
  9698. 'File Not Found',
  9699. 'optional1--',
  9700. 'optional2',
  9701. "//a[contains(@href,'avatarshare.com')]");
  9702. }
  9703. }
  9704. //start here
  9705.  
  9706. //hosts with direct download, so they must be requested for headers only
  9707. function initFileHostsHeadersOnly()
  9708. {
  9709. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9710. {
  9711. var host = new Array(5);
  9712. host[0] = linkRegex;
  9713. host[1] = isAliveRegex;
  9714. host[2] = isDeadRegex;
  9715. host[4] = ispremRegex;
  9716. host[3] = xpathEx;
  9717. http_file_hosts_headers_only.push(host);
  9718. }
  9719. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9720. {
  9721. addFileHostHeadersOnly(
  9722. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9723. 'Connection: Keep-Alive',
  9724. 'Content-Length: 3857',
  9725. 'optional2',
  9726. "//a[contains(@href,'uloziste.com')]"
  9727. )
  9728. }
  9729. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9730. {
  9731. addFileHostHeadersOnly(
  9732. "filescdn\.com\/\\w+",
  9733. 'Connection: keep-alive',
  9734. 'Company</Title>',
  9735. 'optional2',
  9736. "//a[contains(@href,'filescdn.com')]"
  9737. )
  9738. } */
  9739. if (GM_getValue("Check_adrive_dot_com_links", false))
  9740. {
  9741. addFileHostHeadersOnly(
  9742. "adrive\\.com\/public\/\\w+",
  9743. 'Connection: keep-alive',
  9744. 'orig_ref=deleted',
  9745. 'optional2',
  9746. "//a[contains(@href,'adrive.com')]"
  9747. )
  9748. }
  9749. }
  9750.  
  9751. //CustomRules
  9752. //functions add...Host copied here
  9753. function addObsoleteHost(linkRegex, xpathEx)
  9754. {
  9755. var host = new Array(2);
  9756. host[0] = linkRegex;
  9757. host[1] = xpathEx;
  9758. http_file_hosts_obsolete.push(host);
  9759. }
  9760. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9761. {
  9762. var host = new Array(7);
  9763. host[0] = linkRegex;
  9764. host[1] = isAliveRegex;
  9765. host[2] = isDeadRegex;
  9766. host[3] = isUnavaRegex;
  9767. host[4] = xpathEx;
  9768. tryLoop ? host[5] = true : host[5] = false;
  9769. host[6] = ispremRegex;
  9770. http_file_hosts.push(host);
  9771. }
  9772. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9773. {
  9774. var host = new Array(5);
  9775. host[0] = linkRegex;
  9776. host[1] = isAliveRegex;
  9777. host[2] = isDeadRegex;
  9778. host[3] = xpathEx;
  9779. host[4] = ispremRegex;
  9780. http_file_hosts_headers_only.push(host);
  9781. }
  9782. //takes a fully built rules array and adds the rules to WARLC
  9783. function applyCustomRules(customRules)
  9784. {
  9785. if (!customRules) return;
  9786. var rules, r, i;
  9787. rules = customRules.rules;
  9788. for (i = 0 ; i < rules.length ; i++)
  9789. {
  9790. r = rules[i];
  9791. if (r.enabled)
  9792. {
  9793. switch (r.type)
  9794. {
  9795. case 'single':
  9796. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9797. break;
  9798. case 'headers':
  9799. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9800. break;
  9801. case 'obsolete':
  9802. addObsoleteHost(r.urlregex, r.xpath)
  9803. break;
  9804. }
  9805. }
  9806. }
  9807. }
  9808.  
  9809.  
  9810. function initFileHostsCustom()
  9811. {
  9812. if (Custom_rules && Custom_rules_text)
  9813. {
  9814. var msg = '';
  9815. if (newVersion)
  9816. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9817. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9818. msg = '60 or more days have passed since this notification.\n\n';
  9819. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9820. {
  9821. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9822. msg +=
  9823. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9824. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9825. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9826. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9827. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9828. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9829. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9830. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9831. setTimeout(function(){alert(msg)},0);
  9832. }
  9833. var customRules = parseCustomRules(Custom_rules_text);
  9834. if (customRules.warning || customRules.error)
  9835. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9836. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9837. JSON.stringify(customRules.info, null, ' '));
  9838. applyCustomRules(customRules);
  9839. }
  9840. }
  9841. //end of CustomRules processing
  9842.  
  9843.  
  9844.  
  9845. } //end of function start
  9846.  
  9847.  
  9848.  
  9849. function initClipBoardTools()
  9850. {
  9851. unsafeWindow.copyToClipboard = function(text)
  9852. {
  9853. try
  9854. {
  9855. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9856.  
  9857. var str = Components.classes["@mozilla.org/supports-string;1"].
  9858. createInstance(Components.interfaces.nsISupportsString);
  9859. if (!str) return false;
  9860.  
  9861. str.data = text;
  9862.  
  9863. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9864. createInstance(Components.interfaces.nsITransferable);
  9865. if (!trans) return false;
  9866.  
  9867. trans.addDataFlavor("text/unicode");
  9868. trans.setTransferData("text/unicode", str, text.length * 2);
  9869.  
  9870. var clipid = Components.interfaces.nsIClipboard;
  9871. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9872. if (!clip) return false;
  9873.  
  9874. clip.setData(trans, null, clipid.kGlobalClipboard);
  9875. } catch (e) {
  9876. GM_log("Error copyToClipboard : " + e);
  9877. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9878. }
  9879. }
  9880. }
  9881.  
  9882.  
  9883.  
  9884. //CustomRules
  9885.  
  9886. function escapeRegex(str)
  9887. {
  9888. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9889. }
  9890.  
  9891.  
  9892. //called internally from parseCustomRules.
  9893. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9894. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9895. function makeCustomRule(rule)
  9896. {
  9897. function makeMatchRegex(arrmatch)
  9898. {
  9899. return escapeRegex(arrmatch.join('\n'))
  9900. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9901. .replace(/\n/g,'|'); //join together
  9902. }
  9903. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9904. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9905. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9906. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9907. if (rule.baseurl)
  9908. {
  9909. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9910. for (i = 0 ; i < len ; i++)
  9911. {
  9912. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9913. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9914. {
  9915. 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'])
  9916. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9917. }
  9918. else //baseurl in the form: example.com/xxx
  9919. {
  9920. xpath.push(m[0]);
  9921. urlregex.push(escapeRegex(m[0]) + '.');
  9922. }
  9923. }
  9924. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9925. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9926. }
  9927. return rule;
  9928. } //function makeCustomRule
  9929.  
  9930.  
  9931. /*
  9932. Takes a string containing custom link checking rules.
  9933. Returns an object with fields:
  9934. info - contains notes, warnings and errors found during parsing
  9935. rules - the array of custom rules
  9936. note, warning, error - number of each of them found during parsing
  9937. Format of the input string:
  9938. One command per line. Command format: @keyword parameter
  9939. Keywords:
  9940. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9941. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9942. These keywords can be multiple (any of them will work):
  9943. @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...)
  9944. @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+
  9945. @alivelink, @deadlink - example links
  9946. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9947. Lines starting with // and empty lines are ignored.
  9948. Invalid parameters generate errors and those lines are skipped.
  9949. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9950. Example:
  9951. @customrule filehost
  9952. @baseurl filehost.com/download/
  9953. @baseurl filehost2. com net /d?=
  9954. @alivematch id="download">
  9955. @deadmatch File not found
  9956. @deadmatch File deleted
  9957. */
  9958. function parseCustomRules(rulesStr)
  9959. {
  9960. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9961. function addInfo(type, msg, ln){
  9962. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9963. customRules[type]++;
  9964. }
  9965. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9966. if (!lines) return null;
  9967. lines.push('@#customrule _'); //to save the last rule
  9968. var m, linecount = lines.length;
  9969. var keyword, param, constr, rule, err;
  9970. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9971. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9972. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9973. var constraints = {
  9974. 'baseurl': {
  9975. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9976. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9977. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9978. 'alivematch': {
  9979. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9980. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9981. 'deadmatch': {
  9982. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9983. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9984. 'unavamatch': {
  9985. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9986. 'alivelink': {
  9987. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9988. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9989. 'deadlink': {
  9990. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9991. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9992. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9993. };
  9994. for (linenum = 0 ; linenum < linecount ; linenum++)
  9995. {
  9996. //capturing groups: 1 23 4 5 6
  9997. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9998. if (m)
  9999. {
  10000. if (m[1] || !m[2])
  10001. continue; // ignore empty lines and lines starting with //
  10002. keyword = (m[4] || m[2]).toLowerCase();
  10003. param = m[6];
  10004. if (keyword == 'customrule')
  10005. {
  10006. //save the current rule if all required fields are provided
  10007. if (rule)
  10008. {
  10009. err = false;
  10010. $.each(constraints, function(kw, constraint){
  10011. var l, constr = constraint[rule.type];
  10012. if (constr)
  10013. {
  10014. l = rule[kw] ? rule[kw].length : 0;
  10015. if (l < constr.min || l > constr.max)
  10016. {
  10017. 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);
  10018. err = true;
  10019. }
  10020. }
  10021. });
  10022. if (!err)
  10023. customRules.rules.push(makeCustomRule(rule));
  10024. }
  10025. //start a new rule
  10026. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10027. {
  10028. rule = {
  10029. 'enabled': !m[3],
  10030. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10031. 'name': param
  10032. };
  10033. }
  10034. else
  10035. {
  10036. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10037. rule = null;
  10038. }
  10039. }
  10040. else //good line format, but keyword other than customrule
  10041. {
  10042. if (!rule)
  10043. {
  10044. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10045. continue;
  10046. }
  10047. if (constraints[keyword])
  10048. {
  10049. constr = constraints[keyword][rule.type];
  10050. if (constr)
  10051. {
  10052. if (constr.paramRE && !constr.paramRE.test(param))
  10053. {
  10054. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10055. continue;
  10056. }
  10057. }
  10058. else
  10059. {
  10060. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10061. continue;
  10062. }
  10063. }
  10064. //line OK, save
  10065. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10066. }
  10067. } //if (m)
  10068. else
  10069. addInfo('warning', 'Unknown line format. Line skipped.');
  10070. } //for loop
  10071. return customRules;
  10072. } //function parseCustomRules
  10073.  
  10074.  
  10075. /* ********************UPDATES********************
  10076.  
  10077. May 25, 2017
  10078. Version 1.3.9.2
  10079. added avatarshare.com
  10080.  
  10081. May 15, 2017
  10082. Version 1.3.9.1
  10083. excluded google.pl
  10084. added code to fileshark.pl
  10085.  
  10086. May 12, 2017
  10087. Version 1.3.9.0
  10088. added owndrives.com
  10089.  
  10090. May 12, 2017
  10091. Version 1.3.8.9
  10092. added hotlink.cc
  10093.  
  10094. May 09, 2017
  10095. Version 1.3.8.8
  10096. added code for kingfile.pl
  10097. added code for catshare.net
  10098.  
  10099. May 08, 2017
  10100. Version 1.3.8.7
  10101. added file-upload.com
  10102.  
  10103. May 04, 2017
  10104. Version 1.3.8.6
  10105. fixed rapidgator
  10106.  
  10107. April 30, 2017
  10108. Version 1.3.8.5
  10109. fixed rapidgator
  10110.  
  10111. April 30, 2017
  10112. Version 1.3.8.4
  10113. added code for kingfile.pl
  10114.  
  10115. April 30, 2017
  10116. Version 1.3.8.3
  10117. changed code for kingfile.pl
  10118.  
  10119. April 29, 2017
  10120. Version 1.3.8.2
  10121. added code to kingfile.pl
  10122.  
  10123. April 29, 2017
  10124. Version 1.3.8.1
  10125. added code to kingfile.pl
  10126.  
  10127. April 28, 2017
  10128. Version 1.3.8.0
  10129. fileshark.pl
  10130. kingfile.pl
  10131. pobierz.to
  10132.  
  10133. April 26, 2017
  10134. Version 1.3.7.9
  10135. fixed 1f.al
  10136.  
  10137. April 16, 2017
  10138. Version 1.3.7.8
  10139. added crazyshare.cc
  10140.  
  10141. April 16, 2017
  10142. Version 1.3.7.7
  10143. fixed uploadgig.com
  10144.  
  10145. April 13, 2017
  10146. Version 1.3.7.6
  10147. added neodrive.co to obsolete hosts
  10148.  
  10149. April 07, 2017
  10150. Version 1.3.7.5
  10151. added french code for rg premium links
  10152.  
  10153. April 05, 2017
  10154. Version 1.3.7.4
  10155. added oload.tv
  10156.  
  10157. March 30, 2017
  10158. Version 1.3.7.3
  10159. added uploads.to
  10160.  
  10161. March 20, 2017
  10162. Version 1.3.7.2
  10163. added black-label.pro to obsolete hosts
  10164.  
  10165. March 13, 2017
  10166. Version 1.3.7.1
  10167. fixed filescdn.com
  10168.  
  10169. February 27, 2017
  10170. Version 1.3.7.0
  10171. fixed openload.co
  10172.  
  10173. February 26, 2017
  10174. Version 1.3.6.9
  10175. fixed drive.google.com
  10176. fixed uptobox.com (by dodoxp)
  10177.  
  10178. February 25, 2017
  10179. Version 1.3.6.8
  10180. added uploading.com to obsolete hosts
  10181.  
  10182. February 24, 2017
  10183. Version 1.3.6.7
  10184. cloudzilla.to added to obsolete hosts
  10185.  
  10186. February 23, 2017
  10187. Version 1.3.6.6
  10188. uploadify.net
  10189.  
  10190. February 22, 2017
  10191. Version 1.3.6.5
  10192. fixed katfile.com
  10193.  
  10194. February 12, 2017
  10195. Version 1.3.6.3
  10196. added junocloud.me to obsolete hosts
  10197.  
  10198. January 12, 2017
  10199. Version 1.3.6.2
  10200. added share.az & upfile.mobi
  10201.  
  10202. January 07, 2017
  10203. Version 1.3.6.1
  10204. added ausfile.com
  10205.  
  10206. January 05, 2017
  10207. Version 1.3.6.0
  10208. removed uploadable.ch from obsolete hosts
  10209.  
  10210. January 04, 2017e
  10211.  
  10212. December 31, 2016
  10213. Version 1.3.5.8
  10214. disabled on pizzaonline.dominos
  10215.  
  10216. December 31, 2016
  10217. Version 1.3.5.7
  10218. added uploadable.ch to obsolete hosts
  10219.  
  10220. December 30, 2016
  10221. Version 1.3.5.6
  10222. restored kingfiles.net
  10223.  
  10224. December 14, 2016
  10225. Version 1.3.5.5
  10226. fixed some 1fichier links not checking (yurii)
  10227.  
  10228. December 01, 2016
  10229. Version 1.3.5.4
  10230. added temp-share.com & filesha.com
  10231.  
  10232. November 30, 2016
  10233. Version 1.3.5.3
  10234. fixed mexashare.com not detecting some dead links
  10235.  
  10236. November 29, 2016
  10237. Version 1.3.5.2
  10238. added black-label.pro (live links only)
  10239.  
  10240. November 27, 2016
  10241. Version 1.3.5.1
  10242. made changes to filefactory
  10243.  
  10244. November 23, 2016
  10245. Version 1.3.5.0
  10246. added megashares.com to obsolete hosts
  10247. fixed letitbit not showing as obsolete
  10248. added littlebyte.net
  10249.  
  10250. November 22, 2016
  10251. Version 1.3.4.9
  10252. added code for live links to rapidgator
  10253. added dailyfiles.net
  10254. added upfiles.net
  10255. added multiup.eu
  10256.  
  10257. November 17, 2016
  10258. Version 1.3.4.8
  10259. fixed filefactory, again
  10260.  
  10261. November 17, 2016
  10262. Version 1.3.4.7
  10263. fixed filefactory folders
  10264.  
  10265. November 15, 2016
  10266. Version 1.3.4.6
  10267. fixed filefactory
  10268.  
  10269. November 14, 2016
  10270. Version 1.3.4.5
  10271. fixed rapidgator
  10272. fixed filefactory folders
  10273.  
  10274.  
  10275. November 13, 2016
  10276. Version 1.3.4.4
  10277. fixed problem with drive.google.com
  10278. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10279.  
  10280. November 06, 2016
  10281. Version 1.3.4.3
  10282. added to obsolete hosts (by love buzz)
  10283. 4up.me
  10284. a nonfiles.com
  10285. axifile.com
  10286. creafile.net
  10287. demo.ovh.eu
  10288. filesin.com
  10289. file swap.com
  10290. gulfup.com
  10291. hexupload.com
  10292. hugefiles.net
  10293. jumbofiles.com
  10294. kingfiles.net
  10295. letitbit.net
  10296. lolabits.es
  10297. nowdownload.ch
  10298. openfile.ru
  10299. radicalshare.com
  10300. remixshare.com
  10301. storefiles.co
  10302. toutbox.fr
  10303. uploadbaz.com
  10304. uploadingit.com
  10305. verzend.be
  10306. vidplay.net
  10307. vidxden.com
  10308. xfileload.com
  10309.  
  10310. November 04, 2016
  10311. Version 1.3.4.2
  10312. added french code for rapidgator premium links
  10313. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10314.  
  10315. November 03, 2016
  10316. Version 1.3.4.1
  10317. added Portuguese code for rapidgator premium links
  10318. added suprafiles.net
  10319.  
  10320. November 02, 2016
  10321. Version 1.3.4.0
  10322. fixed depositfiles not detecting depositfiles.com/de links
  10323.  
  10324. October 27, 2016
  10325. Version 1.3.3.9
  10326. fixed uploaded.net not detecting some dead links
  10327.  
  10328. October 24, 2016
  10329. Version 1.3.3.8
  10330. added more french code for upload.af dead links
  10331.  
  10332. October 23, 2016
  10333. Version 1.3.3.7
  10334. added french for upload.af dead links
  10335.  
  10336. October 17, 2016
  10337. Version 1.3.3.6
  10338. fixed error (by Yurii)
  10339.  
  10340. October 17, 2016
  10341. Version 1.3.3.5
  10342. fixed file.al (by Yurii)
  10343.  
  10344. October 16, 2016
  10345. Version 1.3.3.4
  10346. test
  10347.  
  10348. October 11, 2016
  10349. Version 1.3.3.3
  10350. fixed subyshare.com not detecting some dead links
  10351. fixed mexashare.com
  10352. fixed pornfile.cz
  10353.  
  10354. October 10, 2016
  10355. Version 1.3.3.2
  10356. added fileflares.com
  10357. added erafile.com
  10358. added loop to subyshare.com & rockfile.eu
  10359.  
  10360. September 26, 2016
  10361. Version 1.3.3.1
  10362. added uploadocean.com
  10363.  
  10364. September 25, 2016
  10365. Version 1.3.3.0
  10366. added exbit.net
  10367.  
  10368. September 25, 2016
  10369. Version 1.3.2.9
  10370. fixed uptobox
  10371. fixed google (by kubbbie)
  10372.  
  10373. September 23, 2016
  10374. Version 1.3.2.8
  10375. added danish to rapidgator
  10376.  
  10377. September 22, 2016
  10378. Version 1.3.2.7
  10379. added wayupload.com
  10380.  
  10381. September 18, 2016
  10382. Version 1.3.2.6
  10383. added Portuguese language to rapidgator
  10384.  
  10385. September 15, 2016
  10386. Version 1.3.2.5
  10387. added languages to rapidgator
  10388. french
  10389. german
  10390. spanish
  10391. Italian
  10392. russian
  10393. polish
  10394. dutch
  10395. czech
  10396. chinese
  10397. japanese
  10398.  
  10399. September 14, 2016
  10400. Version 1.3.2.4
  10401. fixed spaceforfiles.com
  10402.  
  10403. September 09, 2016
  10404. Version 1.3.2.3
  10405. added bdupload.info
  10406. added german & deutsch language to workupload.com
  10407.  
  10408. September 08, 2016
  10409. Version 1.3.2.2
  10410. added...
  10411. storageserver.co.uk
  10412. cloud.mail.ru
  10413. fixed depositfiles
  10414.  
  10415. September 08, 2016
  10416. Version 1.3.2.1
  10417. added workupload.com
  10418.  
  10419. September 04, 2016
  10420. Version 1.3.2.0
  10421. made changes to euroshare.eu
  10422.  
  10423. September 03, 2016
  10424. Version 1.3.1.9
  10425. added usercloud.net
  10426. made changes to euroshare.eu
  10427.  
  10428. August 31, 2016
  10429. Version 1.3.1.8
  10430. fixed uptobox.com
  10431.  
  10432. August 30, 2016
  10433. Version 1.3.1.7
  10434. made changes to euroshare.eu
  10435.  
  10436. August 29, 2016
  10437. Version 1.3.1.6
  10438. made changes to data.hu
  10439.  
  10440. August 29, 2016
  10441. Version 1.3.1.5
  10442. fixed euroshare.eu not detecting dead links
  10443.  
  10444. August 23, 2016
  10445. Version 1.3.1.4
  10446. added ulozto.sk
  10447. added ulozto.cz
  10448.  
  10449. August 19, 2016
  10450. Version 1.3.1.3
  10451. fixed euroshare.eu
  10452. fixed 2share.com
  10453.  
  10454. August 17, 2016
  10455. Version 1.3.1.2
  10456. added french code for 1fichier
  10457.  
  10458. August 16, 2016
  10459. Version 1.3.1.1
  10460. fix for 1fichier folder links, by yurii
  10461.  
  10462. August 15, 2016
  10463. Version 1.3.1.0
  10464. another fix for 1fichier
  10465. added mystore.to
  10466.  
  10467. August 12, 2016
  10468. Version 1.3.0.9
  10469. fixed 1fichier
  10470.  
  10471. August 01, 2016
  10472. Version 1.3.0.8
  10473. fixed tezfiles.com not detecting some premium links
  10474.  
  10475. July 24, 2016
  10476. Version 1.3.0.7
  10477. added fileshareup.com
  10478.  
  10479. July 17, 2016
  10480. Version 1.3.0.6
  10481. added subyshare.com
  10482.  
  10483. july 10, 2016
  10484. Version 1.3.0.5
  10485. fixed ulozto.net
  10486.  
  10487. july 07, 2016
  10488. Version 1.3.0.4
  10489. fixed uloz.to
  10490.  
  10491. july 07, 2016
  10492. Version 1.3.0.3
  10493. added imagenetz.de
  10494.  
  10495. June 23, 2016
  10496. Version 1.3.0.2
  10497. excluded nexcess.net
  10498.  
  10499. June 20, 2016
  10500. Version 1.3.0.1
  10501. added daofile.com
  10502.  
  10503. June 16, 2016
  10504. Version 1.3.0.0
  10505. added mexashare.com
  10506.  
  10507. June 16, 2016
  10508. Version 1.2.9.9
  10509. added novafile.com
  10510. added uploadgig.com
  10511.  
  10512. June 15, 2016
  10513. Version 1.2.9.8
  10514. fixed upload.af
  10515.  
  10516. June 10, 2016
  10517. Version 1.2.9.7
  10518. added alltu.eu
  10519.  
  10520. June 09, 2016
  10521. Version 1.2.9.6
  10522. added code for french language to rapidgator.net & rg.to
  10523.  
  10524. June 04, 2016
  10525. Version 1.2.9.5
  10526. added upnito.sk
  10527.  
  10528. May 31, 2016
  10529. Version 1.2.9.4
  10530. fixed mega.co (by yurii)
  10531.  
  10532. May 31, 2016
  10533. Version 1.2.9.3
  10534. code cleanup
  10535.  
  10536. May 27, 2016
  10537. Version 1.2.9.2
  10538. added filesin.space
  10539.  
  10540. May 27, 2016
  10541. Version 1.2.9.1
  10542. added
  10543. filescdn.com
  10544. bankupload.com
  10545. katfile.com
  10546.  
  10547. May 18, 2016
  10548. Version 1.2.9.0
  10549. added warped.co to obsolete hosts
  10550.  
  10551. May 17, 2016
  10552. Version 1.2.8.9
  10553. fixed mega.nz
  10554.  
  10555. May 16, 2016
  10556. Version 1.2.8.8
  10557. added to obsolete hosts
  10558. fileband.com
  10559. filecloud.cc
  10560. filesmelt.com
  10561. goldbytez.com
  10562. hulkshare.com
  10563. idup.in
  10564. loudupload.net
  10565. muchshare.net
  10566. myupload.dk
  10567. nekaka.com
  10568. netkups.com
  10569. plunder.com
  10570. uploads.xxx
  10571. uploadspace.pl
  10572. xkeepfile.com
  10573.  
  10574. May 16, 2016
  10575. Version 1.2.8.7
  10576. added upnito.sk to obsolete hosts
  10577.  
  10578. May 15, 2016
  10579. Version 1.2.8.6
  10580. fixed uploading.site
  10581.  
  10582. May 15, 2016
  10583. Version 1.2.8.5
  10584. added oload.net
  10585.  
  10586. May 14, 2016
  10587. Version 1.2.8.4
  10588. added uploading.site
  10589.  
  10590. May 13, 2016
  10591. Version 1.2.8.3
  10592. added uploadc.ch
  10593. fixed vidspot.net
  10594.  
  10595. May 13, 2016
  10596. Version 1.2.8.2
  10597. added keepshare.net
  10598.  
  10599. May 11, 2016
  10600. Version 1.2.8.1
  10601. added uploadserv.com
  10602.  
  10603. May 09, 2016
  10604. Version 1.2.8.0
  10605. fixed upstore.net & upsto.re
  10606. added 24uploading.com to obsolete hosts
  10607.  
  10608. May 06, 2016
  10609. Version 1.2.7.9
  10610. added storagon.com to obsolete hosts
  10611. fixed worldbytez.com
  10612.  
  10613. May 02, 2016
  10614. Version 1.2.7.8
  10615. added myfiles.onl
  10616.  
  10617. april 28, 2016
  10618. Version 1.2.7.7
  10619. fixed bytewhale.com
  10620.  
  10621. april 27, 2016
  10622. Version 1.2.7.6
  10623. fixed rapidgator not detecting some premium links.
  10624.  
  10625. april 27, 2016
  10626. Version 1.2.7.5
  10627. added jeodrive.com
  10628.  
  10629. april 26, 2016
  10630. Version 1.2.7.4
  10631. added sanshare.com to obsolete hosts
  10632.  
  10633. april 26, 2016
  10634. Version 1.2.7.3
  10635. fixed vidspot.net
  10636.  
  10637. april 26, 2016
  10638. Version 1.2.7.2
  10639. added upx.nz
  10640.  
  10641. april 25, 2016
  10642. Version 1.2.7.1
  10643. added rapidfilehost.com to obsolete hosts
  10644. fixed bitster.cz
  10645.  
  10646. april 12, 2016
  10647. Version 1.2.7.0
  10648. fixed rapidgator not detecting some premium links.
  10649.  
  10650. april 11, 2016
  10651. Version 1.2.6.9
  10652. changed code for ncrypt.in
  10653.  
  10654. april 07, 2016
  10655. Version 1.2.6.8
  10656. added fileinz.com to obsolete hosts.
  10657.  
  10658. april 06, 2016
  10659. Version 1.2.6.7
  10660. added sharingmaster.com to obsolete hosts.
  10661.  
  10662. april 05, 2016
  10663. Version 1.2.6.6
  10664. added 4upfiles.com & elffiles.com to obsolete hosts
  10665.  
  10666. april 03, 2016
  10667. Version 1.2.6.5
  10668. updates to configuration page
  10669.  
  10670. March 31, 2016
  10671. Version 1.2.6.4
  10672. added code for tampermonkey 4.0 compatibility
  10673.  
  10674. March 31, 2016
  10675. Version 1.2.6.3
  10676. fixed uloz.to
  10677. fixed copy dead links to clipboard feature
  10678. added copy live links to clipboard feature.
  10679.  
  10680. March 24, 2016
  10681. Version 1.2.6.2
  10682. changed made to nitroflare. (yurri)
  10683.  
  10684. March 20, 2016
  10685. Version 1.2.6.1
  10686. fixed rapidgator
  10687. fixed dfiles
  10688. fixed dl.free.fr
  10689. fixed nitroflare.com (Fixed by Yurii)
  10690.  
  10691. March 15, 2016
  10692. Version 1.2.6.0
  10693. fixed rapidgator.net
  10694. fixed uploaded.net
  10695.  
  10696. March 13, 2016
  10697. Version 1.2.5.9
  10698. added
  10699. uploads.ws
  10700. upl.me
  10701. clicknupload.link
  10702. added fileover.net to obsolete hosts
  10703. fixed kingfiles.net
  10704.  
  10705. March 09, 2016
  10706. Version 1.2.5.8
  10707. added kingfiles.net to obsolete hosts
  10708. fixed 4upld.com/expressleech.com
  10709.  
  10710. March 08, 2016
  10711. Version 1.2.5.7
  10712. fixed solidfiles.com
  10713.  
  10714. March 01, 2016
  10715. Version 1.2.5.6
  10716. added filespace.com
  10717. fixed depositfiles (by yurii)
  10718.  
  10719. February 29, 2016
  10720. Version 1.2.5.5
  10721. made change to keep2share
  10722.  
  10723. February 28, 2016
  10724. Version 1.2.5.4
  10725. removed down4files.com from obsolete hosts.
  10726.  
  10727. February 26, 2016
  10728. Version 1.2.5.3
  10729. fixed userscloud.com
  10730.  
  10731. February 24, 2016
  10732. Version 1.2.5.2
  10733. added yandex.com
  10734. fixed datafile.com
  10735.  
  10736. February 22, 2016
  10737. Version 1.2.5.1
  10738. added bigfile.to
  10739.  
  10740. February 20, 2016
  10741. Version 1.2.5.0
  10742. added abelhas.pt
  10743.  
  10744. February 18, 2016
  10745. Version 1.2.4.9
  10746. made change to uptobox
  10747.  
  10748. February 17, 2016
  10749. Version 1.2.4.8
  10750. fixed yadi.sk
  10751.  
  10752. February 16, 2016
  10753. Version 1.2.4.7
  10754. fixed datafile.com
  10755. fixed filecad.com
  10756. added filecore.co & filestorm.to to obsolete hosts
  10757. added upload.af, filedwon.in & uplod.it
  10758.  
  10759. February 15, 2016
  10760. Version 1.2.4.6
  10761. fixed kumpulbagi.id
  10762. added sangfile.com to obsolete hosts
  10763.  
  10764. February 14, 2016
  10765. Version 1.2.4.5
  10766. fixed yandex.ru
  10767.  
  10768. February 13, 2016
  10769. Version 1.2.4.4
  10770. added lunaticfiles.com.
  10771.  
  10772. February 09, 2016
  10773. Version 1.2.4.3
  10774. added file.up09.com.
  10775.  
  10776. February 09, 2016
  10777. Version 1.2.4.2
  10778. tezfiles.com premium links now detected.
  10779.  
  10780. February 09, 2016
  10781. Version 1.2.4.1
  10782. added seenupload.com to obsolete hosts
  10783. fixed 180upload.com to show obsolete
  10784.  
  10785. February 08, 2016
  10786. Version 1.2.4.0
  10787. added tusfiles.com
  10788. added filesupload.org
  10789. added gigasize.com
  10790. added filecad.com
  10791. fixed filecloud.io
  10792. added uploadnet.co to obsolete hosts
  10793.  
  10794. February 07,2016
  10795. Vession 1.2.3.9
  10796. fixed depositfiles.com folders
  10797. fixed turbobit.net folders
  10798.  
  10799. February 06, 2016
  10800. Version 1.2.3.8
  10801. fixed 1fichier false dead links
  10802.  
  10803. February 04, 2106
  10804. Version 1.2.3.7
  10805. added geupload and lenfile to obsolete hosts
  10806. fixed kyc.pm/depfile
  10807.  
  10808. February 03, 2016
  10809. Version 1.2.3.6
  10810. fixed some nitroflare.com dead links not being detected
  10811.  
  10812. February 01, 2016
  10813. Version 1.2.3.5
  10814. script moved to new site
  10815.  
  10816. January 20, 2016
  10817. Version 1.2.3.3
  10818. fixed some rapidgator premium link not being detected
  10819.  
  10820. January 17, 2016
  10821. Version 1.2.3.2
  10822. added bytewhale.com
  10823. added rapidrar.com
  10824.  
  10825. Version 1.2.3.1
  10826. added 180upload.com to obsolete hosts
  10827. fixed hellspy.com
  10828. added dinoshare.cz,
  10829.  
  10830. January 13, 2016
  10831. Version 1.2.3.0
  10832. added rapidu.net
  10833. added uploadboy.me
  10834. fixed euroshare.eu
  10835.  
  10836. January 12, 2016
  10837. Version 1.2.2.9
  10838. added kb.simple-aja.info
  10839.  
  10840. January 10, 2016
  10841. Version 1.2.2.8
  10842. made changes to fastshare.cz
  10843.  
  10844. January 10, 2016
  10845. Version 1.2.2.7
  10846. fixed uptobox.com
  10847.  
  10848. January 09, 2016
  10849. Version 1.2.2.6
  10850. datoteke.com now detects premium links
  10851. fixed turbobit.net
  10852. fixed uptobox.com
  10853. added pornfile.cz
  10854. added pornoid.cz
  10855. added file-share.top
  10856. added bitster.cz
  10857.  
  10858. January 05, 2016
  10859. Version 1.2.2.5
  10860. fixed salefiles.com
  10861. fixed ozofile.com
  10862.  
  10863. January 04, 2016
  10864. Version 1.2.2.4
  10865. added sharehost.eu
  10866.  
  10867. December 30, 2015
  10868. Version 1.2.2.3
  10869. added tezfiles.com
  10870.  
  10871. December 28, 2015
  10872. Version 1.2.2.2
  10873. fixed some k2s & fboom dead link not getting detected
  10874. fixed some k2s premium links not getting detected.
  10875. fixed ssh.yt not detecting some dead links
  10876. fixed ncrypt.in dead links showing yellow
  10877.  
  10878. December 20, 2015
  10879. Version 1.2.2.0
  10880. added datoteke.com
  10881.  
  10882. December 19, 2015
  10883. Version 1.2.1.9
  10884. added secured.in & linksave.in to obsolete hosts
  10885.  
  10886. December 17, 2015
  10887. Version 1.2.1.8
  10888. added german for dead links to secureupload.eu.
  10889.  
  10890. December 17, 2015
  10891. Version 1.2.1.7
  10892. added french for dead links to secureupload.eu.
  10893. fixed problem with tooltip display.
  10894.  
  10895. December 13, 2015
  10896. Version 1.2.1.6
  10897. added netload.me & fileparadox.in to obsolete hosts
  10898.  
  10899. December 09, 2015
  10900. Version 1.2.1.5
  10901. added rapidsonic.com & fileparadox.com to obsolete hosts
  10902.  
  10903. December 04, 2015
  10904. Version 1.2.1.4
  10905. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10906.  
  10907. December 03, 2015
  10908. Version 1.2.1.3
  10909. added dailyuploads.net
  10910.  
  10911. December 02, 2015
  10912. Version 1.2.1.2
  10913. fixed hitfile.net
  10914. fixed kingfiles.net
  10915.  
  10916. November 30, 2015
  10917. Version 1.2.1.1
  10918. added filepost.com to obsolete hosts
  10919. added devilshare.net
  10920.  
  10921. November 28, 2015
  10922. Version 1.2.1.0
  10923. fixed datafile.com not detecting some premium links.
  10924.  
  10925. November 25, 2015
  10926. Version 1.2.0.9
  10927. fixed filejoker.net
  10928. fixed toutbox.fr
  10929. fixed nowvideo.sx
  10930.  
  10931. November 24, 2015
  10932. Version 1.2.0.8
  10933. fixed openload.io
  10934.  
  10935. November 20, 2015
  10936. Version 1.2.0.7
  10937. //added file.al
  10938. //fixed nitroflare.com false live links
  10939. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10940.  
  10941. November 17, 2015
  10942. Version 1.2.0.6
  10943. added clicknupload.me
  10944.  
  10945. November 09, 2015
  10946. Version 1.2.0.5
  10947. fixed some depfile premium links not being detected
  10948.  
  10949. November 08, 2015
  10950. Version 1.2.0.4
  10951. fixed some rapidgator premium links not being detected
  10952. fixed doraupload.com
  10953.  
  10954. November 08, 2015
  10955. Version 1.2.0.3
  10956. fixed uploaded false premium
  10957.  
  10958. November 07, 2015
  10959. Version 1.2.0.2
  10960. fixed redbunker.net
  10961.  
  10962. November 05, 2015
  10963. Version 1.2.0.1
  10964. fixed app.box.com
  10965. added multiup.org (does not detect all dead links)
  10966.  
  10967. November 01, 2015
  10968. Version 1.2.0.0
  10969. added more languages to rockfile and 1fichier
  10970.  
  10971. November 01, 2015
  10972. Version 1.1.9.9
  10973. fixed rockfile.eu
  10974. changed 1fichier code (Thanks yurri)
  10975. added to obsolete hosts... (Thanks Love Buzz)
  10976. burnupload.com
  10977. cramit.in
  10978. cramitin.net
  10979. down4files.com
  10980. edoc.com
  10981. jumbofile.net
  10982. krotix.net
  10983. migahost.com
  10984. movreel.com
  10985. netload.in
  10986. newfileland.com
  10987. quickshare.cz
  10988.  
  10989. October 30, 2015
  10990. Version 1.1.9.8
  10991. added alfafile.net
  10992.  
  10993. October 26, 2015
  10994. Version 1.1.9.7
  10995. changed datafile.com and uplea.com
  10996. added lolabits.es
  10997.  
  10998. October 26, 2015
  10999. Version 1.1.9.6
  11000. added toutbox.fr
  11001.  
  11002. October 25, 2015
  11003. Version 1.1.9.5
  11004. fixed counter error
  11005.  
  11006. October 25, 2015
  11007. Version 1.1.9.4
  11008. changed uptobox.com code
  11009.  
  11010. October 21, 2015
  11011. Version 1.1.9.3
  11012. fixed uptobox.com
  11013.  
  11014. October 20, 2015
  11015. Version 1.1.9.2
  11016. bug fixes and new method of detecting premium links.
  11017.  
  11018. October 15, 2015
  11019. Version 1.1.9.1
  11020. fixed hugefiles.net false premium
  11021. changed uptobox.com code
  11022.  
  11023. October 06, 2015
  11024. Version 1.1.9.0
  11025. fixed filefactory
  11026. fixed rockfile false premium
  11027. keep2share & fileboom now detect premium links (fixed by yurii)
  11028.  
  11029. October 01, 2015
  11030. Version 1.1.8.9
  11031. fixed free.fr false premium
  11032. fixed thevideo.me false premium
  11033.  
  11034. September 28, 2015
  11035. Version 1.1.8.8
  11036. added uplea.com and openload.co
  11037.  
  11038. September 27, 2015
  11039. Version 1.1.8.7
  11040. fixed fileparadox.in false premium
  11041. added kingfiles.net to obsolete hosts
  11042. removed inafile.com from obsolete hosts
  11043.  
  11044. September 22, 2015
  11045. Version 1.1.8.6
  11046. fixed nitroflare false premium
  11047.  
  11048. September 22, 2015
  11049. Version 1.1.8.5
  11050. fixed userscloud.com false premium
  11051. fixed usersfiles.com false premium
  11052. changed arabloads.com to arabloads.net
  11053. changed nowdownloads.eu to nowdownloads.ch
  11054.  
  11055. September 21, 2015
  11056. Version 1.1.8.3
  11057. added ryushare.com to obsolete hosts.
  11058.  
  11059. September 20, 2015
  11060. Version 1.1.8.2
  11061. fixed nitroflare not showing premium links
  11062. added down4files.com,storfiles.co,filehost.pw
  11063.  
  11064. September 16, 2015
  11065. Version 1.1.8.1
  11066. added crisshare.com to obsolete hosts
  11067. fixed filemoney.com false premium
  11068. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11069.  
  11070. September 14, 2015
  11071. Version 1.1.8.0
  11072. added to obsolete hosts...
  11073. sharebeast.com
  11074. tufiles.ru
  11075.  
  11076. September 12, 2015
  11077. Version 1.1.7.9
  11078. fixed rghost.net false premium
  11079. fixed unlimitzone.com false premium
  11080. fixed turbobit.net false live link
  11081.  
  11082. September 11, 2015
  11083. Version 1.1.7.8
  11084. Fixed filefactory.com false premium.
  11085.  
  11086. September 07, 2015
  11087. Version 1.1.7.7
  11088. fixed "depositfiles.com/en/files" links not checking
  11089.  
  11090. September 06, 2015
  11091. Version 1.1.7.6
  11092. added French code for 1fichier
  11093.  
  11094. August 29, 2015
  11095. Version 1.1.7.5
  11096. fixed depositfiles
  11097. fixed mega.co.nz/mega.nz
  11098. (fixed by yurii)
  11099.  
  11100. August 23, 2015
  11101. Version 1.1.7.4
  11102. Fixed uploadrocket (by yurii)
  11103.  
  11104. August 20, 2015
  11105. Version 1.1.7.3
  11106. fixed depfile.com false premium
  11107. fixed 1fichier false premium
  11108. fixed rapidgator false premium
  11109.  
  11110. August 08, 2015
  11111. Version 1.1.7.1
  11112. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11113.  
  11114. August 07, 2015
  11115. Version 1.1.7.0
  11116. fixed...
  11117. streamin.to
  11118. thefile.me
  11119. vidzi.tv
  11120. added...
  11121. filenuke.com
  11122. vidto.me
  11123. vidspot.net
  11124. sharesix.com
  11125. sharesix.net
  11126. movpod.in,
  11127.  
  11128. August 07, 2015
  11129. Version 1.1.6.9 added...
  11130. thefile.me
  11131. vidzi.tv
  11132. videoweed.es
  11133. vodlocker.com
  11134. nowvideo.sx
  11135. cloudtime.to
  11136. thevideo.me
  11137. vidbull.com
  11138. allmyvideos.net
  11139. novamov.com
  11140. filehoot.com
  11141. stagevu.com
  11142. gorillavid.in
  11143. streamin.to
  11144.  
  11145. August 02, 2015
  11146. Version 1.1.6.8
  11147. added cloudshares.net
  11148.  
  11149. August 01, 2015
  11150. Version 1.1.6.7
  11151. fixed depfile redirectors false premium
  11152.  
  11153. July 31, 2015
  11154. Version 1.1.6.6
  11155. fixed depfile.com false premium
  11156. */

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址