W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAY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LiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @exclude https://www.google.pl*
  15. // @include http://*
  16. // @include https://*
  17. // @include file:///*
  18. // @grant GM_setValue
  19. // @grant GM_getValue
  20. // @grant GM_xmlhttpRequest
  21. // @grant GM_log
  22. // @grant GM_addStyle
  23. // @grant GM_registerMenuCommand
  24. // @grant GM_getResourceText
  25. // @grant GM_info
  26. // @grant GM_setClipboard
  27. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  28. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  29. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  30. // @homepage http://usa.x10host.com/mybb
  31. // @namespace war premium
  32. // @noframes
  33. // @version 1.4.0.2
  34. // ==/UserScript==
  35.  
  36. var War_version = "1.4.0.2 June 26, 2017";
  37.  
  38. //separate alternative domains with "|" char (first name is considered being main)
  39. var allHostNames = [
  40. "1fichier.com|dl4free.com",
  41. "zapfile.net",
  42. "avatarshare.com",
  43. "up-4ever.com",
  44. "owndrives.com",
  45. "hotlink.cc",
  46. "fileshark.pl",
  47. "pobierz.to",
  48. "kingfile.pl",
  49. "oload.tv",
  50. "uploads.to",
  51. "uploadify.net",
  52. "temp-share.com",
  53. "ausfile.com",
  54. "filesha.com",
  55. "upfiles.net",
  56. "dailyfiles.net",
  57. "upfile.mobi",
  58. "share.az",
  59. "crazyshare.cc",
  60. "uploadocean.com",
  61. "drive.google.com",
  62. "suprafiles.net",
  63. "suprafiles.co",
  64. "fileflares.com",
  65. "erafile.com",
  66. "mystore.to",
  67. "littlebyte.net",
  68. "exbit.net",
  69. "bdupload.info",
  70. "workupload.com",
  71. "wayupload.com",
  72. "cloud.mail.ru",
  73. "fileshareup.com",
  74. "usercloud.net",
  75. "daofile.com",
  76. "subyshare.com",
  77. "mexashare.com",
  78. "uploadgig.com",
  79. "upload.af",
  80. "alltu.eu",
  81. "filesin.space",
  82. "imagenetz.de",
  83. "katfile.com",
  84. "bankupload.com",
  85. "keepshare.net",
  86. "filescdn.com",
  87. "myfiles.onl",
  88. "uploadserv.com",
  89. "uploading.site",
  90. "filedwon.info",
  91. "jeodrive.com",
  92. "ncrypt.in",
  93. "yandex.com",
  94. "down4files.com",
  95. 'filespace.com',
  96. "uplod.it",
  97. "rapidu.net",
  98. "uploads.ws|upl.me",
  99. "file.up09.com",
  100. "lunaticfiles.com",
  101. "filecad.com",
  102. "filesupload.org",
  103. "bytewhale.com",
  104. "rapidrar.com",
  105. "download.cz.hellshare.com",
  106. "pornfile.cz",
  107. "dinoshare.cz",
  108. "kb.simple-aja.info",
  109. "bitster.cz",
  110. "file-share.top",
  111. "pornoid.cz",
  112. "dailyuploads.net",
  113. "sharehost.eu",
  114. "tezfiles.com",
  115. "devilshare.net",
  116. "alfafile.net",
  117. "openload.co",
  118. "multiup.org",
  119. "uplea.com",
  120. "filenuke.com",
  121. "file.al|1f.al",
  122. "vidto.me",
  123. "filehost.pw",
  124. "turbobit.ru",
  125. "sharesix.com|sharesix.net",
  126. "movpod.in",
  127. "thefile.me",
  128. "datoteke.com",
  129. "vidzi.tv",
  130. "videoweed.es",
  131. "vodlocker.com",
  132. "nowvideo.sx",
  133. "cloudtime.to",
  134. "thevideo.me",
  135. "vidbull.com",
  136. "novamov.com",
  137. "filehoot.com",
  138. "stagevu.com",
  139. "gorillavid.in",
  140. "streamin.to",
  141. "4upld.com|expressleech.com",
  142. "cloudshares.net",
  143. "swoopshare.com",
  144. "2shared.com",
  145. "fileupload.pw",
  146. "zxcfiles.com",
  147. "up07.net",
  148. "4shared.com",
  149. "adrive.com",
  150. "aisfile.com",
  151. "bezvadata.cz",
  152. "usersfiles.com",
  153. "pan.baidu.com",
  154. "datei.to",
  155. "daten-hoster.de|filehosting.org|xtraupload.de",
  156. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  157. "divshare.com",
  158. "easy-share.com|crocko.com",
  159. "easybytez.com",
  160. "edisk.cz",
  161. "euroshare.eu",
  162. "file-upload.net",
  163. "file-upload.com",
  164. "yadi.sk",
  165. "wizupload.com",
  166. "fastshare.cz",
  167. "filefactory.com",
  168. "share.vnn.vn",
  169. "yunpan.cn",
  170. "tropicshare.com",
  171. "inclouddrive.com",
  172. "fileflyer.com",
  173. "filerio.com|filekeen.com",
  174. "up.4share.vn",
  175. "upfile.vn",
  176. "datafilehost.com",
  177. "worldbytez.com",
  178. "files.mail.ru",
  179. "filesflash.com",
  180. "box.com",
  181. "uptobox.com",
  182. "box.net",
  183. "sdilej.cz",
  184. "ex-load.com",
  185. "filesmonster.com",
  186. "filestore.to",
  187. "hulkload.com",
  188. "filedropper.com",
  189. "free-uploading.com",
  190. "gamefront.com|filefront.com",
  191. "gettyfile.ru",
  192. "gigapeta.com",
  193. "gigasize.com",
  194. "hellshare.com",
  195. "hellspy.com",
  196. "hitfile.net",
  197. "hostuje.net",
  198. "freefilehosting.net",
  199. "free.fr",
  200. "hyperfileshare.com",
  201. "filecloud.io|ifile.it",
  202. "ifolder.ru",
  203. "uploadrocket.net",
  204. "lafiles.com",
  205. "leteckaposta.cz|sharegadget.com",
  206. "load.to",
  207. "mediafire.com",
  208. "megafileupload.com",
  209. "movshare.net",
  210. "narod.ru|narod.yandex.ru",
  211. "fboom.me|fileboom.me",
  212. "partage-facile.com",
  213. "sharerapid.cz",
  214. "exclusiveloader.com",
  215. "acefile.net",
  216. "queenshare.com",
  217. "rapidgator.net",
  218. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  219. "oboom.com",
  220. "filepi.com",
  221. "rarefile.net",
  222. "rayfile.com",
  223. "rghost.net",
  224. "sendmyway.com",
  225. "clicknupload.com",
  226. "clicknupload.me",
  227. "clicknupload.link",
  228. "clicknupload.org",
  229. "uploadable.ch",
  230. "sharemods.com",
  231. "hostr.co",
  232. "sendspace.com",
  233. "sharecash.org",
  234. "share-links.biz",
  235. "share-online.biz|egoshare.com",
  236. "megarapid.cz",
  237. "shareflare.net",
  238. "solidfiles.com",
  239. "led.wf",
  240. "lan.wf",
  241. "adlink.wf",
  242. "click.tf",
  243. "kyc.pm",
  244. "ssh.tf",
  245. "ssh.yt",
  246. "yep.pm",
  247. "stahovanizasms.cz",
  248. "turbobit.net",
  249. "tikfile.com",
  250. "cloudsix.me",
  251. "turboupload.com",
  252. "uloz.to",
  253. "ulozto.net",
  254. "ulozto.sk",
  255. "ulozto.cz",
  256. "ulozisko.sk",
  257. "uloziste.com",
  258. "unibytes.com",
  259. "upload-il.net|przeslij.net",
  260. "uploaded.to|uploaded.net|ul.to",
  261. "chayfile.com",
  262. "rockfile.eu",
  263. "usaupload.net",
  264. "veehd.com",
  265. "videobb.com",
  266. "vip-file.com",
  267. "webshare.cz",
  268. "xdisk.cz",
  269. "yunfile.com|filemarkets.com",
  270. "ziddu.com",
  271. "zippyshare.com",
  272. "rodfile.com",
  273. "wikiupload.com",
  274. "uploadstube.de",
  275. "faststore.org",
  276. "flyfiles.net",
  277. "prefiles.com",
  278. "hackerbox.org",
  279. "amonshare.com",
  280. "data.hu",
  281. "brupload.net",
  282. "kingfiles.net",
  283. "userscloud.com",
  284. "kumpulbagi.com|kumpulbagi.id",
  285. "uppit.com|up.ht|upx.nz",
  286. "downloadani.me",
  287. "filesabc.com",
  288. "extmatrix.com",
  289. "sendfiles.nl",
  290. "yourfilestore.com",
  291. "filebig.net",
  292. "file4safe.com",
  293. "tusfiles.net|tusfiles.com",
  294. "filemac.com",
  295. "ozofiles.com",
  296. "nosupload.com",
  297. "gboxes.com",
  298. "myvdrive.com|fileserving.com",
  299. "novafile.com",
  300. "longfiles.com",
  301. "bitupload.com",
  302. "indowebster.com",
  303. "superload.cz",
  304. "mafiastorage.com",
  305. "hellupload.com",
  306. "stiahni.si",
  307. "sendspace.pl",
  308. "fastshare.org",
  309. "filejoker.net",
  310. "filestore.com.ua",
  311. "rapidfileshare.net",
  312. "stiahnito.sk",
  313. "rusfolder.com",
  314. "catshare.net",
  315. "mixturecloud.com",
  316. "filedais.com",
  317. // "imdb.com",
  318. "nitroflare.com",
  319. "akafile.com",
  320. "up.top4top.net",
  321. "upload.ee",
  322. "shareplace.org",
  323. "uploadc.com",
  324. "uploadc.ch",
  325. "exoshare.com",
  326. "borncash.org",
  327. "2downloadz.com",
  328. "mightyupload.com",
  329. "anysend.com",
  330. "datafile.com",
  331. "upstore.net",
  332. "upsto.re",
  333. "speedy.sh",
  334. "ge.tt",
  335. "filesflash.net",
  336. "salefiles.com",
  337. "datoid.cz",
  338. "cloudstor.es",
  339. "streamfile.com",
  340. "eyesfile.ca",
  341. "filemoney.com",
  342. "uploadboy.com",
  343. "uploadboy.me",
  344. "speedshare.eu",
  345. "google.com|google.be",
  346. "unlimitzone.com",
  347. "rioupload.com",
  348. "rg.to",
  349. "jumbofiles.org",
  350. "fshare.vn",
  351. "spaceforfiles.com",
  352. "up.media1fire.com",
  353. "depfile.com",
  354. "go4up.com",
  355. "dropbox.com",
  356. "redbunker.net",
  357. "divxpress.com",
  358. "mega.nz|mega.co.nz",
  359. "storageserver.co.uk",
  360. "anafile.com",
  361. "bigfile.to",
  362. "arabloads.net",
  363. "sharerepo.com",
  364. "sfshare.se",
  365. "files.fm",
  366. "koofile.com",
  367. "doraupload.com",
  368. "openload.io",
  369. "upnito.sk",
  370. "oload.net",
  371. ];
  372.  
  373. try
  374. {
  375. //iframes excluded
  376. if (window.top != window.self)
  377. {
  378. return;
  379. }
  380. //allHostNames sites excluded
  381. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  382. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  383. ")"))
  384. {
  385. return;
  386. }
  387. }
  388. catch (e)
  389. {
  390. return;
  391. }
  392.  
  393. //separate alternative domains with "|" char (first name is considered being main)
  394. var allContainerNames = [
  395. "adf.ly",
  396. "linkcrypt.ws",
  397. "linksafe.me",
  398. // "linksave.in",
  399. "linkto.net",
  400. "madlink.sk",
  401. "multiload.cz",
  402. "mirrorcreator.com",
  403. // "ncrypt.in",
  404. "redi.re",
  405. "relink.us",
  406. "safelinking.net",
  407. "theloo.katt.it",
  408. "bit.ly",
  409.  
  410. ];
  411.  
  412. //separate alternative domains with "|" char (first name is considered being main)
  413. var allObsoleteNames = [
  414. "black-label.pro",
  415. "4up.me",
  416. "anonfiles.com",
  417. "axifile.com",
  418. "creafile.net",
  419. "cloudzilla.to",
  420. "neodrive.co",
  421. "demo.ovh.eu",
  422. "filesin.com",
  423. "fileswap.com",
  424. "junocloud.me",
  425. "gulfup.com",
  426. "hexupload.com",
  427. "secureupload.eu",
  428. "hugefiles.net",
  429. "jumbofiles.com",
  430. "letitbit.net",
  431. "lolabits.es",
  432. "nowdownload.ch",
  433. "openfile.ru",
  434. "radicalshare.com",
  435. "remixshare.com",
  436. "storefiles.co",
  437. "toutbox.fr",
  438. "uploadbaz.com",
  439. "uploadingit.com",
  440. "uploading.com",
  441. "verzend.be",
  442. "vidplay.net",
  443. "vidxden.com",
  444. "xfileload.com",
  445. "warped.co",
  446. "xkeepfile.com",
  447. "abelhas.pt",
  448. "uploadspace.pl",
  449. "allmyvideos.net",
  450. "uploads.xxx",
  451. "netkups.com",
  452. "nekaka.com",
  453. "vidspot.net",
  454. "myupload.dk",
  455. "muchshare.net",
  456. "loudupload.net",
  457. "idup.in",
  458. "hulkshare.com",
  459. "goldbytez.com",
  460. "filesmelt.com",
  461. "fileband.com",
  462. "uloz.cz",
  463. "secured.in",
  464. "rapidfilehost.com",
  465. "fileover.net",
  466. "fileinz.com",
  467. "linksave.in",
  468. "seenupload.com",
  469. "sangfile.com",
  470. "filepost.com|fp.io",
  471. "sharingmaster.com ",
  472. "24uploading.com",
  473. "storagon.com",
  474. "sanshare.com",
  475. "filestorm.to",
  476. "uploadnet.co",
  477. "180upload.com",
  478. "rapidsonic.com",
  479. "fileparadox.com",
  480. "4upfiles.com",
  481. "geupload.com",
  482. "lenfile.com",
  483. "fileparadox.in",
  484. "uploadhero.co",
  485. "uploadhero.com",
  486. "newfileland.com",
  487. "quickshare.cz",
  488. "elffiles.com",
  489. "netload.in",
  490. "netload.me",
  491. "movreel.com",
  492. "migahost.com",
  493. "krotix.net",
  494. "jumbofile.net",
  495. "edoc.com",
  496. "cramit.in|cramitin.net",
  497. "freakshare.com",
  498. "burnupload.com|burnupload.ihiphop.com",
  499. "freakshare.net",
  500. "daj.to",
  501. "bl.st",
  502. "2drive.net",
  503. "ryushare.com",
  504. "crisshare.com",
  505. "tufiles.ru",
  506. "uncapped-downloads.com",
  507. "sockshare.com",
  508. "ddlstorage.com",
  509. "dataport.cz",
  510. "dizzcloud.com",
  511. "sharebeast.com",
  512. "stahovadlo.cz",
  513. "shared.com",
  514. "storage.to",
  515. "putlocker.com",
  516. "lumfile.com",
  517. "lumfile.se",
  518. "lumfile.eu",
  519. "firedrive.com",
  520. "fileshare.in.ua",
  521. "filecore.co.nz",
  522. "filecore.co",
  523. "iskladka.cz",
  524. "file-rack.com",
  525. "fast-load.net",
  526. "subory.sk",
  527. "bigandfree.com",
  528. "fileop.com",
  529. "mujsoubor.cz",
  530. "sendfile.to",
  531. "superfastfile.com",
  532. "quickyshare.com",
  533. "duckload.com",
  534. "uploadstore.net",
  535. "meinupload.com",
  536. "dualshare.com",
  537. "2xupload.to|2xupload.de",
  538. "oxedion.com",
  539. "uploadline.com",
  540. "dll.bz",
  541. "movieshare.in",
  542. "milledrive.com",
  543. "quickupload.net",
  544. "safelink.in",
  545. "metadivx.com",
  546. "divxlink.com",
  547. "uploadrack.com",
  548. "teradepot.com",
  549. "dataup.to",
  550. "upit.to",
  551. "driveway.com",
  552. "eatlime.com",
  553. "a2zuploads.com",
  554. "friendlyfiles.net",
  555. "flyfile.us",
  556. "speedyshare.com",
  557. "uploadspace.eu",
  558. "keepfile.com",
  559. "piggyshare.com",
  560. "uplly.com",
  561. "filecrown.com",
  562. "6giga.com",
  563. "uploadjockey.com",
  564. "bluehost.to",
  565. "filegu.ru",
  566. "filebase.to",
  567. "up-file.com",
  568. "xvideos.com",
  569. "ufox.com",
  570. "filebling.com",
  571. "loaded.it",
  572. "uploadcell.com",
  573. "uploadshare.cz",
  574. "mangoshare.com",
  575. "filestab.com",
  576. "crazyupload.com",
  577. "gaiafile.com",
  578. "sharejunky.com",
  579. "fileho.com",
  580. "bigandfree.com",
  581. "bigfile.in",
  582. "bigshare.eu",
  583. "dahosting.org",
  584. "digisofts.net",
  585. "file4save.com",
  586. "filechip.com",
  587. "filescloud.com",
  588. "saveqube.com",
  589. "turboshare.de",
  590. "z-upload.com",
  591. "youshare.com",
  592. "jiffyupload.com",
  593. "gigeshare.com",
  594. "datenklo.net",
  595. "upload.dj",
  596. "loadfiles.in",
  597. "upit.to",
  598. "dsfileshare.com",
  599. "sharesimple.net",
  600. "4files.net",
  601. "wooupload.com",
  602. "odsiebie.com",
  603. "filenavi.com",
  604. "3oof.com",
  605. "meshwaar.com",
  606. "maxupload.com",
  607. "share.cx",
  608. "atserver.eu",
  609. "hotfiles.ws",
  610. "esnips.com",
  611. "tuxfile.com",
  612. "file2upload.net",
  613. "filebling.com",
  614. "turboshare.com",
  615. "rarhost.com",
  616. "isharehd.com",
  617. "i741.com",
  618. "dataup.de",
  619. "fofly.com",
  620. "shareonall.com",
  621. "sexuploader.com",
  622. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  623. "uploadhyper.com",
  624. "filespawn.com",
  625. "caizzii.com",
  626. "volnyweb.cz",
  627. "usershare.net",
  628. "filescash.net",
  629. "metahyper.com",
  630. "combozip.com",
  631. "x7.to",
  632. "uploadbox.com",
  633. "enterupload.com|flyupload.com",
  634. "filepoint.de",
  635. "mystream.to",
  636. "x-fs.com",
  637. "shareator.com",
  638. "srapid.eu",
  639. "sosame.cz",
  640. "filesdump.com",
  641. "2-klicks.de",
  642. "uploking.com",
  643. "silofiles.com",
  644. "upfile.in",
  645. "filehook.com",
  646. "uploadking.com",
  647. "uploadhere.com",
  648. "kewlshare.com",
  649. "rapidable.com",
  650. "uploadwaste.com",
  651. "filemup.com",
  652. "filesonic.com|sharingmatrix.com",
  653. "fileserve.com",
  654. "wupload.com",
  655. "skipfile.com",
  656. "smartuploader.com",
  657. "dualshare.com",
  658. "storeandserve.com",
  659. "mountfile.com",
  660. "transitfiles.com",
  661. "uploadstation.com",
  662. "filejungle.com",
  663. "shareshared.com",
  664. "quickyshare.com",
  665. "save.am",
  666. "petandrive.com",
  667. "file2box.com",
  668. "flyshare.cz",
  669. "yabadaba.ru",
  670. "cloudcache.cc",
  671. "yourfilehost.com",
  672. "jakfile.com",
  673. "kickload.com",
  674. "pyramidfiles.com",
  675. "refile.net",
  676. "zshare.net",
  677. "ddlani.me|ddlanime.com",
  678. "ftp2share.com",
  679. "fooget.com",
  680. "rapidhide.com",
  681. "gotupload.com",
  682. "mooload.com",
  683. "zupload.com",
  684. "mytempdir.com",
  685. "onionshare.com",
  686. "stahnu.to",
  687. "oron.com",
  688. "badongo.com",
  689. "filereactor.com",
  690. "filegaze.com",
  691. "4bytez.com",
  692. "1hostclick.com",
  693. "anonstream.com",
  694. "batshare.com",
  695. "bitroad.net",
  696. "brontofile.com",
  697. "cloudnxt.net",
  698. "cloudnator.com|shragle.com",
  699. "filesfrog.net",
  700. "coolshare.cz",
  701. "dotavi.com",
  702. "ezyfile.net",
  703. "file-bit.net",
  704. "filecosy.com",
  705. "fileduct.com|fileduct.net",
  706. "filefat.com",
  707. "filelaser.com",
  708. "filemashine.com",
  709. "fileserver.cc",
  710. "filetechnology.com",
  711. "fireuploads.net",
  712. "gigfiles.net",
  713. "holderfile.com",
  714. "ihostia.com",
  715. "k2files.com",
  716. "mojofile.com",
  717. "ovfile.com",
  718. "qshare.com",
  719. "shafiles.me",
  720. "sharefilehost.com",
  721. "shareupload.com",
  722. "stahuj.to",
  723. "ugotfile.com",
  724. "uploadboost.com",
  725. "fileom.com",
  726. "vidhog.com",
  727. "xfileshare.eu",
  728. "bzlink.us",
  729. "bulletupload.com",
  730. "bloggerarticles.com",
  731. "mojedata.sk",
  732. "sharpfile.com",
  733. "upgrand.com",
  734. "nasdilej.cz",
  735. "mediatack.cz",
  736. "share-it.to",
  737. "primeupload.com",
  738. "filebeer.info",
  739. "baberepublic",
  740. "xtu.me",
  741. "sharebase.de",
  742. "luckyshare.net",
  743. "filerobo.com",
  744. "filevelocity.com",
  745. "filezpro.com",
  746. "file4sharing.com",
  747. "cing.be",
  748. "ufile.eu",
  749. "pigsonic.com",
  750. "fileupped.com",
  751. "sharerun.com",
  752. "filesaur.com",
  753. "rapidslnare.com",
  754. "bestsharing.com",
  755. "savefiles.net",
  756. "file2share.biz",
  757. "filecache.de",
  758. "monsteruploads.eu",
  759. "b9bb.com",
  760. "aiotool.net",
  761. "jamber.info",
  762. "megaftp.com",
  763. "desiupload.net",
  764. "file27.com",
  765. "yastorage.com",
  766. "filehost.ws",
  767. "copyload.com",
  768. "venusfile.com",
  769. "aieshare.com",
  770. "terafile.co",
  771. "terafile.com",
  772. "fileza.net",
  773. "filerose.com",
  774. "squillion.com",
  775. "fileprohost.com",
  776. "bitbonus.com",
  777. "warserver.cz",
  778. "uload.to",
  779. "sharedbit.net",
  780. "megaload.it",
  781. "filewinds.com",
  782. "uploadcore.com",
  783. "syfiles.com",
  784. "eyesfile.com",
  785. "hotfile.com",
  786. "superupl.com",
  787. "oteupload.com",
  788. "henchfile.com",
  789. "filegag.com",
  790. "HenchFile.com",
  791. "filedefend.com",
  792. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  793. "megabitshare.com",
  794. "cloudzer.com",
  795. "asfile.com",
  796. "cloudzer.net",
  797. "clz.to",
  798. "extabit.com",
  799. "247upload.com",
  800. "2download.de",
  801. "4fastfile.com",
  802. "asixfiles.com",
  803. "berofile.com",
  804. "bigupload.com",
  805. "cepzo.com",
  806. "clouds.to",
  807. "cobrashare.sk",
  808. "coraldrive.net",
  809. "cyberlocker.ch",
  810. "czshare.com",
  811. "darkport.org",
  812. "dark-uploads.com",
  813. "davvas.com",
  814. "enigmashare.com",
  815. "erofly.cz",
  816. "fastsonic.net",
  817. "filebox.com",
  818. "filecity.net",
  819. "filedap.com",
  820. "filedino.com",
  821. "filedownloads.org",
  822. "filefolks.com",
  823. "fileking.co",
  824. "filemates.com",
  825. "files.to",
  826. "files2k.eu",
  827. "filesector.cc",
  828. "bitshare.com",
  829. "filesega.com",
  830. "filesend.net",
  831. "filestay.com",
  832. "filestrum.com",
  833. "fileuplo.de",
  834. "fileupup.com",
  835. "forunesia.com",
  836. "freeuploads.fr",
  837. "uploa.dk",
  838. "getthebit.com",
  839. "getzilla.net",
  840. "goldfile.eu",
  841. "good.com",
  842. "grupload.com",
  843. "hellfile.com",
  844. "hipfile.com",
  845. "hitfile.com",
  846. "hulkfile.eu|duckfile.net",
  847. "i-filez.com",
  848. "ifile.ws",
  849. "kupload.org",
  850. "packupload.com",
  851. "lemuploads.com",
  852. "limelinx.com",
  853. "maxshare.pl",
  854. "megarelease.org",
  855. "megashares.com",
  856. "megashare.com",
  857. "minus.com",
  858. "mlfat4arab.com",
  859. "multishare.cz",
  860. "nirafile.com",
  861. "ok2upload.com",
  862. "peejeshare.com",
  863. "premiuns.org",
  864. "przeklej.net",
  865. "qkup.net",
  866. "rapidupload.sk",
  867. "rockdizfile.com",
  868. "rocketfile.net",
  869. "share-now.net",
  870. "share76.com",
  871. "sharebees.com",
  872. "sharefiles.co",
  873. "slingfile.com",
  874. "sms4file.com",
  875. "space4file.com",
  876. "tigershare.net",
  877. "toucansharing.com",
  878. "ubuntuone.com",
  879. "unextfiles.com",
  880. "upaj.pl",
  881. "upfile.biz",
  882. "uploadbin.net",
  883. "uploadic.com",
  884. "uploadinc.com",
  885. "uploading4u.eu",
  886. "uploadjet.net",
  887. "uploadorb.com",
  888. "upthe.net",
  889. "uptorch.com",
  890. "vidbox.yt",
  891. "videozer.com",
  892. "vreer.com",
  893. "wallobit.com",
  894. "zooupload.com",
  895. "privatefiles.com",
  896. "xerver.co",
  897. "BillionUploads.com",
  898. "rapidshare.com",
  899. "rapidshare.ru",
  900. "4savefile.com",
  901. "bayfiles.com",
  902. "bayfiles.net",
  903. "dodane.pl",
  904. "dotsemper.com",
  905. "egofiles.com",
  906. "epicshare.net",
  907. "fiberupload.net",
  908. "filemonkey.in",
  909. "filemonster.net",
  910. "filepom.com",
  911. "filesbb.com",
  912. "filevice.com",
  913. "gigaup.fr",
  914. "isavelink.com",
  915. "loombo.com",
  916. "megafiles.se",
  917. "migupload.com",
  918. "mydisc.net",
  919. "nitrobits.com",
  920. "potload.com",
  921. "redload.net",
  922. "shareprofi.com",
  923. "sharesuper.info",
  924. "sinhro.net",
  925. "speedfile.cz",
  926. "speedshare.org",
  927. "storage.novoro.net",
  928. "swankshare.com",
  929. "swatupload.com",
  930. "upafile.com",
  931. "uploadmachine.com",
  932. "uploadsat.com",
  933. "upshared.com",
  934. "usefile.com",
  935. "yourfiles.to",
  936. "zomgupload.com",
  937. "ultramegabit.com",
  938. "uploadto.us",
  939. "inafile.com",
  940. "megairon.net",
  941.  
  942. ];
  943. ///////////////////////////////////////////////////////////////////////////////////////
  944. var firstRun = GM_getValue("First_run", true);
  945.  
  946. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  947. //////////////////////////////////////////////////////////////////////////////////////
  948. try
  949. {
  950. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  951. var last_known_version = GM_getValue("last_known_version", "");
  952. if (!last_known_version)
  953. {
  954. last_known_version = thisVersion;
  955. GM_setValue("last_known_version", last_known_version);
  956. }
  957. //var newVersion = !(thisVersion == last_known_version);
  958. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  959. GM_setValue("last_known_version", thisVersion);
  960. }
  961. catch (err)
  962. {
  963. var newVersion = false;
  964. }
  965.  
  966. var now = (new Date()).getTime();
  967. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  968. if (!last_custom_rules_nag)
  969. {
  970. last_custom_rules_nag = now;
  971. GM_setValue('last_custom_rules_nag', ''+now);
  972. }
  973.  
  974.  
  975. allHostNames.sort();
  976. allContainerNames.sort();
  977. allObsoleteNames.sort();
  978.  
  979. var RAND_STRING = "8QyvpOSsRG3QWq";
  980. var DEBUG_MODE = false;
  981.  
  982. var TOOLTIP_MAXWIDTH = 600; //in pixels
  983. var TOOLTIP_THUMBWIDTH = 200;
  984. var containers_processed = false;
  985.  
  986. //settings for keyboard functions start
  987. var CHECK_ALL_LINKS_KEY = "A";
  988. var CONFIGURATION_KEY = "C";
  989. var copy_to_dead_key = "D";
  990. var copy_to_live_key = "L";
  991. var toggle_autocheck_key = "W";
  992. var toggle_Enable_Anonymizer_key = "Z";
  993. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  994. var first_key_keycodename = 'CTRL';
  995. var second_key_keycode = '18';
  996. var second_key_keycodename = 'ALT';
  997. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  998. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  999. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  1000. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  1001. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  1002. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1003. //settings for keyboard functions end
  1004.  
  1005. //global settings start
  1006. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1007. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1008. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1009. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1010. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1011. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1012. var Progress_box_refresh_rate;
  1013. var Obsolete_file_hosts;
  1014. var Custom_rules, Custom_rules_text;
  1015. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1016.  
  1017. var messageBox = document.createElement('b'); // top-left message box
  1018.  
  1019. var cLinksTotal = 0;
  1020. var cLinksDead = 0;
  1021. var cLinksAlive = 0;
  1022. var cLinksUnava = 0;
  1023. var cLinksprem = 0;
  1024. var cLinksProcessed = 0;
  1025.  
  1026. var intervalId; //for updateProgress()
  1027.  
  1028. //icon resources
  1029. 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//wd0yLESWK5WCoU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wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  1038.  
  1039. 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==';
  1040. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEF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DSVcSHmDeAyXbXOtsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1042. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1043.  
  1044. //global settings end
  1045. if (window.opera && !window.console)
  1046. {
  1047. window.console = {};
  1048.  
  1049. function fn()
  1050. {
  1051. opera.postError(arguments);
  1052. };
  1053. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1054. {
  1055. window.console[name] = fn;
  1056. });
  1057. }
  1058.  
  1059. //displays colored text in message box
  1060. function sendMessage(text, color)
  1061. {
  1062. var msgDiv = document.createElement('div');
  1063. msgDiv.style.color = color;
  1064. msgDiv.innerHTML = text;
  1065. messageBox.appendChild(msgDiv);
  1066. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1067. }
  1068.  
  1069. function linkify(totalourls)
  1070. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1071. var ikkeTilladteTags;
  1072. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1073. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1074. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1075. allLinksRegex = new RegExp(allLinksRegex, "g");
  1076. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1077.  
  1078. if (Do_not_linkify_DL_links)
  1079. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1080. else
  1081. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1082.  
  1083. var regex = new RegExp(regexy);
  1084. var textNode, muligtLink;
  1085.  
  1086. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1087. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1088.  
  1089. var i = textNodes.snapshotLength;
  1090. while (i--)
  1091. {
  1092. textNode = textNodes.snapshotItem(i);
  1093.  
  1094. muligtLink = textNode.nodeValue; //all links on page
  1095.  
  1096. var myArray = null;
  1097. var span = null;
  1098. var lastLastIndex = 0;
  1099. allLinksRegex.lastIndex = 0;
  1100. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1101. {
  1102. if (textNode.parentNode.className == "adead_link") continue;
  1103. var censoredLink = muligtLink;
  1104. var span = document.createElement('span');
  1105. span.className = "adead_link";
  1106. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1107. $(span).html(censoredLink);
  1108. span.addEventListener("mouseover", displayTooltipError, false);
  1109. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1110. textNode.parentNode.replaceChild(span, textNode);
  1111. continue;
  1112. alert(censoredLink);
  1113. }
  1114. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1115. {
  1116. if (!regex.test(myArray[0])) //this link is not recognized
  1117. {
  1118.  
  1119. continue;
  1120. }
  1121. if (!span)
  1122. span = document.createElement('span');
  1123.  
  1124. var link = myArray[0];
  1125. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1126.  
  1127. var $a = $("<a>" + link + "</a>")
  1128. if (!link.match(/https?:\/\//))
  1129. {
  1130. link = 'http://' + link;
  1131. }
  1132.  
  1133. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1134. .addClass("processing_link")
  1135. .appendTo(span);
  1136. lastLastIndex = allLinksRegex.lastIndex;
  1137. }
  1138. if (span)
  1139. {
  1140. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1141. textNode.parentNode.replaceChild(span, textNode);
  1142. }
  1143. }
  1144. }
  1145.  
  1146. function add_WARLC_style()
  1147. {
  1148. if (!(document.getElementsByTagName('WARLC')[0]))
  1149. {
  1150. var meta_not_to_add_more_style = document.createElement("WARLC");
  1151. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1152. meta_not_to_add_more_style.setAttribute('name', 'description');
  1153. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1154. alive_link_png = "";
  1155. adead_link_png = "";
  1156. unava_link_png = "";
  1157. prem_link_png = "";
  1158. switch(Icon_set)
  1159. {
  1160. //no icons
  1161. case 0: break;
  1162. // cat paws
  1163. case 1: alive_link_png = PAW_ICON_GREEN;
  1164. adead_link_png = PAW_ICON_RED;
  1165. unava_link_png = PAW_ICON_YELLOW;
  1166. prem_link_png = PAW_ICON_PINK;
  1167. break;
  1168. // classic RSLC look
  1169. case 2: alive_link_png = RSLC_ICON_GREEN;
  1170. adead_link_png = RSLC_ICON_RED;
  1171. unava_link_png = RSLC_ICON_YELLOW;
  1172. prem_link_png = RSLC_ICON_PINK;
  1173. break;
  1174. // New Icons
  1175. case 3: alive_link_png = NEW_ICON_GREEN;
  1176. adead_link_png = NEW_ICON_RED;
  1177. unava_link_png = NEW_ICON_YELLOW;
  1178. prem_link_png = NEW_ICON_PINK;
  1179. break;
  1180. // cat paws
  1181. default:alive_link_png = PAW_ICON_GREEN;
  1182. adead_link_png = PAW_ICON_RED;
  1183. unava_link_png = PAW_ICON_YELLOW;
  1184. prem_link_png = PAW_ICON_PINK;
  1185. break;
  1186. }
  1187. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1188. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1189.  
  1190. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1191.  
  1192. if (Color_DL_links)
  1193. {
  1194. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1195. live_color_css = 'color:' + Live_links_color + ' !important;';
  1196. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1197. container_color_css = 'color:' + Container_links_color + ' !important;';
  1198. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1199. }
  1200. else
  1201. {
  1202. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1203. }
  1204.  
  1205. if (Show_black_background_in_DL_links)
  1206. {
  1207. black_background_css = 'background-color: black !important;';
  1208. }
  1209. else
  1210. {
  1211. black_background_css = '';
  1212. }
  1213.  
  1214. if (Show_line_through_in_dead_links)
  1215. {
  1216. line_through_css = 'text-decoration: line-through !important;';
  1217. }
  1218. else
  1219. {
  1220. line_through_css = '';
  1221. }
  1222.  
  1223. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1224. 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 + "}");
  1225. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1226. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1227. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1228. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1229. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1230. }
  1231. }
  1232.  
  1233. var warlcTooltip = null;
  1234. var mouseoverLink = null; //link href with mouse cursor over it
  1235.  
  1236. var lastX = 0;
  1237. var lastY = 0;
  1238.  
  1239. $(document).ready(initTooltip);
  1240. //inits tooltip
  1241. function initTooltip()
  1242. { warlcTooltip = document.createElement("div");
  1243. 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;");
  1244. warlcTooltip.style.visibility = "hidden";
  1245. document.body.appendChild(warlcTooltip);
  1246. }
  1247.  
  1248. //"mousemove" event handler for all links
  1249. function moveTooltip(event)
  1250. {
  1251. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1252. { //no need to reflow if the cursor moved just a little
  1253. return;
  1254. }
  1255. else
  1256. {
  1257. lastX = event.clientX;
  1258. lastY = event.clientY;
  1259. }
  1260.  
  1261. posX = event.clientX + window.pageXOffset + 10;
  1262. posY = event.clientY + window.pageYOffset;
  1263. var ttHeight = warlcTooltip.offsetHeight;
  1264. var ttFreeSpace = window.innerHeight - event.clientY;
  1265. if (ttHeight > ttFreeSpace)
  1266. { //prevents tooltip from getting out of the window
  1267. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1268. }
  1269. else
  1270. {
  1271. posY += 7;
  1272. }
  1273. warlcTooltip.style.top = posY + "px";
  1274. warlcTooltip.style.left = posX + "px";
  1275. }
  1276.  
  1277. //"mouseout" event handler for all links
  1278. function hideTooltip(){
  1279. warlcTooltip.style.visibility = "hidden";
  1280. mouseoverLink = null;
  1281. }
  1282.  
  1283.  
  1284. //"mouseover" event handler for dead links
  1285. //displays tooltip error message on dead links
  1286. function displayTooltipError()
  1287. {
  1288. mouseoverLink = this.href;
  1289. this.addEventListener("mouseout", hideTooltip);
  1290. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1291. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1292. warlcTooltip.style.minWidth = 0;
  1293. warlcTooltip.style.visibility = "visible";
  1294. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1295. {
  1296. warlcTooltip.innerHTML = this.warlc_error;
  1297. }
  1298. else
  1299. {
  1300. loadErrorInfo(this);
  1301. }
  1302. function loadErrorInfo(link)
  1303. {
  1304. var href = link.href;
  1305. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1306. GM_xmlhttpRequest({
  1307. method: 'GET',
  1308. url: href.replace(Ref_anonymize_service, ""),
  1309. headers: {
  1310. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1311. 'Accept': 'text/xml',
  1312. 'Referer': ""
  1313. },
  1314. onload: function(result) {
  1315. var res = result.responseText;
  1316. //TODO: errorRegexs -
  1317. var errorRegexs = [ //generic error messages follow
  1318. /(empty directory)/i,
  1319. /(soubor nebyl nalezen)/i,
  1320. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1321. //server specific error messages follow
  1322. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1323. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1324. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1325. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1326. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1327. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1328. /class="red">(.+?)<(?:span|br)>/, //czshare
  1329. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1330. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1331. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1332. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1333. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1334. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1335. /(File has been removed due to Copyright Claim)/, //filerio
  1336. ];
  1337. var errorIdx = errorRegexs.length;
  1338. var error = "Cause of error: <b>unknown</b>";
  1339. var errorCandidate = "";
  1340. while(errorIdx--)
  1341. {
  1342. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1343. if (errorCandidate != null)
  1344. {
  1345. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1346. break;
  1347. }
  1348. }
  1349. //link attributes
  1350. link.warlc_error = error;
  1351. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1352. {
  1353. warlcTooltip.innerHTML = error;
  1354. }
  1355. }
  1356. });
  1357. }
  1358. }
  1359.  
  1360. //"mouseover" event handler for alive links
  1361. //displays tooltip info (file size, file name,...) on alive links
  1362. function displayTooltipInfo()
  1363. {
  1364. mouseoverLink = this.href;
  1365. //exclude direct download filehostings
  1366. 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)/))
  1367. {
  1368. return;
  1369. }
  1370. this.addEventListener("mouseout", hideTooltip);
  1371. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1372. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1373. warlcTooltip.style.minWidth = 0;
  1374. warlcTooltip.style.visibility = "visible";
  1375. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1376. {
  1377. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1378. }
  1379. else
  1380. {
  1381. loadInfo(this);
  1382. }
  1383. function loadInfo(link)
  1384. {
  1385. var href = link.href;
  1386. GM_xmlhttpRequest({
  1387. method: 'GET',
  1388. url: href.replace(Ref_anonymize_service, ""),
  1389. headers: {
  1390. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1391. 'Accept': 'text/xml',
  1392. 'Referer': ""
  1393. },
  1394. onload: function(result) {
  1395. var res = result.responseText;
  1396. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1397. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1398. /fl" title="(.+?)">/, //edisk
  1399. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1400. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1401. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1402. /title="download (.+?)">/, //sendspace
  1403. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1404. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1405. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1406. /d0FileName = "(.+?)";/, //letitbit
  1407. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1408. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1409. /fname" value="(.+?)">/, //syfiles, grupload,
  1410. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1411. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1412. /Complete name : (.+?)<br \/>/, //bezvadata
  1413. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1414. ];
  1415. var nameIdx = nameRegexs.length;
  1416. // [sizeRegexs]
  1417. // / \ \?
  1418. // prefix (size) postfix
  1419. // / \
  1420. // val quant
  1421. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1422. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1423. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1424. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1425. var postSizeRegex = '(?:\\))?';
  1426. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1427. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1428. ];
  1429. var sizeIdx = sizeRegexs.length;
  1430. //
  1431. //
  1432. var tooltip = "File Name: <b>";
  1433. var fileName = "unknown";
  1434. var nameCandidate = "";
  1435. while(nameIdx--)
  1436. {
  1437. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1438. if (nameCandidate != null)
  1439. {
  1440. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1441. break;
  1442. }
  1443. }
  1444. tooltip += fileName + "</b><br>File Size: <b>";
  1445. var fileSize = "unknown";
  1446. var sizeCandidate = "";
  1447. while(sizeIdx--)
  1448. {
  1449. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1450. if (sizeCandidate != null)
  1451. {
  1452. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1453. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1454. {
  1455. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1456. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1457. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1458. }
  1459. break;
  1460. }
  1461. }
  1462. tooltip += fileSize + "</b>";
  1463. // PROTOTYPE
  1464. // video thumbnails
  1465. if (href.match('hellshare'))
  1466. {
  1467. var thumbs;
  1468. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1469. if (thumbs)
  1470. {
  1471. tooltip += '<br>';
  1472. var j = Math.min(thumbs.length, 9);
  1473. for (var i = 0; i < j; i++)
  1474. {
  1475. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1476. }
  1477. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1478. }
  1479. }
  1480. if (href.match('czshare'))
  1481. {
  1482. var thumbs;
  1483. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1484. if (thumbs)
  1485. {
  1486. var thumbsServer = thumbs[1];
  1487. var thumbsId = thumbs[2];
  1488. tooltip += '<br>';
  1489. for (var i = 1; i < 9; i++)
  1490. {
  1491. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1492. }
  1493. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1494. }
  1495. }
  1496. if (href.match('bezvadata'))
  1497. {
  1498. var thumbs;
  1499. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1500. if (thumbs)
  1501. {
  1502. tooltip += '<br>';
  1503. var j = Math.min(thumbs.length, 9);
  1504. for (var i = 0; i < j; i++)
  1505. {
  1506. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1507. }
  1508. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1509. }
  1510. }
  1511. link.warlc_tooltipcache = tooltip;
  1512. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1513. {
  1514. warlcTooltip.innerHTML = tooltip;
  1515. }
  1516. }
  1517. });
  1518. }
  1519. }
  1520.  
  1521. function setVariables()
  1522. {
  1523. if (firstRun)
  1524. {
  1525. GM_log('First run, applying default settings...');
  1526. GM_setValue("Icon_set",1);
  1527. GM_setValue("Display_tooltip_info",true);
  1528. GM_setValue("Show_black_background_in_DL_links",false);
  1529. GM_setValue("Show_line_through_in_dead_links",false);
  1530. GM_setValue("Display_full_links_in_link_containers",false);
  1531. GM_setValue("Allow_spaces_in_DL_links",false);
  1532. GM_setValue("Autocheck",true);
  1533. GM_setValue("Enable_Anonymizer",false);
  1534. GM_setValue("Do_not_linkify_DL_links",false);
  1535. GM_setValue("Show_progress_stats",true);
  1536. GM_setValue("Keyboard_functions",true);
  1537. GM_setValue("Obsolete_file_hosts",false);
  1538. GM_setValue("Color_DL_links",true);
  1539. GM_setValue("Live_links_color","Green");
  1540. GM_setValue("Dead_links_color","#FF3300");
  1541. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1542. GM_setValue("Container_links_color","DarkKhaki");
  1543. GM_setValue("Premium_links_color","DeepPink");
  1544. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1545. GM_setValue("Custom_rules",false);
  1546. GM_setValue("Custom_rules_text","");
  1547. GM_setValue("Processbox_Pos_Y", 0);
  1548. GM_setValue("Processbox_Pos_X", 88);
  1549. GM_setValue("Progressbox_Scaling", 100);
  1550. GM_setValue("First_run", false);
  1551. }
  1552. //hidden settings
  1553. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1554. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1555. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1556. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1557. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1558. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1559. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1560. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1561. //hidden settings end
  1562.  
  1563. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1564. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1565. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1566. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1567. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1568. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1569. Autocheck = GM_getValue("Autocheck", true);
  1570. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1571. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1572. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1573. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1574. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1575. Color_DL_links = GM_getValue("Color_DL_links", true);
  1576. Live_links_color = GM_getValue("Live_links_color", "Green");
  1577. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1578. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1579. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1580. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1581. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1582. Custom_rules = GM_getValue("Custom_rules", false);
  1583. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1584. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1585. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1586. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1587. }
  1588.  
  1589.  
  1590. // Delinkifies the links
  1591. // params:
  1592. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1593. // e.g. 'uloz.to/xs68skxl8')
  1594. function delinkifySnapshot(snapshot)
  1595. {
  1596. var n = snapshot.snapshotLength;
  1597.  
  1598. while (n--)
  1599. {
  1600. thisLink = snapshot.snapshotItem(n);
  1601.  
  1602. var spanElm = document.createElement("span");
  1603. spanElm.className = thisLink.className;
  1604. spanElm.innerHTML = thisLink.innerHTML;
  1605.  
  1606. if (Display_tooltip_info)
  1607. {
  1608. spanElm.href = thisLink.href;
  1609. switch (thisLink.className){
  1610. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1611. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1612. case "unava_link": //reserved
  1613. default:
  1614. }
  1615. }
  1616. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1617. }
  1618. }
  1619.  
  1620. function processContainers()
  1621. {
  1622. var redirectorTypes = { "HTTP_302": 0,
  1623. "INNER_LINK": 1,
  1624. "THELOO_KATT_IT": 2,
  1625. "CING_BE": 3,
  1626. "ADF_LY": 4};
  1627. var cMultiloadTotal = 0;
  1628. var cMultiloadProcessed = 0;
  1629.  
  1630. var cMirrorcreatorComTotal = 0;
  1631. var cMirrorcreatorComProcessed = 0;
  1632.  
  1633. var hostRestrictionRegex = "";
  1634. var multiloadComRestriction = "";
  1635. var multiloadComRestrictionRegex;
  1636.  
  1637. //
  1638. //HANDLING REDIRECTORS START
  1639. //
  1640.  
  1641. var redirectors = new Array();
  1642. initRedirectors();
  1643.  
  1644. var redirectorsCount = redirectors.length;
  1645.  
  1646. if (redirectorsCount > 0)
  1647. {
  1648. var allRedirectorsRegex = "";
  1649.  
  1650. //linkify redirector links
  1651. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1652. {
  1653. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1654. }
  1655. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1656. linkify(allRedirectorsRegex);
  1657. //
  1658. //process redirector links
  1659. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1660. {
  1661. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1662. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1663.  
  1664. cLinksTotal += redirectors[redirIdx].cTotal;
  1665. var linkIdx = redirectors[redirIdx].cTotal;
  1666.  
  1667. while(linkIdx--)
  1668. {
  1669. switch(redirectors[redirIdx].type)
  1670. {
  1671. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1672. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1673. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1674. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1675. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1676. default:
  1677. }
  1678. }
  1679. }
  1680. //
  1681. }
  1682.  
  1683. //HTTP_302
  1684. function processRedirectorLink(link, redirectorId)
  1685. {
  1686. link.className = 'container_link';
  1687.  
  1688. GM_xmlhttpRequest({
  1689. method: 'HEAD',
  1690. url: link.href,
  1691. headers: {
  1692. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1693. 'Accept': 'text/xml',
  1694. 'Referer': ""
  1695. },
  1696. onload: function(result) {
  1697. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1698. {
  1699. processRedirectorLink(link, redirectorId);
  1700. }
  1701. else
  1702. {
  1703. redirectors[redirectorId].cProcessed++;
  1704. link.href = result.finalUrl;
  1705. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1706. checkLinks('container_link');
  1707. }
  1708. },
  1709. onerror: function(result) { //probably caused by unresponsive filehosting
  1710. redirectors[redirectorId].cProcessed++;
  1711. link.className = 'unava_link';
  1712. cLinksProcessed++;
  1713. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1714. checkLinks('container_link');
  1715. }
  1716. });
  1717. }
  1718. //INNER_LINK
  1719. function processRedirectorLinkEx(link, redirectorId)
  1720. {
  1721. link.className = 'container_link';
  1722. GM_xmlhttpRequest({
  1723. method: 'GET',
  1724. url: link.href,
  1725. headers: {
  1726. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1727. 'Accept': 'text/xml',
  1728. 'Referer': ""
  1729. },
  1730. onload: function(result) {
  1731. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1732. redirectors[redirectorId].cProcessed++;
  1733. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1734. checkLinks('container_link');
  1735. }
  1736. });
  1737. }
  1738. //theloo.katt.it (wrapped safelinking.net)
  1739. function processThelooKattItLink(link, redirectorId)
  1740. {
  1741. link.className = 'container_link';
  1742. GM_xmlhttpRequest({
  1743. method: 'GET',
  1744. url: link.href,
  1745. headers: {
  1746. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1747. 'Accept': 'text/xml',
  1748. 'Referer': ""
  1749. },
  1750. onload: function(result) {
  1751. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1752. redirectors[redirectorId].cProcessed++;
  1753. //the inner links are safelinking.net links, so lets proceed with it
  1754. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1755. {
  1756. processRedirectorLink(link, 0);
  1757. }
  1758. }
  1759. });
  1760. }
  1761. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1762. function processAdfLyLink(link, redirectorId)
  1763. {
  1764. link.className = 'container_link';
  1765. GM_xmlhttpRequest({
  1766. method: 'GET',
  1767. url: link.href,
  1768. headers: {
  1769. 'User-agent': 'Mozilla/4.0',
  1770. 'Accept': 'text/xml',
  1771. 'Referer': ""
  1772. },
  1773. onload: function(result) {
  1774. if (result.finalUrl.match('/locked/'))
  1775. {
  1776. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1777. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1778. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1779. }
  1780. else
  1781. {
  1782. // GM_log('Processing... ' + link.href);
  1783. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1784. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1785. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1786. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1787. //confirm advert
  1788. GM_xmlhttpRequest(
  1789. {
  1790. method: 'POST',
  1791. url: 'http://adf.ly/l.php',
  1792. headers: {
  1793. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1794. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1795. 'Referer': link.href
  1796. },
  1797. data: users + '&lt=' + logToken,
  1798. onload: function(result) {
  1799. //retrieve final url from .../go/... link
  1800. GM_xmlhttpRequest({
  1801. method: 'GET',
  1802. url: directLink,
  1803. headers: {
  1804. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1805. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1806. 'Referer': link.href
  1807. },
  1808. onload: function(result) {
  1809. link.href = result.finalUrl;
  1810. redirectors[redirectorId].cProcessed++;
  1811. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1812. checkLinks('container_link');
  1813. }
  1814. });
  1815. }
  1816. });
  1817. }
  1818. }
  1819. });
  1820. function proceedOK()
  1821. {
  1822. }
  1823. }
  1824. //MULTILOAD.CZ START
  1825. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1826. {
  1827. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1828. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1829.  
  1830. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1831.  
  1832. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1833. hostRestrictionRegex += 'hellshare|';
  1834. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1835. hostRestrictionRegex += 'downloadhellshare|';
  1836. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1837. hostRestrictionRegex += 'share-rapid\\.com|';
  1838. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1839. hostRestrictionRegex += 'quickshare\\.cz|';
  1840. if (GM_getValue("Check_czshare_dot_com_links", false))
  1841. hostRestrictionRegex += 'czshare\\.com|';
  1842. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1843. hostRestrictionRegex += 'hellspy|';
  1844. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1845. hostRestrictionRegex += 'multishare\\.cz|';
  1846.  
  1847. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1848.  
  1849. linkify(mlRegex);
  1850.  
  1851. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1852. var mlCount = mlSnapshot.snapshotLength;
  1853.  
  1854. if (mlCount > 0)
  1855. {
  1856. cMultiloadTotal += mlCount;
  1857.  
  1858. mlIdx = mlCount - 1;
  1859. do
  1860. {
  1861. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1862. }
  1863. while(mlIdx--)
  1864. }
  1865. }
  1866. //MULTILOAD.CZ END
  1867.  
  1868.  
  1869.  
  1870. function processMultiloadLink(mlLink)
  1871. {
  1872. GM_xmlhttpRequest({
  1873. method: 'GET',
  1874. url: mlLink.href,
  1875. headers: {
  1876. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1877. 'Accept': 'text/xml',
  1878. 'Referer': ""
  1879. },
  1880. onload: function(result) {
  1881. var res = result.responseText;
  1882.  
  1883. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1884. 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;
  1885. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1886. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1887.  
  1888. var blocks; // blocks of links
  1889. var blockIdx;
  1890.  
  1891. mlLink.className = '';
  1892.  
  1893. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1894. {
  1895. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1896. return;
  1897. }
  1898.  
  1899. blocks = res.match(innerBlockRegex);
  1900.  
  1901. if (blocks == null) //no links found, cancel further processing
  1902. {
  1903. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1904. cMultiloadProcessed++;
  1905. if (cMultiloadTotal <= cMultiloadProcessed)
  1906. {
  1907. startBulkCheck('container_link');
  1908. start('container_link');
  1909. }
  1910. return;
  1911. }
  1912.  
  1913. blockIdx = blocks.length;
  1914.  
  1915. if (Display_full_links_in_link_containers)
  1916. {
  1917. var ulElm = document.createElement('ul');
  1918. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1919.  
  1920. while(blockIdx--)
  1921. {
  1922. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1923. {
  1924. continue;
  1925. }
  1926.  
  1927. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1928.  
  1929. var linkIdx = innerLinks.length;
  1930. while (linkIdx--)
  1931. {
  1932. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1933.  
  1934. var liElm = document.createElement('li');
  1935.  
  1936. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1937. {
  1938. liElm.appendChild(document.createTextNode(innerLink));
  1939. }
  1940. else
  1941. {
  1942. var aElm = document.createElement('a');
  1943. aElm.innerHTML = innerLink;
  1944. aElm.href = innerLink;
  1945. aElm.className = 'container_link';
  1946.  
  1947. liElm.appendChild(aElm);
  1948. }
  1949.  
  1950. ulElm.appendChild(liElm);
  1951. cLinksTotal++;
  1952. }
  1953. }
  1954.  
  1955. mlLink.parentNode.appendChild(ulElm);
  1956. }
  1957. else //compact view
  1958. {
  1959. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1960.  
  1961. while(blockIdx--)
  1962. {
  1963. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1964. {
  1965. continue;
  1966. }
  1967.  
  1968. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1969.  
  1970. var linkIdx = innerLinks.length;
  1971. while (linkIdx--)
  1972. {
  1973. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1974.  
  1975. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1976. {
  1977. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1978. }
  1979. else
  1980. {
  1981. var aElm = document.createElement('a');
  1982.  
  1983. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1984.  
  1985. //abbreviate host name
  1986. switch(hostName + ""){
  1987.  
  1988. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1989. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1990. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1991. case 'multishare': aElm.innerHTML = 'MS'; break;
  1992. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1993. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1994. case 'czshare': aElm.innerHTML = 'CS'; break;
  1995. default: aElm.innerHTML = 'xx';
  1996.  
  1997. }
  1998.  
  1999. aElm.href = innerLink;
  2000. aElm.className = 'container_link';
  2001.  
  2002. mlLink.parentNode.appendChild(aElm);
  2003. cLinksTotal++;
  2004. }
  2005. }
  2006.  
  2007. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2008.  
  2009. }
  2010. }
  2011.  
  2012. cMultiloadProcessed++;
  2013. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2014. {
  2015. if (Do_not_linkify_DL_links)
  2016. {
  2017. delinkifySnapshot(mlSnapshot);
  2018. }
  2019. startBulkCheck('container_link');
  2020. start('container_link');
  2021. }
  2022. }
  2023. });
  2024. }
  2025.  
  2026.  
  2027. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2028. {
  2029. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2030. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2031. var mcShortHostNames =
  2032. '?? 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';
  2033. // 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
  2034. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2035. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2036. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2037. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2038.  
  2039. linkify(mcRegex);
  2040.  
  2041. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2042. var mcCount = mcSnapshot.snapshotLength;
  2043.  
  2044. cMirrorcreatorComTotal = mcCount;
  2045.  
  2046. if (mcCount > 0)
  2047. {
  2048. mcShortHostNames = mcShortHostNames.split(' ');
  2049. mcIdx = mcCount;
  2050. while(mcIdx--)
  2051. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2052. }
  2053.  
  2054. }
  2055. //MIRRORCREATOR.CZ END
  2056.  
  2057.  
  2058. //mirrorcreator.com checking works like this:
  2059. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2060. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2061. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2062. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2063. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2064. function processMirrorcreatorLink(mcLink)
  2065. {
  2066. var mcURL = mcLink.href.match(mcRegex);
  2067. if(!mcURL || !mcURL[1]) return;
  2068. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2069. GM_xmlhttpRequest({
  2070. method: 'GET',
  2071. url: mcURL,
  2072. headers: {
  2073. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2074. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2075. 'Referer': ""
  2076. },
  2077. onload: function(mcLinkResult) {
  2078. var mcLinkRes = mcLinkResult.responseText;
  2079.  
  2080. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2081. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2082.  
  2083. var mcRedirectors;
  2084. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2085. var m = mcLinkRes.match(mcLinkBlockRegex);
  2086. if (m)
  2087. mcHostsFound = m.length;
  2088. else
  2089. { //no files inside container
  2090. processMirrorcreatorFoundHosts(mcLink, []);
  2091. return;
  2092. }
  2093.  
  2094. var mcRedirectorURL, idx, timedOut = false;
  2095.  
  2096. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2097. GM_xmlhttpRequest({
  2098. method: 'GET',
  2099. url: mcRedirectorURL,
  2100. headers: {
  2101. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2102. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2103. 'Referer': ""
  2104. },
  2105. onload: function(mcHostResult) {
  2106. if (timedOut) return; //too late, the list is already displayed
  2107. var mcHostRes = mcHostResult.responseText;
  2108. var mcHost = mcHostRes.match(mcHostRegex);
  2109. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2110. if (mcHost && idx!=-1)
  2111. {
  2112. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2113. mcHostsRetrieved++;
  2114. mcHostsToProcess++;
  2115. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2116. {
  2117. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2118. mcHostsToProcess = 0;
  2119. }
  2120. }
  2121. } //end of onload: function
  2122. }); //end of GM_xmlhttpRequest call
  2123. };//end of var gmxhrFunc
  2124.  
  2125. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2126. { //load individual redirector pages
  2127. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2128. mcHostURLs.push(mcRedirectorURL);
  2129. mcRedirectorIDs.push(mcRedirectors[2]);
  2130. gmxhrFunc(mcRedirectorURL);
  2131. } //end of while block
  2132.  
  2133. setTimeout(function(){ //in case the last page fails to load and call the function
  2134. timedOut = true;
  2135. if (mcHostsToProcess)
  2136. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2137. }, 60000);
  2138.  
  2139. } //end of onload function
  2140. }); //end of GM_xmlhttpRequest call
  2141. } //end of function processMirrorcreatorLink
  2142.  
  2143.  
  2144. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2145. {
  2146. var aEl, liEl, docFrag;
  2147. var hostName, mcRedirectorID, trimFilename = false;
  2148. var i = mcHostURLs.length;
  2149. if (i == 0)
  2150. {
  2151. trimFilename = true;
  2152. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2153. }
  2154. else
  2155. {
  2156. if (Display_full_links_in_link_containers)
  2157. { //full view
  2158. var wrapperEl = document.createElement('span');
  2159. wrapperEl.style.display = 'block';
  2160. var ulistEl = document.createElement('ul');
  2161. ulistEl.className = 'container_list';
  2162. while (i--)
  2163. {
  2164. liEl = document.createElement('li');
  2165. aEl = document.createElement('a');
  2166. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2167. aEl.href = mcHostURLs[i];
  2168. aEl.className = 'container_link';
  2169. liEl.appendChild(aEl);
  2170. ulistEl.appendChild(liEl);
  2171. }
  2172. wrapperEl.appendChild(ulistEl);
  2173. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2174. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2175. }
  2176. else
  2177. { //compact view
  2178. trimFilename = true;
  2179. docFrag = document.createDocumentFragment();
  2180. docFrag.appendChild(document.createTextNode(' |'));
  2181. while (i--)
  2182. {
  2183. mcRedirectorID = mcRedirectorIDs[i];
  2184. hostName = mcHostURLs[i];
  2185. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2186. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2187. else
  2188. hostName = mcShortHostNames[mcRedirectorID];
  2189. aEl = document.createElement('a');
  2190. aEl.href = mcHostURLs[i];
  2191. aEl.className = 'container_link';
  2192. aEl.appendChild(document.createTextNode(hostName));
  2193. docFrag.appendChild(aEl);
  2194. docFrag.appendChild(document.createTextNode('|'));
  2195. }
  2196. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2197. } //end of else block
  2198. } //end of else block
  2199. mcLink.className = '';
  2200. if (trimFilename)
  2201. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2202. cMirrorcreatorComProcessed++;
  2203. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2204. {
  2205. if (Do_not_linkify_DL_links)
  2206. delinkifySnapshot(mcSnapshot);
  2207. startBulkCheck('container_link');
  2208. start('container_link');
  2209. }
  2210. } //end of function processMirrorcreatorFoundHosts
  2211.  
  2212. containers_processed = true;
  2213.  
  2214.  
  2215. function initRedirectors()
  2216. {
  2217. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2218. {
  2219. var redirector = new Object();
  2220. redirector.linkRegex = linkRegex;
  2221. redirector.xpath = xpathEx; //xpath expression
  2222. redirector.cProcessed = 0; //processed links count
  2223. redirector.cTotal = 0; //total links count
  2224. redirector.type = redirType; //redirectorTypes enum
  2225. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2226. redirectors.push(redirector);
  2227. }
  2228. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2229. {
  2230. addRedirector(
  2231. 'safelinking\\.net\/d\/\\w+',
  2232. "//a[contains(@href,'safelinking.net/d/')]",
  2233. redirectorTypes.HTTP_302,
  2234. null);
  2235. }
  2236. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2237. {
  2238. addRedirector(
  2239. 'linksafe\\.me\/d\/\\w+',
  2240. "//a[contains(@href,'linksafe.me/d/')]",
  2241. redirectorTypes.HTTP_302,
  2242. null);
  2243. }
  2244. if (GM_getValue("Check_linkto_dot_net_links", false))
  2245. {
  2246. addRedirector(
  2247. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2248. "//a[contains(@href,'linkto.net/?')]",
  2249. redirectorTypes.INNER_LINK,
  2250. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2251. }
  2252. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2253. {
  2254. addRedirector(
  2255. '(?:the)?loo\\.katt\\.it\/\\w+',
  2256. "//a[contains(@href,'loo.katt.it/')]",
  2257. redirectorTypes.THELOO_KATT_IT,
  2258. /Proceed to URL - <a href="(.+?)">/);
  2259. }
  2260. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2261. {
  2262. addRedirector(
  2263. 'madlink\\.sk\/\\w+',
  2264. "//a[contains(@href,'madlink.sk/')]",
  2265. redirectorTypes.INNER_LINK,
  2266. /name="url" value="(.+?)\s*"\/>/);
  2267. }
  2268. if (GM_getValue("Check_adf_dot_ly_links", false))
  2269. {
  2270. addRedirector(
  2271. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2272. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2273. redirectorTypes.ADF_LY,
  2274. null);
  2275. }
  2276. if (GM_getValue("Check_redi_dot_re_links", false))
  2277. {
  2278. addRedirector(
  2279. 'redi\\.re\/\\w+',
  2280. "//a[contains(@href,'redi.re/')]",
  2281. redirectorTypes.HTTP_302,
  2282. null);
  2283. }
  2284. if (GM_getValue("Check_bit_dot_ly_links", false))
  2285. {
  2286. addRedirector(
  2287. 'bit\\.ly\/\\w+',
  2288. "//a[contains(@href,'bit.ly/')]",
  2289. redirectorTypes.HTTP_302,
  2290. null);
  2291. }
  2292. }
  2293.  
  2294. }
  2295.  
  2296. var bulkHosts = new Array();
  2297. var bulkHostNames = new Array();
  2298. function initBulkCheck()
  2299. {
  2300. /////////////////////////////
  2301. // Inits filehost object
  2302. /////////////////////////////
  2303. // params :
  2304. // hostName -- [string] host name (multiple domains separated with coma)
  2305. // linkRegex -- [string] link regex
  2306. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2307. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2308. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2309. // corrReplWhat -- [regex] link correction regex (replace)
  2310. // corrReplWith -- [string]
  2311. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2312. //
  2313. // apiUrl -- [string] web linkchecker or API URL
  2314. // postData -- [string] POSTDATA of xmlhttprequest
  2315. // resLinkRegex -- [regex]
  2316. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2317. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2318. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2319. // func -- [function] bulkcheck handler, genBulkCheck if null
  2320. //
  2321. //////////////////////////////
  2322. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2323. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2324. {
  2325. var fileHost = new Object();
  2326.  
  2327. fileHost.linkRegex = linkRegex;
  2328. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2329. fileHost.xpath = xpath;
  2330. fileHost.cFound = 0; //found links counter
  2331. fileHost.links = new Array(); //found links
  2332. if (blockSize == null)
  2333. {
  2334. fileHost.blockSize = 50;
  2335. }
  2336. else
  2337. {
  2338. fileHost.blockSize = blockSize;
  2339. }
  2340. fileHost.corrMatch = corrMatch;
  2341. fileHost.corrReplWhat = corrReplWhat;
  2342. fileHost.corrReplWith = corrReplWith;
  2343. if (splitSeparator == null)
  2344. {
  2345. fileHost.splitSeparator = "\r\n";
  2346. }
  2347. else
  2348. {
  2349. fileHost.splitSeparator = splitSeparator;
  2350. }
  2351. fileHost.apiUrl = apiUrl;
  2352. fileHost.postData = postData;
  2353. fileHost.resLinkRegex = resLinkRegex;
  2354. fileHost.resLiveRegex = resLiveRegex;
  2355. fileHost.resDeadRegex = resDeadRegex;
  2356. fileHost.resUnavaRegex = resUnavaRegex;
  2357. if (func == null)
  2358. {
  2359. fileHost.func = genBulkCheck;
  2360. }
  2361. else
  2362. {
  2363. fileHost.func = func;
  2364. }
  2365. bulkHosts.push(fileHost);
  2366. var names = hostName.split(',');
  2367. var i = names.length;
  2368. while(i--)
  2369. {
  2370. bulkHostNames[names[i]] = fileHost;
  2371. }
  2372. }
  2373. var genType1 = [
  2374. "rodfile.com", "downloadani.me", //"migahost.com",
  2375. "rarefile.net",
  2376. "filesabc.com",
  2377. // "verzend.be",
  2378. // "movreel.com",
  2379. "file4safe.com", "filemac.com",
  2380. "longfiles.com",
  2381. "bitupload.com", //"4up.me",
  2382. //"uploadbaz.com"
  2383. ];
  2384. var genType2 = [ "queenshare.com",
  2385. "hulkload.com",
  2386. "amonshare.com", //"edoc.com",
  2387. ];
  2388. //xfilesharing 1.0
  2389. function addGenericType1()
  2390. {
  2391. var i = genType1.length;
  2392. while(i--)
  2393. {
  2394. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2395. {
  2396. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2397. addHost(
  2398. genType1[i].match(/[\w-]+/)[0], //hostname
  2399. regexSafe + "\/\\w+", //linkregex
  2400. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2401. null, //blocksize
  2402. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2403. null, //corrreplwhat
  2404. null, //corrreplwith
  2405. null, //separator
  2406. "http://" + genType1[i] + "/checkfiles.html", //api url
  2407. "op=checkfiles&process=Check+URLs&list=", //postdata
  2408. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2409. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2410. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2411. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2412. null //function delegate
  2413. )
  2414. }
  2415. }
  2416. }
  2417. //xfilesharing 2.0
  2418. function addGenericType2()
  2419. {
  2420. var i = genType2.length;
  2421. while(i--)
  2422. {
  2423. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2424. {
  2425. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2426. addHost(
  2427. genType2[i].match(/[\w-]+/)[0], //hostname
  2428. regexSafe + "\/\\w+", //linkregex
  2429. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2430. null, //blocksize
  2431. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2432. null, //corrreplwhat
  2433. null, //corrreplwith
  2434. null, //separator
  2435. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2436. "op=checkfiles&process=Check+URLs&list=", //postdata
  2437. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2438. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2439. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2440. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2441. null //function delegate
  2442. )
  2443. }
  2444. }
  2445. }
  2446. // TEMPLATE
  2447. // if (GM_getValue("Check__dot_com_links", false))
  2448. // {
  2449. // addHost(
  2450. // "", //hostname
  2451. // "", //linkregex
  2452. // "//a[contains(@href,'.com/')]", //xpath
  2453. // null, //blocksize
  2454. // null, //corrmatch
  2455. // null, //corrreplwhat
  2456. // null, //corrreplwith
  2457. // null, //separator
  2458. // "", //api url
  2459. // "", //postdata
  2460. // /()/, //linkregex
  2461. // //liveregex
  2462. // //deadregex
  2463. // //unavaregex
  2464. // null //function delegate
  2465. // )
  2466. // }
  2467. addGenericType1();
  2468. addGenericType2();
  2469.  
  2470. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2471. {
  2472. addHost(
  2473. "myvdrive,fileserving", //hostname
  2474. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2475. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2476. null, //blocksize
  2477. null, //corrmatch
  2478. null, //corrreplwhat
  2479. null, //corrreplwith
  2480. null, //separator
  2481. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2482. "links=", //postdata
  2483. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2484. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2485. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2486. null, //unavaregex
  2487. null //function delegate
  2488. )
  2489. }
  2490. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2491. {
  2492. addHost(
  2493. "hackerbox", //hostname
  2494. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2495. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2496. null, //blocksize
  2497. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2498. null, //corrreplwhat
  2499. null, //corrreplwith
  2500. null, //separator
  2501. "http://host.hackerbox.org/checkfiles.html", //api url
  2502. "op=checkfiles&process=Check+URLs&list=", //postdata
  2503. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2504. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2505. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2506. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2507. null //function delegate
  2508. )
  2509. }
  2510. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2511. {
  2512. addHost(
  2513. "hellshare", //hostname
  2514. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2515. "//a[contains(@href,'hellshare.')]", //xpath
  2516. 48, //blocksize
  2517. null, //corrmatch
  2518. null, //corrreplwhat
  2519. null, //corrreplwith
  2520. null, //separator
  2521. null, //api url
  2522. null, //postdata
  2523. null, //linkregex
  2524. null, //liveregex
  2525. null, //deadregex
  2526. null, //unavaregex
  2527. hellshareBulkCheck //function delegate
  2528. )
  2529. }
  2530. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2531. {
  2532. addHost(
  2533. "uploadrocket", //hostname
  2534. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2535. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2536. null, //blocksize
  2537. null, //corrmatch
  2538. null, //corrreplwhat
  2539. null, //corrreplwith
  2540. "\n", //separator
  2541. 'http://uploadrocket.net/?op=checkfiles',
  2542. 'op=checkfiles&process=Check+URLs&list=',
  2543. /uploadrocket.net\/(\w+)/,
  2544. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2545. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2546. null,
  2547. null //function delegate
  2548. )
  2549. }
  2550. if (GM_getValue("Check_uploading_dot_site_links", false))
  2551. {
  2552. addHost(
  2553. "uploading", //hostname
  2554. "(?:uploading\\.site)\/\\w+", //linkregex
  2555. "//a[contains(@href,'uploading.site/')]", //xpath
  2556. null, //blocksize
  2557. null, //corrmatch
  2558. null, //corrreplwhat
  2559. null, //corrreplwith
  2560. "\n", //separator
  2561. 'http://uploading.site/?op=checkfiles',
  2562. 'op=checkfiles&process=Check+URLs&list=',
  2563. /uploading.site\/(\w+)/,
  2564. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2565. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2566. null,
  2567. null //function delegate
  2568. )
  2569. }
  2570. if (GM_getValue("Check_1f_dot_al_links", false))
  2571. {
  2572. addHost(
  2573. "1f",
  2574. "(?:1f\\.al)\/d\/\\w+",
  2575. "//a[contains(@href,'1f.al/d/')]",
  2576. 100000, //blocksize
  2577. null, //corrmatch
  2578. null, //corrreplwhat
  2579. null, //corrreplwith
  2580. null, //separator
  2581. null,
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. _1falBulkCheck //function delegate
  2588. )
  2589. }
  2590. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2591. {
  2592. addHost(
  2593. "k2s,keep2s,keep2share",
  2594. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2595. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2596. 100000, //blocksize
  2597. null, //corrmatch
  2598. null, //corrreplwhat
  2599. null, //corrreplwith
  2600. null, //separator
  2601. null,
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. null,
  2607. k2sBulkCheck //function delegate
  2608. )
  2609. }
  2610. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2611. {
  2612. addHost(
  2613. "tezfiles",
  2614. "(?:tezfiles\\.com)\/\\w+",
  2615. "//a[contains(@href,'tezfiles.com')]",
  2616. 100000, //blocksize
  2617. null, //corrmatch
  2618. null, //corrreplwhat
  2619. null, //corrreplwith
  2620. null, //separator
  2621. null,
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. null,
  2627. k2sBulkCheck //function delegate
  2628. )
  2629. }
  2630. if (GM_getValue("Check_fboom_dot_me_links", false))
  2631. {
  2632. addHost(
  2633. "fboom,fileboom",
  2634. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2635. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2636. 100000, //blocksize
  2637. null, //corrmatch
  2638. null, //corrreplwhat
  2639. null, //corrreplwith
  2640. null, //separator
  2641. null,
  2642. null,
  2643. null,
  2644. null,
  2645. null,
  2646. null,
  2647. fboomBulkCheck //function delegate
  2648. )
  2649. }
  2650. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2651. {
  2652. addHost(
  2653. "1fichier,dl4free",
  2654. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2655. "//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/?')]",
  2656. 100000, //blocksize
  2657. null, //corrmatch
  2658. null, //corrreplwhat
  2659. null, //corrreplwith
  2660. null, //separator
  2661. null,
  2662. null,
  2663. null,
  2664. null,
  2665. null,
  2666. null,
  2667. dl4free_1fichier_BulkCheck //function delegate
  2668. )
  2669. }
  2670. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2671. {
  2672. addHost(
  2673. "nitroflare",
  2674. "nitroflare\\.com\/\\w+",
  2675. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2676. 100000, //blocksize
  2677. null, //corrmatch
  2678. null, //corrreplwhat
  2679. null, //corrreplwith
  2680. null, //separator
  2681. null,
  2682. null,
  2683. null,
  2684. null,
  2685. null,
  2686. null,
  2687. nitroflareBulkCheck //function delegate
  2688. )
  2689. }
  2690. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2691. {
  2692. addHost(
  2693. "depositfiles,dfiles",
  2694. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2695. "//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/')]",
  2696. 100000, //blocksize
  2697. null, //corrmatch
  2698. null, //corrreplwhat
  2699. null, //corrreplwith
  2700. null, //separator
  2701. null,
  2702. null,
  2703. null,
  2704. null,
  2705. null,
  2706. null,
  2707. depositfilesBulkCheck //function delegate
  2708. )
  2709. }
  2710. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2711. {
  2712. addHost(
  2713. "filesflash", //hostname
  2714. "filesflash\\.com\/\\w+", //linkregex
  2715. "//a[contains(@href,'filesflash.com')]", //xpath
  2716. null, //blocksize
  2717. null, //corrmatch
  2718. /http:\/\//, //corrreplwhat
  2719. '', //corrreplwith
  2720. null, //separator
  2721. 'http://filesflash.com/checklinks.php',
  2722. 'submit=Go&links=',
  2723. /filesflash\.com\/(\w+)/,
  2724. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2725. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2726. null,
  2727. null //function delegate
  2728. )
  2729. }
  2730. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2731. {
  2732. addHost(
  2733. "jumbofiles", //hostname
  2734. "jumbofiles\\.com\/\\w+", //linkregex
  2735. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2736. null, //blocksize
  2737. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2738. null, //corrreplwhat
  2739. null, //corrreplwith
  2740. null, //separator
  2741. "http://jumbofiles.com/checkfiles.html", //api url
  2742. "op=checkfiles&process=Check+URLs&list=", //postdata
  2743. /(jumbofiles\.com\/\w+)/, //linkregex
  2744. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2745. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2746. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2747. null //function delegate
  2748. )
  2749. }*/
  2750. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2751. {
  2752. addHost(
  2753. "edisk", //hostname
  2754. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2755. "//a[contains(@href,'edisk.')]", //xpath
  2756. null, //blocksize
  2757. null, //corrmatch
  2758. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2759. 'edisk.cz/stahni', //corrreplwith
  2760. null, //separator
  2761. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2762. 'submitBtn=Zkontrolovat&checkFiles=',
  2763. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2764. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2765. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2766. null,
  2767. null //function delegate
  2768. )
  2769. }
  2770. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2771. {
  2772. GM_xmlhttpRequest( //age check skip
  2773. {
  2774. method: 'POST',
  2775. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2776. headers: {
  2777. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2778. 'Content-type': 'application/x-www-form-urlencoded',
  2779. 'Referer': ""
  2780. }
  2781. });
  2782. addHost(
  2783. "bezvadata", //hostname
  2784. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2785. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2786. null, //blocksize
  2787. null, //corrmatch
  2788. null, //corrreplwhat
  2789. null, //corrreplwith
  2790. null, //separator
  2791. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2792. 'zkontrolovat=Zkontrolovat&odkazy=',
  2793. /(bezvadata\.cz\/stahnout\/\d+)/,
  2794. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2795. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2796. null,
  2797. null //function delegate
  2798. )
  2799. }
  2800. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2801. {
  2802. addHost(
  2803. "linkcrypt", //hostname
  2804. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2805. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2806. 100000, //blocksize
  2807. null, //corrmatch
  2808. null, //corrreplwhat
  2809. null, //corrreplwith
  2810. null, //separator
  2811. null,
  2812. null,
  2813. null,
  2814. null,
  2815. null,
  2816. null,
  2817. linkcryptBulkCheck //function delegate
  2818. )
  2819. }
  2820. if (GM_getValue("Check_videobb_dot_com_links", false))
  2821. {
  2822. addHost(
  2823. "videobb", //hostname
  2824. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2825. "//a[contains(@href,'videobb.com')]", //xpath
  2826. null, //blocksize
  2827. null, //corrmatch
  2828. /watch_video\.php\?v=/, //corrreplwhat
  2829. 'video/', //corrreplwith
  2830. null, //separator
  2831. 'http://www.videobb.com/link_checker.php',
  2832. 'links=',
  2833. /videobb\.com\/video\/(\w+)/,
  2834. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2835. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2836. null,
  2837. null //function delegate
  2838. )
  2839. }
  2840. if (GM_getValue("Check_filerio_dot_com_links", false))
  2841. {
  2842. addHost(
  2843. "filekeen,filerio", //hostname
  2844. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2845. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2846. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2847. null, //blocksize
  2848. null, //corrmatch
  2849. null, //corrreplwhat
  2850. null, //corrreplwith
  2851. null, //separator
  2852. 'http://filerio.in/checkfiles.html',
  2853. 'op=checkfiles&process=Check+URLs&list=',
  2854. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2855. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2856. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2857. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2858. null //function delegate
  2859. )
  2860. }
  2861. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2862. {
  2863. addHost(
  2864. "share-online,egoshare", //hostname
  2865. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2866. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2867. null, //blocksize
  2868. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2869. null, //corrreplwhat
  2870. null, //corrreplwith
  2871. "\n", //separator
  2872. 'http://api.share-online.biz/linkcheck.php',
  2873. 'links=',
  2874. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2875. /\w+;OK/g,
  2876. /\w+;(?:NOTFOUND|DELETED)/g,
  2877. null,
  2878. null //function delegate
  2879. )
  2880. }
  2881. if (GM_getValue("Check_oboom_dot_com_links", false))
  2882. {
  2883. addHost(
  2884. "oboom", //hostname
  2885. "oboom\\.com\/#?\\w{8}", //linkregex
  2886. "//a[contains(@href,'oboom.com/')]", //xpath
  2887. null, //blocksize
  2888. /oboom\.com\/#?(\w{8})/, //corrmatch
  2889. null, //corrreplwhat
  2890. null, //corrreplwith
  2891. null, //separator
  2892. null,
  2893. null,
  2894. null,
  2895. null, //liveregex
  2896. null, //deadregex
  2897. null,
  2898. oboomBulk //function delegate
  2899. )
  2900. }
  2901. if (GM_getValue("Check_mega_dot_nz_links", false))
  2902. {
  2903. addHost(
  2904. "mega",
  2905. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2906. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2907. 100000, //blocksize
  2908. null, //corrmatch
  2909. null, //corrreplwhat
  2910. null, //corrreplwith
  2911. null, //separator
  2912. null,
  2913. null,
  2914. null,
  2915. null,
  2916. null,
  2917. null,
  2918. megaBulkCheck //function delegate
  2919. )
  2920. }
  2921.  
  2922. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2923.  
  2924. if (GM_getValue("Check_extabit_dot_com_links", false))
  2925. {
  2926. addHost(
  2927. "extabit", //hostname
  2928. "extabit\\.com\/file\/\\w+", //linkregex
  2929. "//a[contains(@href,'extabit.com')]", //xpath
  2930. null, //blocksize
  2931. null, //corrmatch
  2932. null, //corrreplwhat
  2933. null, //corrreplwith
  2934. "\n", //separator
  2935. "http://extabit.com/linkchecker.jsp", //api url
  2936. "url=", //postdata
  2937. /extabit\.com\/(file\/\w+)/, //linkregex
  2938. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2939. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2940. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2941. extabitBulkCheck //function delegate
  2942. )
  2943. }
  2944. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2945. {
  2946. addHost(
  2947. "junocloud", //hostname
  2948. "junocloud\\.me\/\\w+", //linkregex
  2949. "//a[contains(@href,'junocloud.me')]", //xpath
  2950. null, //blocksize
  2951. null, //corrmatch
  2952. null, //corrreplwhat
  2953. null, //corrreplwith
  2954. "\n", //separator
  2955. "http://junocloud.me/checkfiles.html", //api url
  2956. "op=checkfiles&process=Check+URLs&list=", //postdata
  2957. /(junocloud\.me\/\w+)/, //linkregex
  2958. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2959. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2960. null, //unavaregex
  2961. null //function delegate
  2962. )
  2963. } */
  2964. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2965. {
  2966. addHost(
  2967. "webshare", //hostname
  2968. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2969. "//a[contains(@href,'webshare.cz')]", //xpath
  2970. 100000, //blocksize
  2971. null, //corrmatch
  2972. null, //corrreplwhat
  2973. null, //corrreplwith
  2974. null, //separator
  2975. null, //api url
  2976. null, //postdata
  2977. null, //linkregex
  2978. null, //liveregex
  2979. null, //deadregex
  2980. null, //unavaregex
  2981. webshareBulkCheck //function delegate
  2982. )
  2983. }
  2984. /////////////////////////////
  2985. // Common function delegate to send links to get checked by host linkchecker
  2986. /////////////////////////////
  2987. // If you define a new delegate, you may use following properties
  2988. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2989. // this.apiUrl [string] API or web linkchecker URL
  2990. // this.postData [string] POSTDATA for POST request
  2991. // this.resLiveRegex [regex] matches live substrings in the request response
  2992. // this.resDeadRegex [regex] matches dead substrings in the request response
  2993. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2994. //
  2995. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2996. //
  2997. // See the code below for standard bulkcheck handling reference.
  2998. //////////////////////////////
  2999. function genBulkCheck()
  3000. {
  3001. var blockIdx = this.links.length;
  3002. while (blockIdx--)
  3003. {
  3004. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3005. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3006. }
  3007. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3008. {
  3009. GM_xmlhttpRequest(
  3010. {
  3011. method: 'POST',
  3012. url: api,
  3013. headers: {
  3014. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3015. 'Content-type': 'application/x-www-form-urlencoded',
  3016. 'Referer': api,
  3017. 'X-Requested-With': 'XMLHttpRequest'
  3018. },
  3019. data: postData + encodeURIComponent(links),
  3020. onload: function (result)
  3021. {
  3022. var res = result.responseText;
  3023. // GM_log(res);
  3024. var i;
  3025.  
  3026. var livelinks = res.match(liveRegex);
  3027. var deadlinks = res.match(deadRegex);
  3028. // GM_log(livelinks);
  3029. // GM_log(deadlinks);
  3030. if (livelinks != null)
  3031. {
  3032. i = livelinks.length - 1;
  3033. do
  3034. {
  3035. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3036. }
  3037. while (i--);
  3038. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3039. }
  3040.  
  3041. if (deadlinks != null)
  3042. {
  3043. i = deadlinks.length - 1;
  3044. do
  3045. {
  3046. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3047. }
  3048. while (i--);
  3049. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3050. }
  3051.  
  3052. if (unavaRegex != null)
  3053. {
  3054. var unavalinks = res.match(unavaRegex);
  3055. if (unavalinks)
  3056. {
  3057. i = unavalinks.length - 1;
  3058. do
  3059. {
  3060. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3061. }
  3062. while (i--);
  3063. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3064. }
  3065. }
  3066. }
  3067. });
  3068. }
  3069. }
  3070. //specialized bulkchecking handlers follow
  3071. function webshareBulkCheck()
  3072. {
  3073. var arr = this.links[0].split("\r\n");
  3074. var i = arr.length;
  3075. while(i--)
  3076. {
  3077. postRequest(arr[i]);
  3078. }
  3079. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3080. function postRequest(wsLink)
  3081. {
  3082. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3083. GM_xmlhttpRequest(
  3084. {
  3085. method: 'POST',
  3086. url: "http://webshare.cz/api/file_info/",
  3087. headers: {
  3088. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3089. 'Content-type': 'application/x-www-form-urlencoded',
  3090. 'Referer': "",
  3091. },
  3092. data: "wst=&ident=" + id,
  3093. onload: function (result)
  3094. {
  3095. var res = result.responseText;
  3096. if (res.match(/<name>.+?<\/name>/))
  3097. {
  3098. DisplayTheCheckedLinks([id], 'alive_link');
  3099. }
  3100. else
  3101. {
  3102. DisplayTheCheckedLinks([id], 'adead_link');
  3103. }
  3104. }
  3105. });
  3106. }
  3107. }
  3108. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3109. //extabit also doesn't like requests in fast succession, so some delays are added.
  3110. function extabitBulkCheck()
  3111. {
  3112. var timeoutDelay = 0;
  3113. var blockIdx = this.links.length;
  3114. while (blockIdx--)
  3115. {
  3116. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3117. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3118. }
  3119. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3120. {
  3121. GM_xmlhttpRequest(
  3122. {
  3123. method: 'POST',
  3124. url: api,
  3125. headers: {
  3126. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3127. 'Content-type': 'application/x-www-form-urlencoded',
  3128. 'Referer': api,
  3129. 'X-Requested-With': 'XMLHttpRequest'
  3130. },
  3131. data: postData + encodeURIComponent(links),
  3132. onload: function (result)
  3133. {
  3134. var res = result.responseText;
  3135. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3136. {
  3137. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3138. {
  3139. //GM_log(tryID + ': ' + link);
  3140. GM_xmlhttpRequest(
  3141. {
  3142. method: 'GET',
  3143. url: link,
  3144. 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': ""},
  3145. onload: function(result2)
  3146. {
  3147. var res2 = result2.responseText;
  3148. var res2Status = result.status;
  3149. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3150. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3151. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3152. {
  3153. if (tryID < 7)
  3154. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3155. else
  3156. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3157. }
  3158. }
  3159. });
  3160. }
  3161. //split the hrefs and check them one by one
  3162. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3163. links = links.split('\n');
  3164. var i = links.length;
  3165. while (i--)
  3166. {
  3167. if (links[i])
  3168. {
  3169. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3170. timeoutDelay += 500;
  3171. }
  3172. }
  3173. return;
  3174. }
  3175. var i;
  3176.  
  3177. var livelinks = res.match(liveRegex);
  3178. var deadlinks = res.match(deadRegex);
  3179. if (livelinks != null)
  3180. {
  3181. i = livelinks.length - 1;
  3182. do
  3183. {
  3184. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3185. }
  3186. while (i--);
  3187. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3188. }
  3189.  
  3190. if (deadlinks != null)
  3191. {
  3192. i = deadlinks.length - 1;
  3193. do
  3194. {
  3195. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3196. }
  3197. while (i--);
  3198. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3199. }
  3200.  
  3201. if (unavaRegex != null)
  3202. {
  3203. var unavalinks = res.match(unavaRegex);
  3204. if (unavalinks)
  3205. {
  3206. i = unavalinks.length - 1;
  3207. do
  3208. {
  3209. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3210. }
  3211. while (i--);
  3212. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3213. }
  3214. }
  3215. }
  3216. });
  3217. }
  3218. }
  3219. function _1falBulkCheck()
  3220. {
  3221. var arr = this.links[0].split("\r\n");
  3222. var i = arr.length;
  3223. c=0;
  3224. arrIDs=[];
  3225. while(i--)
  3226. {
  3227. id = arr[i].match(/\/d\/(\w+)/)[1];
  3228.  
  3229. _1falalreadyexist=false;
  3230. for (j=0;j<arrIDs.length;j++)
  3231. {
  3232. if (arrIDs[j]==id)
  3233. {
  3234. _1falalreadyexist=g
  3235. break;
  3236. }
  3237. }
  3238. if (_1falalreadyexist) continue;
  3239. arrIDs.push(id);
  3240. c++;
  3241. setTimeout(_1falRequest,c*500,arr[i]);
  3242. }
  3243. }
  3244. function _1falRequest(_1falLink)
  3245. {
  3246. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3247. GM_xmlhttpRequest(
  3248. {
  3249. method: 'GET',
  3250. url: _1falLink,
  3251. headers: {
  3252. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3253. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3254. 'Referer': 'http://www.planetsuzy.org/'
  3255. },
  3256. onload: function (result)
  3257. {
  3258. var res = result.responseText;
  3259. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3260. if (FAarr!=null)
  3261. {
  3262. FALink=FAarr[1];
  3263. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3264. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3265. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3266. GM_xmlhttpRequest(
  3267. {
  3268. method: 'POST',
  3269. url: FALink,
  3270. headers: {
  3271. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3272. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3273. 'Content-Type': 'application/x-www-form-urlencoded',
  3274. 'Referer': _1falLink
  3275. },
  3276. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3277. onload: function (_2ndresult)
  3278. {
  3279. var newres = _2ndresult.responseText;
  3280. FAalivelink=new RegExp("method_free");
  3281. if (FAalivelink.test(newres))
  3282. {
  3283. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3284. return;
  3285. }
  3286. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3287. if (FAdeadlink.test(newres))
  3288. {
  3289. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3290. return;
  3291. }
  3292. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3293. return;
  3294. }
  3295. });
  3296. return;
  3297. }
  3298. else
  3299. {
  3300. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3301. return;
  3302. }
  3303. },
  3304. onerror: function ()
  3305. {
  3306. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3307. return;
  3308. }
  3309. });
  3310. }
  3311. function k2sBulkCheck()
  3312. {
  3313. var arr = this.links[0].split("\r\n");
  3314. var i = arr.length;
  3315. c=0;
  3316. arrIDs=[];
  3317. while(i--)
  3318. {
  3319. id = arr[i].match(/\/file\/(\w+)/)[1];
  3320. if (id=='info')
  3321. {
  3322. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3323. continue;
  3324. }
  3325. k2salreadyexist=false;
  3326. for (j=0;j<arrIDs.length;j++)
  3327. {
  3328. if (arrIDs[j]==id)
  3329. {
  3330. k2salreadyexist=g
  3331. break;
  3332. }
  3333. }
  3334. if (k2salreadyexist) continue;
  3335. arrIDs.push(id);
  3336. c++;
  3337. setTimeout(k2sRequest,c*500,arr[i]);
  3338. }
  3339. }
  3340. function k2sRequest(K2SLink)
  3341. {
  3342. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3343. GM_xmlhttpRequest(
  3344. {
  3345. method: 'GET',
  3346. url: K2SLink,
  3347. headers: {
  3348. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3349. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3350. 'Referer': ''
  3351. },
  3352. onload: function (result)
  3353. {
  3354. var res = result.responseText;
  3355. K2Dom='k2s.cc';
  3356. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3357. K2SLink2='http://'+K2Dom+'/file/'+id;
  3358.  
  3359. 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'))
  3360. {
  3361. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3362. return;
  3363. }
  3364. if (res.match('method="post">Displaying'))
  3365. {
  3366. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3367. return;
  3368. }
  3369. if (res.match('Premium only|only for premium members'))
  3370. {
  3371. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3372. return;
  3373. }
  3374. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3375. {
  3376. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3377. slID=slow_id.exec(res)[1];
  3378. GM_xmlhttpRequest(
  3379. {
  3380. method: 'POST',
  3381. url: K2SLink2,
  3382. headers: {
  3383. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3384. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3385. 'Content-Type': 'application/x-www-form-urlencoded',
  3386. 'Referer': K2SLink
  3387. },
  3388. data: 'slow_id='+slID+'&yt0=',
  3389. onload: function (result)
  3390. {
  3391. var newres = result.responseText;
  3392. newoversizedtest=new RegExp("Free user can't download large files.");
  3393. if (newoversizedtest.test(newres))
  3394. {
  3395. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3396. return;
  3397. }
  3398. else
  3399. {
  3400. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3401. return;
  3402. }
  3403. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3404. return;
  3405. }
  3406. });
  3407. /////////////////////end additional check for oversized links
  3408. return;
  3409. }
  3410. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3411. return;
  3412. },
  3413. onerror: function ()
  3414. {
  3415. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3416. return;
  3417. }
  3418. });
  3419. }
  3420. function fboomBulkCheck()
  3421. {
  3422. var arr = this.links[0].split("\r\n");
  3423. var i = arr.length;
  3424. c=0;
  3425. arrIDs=[];
  3426. while(i--)
  3427. {
  3428. id = arr[i].match(/\/file\/(\w+)/)[1];
  3429. if (id=='info')
  3430. {
  3431. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3432. continue;
  3433. }
  3434. fbalreadyexist=false;
  3435. for (j=0;j<arrIDs.length;j++)
  3436. {
  3437. if (arrIDs[j]==id)
  3438. {
  3439. fbalreadyexist=true;
  3440. break;
  3441. }
  3442. }
  3443. if (fbalreadyexist) continue;
  3444. arrIDs.push(id);
  3445. c++;
  3446. setTimeout(fboomRequest,c*500,arr[i]);
  3447. }
  3448. }
  3449. function fboomRequest(FBoomLink)
  3450. {
  3451. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3452. FBoomLink2='http://fboom.me/file/'+id;
  3453. GM_xmlhttpRequest(
  3454. {
  3455. method: 'GET',
  3456. url: FBoomLink,
  3457. headers: {
  3458. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3459. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3460. 'Referer': ''
  3461. },
  3462. onload: function (result)
  3463. {
  3464. var res = result.responseText;
  3465. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3466. {
  3467. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3468. return;
  3469. }
  3470. if (res.match('method="post">Displaying'))
  3471. {
  3472. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3473. return;
  3474. }
  3475. if (res.match('only for premium members'))
  3476. {
  3477. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3478. return;
  3479. }
  3480. if (res.match('id="download-free" href="#"'))
  3481. {
  3482. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3483. slID=slow_id.exec(res)[1];
  3484. GM_xmlhttpRequest(
  3485. {
  3486. method: 'POST',
  3487. url: FBoomLink2,
  3488. headers: {
  3489. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3490. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3491. 'Content-Type': 'application/x-www-form-urlencoded',
  3492. 'Referer': FBoomLink
  3493. },
  3494. data: 'slow_id='+slID,
  3495. onload: function (result)
  3496. {
  3497. var newres = result.responseText;
  3498. newoversizedtest=new RegExp("Downloading is not possible");
  3499. if (newoversizedtest.test(newres))
  3500. {
  3501. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3502. return;
  3503. }
  3504. else
  3505. {
  3506. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3507. return;
  3508. }
  3509. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3510. return;
  3511. }
  3512. });
  3513. /////////////////////end additional check for oversized links
  3514. return;
  3515. }
  3516. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3517. return;
  3518. },
  3519. onerror: function ()
  3520. {
  3521. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3522. return;
  3523. }
  3524. });
  3525. }
  3526. function dl4free_1fichier_BulkCheck()
  3527. {
  3528. var arr = this.links[0].split("\r\n");
  3529. var i = arr.length;
  3530. while(i--)
  3531. {
  3532. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3533. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3534. gethead_dl4free_1fichier(arr[i]);
  3535. }
  3536. }
  3537. function gethead_dl4free_1fichier(link)
  3538. {
  3539. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3540. GM_xmlhttpRequest(
  3541. {
  3542. method: 'HEAD',
  3543. url: link,
  3544. headers: {
  3545. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3546. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3547. 'Referer': ''
  3548. },
  3549. onload: function (result)
  3550. {
  3551. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3552. {
  3553. DisplayTheCheckedLinks([id], 'alive_link');
  3554. return;
  3555. }
  3556. else
  3557. {
  3558. getlink_dl4free_1fichier(link);
  3559. }
  3560. return;
  3561. },
  3562. onerror: function ()
  3563. {
  3564. DisplayTheCheckedLinks([id], 'unava_link');
  3565. }
  3566. });
  3567. }
  3568. function getlink_dl4free_1fichier(link)
  3569. {
  3570. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3571. GM_xmlhttpRequest(
  3572. {
  3573. method: 'GET',
  3574. url: link,
  3575. headers: {
  3576. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3577. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3578. 'Referer': ''
  3579. },
  3580. onload: function (result)
  3581. {
  3582. var res = result.responseText;
  3583. 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');
  3584. if (deadRegex.test(res))
  3585. {
  3586. DisplayTheCheckedLinks([id], 'adead_link');
  3587. return;
  3588. }
  3589. premiumRegex=new RegExp('only for premium users');
  3590. if (premiumRegex.test(res))
  3591. {
  3592. DisplayTheCheckedLinks([id], 'prem_link');
  3593. return;
  3594. }
  3595. 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="');
  3596. if (liveRegex.test(res))
  3597. {
  3598. DisplayTheCheckedLinks([id], 'alive_link');
  3599. return;
  3600. }
  3601. DisplayTheCheckedLinks([id], 'unava_link');
  3602. },
  3603. onerror: function ()
  3604. {
  3605. DisplayTheCheckedLinks([id], 'unava_link');
  3606. }
  3607. });
  3608. }
  3609. function nitroflareBulkCheck()
  3610. {
  3611. var arr = this.links[0].split("\r\n");
  3612. var i = arr.length;
  3613. while(i--)
  3614. {
  3615. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3616. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3617. NitroFlareRequest(arr[i]);
  3618. }
  3619. }
  3620. function NitroFlareRequest(NFLink)
  3621. {
  3622. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3623. GM_xmlhttpRequest(
  3624. {
  3625. method: "GET",
  3626. url: NFLink,
  3627. headers: {
  3628. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3629. 'Content-Type': 'application/x-www-form-urlencoded',
  3630. 'Referer': ""
  3631. },
  3632. onload: function (result)
  3633. {
  3634. var res = result.responseText;
  3635. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3636. {
  3637. DisplayTheCheckedLinks([NFID], 'adead_link');
  3638. return;
  3639. }
  3640. if (res.match('Report this file<\/a>'))
  3641. {
  3642. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3643. sizearr=measureRegex.exec(res);
  3644. if (sizearr[2]=='GB')
  3645. {
  3646. if (parseFloat(sizearr[1])>1)
  3647. {
  3648. DisplayTheCheckedLinks([NFID], 'prem_link');
  3649. }
  3650. else
  3651. {
  3652. DisplayTheCheckedLinks([NFID], 'alive_link');
  3653. }
  3654. }
  3655. else
  3656. {
  3657. DisplayTheCheckedLinks([NFID], 'alive_link');
  3658. }
  3659. return;
  3660. }
  3661. DisplayTheCheckedLinks([NFID], 'unava_link');
  3662. }
  3663. });
  3664. }
  3665. function depositfilesBulkCheck()
  3666. {
  3667. var arr = this.links[0].split("\r\n");
  3668. var i = arr.length;
  3669. var seqno = Math.floor(Math.random()*1000000000);
  3670. while(i--)
  3671. {
  3672. DFpostRequest(arr[i]);
  3673. }
  3674. }
  3675. function DFpostRequest(DFLink)
  3676. {
  3677. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3678. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3679. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3680. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3681. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3682. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3683. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3684. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3685. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3686. GM_xmlhttpRequest(
  3687. {
  3688. method: "GET",
  3689. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3690. headers: {
  3691. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3692. 'Content-Type': 'application/x-www-form-urlencoded',
  3693. 'Referer': ""
  3694. },
  3695. onload: function (result)
  3696. {
  3697. var res = result.responseText;
  3698. if (res.match('(?:no_file|file_ban)'))
  3699. {
  3700. DisplayTheCheckedLinks([id], 'adead_link');
  3701. return;
  3702. }
  3703. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3704. {
  3705. DisplayTheCheckedLinks([id], 'alive_link');
  3706. return;
  3707. }
  3708. DisplayTheCheckedLinks([id], 'unava_link');
  3709. }
  3710. });
  3711. }
  3712.  
  3713. function megaBulkCheck()
  3714. {
  3715. var arr = this.links[0].split("\r\n");
  3716. var i = arr.length;
  3717. var seqno = Math.floor(Math.random()*1000000000);
  3718. while(i--)
  3719. {
  3720. postRequest(arr[i]);
  3721. }
  3722. function postRequest(megaLink)
  3723. {
  3724. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3725. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3726. if (id=='F')
  3727. {
  3728. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3729. DisplayTheCheckedLinks([id], 'unava_link');
  3730. }
  3731. else
  3732. GM_xmlhttpRequest(
  3733. {
  3734. method: "POST",
  3735. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3736. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3737. headers: {
  3738. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3739. 'Content-Type': 'application/xml',
  3740. 'Referer': "https://mega.co.nz/"
  3741. },
  3742. onload: function (result)
  3743. {
  3744. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3745. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3746. {
  3747.  
  3748. DisplayTheCheckedLinks([id], 'adead_link');
  3749. }
  3750. if (res.at)
  3751. {
  3752. DisplayTheCheckedLinks([id], 'alive_link');
  3753. }
  3754. if (res.e == "ETEMPUNAVAIL")
  3755. {
  3756. DisplayTheCheckedLinks([id], 'unava_link');
  3757. }
  3758. }
  3759. });
  3760. }
  3761.  
  3762. }
  3763.  
  3764. function oboomBulk() {
  3765. var a = [], b = [], c = [];
  3766. var array = this.links;
  3767.  
  3768. GM_xmlhttpRequest({
  3769. method: 'GET',
  3770. url: 'https://www.oboom.com/1/guestsession',
  3771. headers: {
  3772. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3773. 'Content-type': 'application/x-www-form-urlencoded',
  3774. 'Referer': 'https://www.oboom.com',
  3775. 'X-Requested-With': 'XMLHttpRequest'
  3776. },
  3777. onload: function(result) {
  3778. var blockIdx = array.length;
  3779. var token = JSON.parse(result.responseText)[1];
  3780. while (blockIdx--) {
  3781. startCheck(array[blockIdx].split('\r\n'), token);
  3782. }
  3783. }
  3784. });
  3785.  
  3786. function startCheck(links, token) {
  3787. GM_xmlhttpRequest({
  3788. method: 'POST',
  3789. url: "https://api.oboom.com/1/info",
  3790. headers: {
  3791. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3792. 'Content-type': 'application/x-www-form-urlencoded',
  3793. 'Referer': 'https://www.oboom.com/',
  3794. 'X-Requested-With': 'XMLHttpRequest'
  3795. },
  3796. data: "token=" + token + "&items=" + links.join(","),
  3797. onload: function(result) {
  3798. var res = JSON.parse(result.responseText)[1];
  3799. var i = res.length, s;
  3800.  
  3801. while (i--) {
  3802. s = res[i].state;
  3803. if (s == 'online') a.push(res[i].id);
  3804. 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);
  3805. else c.push(res[i].id);
  3806. }
  3807.  
  3808. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3809. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3810. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3811. }
  3812. });
  3813. }
  3814. }
  3815. function linkcryptBulkCheck()
  3816. {
  3817. var arr = this.links[0].split("\r\n");
  3818. var i = arr.length;
  3819. while(i--)
  3820. {
  3821. postRequest(arr[i]);
  3822. }
  3823. function postRequest(lcLink)
  3824. {
  3825. GM_xmlhttpRequest(
  3826. {
  3827. method: "GET",
  3828. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3829. headers: {
  3830. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3831. 'Accept': 'text/xml',
  3832. 'Referer': ""
  3833. },
  3834. onload: function (result)
  3835. {
  3836. var res = result.responseText;
  3837. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3838. {
  3839. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3840. return;
  3841. }
  3842. if (res.match(/folderStatus>1/)) //Online status
  3843. {
  3844. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3845. }
  3846. else
  3847. {
  3848. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3849. }
  3850. }
  3851. });
  3852. }
  3853. }
  3854.  
  3855. /* function megashareBulkCheck()
  3856. {
  3857. var arr = this.links[0].split("\r\n");
  3858. var i = arr.length;
  3859. while(i--)
  3860. {
  3861. postRequest(arr[i]);
  3862. }
  3863. function postRequest(msLink)
  3864. {
  3865. GM_xmlhttpRequest(
  3866. {
  3867. method: "GET",
  3868. url: msLink,
  3869. headers: {
  3870. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3871. 'Content-Type': 'application/x-www-form-urlencoded',
  3872. 'Referer': ""
  3873. },
  3874. onload: function (result)
  3875. {
  3876. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3877. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3878. if ((prZVal == null) || (btn3Name == null))
  3879. {
  3880. return;
  3881. }
  3882. GM_xmlhttpRequest(
  3883. {
  3884. method: "POST",
  3885. url: msLink,
  3886. headers: {
  3887. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3888. 'Content-Type': 'application/x-www-form-urlencoded',
  3889. 'Referer': ""
  3890. },
  3891. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3892. onload: function (result)
  3893. {
  3894. var res = result.responseText;
  3895. if (res.match(/<div id="err">/))
  3896. {
  3897. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3898. }
  3899. else
  3900. {
  3901. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3902. }
  3903. }
  3904. });
  3905. }
  3906. });
  3907. }
  3908. } */
  3909. function hellshareBulkCheck()
  3910. {
  3911. var links = this.links;
  3912. GM_xmlhttpRequest(
  3913. {
  3914. method: "GET",
  3915. url: 'http://www.hellshare.com',
  3916. headers: {
  3917. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3918. 'Accept': 'text/xml',
  3919. 'Referer': ""
  3920. },
  3921. onload: function (result)
  3922. {
  3923. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3924.  
  3925. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3926. if (domain == 'sk')
  3927. loc = 'check=Skontrolova%C5%A5&links=';
  3928. if (domain == 'com')
  3929. loc = 'check=Check+availability&links=';
  3930. if (domain == 'hu')
  3931. loc = 'check=Kontrol%C3%A1lj&links=';
  3932. if (domain == 'pl')
  3933. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3934.  
  3935. genBulkCheck.call({ links: links,
  3936. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3937. postData: loc,
  3938. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3939. 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,
  3940. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3941. resUnavaRegex: null
  3942. });
  3943. }
  3944. });
  3945. }
  3946. /**
  3947. * Displays check result
  3948. * @param {Array} Array of links or link fragments.
  3949. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3950. */
  3951. function DisplayTheCheckedLinks(links, resultStatus)
  3952. {
  3953. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3954. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3955. if (Do_not_linkify_DL_links)
  3956. { //TODO into separate jQuery function
  3957. $links.replaceWith(function(){
  3958. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3959. });
  3960. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3961. }
  3962. $links.removeClass().addClass(resultStatus);
  3963. $links.each(function() {
  3964. this.href = Ref_anonymize_service + $(this).attr("href");
  3965. });
  3966. switch(resultStatus)
  3967. {
  3968. case "alive_link": cLinksAlive += $links.length;
  3969. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3970. break;
  3971. case "adead_link": cLinksDead += $links.length;
  3972. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3973. break;
  3974. case "prem_link": cLinksprem += $links.length;
  3975. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3976. break;
  3977. case "unava_link": cLinksUnava += $links.length; break;
  3978. default:
  3979. }
  3980. cLinksProcessed += $links.length;
  3981. }
  3982. }
  3983. // starts bulkchecking
  3984. //
  3985. // params
  3986. // filterId [string] restricts link detection with passed id attribute
  3987. function startBulkCheck(filterId)
  3988. {
  3989. var cHosts = bulkHosts.length;
  3990. if (cHosts == 0) //no filehostings selected
  3991. return;
  3992. // STEP 1 linkify the links
  3993. var linkifyRegex = '';
  3994. var hostIdx = cHosts;
  3995. while(hostIdx--)
  3996. {
  3997. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3998. }
  3999. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  4000. linkify(linkifyRegex);
  4001. //
  4002. //STEP 2 detect link objects
  4003. var xpathAll = '';
  4004. var hostIdx = cHosts;
  4005. while(hostIdx--)
  4006. {
  4007. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4008. }
  4009. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4010. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4011. if (filterId != null) //insert id restriction in the xpath
  4012. {
  4013. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4014. }
  4015. else
  4016. {
  4017. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4018. }
  4019. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4020. if (filterId == null)
  4021. {
  4022. cLinksTotal += links.snapshotLength;
  4023. }
  4024. //
  4025. //STEP 3 bind links with hostings
  4026. var linkIdx = links.snapshotLength;
  4027. var href = null;
  4028. if (linkIdx == 0) // no links found
  4029. return;
  4030. var name;
  4031. while (linkIdx--)
  4032. {
  4033. href = links.snapshotItem(linkIdx).href;
  4034. try // DO NOT REMOVE, filters crap that went through xpath detection
  4035. {
  4036. name = gimmeHostName(href);
  4037. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4038. bulkHostNames[name].links.push(href);
  4039. }
  4040. catch(e)
  4041. {
  4042.  
  4043. }
  4044. }
  4045. //
  4046. //STEP 4 process the links for each filehosting
  4047. var hostIdx = cHosts;
  4048. var host;
  4049. var m,n;
  4050. var arr;
  4051. while (hostIdx--)
  4052. {
  4053. host = bulkHosts[hostIdx];
  4054. arr = host.links;
  4055. if (arr.length == 0) //no links for this hosting, skip
  4056. {
  4057. continue;
  4058. }
  4059. //links match corrections
  4060. if (host.corrMatch != null)
  4061. {
  4062. var idx = arr.length;
  4063. while (idx--)
  4064. {
  4065. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4066. }
  4067. }
  4068. //links replace corrections
  4069. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4070. {
  4071. var idx = arr.length;
  4072. while (idx--)
  4073. {
  4074. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4075. }
  4076. }
  4077. m = arr.length;
  4078. n = host.blockSize;
  4079. if (m > n)
  4080. {
  4081. //insert block separators (RAND_STRING) into the array
  4082. for(var i = n; i < m; i += n + 1)
  4083. {
  4084. arr.splice(i, 0, RAND_STRING);
  4085. }
  4086. }
  4087.  
  4088. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4089. apiUrl: host.apiUrl,
  4090. postData: host.postData,
  4091. resLinkRegex: host.resLinkRegex,
  4092. resLiveRegex: host.resLiveRegex,
  4093. resDeadRegex: host.resDeadRegex,
  4094. resUnavaRegex: host.resUnavaRegex
  4095. });
  4096. //clean up
  4097. arr.length = 0;
  4098. }
  4099. //
  4100.  
  4101. function gimmeHostName(link)
  4102. {
  4103. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4104. }
  4105. }
  4106. function checkLinks(filterId)
  4107. {
  4108. startBulkCheck(filterId);
  4109. start(filterId);
  4110. }
  4111.  
  4112. /**
  4113. * Initialises progress box including event binding and CSS
  4114. */
  4115. function initProgressBox()
  4116. {
  4117. if ($("#warlc-progressbox").length > 0)
  4118. return;
  4119. //progressbox css change size and color of progress box
  4120. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4121. "; opacity:" + (Progress_box_opacity / 100) +
  4122. "; bottom:" + Processbox_Pos_Y +
  4123. "%; left:" + Processbox_Pos_X +
  4124. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4125. \
  4126. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4127. \
  4128. .warlc-progressitem {}\
  4129. \
  4130. .alive {color:#00FF7F; " + Live_links_color +
  4131. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4132. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4133. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4134. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4135. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4136. //
  4137. if (Progressbox_Scaling != 100) {
  4138. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4139. 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
  4140. });
  4141. }
  4142. 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
  4143.  
  4144. GM_addStyle(progressboxCss);
  4145. $('body').append(' <div id="warlc-progressbox">\
  4146. <div class="warlc-progressbar"></div>\
  4147. <span class="warlc-progressitem alive"></span> - \
  4148. <span class="warlc-progressitem dead"></span> - \
  4149. <span class="warlc-progressitem unava"></span> - \
  4150. <span class="warlc-progressitem prem"></span> - \
  4151. <span class="warlc-progressitem processing"></span>\
  4152. </div>');
  4153. $('#warlc-progressbox').hide().click(function(){
  4154. clearInterval(intervalId);
  4155. $(this).hide();
  4156. return false;
  4157. });
  4158. $(".warlc-progressbar").progressbar({complete: function(){
  4159. $(this).fadeOut();
  4160. clearInterval(intervalId); //stop refreshing the stats
  4161. }
  4162. })
  4163. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4164. }
  4165. /**
  4166. * Updates progress data in progress box
  4167. */
  4168. function updateProgress()
  4169. {
  4170. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4171. if (cLinksTotal) // some links were detected on page
  4172. {
  4173. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4174. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4175. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4176. if ((cLinksTotal - cLinksProcessed) == 0)
  4177. {
  4178. $progressItems.first().text(cLinksAlive)
  4179. .next().text(cLinksDead)
  4180. .next().text(cLinksUnava)
  4181. .next().text(cLinksprem)
  4182. .next().remove();
  4183. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4184. $('#warlc-progressbox div:first-child').remove();
  4185. }
  4186. else
  4187. {
  4188. $progressItems.first().text(cLinksAlive)
  4189. .next().text(cLinksDead)
  4190. .next().text(cLinksUnava)
  4191. .next().text(cLinksprem)
  4192. .next().text(cLinksTotal - cLinksProcessed);
  4193. }
  4194. }
  4195. }
  4196.  
  4197. function check_all_links()
  4198. {
  4199. add_WARLC_style();
  4200.  
  4201. if (Show_progress_stats)
  4202. {
  4203. initProgressBox();
  4204. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4205. }
  4206.  
  4207. startBulkCheck(null);
  4208. start(null);
  4209.  
  4210. if (!containers_processed)
  4211. {
  4212. processContainers();
  4213. }
  4214. }
  4215.  
  4216. //Copies all found dead links to clipboard - right now for Scriptish only
  4217. function copy_dead_to_clipboard()
  4218. {
  4219. initClipBoardTools();
  4220.  
  4221. var deadlinksxpath = "//.[@class='adead_link']";
  4222.  
  4223. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4224. var foundlinkstext = '';
  4225.  
  4226. var foundlinkIdx = foundlinks.snapshotLength;
  4227.  
  4228. while(foundlinkIdx--)
  4229. {
  4230. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4231. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4232. }
  4233.  
  4234. GM_setClipboard(foundlinkstext);
  4235. }
  4236. //Copies all found live links to clipboard
  4237. function copy_live_to_clipboard()
  4238. {
  4239. initClipBoardTools();
  4240.  
  4241. var livelinksxpath = "//.[@class='alive_link']";
  4242.  
  4243. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4244. var foundlinks2text = '';
  4245.  
  4246. var foundlink2Idx = foundlinks2.snapshotLength;
  4247.  
  4248. while(foundlink2Idx--)
  4249. {
  4250. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4251. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4252. }
  4253.  
  4254. GM_setClipboard(foundlinks2text);
  4255. }
  4256.  
  4257. function toggle_autocheck()
  4258. {
  4259. var currentState = GM_getValue("Autocheck", false);
  4260. GM_setValue("Autocheck", !currentState);
  4261.  
  4262. if (currentState == true)
  4263. {
  4264. sendMessage('Autocheck disabled', 'red');
  4265. }
  4266. else
  4267. {
  4268. sendMessage('Autocheck enabled', 'SpringGreen');
  4269. }
  4270. }
  4271. function toggle_Enable_Anonymizer()
  4272. {
  4273. var currentState = GM_getValue("Enable_Anonymizer", false);
  4274. GM_setValue("Enable_Anonymizer", !currentState);
  4275.  
  4276. if (currentState == true)
  4277. {
  4278. GM_setValue("Ref_anonymize_service", "");
  4279. sendMessage('Anonymizer Disabled', 'red');
  4280. }
  4281. else
  4282. {
  4283. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4284. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4285. }
  4286. }
  4287.  
  4288. function KeyDownHandler(event)
  4289. {
  4290. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4291. if (event.ctrlKey && event.altKey)
  4292. {
  4293. switch(kcode)
  4294. {
  4295. case 65 : check_all_links(); break;
  4296. case 67 : configuration(); break;
  4297. case 68 : copy_dead_to_clipboard(); break;
  4298. case 76 : copy_live_to_clipboard(); break;
  4299. case 87 : toggle_autocheck(); break;
  4300. case 90 : toggle_Enable_Anonymizer(); break;
  4301. }
  4302. }
  4303. }
  4304.  
  4305. //
  4306. //
  4307. // SCRIPT EXECUTION START POINT
  4308. //
  4309. //
  4310. // Safari specific GM_getResourceText override
  4311. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4312. {
  4313. GM_getResourceText = function(res) {
  4314. var $cssText = GM_getValue("jquery_css", "");
  4315. if ($cssText == "")
  4316. {
  4317. GM_xmlhttpRequest(
  4318. {
  4319. method: 'GET',
  4320. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4321. onload: function (result)
  4322. {
  4323. GM_setValue("jquery_css", result.responseText);
  4324. window.location.reload();
  4325. }
  4326. });
  4327. }
  4328. else
  4329. {
  4330. return $cssText;
  4331. }
  4332. }
  4333. }
  4334. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4335. GM_addStyle(jQueryUICSS);
  4336. //init the stuff
  4337. setVariables();
  4338. initBulkCheck();
  4339. //init info boxes
  4340. messageBox.style.position = 'fixed';
  4341. messageBox.style.top = '20px';
  4342. messageBox.style.left = '10px';
  4343. messageBox.style.opacity = '0.85';
  4344. messageBox.style.background = 'DimGray';
  4345. messageBox.style.fontSize = '36px';
  4346. document.body.appendChild(messageBox);
  4347.  
  4348. //register GM menu commands & keyboard shortcut event handler
  4349. if (Keyboard_functions)
  4350. {
  4351. $(document).keydown(KeyDownHandler);
  4352. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4353. 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);
  4354. }
  4355. else
  4356. {
  4357. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4358. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4359. }
  4360.  
  4361. //start linkchecking
  4362. if (Autocheck)
  4363. {
  4364. $(document).ready(check_all_links);
  4365. }
  4366.  
  4367. //
  4368. //
  4369. // SCRIPT EXECUTION END POINT
  4370. //
  4371. //
  4372.  
  4373. //shows configuration box
  4374. function configuration()
  4375. {
  4376.  
  4377. //prevent multiple creating of config window
  4378. if ($("#hideshow").length)
  4379. {
  4380. $("#hideshow").show();
  4381. return;
  4382. }
  4383.  
  4384. var configcss = '\
  4385. .popup_block .popup fieldset{\
  4386. padding: 1%;\
  4387. border-style: solid;\
  4388. border-width: 1px;\
  4389. border-color: gray;\
  4390. margin-bottom: 1px;\
  4391. }\
  4392. #h3hideshowtitle{\
  4393. font-size: 2em;\
  4394. }\
  4395. #h3hideshow{\
  4396. font-size: 1.5em;\
  4397. }\
  4398. #imghideshow {\
  4399. border: none;\
  4400. }\
  4401. #plusimage{\
  4402. display:inline;\
  4403. }\
  4404. #hideshow {\
  4405. position: fixed;\
  4406. width: 100%;\
  4407. height: 100%;\
  4408. top: 0;\
  4409. left: 0;\
  4410. font-size:12px;\
  4411. z-index:2147483645;\
  4412. text-align:left;\
  4413. }\
  4414. #fade {\
  4415. background: #000;\
  4416. position: fixed;\
  4417. width: 100%;\
  4418. height: 100%;\
  4419. opacity: .80;\
  4420. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4421. left: 0;\
  4422. z-index: 10;\
  4423. }\
  4424. .popup_block {\
  4425. font-family:verdana;\
  4426. color:black;\
  4427. background: #ddd;\
  4428. padding: 10px 20px;\
  4429. border: 2px solid DarkOrange;\
  4430. float: left;\
  4431. width: 700px;\
  4432. position: absolute;\
  4433. top: 7%;\
  4434. left: 50%;\
  4435. bottom: 7%;\
  4436. margin: 0 0 0 -350px;\
  4437. -moz-border-radius:10px;\
  4438. z-index: 100;\
  4439. \
  4440. }\
  4441. .popup_block .popup {\
  4442. float: left;\
  4443. width: 100%;\
  4444. background: #fff;\
  4445. margin: 10px 0;\
  4446. padding: 0px 0 0px;\
  4447. border-left: 1px solid #bbb;\
  4448. border-top: 1px solid #bbb;\
  4449. border-right: 1px solid #bbb;\
  4450. }\
  4451. #h3hideshow{\
  4452. margin: 1px 0 0px;\
  4453. padding: 1px 10px;\
  4454. border-bottom: 1px solid #bbb;\
  4455. font-size: 1.5em;\
  4456. font-weight: normal;\
  4457. cursor:pointer;\
  4458. background:#DDDDDD none repeat scroll 0 0;\
  4459. }\
  4460. #h3hideshow:hover{\
  4461. background:#C0BEBE none repeat scroll 0 0;\
  4462. }\
  4463. #h3hideshowtitle{\
  4464. margin: 2px 0 0px;\
  4465. padding: 7px 10px;\
  4466. border-bottom: 1px solid #bbb;\
  4467. font-size: 1.5em;\
  4468. font-weight: normal;\
  4469. }\
  4470. .popup_block .popup a {\
  4471. color:DarkSkyBlue;\
  4472. text-decoration:none;\
  4473. }\
  4474. .popup p {\
  4475. padding: 1px 10px;\
  4476. margin: 0px 0;\
  4477. -x-system-font:none;\
  4478. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4479. font-size:10pt;\
  4480. font-size-adjust:none;\
  4481. font-stretch:normal;\
  4482. font-style:normal;\
  4483. font-variant:normal;\
  4484. font-weight:normal;\
  4485. line-height:normal;\
  4486. }\
  4487. #sites {\
  4488. padding: 1px 10px;\
  4489. margin: 0px 0;display:inline-block;width:16em;\
  4490. }\
  4491. #dev_ver {\
  4492. color: #00FF00;\
  4493. background: Black;\
  4494. text-align: right;\
  4495. }\
  4496. #sites_suspended {\
  4497. padding: 1px 10px;\
  4498. margin: 0px 0;display:inline-block;width:16em;\
  4499. text-decoration: line-through;\
  4500. }\
  4501. .popup img.cntrl {\
  4502. position: absolute;\
  4503. right: -15px;\
  4504. top: -15px;\
  4505. }\
  4506. #bulk {\
  4507. font-size:8pt;\
  4508. color:orange;\
  4509. padding: 1px 10px;\
  4510. margin: 0px 0;\
  4511. display:inline-block;\
  4512. width:100px;\
  4513. }\
  4514. #note {\
  4515. font-size:7pt;\
  4516. color:gray;\
  4517. padding: 1px 10px;\
  4518. margin: 0px 0;display:inline-block;\
  4519. min-width:100px;\
  4520. }\
  4521. #rednote {\
  4522. font-size:7pt;\
  4523. color:red;\
  4524. padding: 1px 10px;\
  4525. margin: 0px 0;display:inline-block;\
  4526. }\
  4527. #configinfo {\
  4528. font-size:8pt;\
  4529. color:gray;\
  4530. padding: 1px 10px;\
  4531. margin: 0px 0;display:inline-block;width:60em;\
  4532. }\
  4533. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4534. color:black;\
  4535. border-style: solid;\
  4536. border-width: 1px;\
  4537. border-color: gray;\
  4538. }\
  4539. #h3hideshowcontent {\
  4540. min-height:220px;\
  4541. max-height:220px;\
  4542. overflow:auto;\
  4543. display: none;\
  4544. padding: 10px 10px;\
  4545. }\
  4546. #specinfo{\
  4547. font-size:14px;\
  4548. }\
  4549. .warlc-ui-tab {\
  4550. height:300px;\
  4551. overflow:auto;\
  4552. }\
  4553. #warlcsitelist2, #warlcsitelist1 {\
  4554. height:220px;\
  4555. border-top: 1px solid #ddd;\
  4556. padding-top: 5px;\
  4557. overflow:auto;\
  4558. }\
  4559. input:hover+label {\
  4560. background:#F1F77C;\
  4561. font-size:110%;\
  4562. }\
  4563. ';
  4564.  
  4565. GM_addStyle(configcss);
  4566.  
  4567. var customRulesRefHTML =
  4568. '\
  4569. <br>\
  4570. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4571. <b>@keyword</b> <i>parameter</i>\
  4572. <br><br>\
  4573. 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. \
  4574. <br><br>\
  4575. 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.\
  4576. 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.\
  4577. 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.\
  4578. 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,\
  4579. but all commands until the next valid @customrule are ignored.<br><br>\
  4580. Available forms and types:\
  4581. <ul>\
  4582. <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.\
  4583. <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.\
  4584. <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.\
  4585. <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.\
  4586. </ul>\
  4587. Other available commands:<br>\
  4588. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4589. <ul>\
  4590. <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.\
  4591. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4592. <ul>examples:<br>\
  4593. <li>good: <i>filehost.com/download/</i><br>\
  4594. <li>good: <i>download.filehost.net/?d=</i><br>\
  4595. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4596. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4597. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4598. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4599. <li>bad: <i>filehost.com</i> - no slash<br>\
  4600. </ul>\
  4601. \
  4602. <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.\
  4603. 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 \
  4604. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4605. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4606. 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.)\
  4607. Two spaces again match any whitespace.\
  4608. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4609. Two spaces again match any whitespace.\
  4610. <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. \
  4611. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4612. </ul>\
  4613. \
  4614. ';
  4615.  
  4616. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4617. var configurationinnerHTML =
  4618. '<div id="fade"></div>\
  4619. <div class="popup_block">\
  4620. <div class="popup">\
  4621. <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//2fqGNm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juHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4622. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo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HrvOZ04cyueLP+q3huvIsbBmETWPaeVcngPMAWtMYKjVWlC30L8ylGDzV4WzPZ+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>\
  4623. <div id="warlc-conf-tabs">\
  4624. <ul>\
  4625. <li><a href="#tabs-1">Filehostings</a></li>\
  4626. <li><a href="#tabs-2">Containers</a></li>\
  4627. <li><a href="#tabs-5">Custom rules</a></li>\
  4628. <li><a href="#tabs-3">Settings</a></li>\
  4629. <li><a href="#tabs-4">About</a></li>\
  4630. </ul>\
  4631. <div id="tabs-1" class="warlc-ui-tab">\
  4632. <div class="warlc-ui-buttonset">\
  4633. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4634. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4635. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4636. </div><br>\
  4637. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4638. <div id="warlcsitelist1"><span>Empty</span></div>\
  4639. </div>\
  4640. <div id="tabs-2" class="warlc-ui-tab">\
  4641. <div class="warlc-ui-buttonset">\
  4642. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4643. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4644. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4645. </div><br>\
  4646. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4647. <div id="warlcsitelist2"><span>Empty</span></div>\
  4648. </div>\
  4649. <div id="tabs-5" class="warlc-ui-tab">\
  4650. <div class="warlcsettings">\
  4651. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4652. <br>\
  4653. <div>Edit custom rules: \
  4654. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4655. <div id="customRulesReference" style="display:none;">'
  4656. + customRulesRefHTML + '\
  4657. </div>\
  4658. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4659. </div>\
  4660. </div>\
  4661. </div>\
  4662. <div id="tabs-3" class="warlc-ui-tab">\
  4663. <div class="warlcsettings">\
  4664. <fieldset>\
  4665. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4666. <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>\
  4667. </fieldset>\
  4668. <fieldset>\
  4669. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4670. <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>\
  4671. <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>\
  4672. <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>\
  4673. <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>\
  4674. <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>\
  4675. <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>\
  4676. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4677. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4678. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4679. <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>\
  4680. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4681. <fieldset>\
  4682. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4683. <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>\
  4684. <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>\
  4685. <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>\
  4686. </fieldset>\
  4687. </fieldset>\
  4688. <fieldset>\
  4689. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4690. </fieldset>\
  4691. <fieldset>\
  4692. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4693. </fieldset>\
  4694. <fieldset>\
  4695. <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>\
  4696. </fieldset>\
  4697. <fieldset>\
  4698. <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>\
  4699. </fieldset>\
  4700. <fieldset>\
  4701. <legend>Progress box settings</legend>\
  4702. <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>\
  4703. <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>\
  4704. <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>\
  4705. </fieldset>\
  4706. </div>\
  4707. </div>\
  4708. <div id="tabs-4" class="warlc-ui-tab">\
  4709. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4710. <br />\
  4711. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4712. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4713. <br />\
  4714. <p><b>Currently supported:</b><br>\
  4715. Filehostings: ' + allHostNames.length + '<br />\
  4716. Containers: ' + allContainerNames.length + '<br />\
  4717. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4718. <br />\
  4719. <p><b>Based on:</b><br>\
  4720. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4721. <br />\
  4722. <p><b>Uses:</b></p>\
  4723. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4724. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4725. <br />\
  4726. <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>\
  4727. </div>\
  4728. </div>\
  4729. </div>\
  4730. </div>';
  4731. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4732. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4733. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4734. var elmHostList = document.getElementById("warlcsitelist1");
  4735. var elmContainerList = document.getElementById("warlcsitelist2");
  4736. buildSettings();
  4737. buildSitelist("", allHostNames, elmHostList);
  4738. buildSitelist("", allContainerNames, elmContainerList);
  4739. if (DEBUG_MODE)
  4740. {
  4741. //log all sites availability status
  4742. diagSites();
  4743. }
  4744. //handler for checkbox state change
  4745. function changeConfiguration(e)
  4746. {
  4747. var element = e.target;
  4748.  
  4749. if (element.type == 'checkbox')
  4750. {
  4751. if (element.checked == 1)
  4752. {
  4753. GM_setValue(element.id, true);
  4754. }
  4755. else
  4756. {
  4757. GM_setValue(element.id, false);
  4758. }
  4759.  
  4760. }
  4761. setVariables();
  4762. }
  4763.  
  4764. //Selects all filehosting checkboxes
  4765. function selectAll()
  4766. {
  4767. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4768. .each(function(index, element){GM_setValue(this.id, true)});
  4769. }
  4770.  
  4771. //Deselects all filehosting checkboxes
  4772. function selectNone()
  4773. {
  4774. $(":checkbox:visible:checked").prop("checked",false)
  4775. .each(function(index, element){GM_setValue(this.id, false)});
  4776. }
  4777. //Sets Processbox position setting
  4778. function changeProgBox(event) {
  4779. var setting;
  4780. switch(event.data.set) {
  4781. case "X": setting = "Processbox_Pos_X"; break;
  4782. case "Y": setting = "Processbox_Pos_Y"; break;
  4783. case "Scale": setting = "Progressbox_Scaling"; break;
  4784. }
  4785. var $setting = $("#" + setting);
  4786. var newSet = $setting.val().replace("%", "");
  4787. GM_setValue(setting, newSet);
  4788. }
  4789. //Sets value of Processbox position
  4790. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4791. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4792. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4793.  
  4794. //Inverts filehosting checkboxes selection
  4795. function selectInvert()
  4796. {
  4797. var $checked = $(":checkbox:visible:checked");
  4798. var $unchecked = $(":checkbox:visible:not(:checked)");
  4799. $unchecked.prop("checked",true)
  4800. .each(function(index, element){GM_setValue(this.id, true)});
  4801. $checked.prop("checked",false)
  4802. .each(function(index, element){GM_setValue(this.id, false)});
  4803. }
  4804. //toggles anonymizer on off
  4805. function Enable_Anonymizer()
  4806. {
  4807. var $checked = $(":checkbox:visible:checked");
  4808. var $unchecked = $(":checkbox:visible:not(:checked)");
  4809. $unchecked.prop("checked",true)
  4810. .each(function(index, element){GM_setValue(this.id, true)});
  4811. $checked.prop("checked",false)
  4812. .each(function(index, element){GM_setValue(this.id, false)});
  4813. }
  4814.  
  4815. function changeRefAnonymizer(){
  4816. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4817. }
  4818.  
  4819. //Sets live links color
  4820. function changeColorLive()
  4821. {
  4822. var inColorLive = document.getElementById("inputColorLive");
  4823. inColorLive.style.background = inColorLive.value;
  4824. GM_setValue("Live_links_color", inColorLive.value);
  4825. }
  4826.  
  4827. //Sets dead links color
  4828. function changeColorDead()
  4829. {
  4830. var inColorDead = document.getElementById("inputColorDead");
  4831. inColorDead.style.background = inColorDead.value;
  4832. GM_setValue("Dead_links_color", inColorDead.value);
  4833. }
  4834.  
  4835. //Sets temp. unavailable links color
  4836. function changeColorTemp()
  4837. {
  4838. var inColorTemp = document.getElementById("inputColorTemp");
  4839. inColorTemp.style.background = inColorTemp.value;
  4840. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4841. }
  4842.  
  4843. //Sets temp. unavailable links color
  4844. function changeColorCont()
  4845. {
  4846. var inColorCont = document.getElementById("inputColorCont");
  4847. inColorCont.style.background = inColorCont.value;
  4848. GM_setValue("Container_links_color", inColorCont.value);
  4849. }
  4850. //Sets premium. links color
  4851. function changeColorprem()
  4852. {
  4853. var inColorprem = document.getElementById("inputColorprem");
  4854. inColorprem.style.background = inColorprem.value;
  4855. GM_setValue("Premium_links_color", inColorprem.value);
  4856. }
  4857.  
  4858. //Diagnose sites for availability
  4859. function diagSites()
  4860. {
  4861. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4862.  
  4863. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4864. {
  4865. if (boxes[i].type == "checkbox")
  4866. {
  4867. checkAvailability(boxes[i]);
  4868. }
  4869. }
  4870.  
  4871. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4872.  
  4873. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4874. {
  4875. if (boxes[i].type == "checkbox")
  4876. {
  4877. checkAvailability(boxes[i]);
  4878. }
  4879. }
  4880.  
  4881. function checkAvailability(cbElm)
  4882. {
  4883. var cb = cbElm;
  4884. GM_xmlhttpRequest(
  4885. {
  4886. method: 'HEAD',
  4887. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4888. headers: {
  4889. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4890. 'Accept': 'text/xml',
  4891. 'Referer': ""
  4892. },
  4893. onload: function (result)
  4894. {
  4895. if (result.status != 200)
  4896. {
  4897. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4898. }
  4899. },
  4900. onerror: function (result)
  4901. {
  4902. if (result.status != 200)
  4903. {
  4904. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4905. //Sets Progress_box position setting
  4906. function changeProgBox(event) {
  4907. var setting;
  4908. switch(event.data.set) {
  4909. case "X": setting = "Progress_box_Pos_X"; break;
  4910. case "Y": setting = "Progress_box_Pos_Y"; break;
  4911. case "Scale": setting = "Progress_box_Scaling"; break;
  4912. }
  4913.  
  4914. var $setting = $("#" + setting);
  4915. var newSet = $setting.val().replace("%", "");
  4916. lsSetVal("general", setting, newSet);
  4917. }
  4918.  
  4919. //Sets value of Progress_box position
  4920. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4921. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4922. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4923. }
  4924. }
  4925. });
  4926. }
  4927. }
  4928. function buildSettings()
  4929. {
  4930. $(".warlcsettings :checkbox").each(function(){
  4931. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4932. .click(function(e){
  4933. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4934. setVariables();
  4935. });
  4936. })
  4937. }
  4938. //Dynamic build of host list
  4939. //param search [string] searches for hostnames matching search substring
  4940. //param siteNames [array] array of site names
  4941. //param targetNode [DOM Node] where the list should be built
  4942. // first child node is replaced
  4943. function buildSitelist(search, siteNames, targetNode)
  4944. {
  4945. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4946. var $targetNode = $(targetNode).empty();
  4947. var searchedSite = "";
  4948. $.each(siteNames, function(i, site){
  4949. if (searchedSite = site.match(searchRegex))
  4950. {
  4951. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4952. //ensuring backward compatibility with the rest of code, to be refactored later
  4953. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4954. //
  4955. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4956. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4957. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4958. );
  4959. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4960. .change(changeConfiguration);
  4961. $targetNode.append('<br />');
  4962. }
  4963. });
  4964. $targetNode.append("<hr>");
  4965. //obsolete hosts checkbox
  4966. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4967. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4968. .change(changeConfiguration);
  4969. $targetNode.append('<br />');
  4970. var foundName = "";
  4971. $.each(allObsoleteNames, function(i, site){
  4972. if (foundName = allObsoleteNames[i].match(searchRegex))
  4973. {
  4974. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4975. }
  4976. })
  4977. }
  4978. var hostSearchBox = document.getElementById("hostSearchBox");
  4979. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4980. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4981. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4982. $(".warlc-ui-select-all").click(selectAll).button();
  4983. $(".warlc-ui-select-none").click(selectNone).button();
  4984. $(".warlc-ui-select-invert").click(selectInvert).button();
  4985. $(".warlc-ui-buttonset").buttonset();
  4986. var inColorLive = document.getElementById("inputColorLive");
  4987. inColorLive.addEventListener('keyup', changeColorLive, false);
  4988.  
  4989. var inColorDead = document.getElementById("inputColorDead");
  4990. inColorDead.addEventListener('keyup', changeColorDead, false);
  4991.  
  4992. var inColorTemp = document.getElementById("inputColorTemp");
  4993. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4994.  
  4995. var inColorCont = document.getElementById("inputColorCont");
  4996. inColorCont.addEventListener('keyup', changeColorCont, false);
  4997. var inColorprem = document.getElementById("inputColorprem");
  4998. inColorprem.addEventListener('keyup', changeColorprem, false);
  4999. $("#refAnonymizer").change(changeRefAnonymizer);
  5000. //buttons and edit boxes init end
  5001.  
  5002. //icon sets radio buttons
  5003. var radioButtons = document.getElementsByName("warlciconset");
  5004. radioButtons[Icon_set].checked = "checked";
  5005.  
  5006. radioButtons[0].addEventListener("change", updateIconSet);
  5007. radioButtons[1].addEventListener("change", updateIconSet);
  5008. radioButtons[2].addEventListener("change", updateIconSet);
  5009. radioButtons[3].addEventListener("change", updateIconSet);
  5010. function updateIconSet()
  5011. {
  5012. GM_setValue("Icon_set", this.value * 1);
  5013. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5014. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5015. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5016. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5017. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5018.  
  5019. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5020. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5021.  
  5022. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5023. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5024. }
  5025. //
  5026. $('#showCustomRulesReference').click(function(e){
  5027. e.preventDefault();
  5028. $('#customRulesReference').toggle();
  5029. });
  5030. $('#Custom_rules_text')
  5031. .val(Custom_rules_text)
  5032. .change(saveCustomRules);
  5033. function saveCustomRules(e)
  5034. {
  5035. var cr = parseCustomRules(this.value);
  5036. if (cr.info.length)
  5037. 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, ' '));
  5038. GM_setValue('Custom_rules_text', this.value);
  5039. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5040. }
  5041. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5042. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5043. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5044. }
  5045.  
  5046. //begin standard link checking algorithm
  5047. function start(filterId)
  5048. {
  5049. var doNotLinkify = Do_not_linkify_DL_links;
  5050.  
  5051. // USER SELECTED FILE HOSTS INITIALIZATION START
  5052. var http_file_hosts = new Array(); //standard hostings
  5053. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5054. var http_file_hosts_obsolete = new Array(); //dead hostings
  5055. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5056.  
  5057. initFileHosts();
  5058. initFileHostsHeadersOnly();
  5059. initFileHostsCustom(); //CustomRules
  5060. // USER SELECTED FILE HOSTS INITIALIZATION END
  5061.  
  5062. // LINKIFICATION START
  5063. var totalxpath = '';
  5064. var totalxpathcoded = '';
  5065. var totalxpathobsolete = '';
  5066. var totalxpathheadersonly = '';
  5067. var totalourls = '';
  5068.  
  5069. var filehostLen = http_file_hosts.length;
  5070. var filehostCodedLen = http_file_hosts_coded.length;
  5071. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5072. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5073.  
  5074. var filehostIdx = filehostLen;
  5075. var filehostCodedIdx = filehostCodedLen;
  5076. var filehostObsoleteIdx = filehostObsoleteLen;
  5077. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5078.  
  5079. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5080. return;
  5081.  
  5082. while (filehostIdx--)
  5083. {
  5084. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5085. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5086. }
  5087.  
  5088. while (filehostCodedIdx--)
  5089. {
  5090. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5091. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5092. }
  5093.  
  5094. while (filehostObsoleteIdx--)
  5095. {
  5096. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5097. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5098. }
  5099.  
  5100. while (filehostHeadersOnlyIdx--)
  5101. {
  5102. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5103. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5104. }
  5105.  
  5106. totalourls = totalourls.replace(/\|$/g, "");
  5107. //TODO: further refactoring needed
  5108. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5109. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5110. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5111. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5112. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5113. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5114. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5115. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5116. if (filterId != null) //insert id restriction in the xpath
  5117. {
  5118. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5119. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5120. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5121. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5122. }
  5123. else
  5124. {
  5125. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5126. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5127. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5128. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5129. }
  5130. linkify(totalourls);
  5131. //LINKIFICATION END
  5132. //ENCRYPTED LINKS PROCESSING START
  5133. if (http_file_hosts_coded.length > 0)
  5134. {
  5135. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5136.  
  5137. // decrypt coded links (redirects, link protectors etc.)
  5138. if (linksCoded.snapshotLength > 0)
  5139. {
  5140. var link;
  5141. var reallinkreg;
  5142. var reallinkcorrection;
  5143.  
  5144. if (filterId == null)
  5145. {
  5146. cLinksTotal += linksCoded.snapshotLength;
  5147. }
  5148.  
  5149. var y = linksCoded.snapshotLength - 1;
  5150. do
  5151. {
  5152. // linksCoded.snapshotItem(y).id = 'processing_link';
  5153. link = linksCoded.snapshotItem(y);
  5154. filehostIdx = filehostCodedLen;
  5155. while (filehostIdx--)
  5156. {
  5157. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5158. {
  5159. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5160. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5161. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5162.  
  5163. decurl(link, reallinkreg, reallinkcorrection);
  5164. break;
  5165. }
  5166. }
  5167. }
  5168. while (y--);
  5169. }
  5170. }
  5171. //ENCRYPTED LINKS PROCESSING END
  5172.  
  5173. //STANDARD LINKCHECKING START
  5174. if (http_file_hosts.length > 0)
  5175. {
  5176. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5177.  
  5178. if (filterId == null)
  5179. {
  5180. cLinksTotal += lianks.snapshotLength;
  5181. }
  5182.  
  5183. if (lianks.snapshotLength > 0)
  5184. {
  5185. var link;
  5186.  
  5187. var URL = "";
  5188. var name = "";
  5189. var isAliveRegex = "";
  5190. var isDeadRegex = "";
  5191. var isUnavaRegex = "";
  5192. var ispremRegex = "";
  5193. var tryLoop = false;
  5194.  
  5195. var y = lianks.snapshotLength;
  5196.  
  5197. while (y--)
  5198. {
  5199. link = lianks.snapshotItem(y);
  5200.  
  5201. filehostIdx = filehostLen;
  5202. while (filehostIdx--)
  5203. {
  5204. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5205. {
  5206. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5207. isAliveRegex = http_file_hosts[filehostIdx][1];
  5208. isDeadRegex = http_file_hosts[filehostIdx][2];
  5209. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5210. ispremRegex = http_file_hosts[filehostIdx][6];
  5211. tryLoop = http_file_hosts[filehostIdx][5];
  5212.  
  5213. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5214.  
  5215. break;
  5216. }
  5217. }
  5218. }
  5219. }
  5220. }
  5221. //STANDARD LINKCHECKING END
  5222. //OBSOLETE FILE HOSTS PROCESSING START
  5223. if (filehostObsoleteLen > 0)
  5224. {
  5225. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5226.  
  5227. var obsoleteLink;
  5228.  
  5229. //check links
  5230. if (obsoletelinks.snapshotLength > 0)
  5231. {
  5232. var y = obsoletelinks.snapshotLength;
  5233.  
  5234. if (filterId == null)
  5235. {
  5236. cLinksTotal += y;
  5237. }
  5238.  
  5239. while (y--)
  5240. {
  5241. obsoleteLink = obsoletelinks.snapshotItem(y);
  5242.  
  5243. if (Display_tooltip_info)
  5244. {
  5245. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5246. }
  5247. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5248. }
  5249. }
  5250. }
  5251. //OBSOLETE FILE HOSTS PROCESSING END
  5252.  
  5253. //DIRECT LINKCHECKING START
  5254. if (http_file_hosts_headers_only.length > 0)
  5255. {
  5256. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5257.  
  5258. //check links
  5259. if (links.snapshotLength > 0)
  5260. {
  5261. var link;
  5262. var isAliveRegex;
  5263. var isDeadRegex;
  5264. var ispremRegex;
  5265.  
  5266. var y = links.snapshotLength;
  5267.  
  5268.  
  5269. if (filterId == null)
  5270. {
  5271. cLinksTotal += y;
  5272. }
  5273.  
  5274. while (y--)
  5275. {
  5276. // links.snapshotItem(y).id = 'processing_link';
  5277. link = links.snapshotItem(y);
  5278. filehostIdx = filehostHeadersOnlyLen;
  5279. while (filehostIdx--)
  5280. {
  5281. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5282. {
  5283. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5284. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5285. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5286. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5287.  
  5288. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5289.  
  5290. break;
  5291. }
  5292. }
  5293. }
  5294.  
  5295. }
  5296. }
  5297. //DIRECT LINKCHECKING END
  5298.  
  5299.  
  5300. //finds the real url on the page, replaces link.href with it and calls geturl
  5301. function decurl(link, reallinkreg, reallinkcorrection)
  5302. {
  5303.  
  5304. GM_xmlhttpRequest(
  5305. {
  5306. method: 'GET',
  5307. url: link.href,
  5308. headers: {
  5309. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5310. 'Accept': 'text/xml',
  5311. 'Referer': ""
  5312. },
  5313. onload: function (result)
  5314. {
  5315. // cLinksProcessed++;
  5316.  
  5317. var reallink = result.responseText.match(reallinkreg)[0];
  5318. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5319.  
  5320. link.href = reallink;
  5321.  
  5322. var i = http_file_hosts.length - 1;
  5323. do
  5324. {
  5325. if ((reallink.match(http_file_hosts[i][0])))
  5326. {
  5327. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5328. var isAliveRegex = http_file_hosts[i][1];
  5329. var isDeadRegex = http_file_hosts[i][2];
  5330. var isUnavaRegex = http_file_hosts[i][3];
  5331. var ispremRegex = http_file_hosts[i][4];
  5332.  
  5333. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5334.  
  5335. break;
  5336. }
  5337. }
  5338. while (i--);
  5339. }
  5340. });
  5341. }
  5342.  
  5343. function randUA()
  5344. {
  5345. //TODO
  5346. }
  5347. //Processes link
  5348. //
  5349. // [string] link link URL
  5350. // [string] isAliveRegex alive link regex
  5351. // [string] isDeadRegex dead link regex
  5352. // [string] isUnavaRegex unavailable link regex
  5353. // [string] ispremRegex premium link regex
  5354. // [boolean] tryLoop repeats request until succeeded
  5355. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5356. {
  5357. GM_xmlhttpRequest(
  5358. {
  5359. method: 'GET',
  5360. url: link.href,
  5361. headers: {
  5362. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5363. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5364. 'Referer': ""
  5365. },
  5366. onload: function (result)
  5367. {
  5368. var res = result.responseText;
  5369. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5370. {
  5371. displayTheCheckedLink(link, 'alive_link');
  5372. return;
  5373. }
  5374.  
  5375. if (res.match(isAliveRegex))
  5376. {
  5377. displayTheCheckedLink(link, 'alive_link');
  5378. return;
  5379. }
  5380.  
  5381. if (res.match(isDeadRegex))
  5382. {
  5383. displayTheCheckedLink(link, 'adead_link');
  5384. return;
  5385. }
  5386.  
  5387. if (isUnavaRegex && res.match(isUnavaRegex))
  5388. {
  5389. displayTheCheckedLink(link, 'unava_link');
  5390. return;
  5391. }
  5392. if (res.match(ispremRegex))
  5393. {
  5394. displayTheCheckedLink(link, 'prem_link');
  5395. return;
  5396. }
  5397.  
  5398. var resStatus = result.status;
  5399.  
  5400. if (resStatus == 404)
  5401. {
  5402. displayTheCheckedLink(link, 'adead_link');
  5403. }
  5404. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5405. {
  5406. if (tryLoop)
  5407. {
  5408. //wait 1-5 seconds and repeat the request
  5409. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5410. }
  5411. else
  5412. {
  5413. displayTheCheckedLink(link, 'unava_link');
  5414. }
  5415.  
  5416. return;
  5417. }
  5418. },
  5419. onerror: function ()
  5420. {
  5421. displayTheCheckedLink(link, 'unava_link');
  5422. }
  5423. });
  5424. }
  5425.  
  5426. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5427. {
  5428. GM_xmlhttpRequest(
  5429. {
  5430. method: 'HEAD',
  5431. url: link.href,
  5432. headers: {
  5433. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5434. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5435. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5436. 'Referer': ""
  5437. },
  5438. onload: function (result)
  5439. {
  5440. var resStatus = result.status;
  5441. var resHeaders = "";
  5442. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5443. {
  5444. displayTheCheckedLink(link, 'adead_link');
  5445. return;
  5446. }
  5447.  
  5448. resHeaders = result.responseHeaders;
  5449.  
  5450. if (resHeaders.match(isDeadRegex))
  5451. {
  5452. displayTheCheckedLink(link, 'adead_link');
  5453. return;
  5454. }
  5455.  
  5456. if (resHeaders.match(isAliveRegex))
  5457. {
  5458. displayTheCheckedLink(link, 'alive_link');
  5459. return;
  5460. }
  5461. if (resHeaders.match(ispremRegex))
  5462. {
  5463. displayTheCheckedLink(link, 'prem_link');
  5464. return;
  5465. }
  5466. },
  5467. onerror: function ()
  5468. {
  5469. displayTheCheckedLink(link, 'unava_link');
  5470. }
  5471. });
  5472. }
  5473.  
  5474. //Delinkfifies the <a> element object
  5475. function delinkifyLink(link)
  5476. {
  5477. var spanElm = document.createElement("span");
  5478. spanElm.className = link.className;
  5479. spanElm.innerHTML = link.innerHTML;
  5480.  
  5481. if (Display_tooltip_info)
  5482. {
  5483. spanElm.href = link.href;
  5484. spanElm.warlc_error = link.warlc_error;
  5485. switch (link.className){
  5486. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5487. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5488. case "unava_link": //reserved
  5489. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5490. default:
  5491. }
  5492. }
  5493. link.parentNode.replaceChild(spanElm, link);
  5494. }
  5495.  
  5496. //Assigns result status to the <a> element object and calls delinkifying eventually
  5497. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5498. function displayTheCheckedLink(link, resultStatus)
  5499. {
  5500. link.className = resultStatus;
  5501. link.href = Ref_anonymize_service + link.href;
  5502. if (Display_tooltip_info)
  5503. {
  5504. switch (resultStatus){
  5505. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5506. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5507. case "unava_link": //reserved
  5508. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5509. default:
  5510. }
  5511. }
  5512. if (doNotLinkify)
  5513. {
  5514. delinkifyLink(link);
  5515. }
  5516. cLinksProcessed++;
  5517.  
  5518. if (resultStatus == "alive_link")
  5519. {
  5520. cLinksAlive++;
  5521. return;
  5522. }
  5523.  
  5524. if (resultStatus == "adead_link")
  5525. {
  5526. cLinksDead++;
  5527. return;
  5528. }
  5529.  
  5530. if (resultStatus == "unava_link")
  5531. {
  5532. cLinksUnava++;
  5533. }
  5534. if (resultStatus == "prem_link")
  5535. {
  5536. cLinksprem++;
  5537. return;
  5538. }
  5539. }
  5540.  
  5541.  
  5542. function initFileHosts()
  5543. {
  5544.  
  5545. function addObsoleteHost(linkRegex, xpathEx)
  5546. {
  5547. var host = new Array(2);
  5548. host[0] = linkRegex;
  5549. host[1] = xpathEx;
  5550. http_file_hosts_obsolete.push(host);
  5551. }
  5552.  
  5553. //obsolete file hosts init start
  5554. if (Obsolete_file_hosts)
  5555. {
  5556. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5557. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5558. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5559. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5560. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5561. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5562. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5563. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5564. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5565. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5566. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5567. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5568. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5569. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5570. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5571. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5572. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5573. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5574. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5575. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5576. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5577. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5578. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5579. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5580. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5581. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5582. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5583. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5584. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5585. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5586. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5587. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5588. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5589. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5590. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5591. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5592. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5593. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5594. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5595. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5596. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5597. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5598. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5599. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5600. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5601. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5602. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5603. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5604. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5605. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5606. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5607. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5608. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5609. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5610. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5611. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5612. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5613. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5614. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5615. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5616. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5617. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5618. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5619. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5620. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5621. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5622. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5623. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5624. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5625. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5626. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5627. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5628. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5629. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5630. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5631. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5632. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5633. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5634. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5635. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5636. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5637. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5638. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5639. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5640. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5641. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5642. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5643. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5644. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5645. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5646. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5647. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5648. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5649. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5650. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5651. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5652. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5653. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5654. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5655. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5656. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5657. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5658. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5659. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5660. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5661. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5662. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5663. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5664. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5665. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5666. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5667. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5668. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5669. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5670. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5671. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5672. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5673. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5674. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5675. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5676. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5677. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5678. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5679. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5680. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5681. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5682. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5683. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5684. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5685. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5686. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5687. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5688. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5689. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5690. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5691. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5692. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5693. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5694. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5695. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5696. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5697. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5698. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5699. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5700. 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')]");
  5701. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5702. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5703. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5704. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5705. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5706. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5707. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5708. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5709. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5710. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5711. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5712. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5713. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5714. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5715. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5716. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5717. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5718. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5719. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5720. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5721. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5722. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5723. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5724. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5725. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5726. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5727. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5728. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5729. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5730. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5731. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5732. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5733. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5734. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5735. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5736. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5737. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5738. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5739. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5740. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5741. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5742. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5743. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5744. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5745. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5746. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5747. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5748. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5749. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5750. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5751. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5752. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5753. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5754. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5755. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5756. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5757. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5758. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5759. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5760. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5761. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5762. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5763. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5764. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5765. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5766. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5767. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5768. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5769. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5770. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5771. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5772. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5773. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5774. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5775. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5776. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5777. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5778. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5779. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5780. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5781. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5782. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5783. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5784. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5785. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5786. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5787. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5788. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5789. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5790. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5791. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5792. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5793. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5794. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5795. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5796. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5797. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5798. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5799. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5800. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5801. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5802. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5803. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5804. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5805. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5806. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5807. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5808. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5809. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5810. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5811. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5812. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5813. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5814. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5815. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5816. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5817. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5818. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5819. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5820. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5821. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5822. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5823. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5824. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5825. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5826. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5827. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5828. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5829. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5830. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5831. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5832. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5833. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5834. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5835. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5836. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5837. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5838. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5839. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5840. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5841. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5842. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5843. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5844. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5845. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5846. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5847. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5848. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5849. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5850. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5851. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5852. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5853. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5854. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5855. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5856. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5857. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5858. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5859. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5860. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5861. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5862. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5863. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5864. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5865. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5866. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5867. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5868. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5869. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5870. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5871. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5872. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5873. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5874. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5875. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5876. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5877. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5878. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5879. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5880. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5881. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5882. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5883. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5884. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5885. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5886. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5887. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5888. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5889. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5890. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5891. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5892. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5893. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5894. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5895. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5896. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5897. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5898. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5899. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5900. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5901. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5902. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5903. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5904. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5905. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5906. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5907. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5908. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5909. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5910. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5911. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5912. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5913. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5914. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5915. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5916. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5917. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5918. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5919. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5920. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5921. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5922. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5923. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5924. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5925. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5926. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5927. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5928. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5929. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5930. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5931. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5932. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5933. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5934. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5935. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5936. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5937. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5938. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5939. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5940. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5941. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5942. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5943. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5944. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5945. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5946. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5947. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5948. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5949. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5950. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5951. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5952. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5953. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5954. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5955. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5956. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5957. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5958. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5959. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5960. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5961. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5962. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5963. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5964. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5965. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5966. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5967. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5968. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5969. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5970. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5971. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5972. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5973. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5974. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5975. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5976. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5977. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5978. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5979. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5980. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5981. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5982. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5983. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5984. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5985. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5986. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5987. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5988. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5989. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5990. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5991. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5992. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5993. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5994. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5995. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5996. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5997. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5998. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5999. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  6000. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  6001. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  6002. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6003. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6004. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6005. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6006. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6007. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6008. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6009. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6010. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6011. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6012. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6013. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6014. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6015. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6016. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6017. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6018. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6019. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6020. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6021. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6022. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6023. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6024. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6025. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6026. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6027. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6028. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6029. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6030. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6031. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6032. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6033. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6034. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6035. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6036. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6037. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6038. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6039. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6040. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6041. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6042. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6043. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6044. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6045. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6046. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6047. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6048. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6049. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6050. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6051. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6052. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6053. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6054. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6055. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6056. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6057. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6058. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6059. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6060. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6061. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6062. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6063. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6064. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6065. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6066. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6067. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6068. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6069. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6070. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6071. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6072. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6073. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6074. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6075. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6076. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6077. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6078. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6079. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6080. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6081. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6082. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6083. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6084. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6085. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6086. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6087. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6088. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6089. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6090. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6091. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6092. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6093. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6094. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6095. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6096. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6097. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6098. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6099. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6100. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6101. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6102. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6103. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6104.  
  6105. // obsolete start start2
  6106. }
  6107. //obsolete file hosts init end
  6108. //Add Host Example
  6109. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6110. {
  6111. addFileHost(
  6112. "datafile\.com\/\\w+",
  6113. 'var captchaPanel|<link href="/css/files_download.css"',
  6114. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6115. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6116. '<style type="text/css">',
  6117. "//a[contains(@href,'datafile.com')]",
  6118. true);
  6119. } */
  6120.  
  6121. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6122. {
  6123. var host = new Array(7);
  6124. host[0] = linkRegex;
  6125. host[1] = isAliveRegex;
  6126. host[2] = isDeadRegex;
  6127. host[3] = isUnavaRegex;
  6128. host[6] = ispremRegex;
  6129. host[4] = xpathEx;
  6130. tryLoop ? host[5] = true : host[5] = false;
  6131. http_file_hosts.push(host);
  6132. }
  6133. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6134. {
  6135. addFileHost(
  6136. "megafileupload\.com\/..\/file\/",
  6137. 'downloadbtn',
  6138. 'is not found',
  6139. 'optional--',
  6140. 'optional2--',
  6141. "//a[contains(@href,'megafileupload.com')]");
  6142. }
  6143. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6144. {
  6145. addFileHost(
  6146. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6147. 'download\\.gif"',
  6148. 'p_point">',
  6149. 'optional--',
  6150. 'optional2--',
  6151. "//a[contains(@href,'demo.ovh.eu')]");
  6152. }*/
  6153. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6154. {
  6155. addFileHost(
  6156. "safelinking\\.net\/p\/\\w+",
  6157. 'color:green;"',
  6158. 'color:(?:red|orange);"',
  6159. 'color:(?:grey|brown);"',
  6160. 'optional2--',
  6161. "//a[contains(@href,'safelinking.net/p/')]",
  6162. true);
  6163. }
  6164. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6165. {
  6166. addFileHost(
  6167. "fastshare\\.cz\/\\d+\/\\w*",
  6168. 'dwntable">|speed-low',
  6169. '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',
  6170. 'optional--',
  6171. 'optional2--',
  6172. "//a[contains(@href,'fastshare.cz')]");
  6173. }
  6174. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6175. {
  6176. addFileHost(
  6177. "[fF]ast[sS]hare\\.org\/download",
  6178. 'Download ">',
  6179. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6180. 'optional--',
  6181. 'optional2--',
  6182. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6183. }
  6184. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6185. {
  6186. addFileHost(
  6187. "rapidgator\\.net\/file\/\\w+",
  6188. '/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.',
  6189. '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',
  6190. 'optional--',
  6191. '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',
  6192. "//a[contains(@href,'rapidgator.net/file')]",
  6193. true
  6194. );
  6195. }
  6196. if (GM_getValue("Check_rg_dot_to_links", false))
  6197. {
  6198. addFileHost(
  6199. "rg\.to\/\\w+",
  6200. '/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.',
  6201. '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',
  6202. 'optional--',
  6203. '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',
  6204. "//a[contains(@href,'rg.to')]");
  6205. }
  6206. if (GM_getValue("Check_relink_dot_us_links", false))
  6207. {
  6208. addFileHost(
  6209. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6210. 'online_detail\\.png" alt="Status',
  6211. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6212. 'unknown_detail\\.png" alt="Status',
  6213. 'optional2--',
  6214. "//a[contains(@href,'relink.us/')]"
  6215. );
  6216. }
  6217. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6218. {
  6219. addFileHost(
  6220. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6221. 'div id="dl"',
  6222. 'Sie haben den Link falsch',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6226. );
  6227. }
  6228. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6229. {
  6230. addFileHost(
  6231. "flyfiles\\.net\/\\w+",
  6232. 'download_button"|"Download file"',
  6233. 'File not found!|Файл не найден',
  6234. 'optional--',
  6235. 'optional2--',
  6236. "//a[contains(@href,'flyfiles.net/')]"
  6237. );
  6238. }
  6239. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6240. {
  6241. addFileHost(
  6242. "wikiupload\\.com\/\\w+",
  6243. 'download-button">',
  6244. 'Sorry, File not found',
  6245. 'optional--',
  6246. 'optional2--',
  6247. "//a[contains(@href,'wikiupload.com/')]"
  6248. );
  6249. }
  6250. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6251. {
  6252. addFileHost(
  6253. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6254. 'file\\.php">|Pobierz Plik',
  6255. 'Podany plik nie zosta',
  6256. 'optional--',
  6257. 'optional2--',
  6258. "//a[contains(@href,'hostuje.net/file')]"
  6259. );
  6260. }
  6261. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6262. {
  6263. addFileHost(
  6264. "gettyfile\\.ru\/\\d+",
  6265. 'download\\.gif border',
  6266. '<center><font size="3">',
  6267. 'optional--',
  6268. 'optional2--',
  6269. "//a[contains(@href,'gettyfile.ru/')]"
  6270. );
  6271. }
  6272. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6273. {
  6274. addFileHost(
  6275. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6276. 'download\\-file">',
  6277. 'col-1">\\s*<h1>',
  6278. 'optional--',
  6279. 'optional2--',
  6280. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6281. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6282. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6283. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6284. );
  6285. }
  6286. if (GM_getValue("Check_data_dot_hu_links", false))
  6287. {
  6288. addFileHost(
  6289. "data\\.hu",
  6290. 'download_box_button|Lassú letöltés',
  6291. 'missing\\.php|Az adott fájl nem létezik',
  6292. 'optional--',
  6293. 'optional2--',
  6294. "//a[contains(@href,'data.hu')]",
  6295. true
  6296. );
  6297. }
  6298. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6299. {
  6300. addFileHost(
  6301. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6302. 'premiumBtn"',
  6303. 'errorMessage"',
  6304. 'optional--',
  6305. 'optional2--',
  6306. "//a[contains(@href,'indowebster.com/download')]"
  6307. );
  6308. }
  6309. if (GM_getValue("Check_superload_dot_cz_links", false))
  6310. {
  6311. addFileHost(
  6312. "superload\\.cz\/dl\/\\w+",
  6313. 'icon-download">',
  6314. 'soubor nebyl nalezen',
  6315. 'optional--',
  6316. 'optional2--',
  6317. "//a[contains(@href,'superload.cz/dl')]"
  6318. );
  6319. }
  6320. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6321. {
  6322. addFileHost(
  6323. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6324. 'op" value="download',
  6325. 'class="err">|width:500px;text-align:left;">',
  6326. 'optional--',
  6327. 'optional2--',
  6328. "//a[contains(@href,'hulkfile.')]"
  6329. );
  6330. }
  6331. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6332. {
  6333. addFileHost(
  6334. "easybytez\\.com\/\\w+",
  6335. 'op" value="download',
  6336. 'stop_error\\.gif',
  6337. 'optional--',
  6338. 'optional2--',
  6339. "//a[contains(@href,'easybytez.com/')]"
  6340. );
  6341. }
  6342. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6343. {
  6344. addFileHost(
  6345. "filestore\\.com\\.ua\/\\?d=\\w+",
  6346. 'tdrow1>',
  6347. 'class=warn',
  6348. 'optional--',
  6349. 'optional2--',
  6350. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6351. );
  6352. }
  6353. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6354. {
  6355. addFileHost(
  6356. "openfile\\.ru\/(?:video\/|)\\d+",
  6357. 'videobox_left">',
  6358. 'blog_title">|not found on this server',
  6359. 'optional--',
  6360. 'optional2--',
  6361. "//a[contains(@href,'openfile.ru/')]"
  6362. );
  6363. }*/
  6364. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6365. {
  6366. addFileHost(
  6367. "extmatrix\\.com\/files\/\\w+",
  6368. 'div class="success"',
  6369. 'div class="error"',
  6370. 'optional--',
  6371. 'optional2--',
  6372. "//a[contains(@href,'extmatrix.com/files')]"
  6373. );
  6374. }
  6375. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6376. {
  6377. addFileHost(
  6378. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6379. 'content_lnkDownload',
  6380. 'error\\.aspx\\?',
  6381. 'optional--',
  6382. 'optional2--',
  6383. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6384. );
  6385. }
  6386. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6387. {
  6388. addFileHost(
  6389. "yourfilestore\\.com\/download\/\\d+\/",
  6390. 'download_data">',
  6391. 'may have been deleted|<h1>Sorry!<\/h1>',
  6392. 'optional--',
  6393. 'optional2--',
  6394. "//a[contains(@href,'yourfilestore.com/download')]"
  6395. );
  6396. }
  6397. if (GM_getValue("Check_filebig_dot_net_links", false))
  6398. {
  6399. addFileHost(
  6400. "filebig\\.net\/files\/\\w+",
  6401. 'downloadFile">',
  6402. '<p>File not found<\/p>',
  6403. 'optional--',
  6404. 'optional2--',
  6405. "//a[contains(@href,'filebig.net/files')]"
  6406. );
  6407. }
  6408. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6409. {
  6410. addFileHost(
  6411. "files\\.filefront\\.com\/\/;\\d+;;",
  6412. 'downloadLink">',
  6413. 'File not found, you',
  6414. 'optional--',
  6415. 'optional2--',
  6416. "//a[contains(@href,'files.filefront.com')]"
  6417. );
  6418.  
  6419. addFileHost(
  6420. "gamefront\\.com\/files\/\\d+",
  6421. 'downloadLink">',
  6422. 'File not found, you',
  6423. 'optional--',
  6424. 'optional2--',
  6425. "//a[contains(@href,'gamefront.com/files')]"
  6426. );
  6427. }
  6428. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6429. {
  6430. addFileHost(
  6431. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6432. 'dnlLnk"',
  6433. 'already been deleted',
  6434. 'optional--',
  6435. 'optional2--',
  6436. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6437. );
  6438. }
  6439. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6440. {
  6441. addFileHost(
  6442. "hellupload\\.com\/\\w+",
  6443. '<h3>Download File<br',
  6444. 'id="podstrona">|AVOID_IE_BUG',
  6445. 'optional--',
  6446. 'optional2--',
  6447. "//a[contains(@href,'hellupload.com/')]"
  6448. );
  6449. }
  6450. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6451. {
  6452. addFileHost(
  6453. "free\\-uploading\\.com\/\\w+",
  6454. 'op" value="download',
  6455. 'class="err">|width:500px;text-align:left;">',
  6456. 'optional--',
  6457. 'optional2--',
  6458. "//a[contains(@href,'free-uploading.com/')]"
  6459. );
  6460. }
  6461. if (GM_getValue("Check_fileape_dot_com_links", false))
  6462. {
  6463. addFileHost(
  6464. "fileape\\.com\/download\\-",
  6465. 'button_dl\\.png',
  6466. 'does not exist\\.',
  6467. 'optional--',
  6468. 'optional2--',
  6469. "//a[contains(@href,'fileape.com/')]"
  6470. );
  6471. }
  6472. if (GM_getValue("Check_uppit_dot_com_links", false))
  6473. {
  6474. addFileHost(
  6475. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6476. 'op" value="download',
  6477. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6478. 'optional--',
  6479. 'optional2--',
  6480. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6481. true
  6482. );
  6483. }
  6484. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6485. {
  6486. addFileHost(
  6487. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6488. 'op" value="download',
  6489. '>File Not Found<',
  6490. 'optional--',
  6491. 'optional2--',
  6492. "//a[contains(@href,'nosupload.com')]",
  6493. true
  6494. );
  6495. }
  6496. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6497. {
  6498. addFileHost(
  6499. "filesin\\.com\/\\w+\/download\\.html",
  6500. 'download_area">',
  6501. 'error_note">',
  6502. 'optional--',
  6503. 'optional2--',
  6504. "//a[contains(@href,'filesin.com/')]",
  6505. true
  6506. );
  6507. }*/
  6508. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6509. {
  6510. addFileHost(
  6511. "nowdownload\\.ch\/dl\/\\w+",
  6512. 'alert-success"',
  6513. 'This file does not exist!',
  6514. 'The file is being transfered',
  6515. 'optional2--',
  6516. "//a[contains(@href,'nowdownload.ch/dl')]"
  6517. );
  6518. }*/
  6519. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6520. {
  6521. addFileHost(
  6522. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6523. 'Dbutton_big"',
  6524. 'download\\-error\\.php',
  6525. 'optional--',
  6526. 'optional2--',
  6527. "//a[contains(@href,'axifile.com/')]"
  6528. );
  6529. }*/
  6530. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6531. {
  6532. addFileHost(
  6533. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6534. 'col-1">\\s*<s',
  6535. 'col-1">\\s*<h',
  6536. 'optional--',
  6537. 'optional2--',
  6538. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6539. );
  6540. }
  6541. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6542. {
  6543. addFileHost(
  6544. "turbobit\\.(?:net|pl)",
  6545. 'id="download-gate-info|id="file-list',
  6546. 'afterWait()|no files in this folder',
  6547. 'optional--',
  6548. 'optional2--',
  6549. "//a[contains(@href,'turbobit.net')]"
  6550. );
  6551. }
  6552. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6553. {
  6554. addFileHost(
  6555. "hitfile\\.net\/download\/folder\/\\d+",
  6556. 'content">\\s*<s',
  6557. 'content">\\s*<h',
  6558. 'optional--',
  6559. 'optional2--',
  6560. "//a[contains(@href,'hitfile.net/download/folder')]"
  6561. );
  6562. }
  6563. if (GM_getValue("Check_movshare_dot_net_links", false))
  6564. {
  6565. addFileHost(
  6566. "movshare\\.net\\/video\\/\\w+",
  6567. 'optional--"',
  6568. 'no longer exists',
  6569. 'optional--',
  6570. 'optional2--',
  6571. "//a[contains(@href,'movshare.net/video')]"
  6572. );
  6573. }
  6574. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6575. {
  6576. addFileHost(
  6577. "mafiastorage\\.com\/\\w+",
  6578. 'op" value="download',
  6579. 'class="err">|style="width:500px;text-align:left;"',
  6580. 'optional--',
  6581. 'optional2--',
  6582. "//a[contains(@href,'mafiastorage.com/')]"
  6583. );
  6584. }
  6585. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6586. {
  6587. addFileHost(
  6588. "uploadingit\\.com\/file\/\\w+",
  6589. 'downloadTitle">',
  6590. 'deleteContent">',
  6591. 'optional--',
  6592. 'optional2--',
  6593. "//a[contains(@href,'uploadingit.com/file')]"
  6594. );
  6595. }*/
  6596. if (GM_getValue("Check_rghost_dot_net_links", false))
  6597. {
  6598. addFileHost(
  6599. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6600. 'download_link|btn large download',
  6601. 'file is restricted|File is deleted|503 Service Unavailable',
  6602. 'optional--',
  6603. 'optional2--',
  6604. "//a[contains(@href,'rghost.')]"
  6605. );
  6606. }
  6607. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6608. {
  6609. addFileHost(
  6610. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6611. '">Staženo:\\s*<\/span>',
  6612. 'Soubor, který hledáte nenalezen',
  6613. 'optional--',
  6614. 'optional2--',
  6615. "//a[contains(@href,'xdisk.cz/')]"
  6616. );
  6617. }
  6618. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6619. {
  6620. addFileHost(
  6621. "2downloadz\.com\/\\w+",
  6622. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6623. 'color="#006DCC|File error',
  6624. 'optional--',
  6625. 'optional2--',
  6626. "//a[contains(@href,'2downloadz.com')]");
  6627. }
  6628. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6629. {
  6630. addFileHost(
  6631. "mightyupload\.com\/\\w+",
  6632. 'background:#ccc;text-align|CONTENT="Download File"',
  6633. 'style="background:#eee|var rr =|File Not Found',
  6634. 'error-code">1010',
  6635. 'optional2--',
  6636. "//a[contains(@href,'mightyupload.com')]");
  6637. }
  6638. if (GM_getValue("Check_anysend_dot_com_links", false))
  6639. {
  6640. addFileHost(
  6641. "anysend\.com\/\\w+",
  6642. 'var openCalled=false;|content="noindex"',
  6643. '_trackPageview',
  6644. 'optional--',
  6645. 'optional2--',
  6646. "//a[contains(@href,'anysend.com')]");
  6647. }
  6648. if (GM_getValue("Check_datafile_dot_com_links", false))
  6649. {
  6650. addFileHost(
  6651. "datafile\.com\/\\w+",
  6652. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6653. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6654. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6655. '; 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">
  6656. "//a[contains(@href,'datafile.com')]",
  6657. true);
  6658. }
  6659. if (GM_getValue("Check_upstore_dot_net_links", false))
  6660. {
  6661. addFileHost(
  6662. "upstore\.net\/\\w+",
  6663. 'name="free"',
  6664. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6665. 'optional--',
  6666. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6667. "//a[contains(@href,'upstore.net')]");
  6668. }
  6669. if (GM_getValue("Check_upsto_dot_re_links", false))
  6670. {
  6671. addFileHost(
  6672. "upsto\.re\/\\w+",
  6673. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6674. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6675. 'optional--',
  6676. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6677. "//a[contains(@href,'upsto.re')]");
  6678. }
  6679. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6680. {
  6681. addFileHost(
  6682. "speedy\.sh\/\\w+",
  6683. 'bgcolor=#eeeeee|class="addthis',
  6684. 'File not found|downloadfilenamenotfound>',
  6685. 'optional--',
  6686. 'optional2--',
  6687. "//a[contains(@href,'speedy.sh')]");
  6688. }
  6689. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6690. {
  6691. addFileHost(
  6692. "kingfiles\.net\/\\w+",
  6693. 'method_free|images/loading_small.gif"',
  6694. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6695. 'optional--',
  6696. 'optional2--',
  6697. "//a[contains(@href,'kingfiles.net')]");
  6698. }
  6699. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6700. {
  6701. addFileHost(
  6702. "secureupload\\.eu\/\\w+",
  6703. 'Downloading',
  6704. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'secureupload.eu')]"
  6708. );
  6709. } */
  6710. if (GM_getValue("Check_ge_dot_tt_links", false))
  6711. {
  6712. addFileHost(
  6713. "ge\.tt\/\\w+",
  6714. 'downloads pic',
  6715. 'is NOT the same as',
  6716. 'optional--',
  6717. 'optional2--',
  6718. "//a[contains(@href,'ge.tt')]");
  6719. }
  6720. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6721. {
  6722. addFileHost(
  6723. "filefactory\\.com\/file\/\\w+",
  6724. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6725. '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">',
  6726. 'Server Maintenance|temporarily overloaded',
  6727. 'Premium Account Required',
  6728. "//a[contains(@href,'filefactory.com/file')]");
  6729. } */
  6730. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6731. {
  6732. addFileHost(
  6733. "filesflash\.net\/\\w+",
  6734. 'align:right">Filename:',
  6735. 'class="msg">',
  6736. 'optional--',
  6737. 'optional2--',
  6738. "//a[contains(@href,'filesflash.net')]");
  6739. }
  6740. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6741. {
  6742. addFileHost(
  6743. "rapidgator\\.net\/folder\/\\w+",
  6744. 'href="/folder/',
  6745. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6746. 'optional--',
  6747. 'optional2--',
  6748. "//a[contains(@href,'rapidgator.net/folder')]",
  6749. true
  6750. );
  6751. }
  6752. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6753. {
  6754. addFileHost(
  6755. "salefiles\.com\/\\w+",
  6756. 'name="method_free',
  6757. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6758. 'optional--',
  6759. 'optional2--',
  6760. "//a[contains(@href,'salefiles.com')]");
  6761. }
  6762. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6763. {
  6764. addFileHost(
  6765. "datoid\.cz\/\\w+",
  6766. 'btn-download|class="icon-download-large"',
  6767. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6768. 'optional--',
  6769. 'optional2--',
  6770. "//a[contains(@href,'datoid.cz')]");
  6771. }
  6772. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6773. {
  6774. addFileHost(
  6775. "stiahni\.si\/\\w+",
  6776. 'report_icon.png"|slow-download-button',
  6777. 'none.png|deleted|<h2>Error 500</h2>',
  6778. 'optional--',
  6779. 'optional2--',
  6780. "//a[contains(@href,'stiahni.si')]");
  6781. }
  6782. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6783. {
  6784. addFileHost(
  6785. "cloudstor\.es\/\\w+",
  6786. '"btn_download"',
  6787. '404: Page Not Found',
  6788. 'optional--',
  6789. 'optional2--',
  6790. "//a[contains(@href,'cloudstor.es')]");
  6791. }
  6792. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6793. {
  6794. addFileHost(
  6795. "streamfile\.com\/\\w+",
  6796. 'class="btn',
  6797. 'class="green-btn',
  6798. 'optional--',
  6799. 'optional2--',
  6800. "//a[contains(@href,'streamfile.com')]");
  6801. }
  6802. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6803. {
  6804. addFileHost(
  6805. "eyesfile\.ca\/\\w+",
  6806. 'value="Get Link',
  6807. 'var rr =',
  6808. 'optional--',
  6809. 'optional2--',
  6810. "//a[contains(@href,'eyesfile.ca')]");
  6811. }
  6812. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6813. {
  6814. addFileHost(
  6815. "filemoney\.com\/\\w+",
  6816. 'og:title',
  6817. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6818. 'error-code">1010',
  6819. 'optional2--',
  6820. "//a[contains(@href,'filemoney.com')]");
  6821. }
  6822. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6823. {
  6824. addFileHost(
  6825. "uploadboy\.com\/\\w+",
  6826. 'width="740">|method_free',
  6827. 'var rr =|background:#ffffff|not be found|file was removed',
  6828. 'optional--',
  6829. 'optional2--',
  6830. "//a[contains(@href,'uploadboy.com')]");
  6831. }
  6832. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6833. {
  6834. addFileHost(
  6835. "uploadboy\.com\/\\w+",
  6836. 'width="740">|method_free',
  6837. 'var rr =|background:#ffffff|not be found|file was removed',
  6838. 'optional--',
  6839. 'optional2--',
  6840. "//a[contains(@href,'uploadboy.me')]");
  6841. }
  6842. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6843. {
  6844. addFileHost(
  6845. "speedshare\.eu\/\\w+",
  6846. 'favicon.png|color:#3d87c0|cross.png"',
  6847. 'var rr =|File Not Found|style="background:#eee',
  6848. 'optional--',
  6849. 'optional2--',
  6850. "//a[contains(@href,'speedshare.eu')]");
  6851. }
  6852. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6853. {
  6854. addFileHost(
  6855. "unlimitzone\.com\/\\w+",
  6856. 'name="method_free',
  6857. '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',
  6858. 'optional--',
  6859. 'optional2--',
  6860. "//a[contains(@href,'unlimitzone.com')]");
  6861. }
  6862. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6863. {
  6864. addFileHost(
  6865. "rioupload\.com\/\\w+",
  6866. 'sell.jpg',
  6867. 'var rr =',
  6868. 'optional--',
  6869. 'optional2--',
  6870. "//a[contains(@href,'rioupload.com')]");
  6871. }
  6872. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6873. {
  6874. addFileHost(
  6875. "jumbofiles\.org\/\\w+",
  6876. 'H71C5.png|class="downloadtitle">',
  6877. 'var swfu|ViewSourceBIN.png',
  6878. 'optional--',
  6879. 'optional2--',
  6880. "//a[contains(@href,'jumbofiles.org')]");
  6881. }
  6882. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6883. {
  6884. addFileHost(
  6885. "fshare\\.vn\/file\/\\w+",
  6886. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6887. 'không tồn tại|class="color_red m_t_50"',
  6888. 'optional--',
  6889. 'optional2--',
  6890. "//a[contains(@href,'fshare.vn/file')]",
  6891. true
  6892. );
  6893. }
  6894. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6895. {
  6896. addFileHost(
  6897. "spaceforfiles\.com\/\\w+",
  6898. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6899. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6900. 'optional--',
  6901. 'optional2--',
  6902. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6903. }
  6904. if (GM_getValue("Check_google_dot_com_links", false))
  6905. {
  6906. addFileHost(
  6907. "google\\.com\/file\/\\w+",
  6908. 'content="!">|color:#2d2d2d',
  6909. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6910. 'optional--',
  6911. 'optional2--',
  6912. "//a[contains(@href,'google.com/file')]",
  6913. true
  6914. );
  6915. }
  6916. if (GM_getValue("Check_google_dot_com_links", false))
  6917. {
  6918. addFileHost(
  6919. "docs.google.com\/\\w+",
  6920. 'content="!">|color:#2d2d2d',
  6921. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6922. 'optional--',
  6923. 'optional2--',
  6924. "//a[contains(@href,'docs.google.com')]",
  6925. true
  6926. );
  6927. }
  6928. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6929. {
  6930. addFileHost(
  6931. "drive.google.com\/\\w+",
  6932. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6933. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6934. 'optional--',
  6935. 'optional2--',
  6936. "//a[contains(@href,'drive.google.com')]",
  6937. true
  6938. );
  6939. }
  6940. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6941. {
  6942. addFileHost(
  6943. "up.media1fire\.com\/\\w+",
  6944. 'class="addthis_|value="download',
  6945. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6946. 'optional--',
  6947. 'optional2--',
  6948. "//a[contains(@href,'up.media1fire.com')]");
  6949. }
  6950. if (GM_getValue("Check_depfile_dot_com_links", false))
  6951. {
  6952. addFileHost(
  6953. "depfile\.com\/\\w+",
  6954. 'logo_0.png|downloads.gif"|verifycode',
  6955. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6956. 'optional--',
  6957. 'available only for Premium users|Premium users can restore files',
  6958. "//a[contains(@href,'depfile.com')]");
  6959. }
  6960. if (GM_getValue("Check_go4up_dot_com_links", false))
  6961. {
  6962. addFileHost(
  6963. "go4up\.com\/\\w+",
  6964. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6965. '<title>GO4UP|dmca',
  6966. 'optional--',
  6967. 'optional2--',
  6968. "//a[contains(@href,'go4up.com')]");
  6969. }
  6970. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6971. {
  6972. addFileHost(
  6973. "redbunker\.net\/\\w+",
  6974. 'name="method_free"',
  6975. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  6976. 'optional--',
  6977. '2.3 GB',
  6978. "//a[contains(@href,'redbunker.net')]");
  6979. }
  6980. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6981. {
  6982. addFileHost(
  6983. "divxpress\.com\/\\w+",
  6984. 'btn_download|logo.png"',
  6985. 'AVOID_IE_BUG|var rr =',
  6986. 'optional--',
  6987. 'optional2--',
  6988. "//a[contains(@href,'divxpress.com')]");
  6989. }
  6990. if (GM_getValue("Check_anafile_dot_com_links", false))
  6991. {
  6992. addFileHost(
  6993. "anafile\.com\/\\w+",
  6994. 'width="881" valign="top|color="#800080"|name="go"',
  6995. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6996. 'optional--',
  6997. 'optional2--',
  6998. "//a[contains(@href,'anafile.com')]");
  6999. }
  7000. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  7001. {
  7002. addFileHost(
  7003. "uploadable\\.ch\/file\/\\w+",
  7004. 'captcha.js"|payment.js"|class="btn_download"',
  7005. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7006. 'optional--',
  7007. 'optional2--',
  7008. "//a[contains(@href,'uploadable.ch/file')]",
  7009. true
  7010. );
  7011. }
  7012. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7013. {
  7014. addFileHost(
  7015. "bigfile\\.to\/file\/\\w+",
  7016. 'captcha.js"|payment.js"|class="btn_download"',
  7017. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7018. 'optional--',
  7019. 'optional2--',
  7020. "//a[contains(@href,'bigfile.to/file')]",
  7021. true
  7022. );
  7023. }
  7024. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7025. {
  7026. addFileHost(
  7027. "arabloads\.net\/\\w+",
  7028. 'name="method_free"|name="method_premium"',
  7029. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7030. 'optional--',
  7031. 'optional2--',
  7032. "//a[contains(@href,'arabloads.net')]");
  7033. }
  7034. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7035. {
  7036. addFileHost(
  7037. "sharerepo\.com\/\\w+",
  7038. 'name="method_free"',
  7039. 'var public_on=|The file you were looking for could not be found',
  7040. 'optional--',
  7041. 'optional2--',
  7042. "//a[contains(@href,'sharerepo.com')]");
  7043. }
  7044. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7045. {
  7046. addFileHost(
  7047. "sfshare\.se\/\\w+",
  7048. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7049. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7050. 'optional--',
  7051. 'optional2--',
  7052. "//a[contains(@href,'sfshare.se')]");
  7053. }
  7054. if (GM_getValue("Check_files_dot_fm_links", false))
  7055. {
  7056. addFileHost(
  7057. "files\.fm\/\\w+",
  7058. 'dl.png"|background-color: transparent',
  7059. 'margin: 40px 40px|background: none;',
  7060. 'optional--',
  7061. 'optional2--',
  7062. "//a[contains(@href,'files.fm')]");
  7063. }
  7064. if (GM_getValue("Check_koofile_dot_com_links", false))
  7065. {
  7066. addFileHost(
  7067. "koofile\.com\/\\w+",
  7068. 'value="download1">|name="method_free"',
  7069. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7070. 'optional--',
  7071. 'optional2--',
  7072. "//a[contains(@href,'koofile.com')]");
  7073. }
  7074. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7075. {
  7076. addFileHost(
  7077. "vidxden\\.com\/\\w+",
  7078. 'Continue to Video"',
  7079. 'No such file',
  7080. 'optional--',
  7081. 'optional2--',
  7082. "//a[contains(@href,'vidxden.com')]"
  7083. );
  7084. }*/
  7085. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7086. {
  7087. addFileHost(
  7088. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7089. 'Details zur Datei|Details page',
  7090. 'Jetzt hochladen|upload now',
  7091. 'optional--',
  7092. 'optional2--',
  7093. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7094. );
  7095. }
  7096. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7097. {
  7098. addFileHost(
  7099. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7100. 'downloadbtn"',
  7101. 'DL_FileNotFound',
  7102. 'optional--',
  7103. 'optional2--',
  7104. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7105. );
  7106. }
  7107. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7108. {
  7109. addFileHost(
  7110. "fileflyer\.com\/view\/\\w+",
  7111. '(?:dwl|locked)btn"',
  7112. 'error.gif"|link">Removed|removedlink">',
  7113. 'optional--',
  7114. 'optional2--',
  7115. "//a[contains(@href,'fileflyer.com')]"
  7116. );
  7117. }
  7118. if (GM_getValue("Check_filestore_dot_to_links", false))
  7119. {
  7120. addFileHost(
  7121. "filestore\.to\/\\?d=\\w+",
  7122. '"downloading"',
  7123. 'Datei wurde nicht gefunden',
  7124. 'optional--',
  7125. 'optional2--',
  7126. "//a[contains(@href,'filestore.to')]"
  7127. );
  7128. }
  7129. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7130. {
  7131. addFileHost(
  7132. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7133. 'fz24">Download|class="pl15">',
  7134. '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',
  7135. 'optional--',
  7136. 'optional2--',
  7137. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7138. );
  7139. }
  7140. if (GM_getValue("Check_datei_dot_to_links", false))
  7141. {
  7142. addFileHost(
  7143. "datei\\.to\/\\??\\w+",
  7144. 'icon_downloaden\\.png|>Download starten<',
  7145. 'Datei wurde nicht gefunden|icon_deleted.png',
  7146. 'optional--',
  7147. 'optional2--',
  7148. "//a[contains(@href,'datei.to')]"
  7149. );
  7150. }
  7151. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7152. {
  7153. addFileHost(
  7154. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7155. '<body class="body" id="body">|value="Slow Download"',
  7156. '<body class="body" >',
  7157. 'optional--',
  7158. 'optional2--',
  7159. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7160. );
  7161. }
  7162. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7163. {
  7164. addFileHost(
  7165. "unibytes\\.com\/[\\w\.]+",
  7166. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7167. 'File not found|Файл не найден|',
  7168. 'optional--',
  7169. 'optional2--',
  7170. "//a[contains(@href,'unibytes.com')]"
  7171. );
  7172. }
  7173. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7174. {
  7175. addFileHost(
  7176. "www\\.hellshare\\.com\/\\d+",
  7177. 'tab\\-details"',
  7178. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7179. 'optional--',
  7180. 'optional2--',
  7181. "//a[contains(@href,'www.hellshare.com')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7185. {
  7186. addFileHost(
  7187. "www\\.download.cz.hellshare\\.com\/\\w+",
  7188. 'tab\\-details"',
  7189. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7190. 'optional--',
  7191. 'optional2--',
  7192. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7193. );
  7194. }
  7195. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7196. {
  7197. addFileHost(
  7198. "filefactory\\.com",
  7199. 'folderFileList">|icon-cloud|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7200. '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',
  7201. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7202. 'Premium Account Required',
  7203. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7204. );
  7205. }
  7206. if (GM_getValue("Check_load_dot_to_links", false))
  7207. {
  7208. addFileHost(
  7209. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7210. '"download_table_left">Size',
  7211. 'Can\'t find file',
  7212. 'optional--',
  7213. 'optional2--',
  7214. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7215. );
  7216. }
  7217. if (GM_getValue("Check_divshare_dot_com_links", false))
  7218. {
  7219. addFileHost(
  7220. "divshare\\.com\/download\/",
  7221. 'download_new\.png',
  7222. 'have been removed',
  7223. 'optional--',
  7224. 'optional2--',
  7225. "//a[contains(@href,'divshare.com')]"
  7226. );
  7227. }
  7228. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7229. {
  7230. addFileHost(
  7231. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7232. 'download=true"',
  7233. '<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>',
  7234. 'optional--',
  7235. 'optional2--',
  7236. "//a[contains(@href,'euroshare.eu/file')]"
  7237. );
  7238. }
  7239. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7240. {
  7241. addFileHost(
  7242. 'files\\.mail\\.ru/(?:\\w*)',
  7243. 'fileList',
  7244. 'errorMessage',
  7245. 'optional--',
  7246. 'optional2--',
  7247. "//a[contains(@href,'files.mail.ru')]"
  7248. );
  7249. }
  7250. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7251. {
  7252. addFileHost(
  7253. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7254. 'Filesize',
  7255. 'Invalid|deleted|Could not download file',
  7256. 'slots|scheduled maintenance',
  7257. 'optional2--',
  7258. "//a[contains(@href,'megashares.com/')]"
  7259. );
  7260. } */
  7261. if (GM_getValue("Check_narod_dot_ru_links", false))
  7262. {
  7263. addFileHost(
  7264. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7265. 'b-submit|action="resource.download"',
  7266. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7267. 'Внутренняя ошибка сервиса',
  7268. 'optional2--',
  7269. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7270. );
  7271. }
  7272. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7273. {
  7274. addFileHost(
  7275. "rayfile\\.com\/",
  7276. 'FILEtitleTXT',
  7277. 'blueRow',
  7278. 'optional--',
  7279. 'optional2--',
  7280. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7281. );
  7282. }
  7283. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7284. {
  7285. addFileHost(
  7286. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7287. 'button_green_body"',
  7288. 'error">',
  7289. 'optional--',
  7290. 'optional2--',
  7291. "//a[contains(@href,'filesmonster.com/download')]"
  7292. );
  7293. }
  7294. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7295. {
  7296. addFileHost(
  7297. 'usaupload\\.net\/d\/(?:\w*)',
  7298. '<strong>File size:</strong>',
  7299. 'is not available',
  7300. 'optional--',
  7301. 'optional2--',
  7302. "//a[contains(@href,'usaupload.net/d/')]"
  7303. );
  7304. }
  7305. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7306. {
  7307. addFileHost(
  7308. 'sendspace\\.com\/file\/\\w+',
  7309. 'file_description',
  7310. 'msg error"',
  7311. 'optional--',
  7312. 'optional2--',
  7313. "//a[contains(@href,'sendspace.com/file')]"
  7314. );
  7315. }
  7316. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7317. {
  7318. addFileHost(
  7319. 'sendspace\\.pl\/file\/\\w+',
  7320. 'download_file"',
  7321. 'Podany plik nie',
  7322. 'optional--',
  7323. 'optional2--',
  7324. "//a[contains(@href,'sendspace.pl/file')]"
  7325. );
  7326. }
  7327. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7328. {
  7329. addFileHost(
  7330. 'uploading\\.com\/(?:files\/)?\\w+',
  7331. 'free_method">',
  7332. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7333. 'optional--',
  7334. 'optional2--',
  7335. "//a[contains(@href,'uploading.com')]"
  7336. );
  7337. } */
  7338. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7339. {
  7340. addFileHost(
  7341. "gigasize\.com\/\\w+",
  7342. 'fileId"|class="estimate">',
  7343. 'error">',
  7344. 'optional--',
  7345. 'optional2--',
  7346. "//a[contains(@href,'gigasize.com/get')]"
  7347. );
  7348. }
  7349. if (GM_getValue("Check_good_dot_com_links", false))
  7350. {
  7351. addFileHost(
  7352. 'good\\.net\/(?:_|dl)',
  7353. 'Free Download',
  7354. 'Not Found',
  7355. 'Forbidden',
  7356. 'optional2--',
  7357. "//a[contains(@href,'good.net')]"
  7358. );
  7359. }
  7360. if (GM_getValue("Check_2shared_dot_com_links", false))
  7361. {
  7362. addFileHost(
  7363. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7364. 'File size',
  7365. 'File not found|is not valid|/images/important.gif',
  7366. 'optional--',
  7367. 'optional2--',
  7368. // "//a[contains(@href,'2shared.com')]"
  7369. "//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/')]"
  7370. );
  7371. }
  7372. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7373. {
  7374. addFileHost(
  7375. 'turboupload\\.com\/\\w*',
  7376. 'You have requested',
  7377. 'File Not Found',
  7378. 'optional--',
  7379. 'optional2--',
  7380. "//a[contains(@href,'turboupload.com')]"
  7381. );
  7382. }
  7383. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7384. {
  7385. addFileHost(
  7386. 'gigapeta\\.com\/dl\/',
  7387. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7388. '404|page_error',
  7389. 'optional--',
  7390. 'optional2--',
  7391. "//a[contains(@href,'gigapeta.com/dl')]"
  7392. );
  7393. }
  7394. if (GM_getValue("Check_veehd_dot_com_links", false))
  7395. {
  7396. addFileHost(
  7397. 'veehd\.com\/video\/.*?',
  7398. 'No sound|Download video',
  7399. 'Featured Videos',
  7400. 'optional--',
  7401. 'optional2--',
  7402. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7403. );
  7404. }
  7405. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7406. {
  7407. addFileHost(
  7408. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7409. 'fast_download_form">|submit_sms_download',
  7410. '<p style="text-align:center">',
  7411. 'optional--',
  7412. 'optional2--',
  7413. "//a[contains(@href,'vip-file.com/download')]"
  7414. );
  7415. }
  7416. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7417. {
  7418. addFileHost(
  7419. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7420. 'download\\-pnl ',
  7421. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7422. 'optional--',
  7423. 'optional2--',
  7424. "//a[contains(@href,'letitbit.net/download')]"
  7425. );
  7426. }*/
  7427. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7428. {
  7429. addFileHost(
  7430. 'ifolder\.ru\/\\d+',
  7431. 'file-info',
  7432. 'ui-state-error',
  7433. 'optional--',
  7434. 'optional2--',
  7435. "//a[contains(@href,'ifolder.ru')]"
  7436. );
  7437. }
  7438. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7439. {
  7440. addFileHost(
  7441. 'fileswap\\.com\/dl\/\\w+',
  7442. 'bttnDownloadLink"',
  7443. 'rounded_block_error"',
  7444. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7445. 'optional2--',
  7446. "//a[contains(@href,'fileswap.com/dl')]"
  7447. );
  7448. }*/
  7449. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7450. {
  7451. addFileHost(
  7452. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7453. 'var __error = 0|id="recaptchaPanel">',
  7454. 'FILES__DOESNT_EXIST|removed or did not exist',
  7455. 'optional--',
  7456. 'optional2--',
  7457. "//a[contains(@href,'filecloud.io/')]"
  7458. );
  7459. addFileHost(
  7460. 'ifile\\.it\/\\w+',
  7461. 'var __error = 0',
  7462. 'FILES__DOESNT_EXIST',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'ifile.it/')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7469. {
  7470. addFileHost(
  7471. 'solidfiles\\.com\/\\w+',
  7472. 'id="download"|content="Download',
  7473. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7474. 'optional--',
  7475. 'optional2--',
  7476. "//a[contains(@href,'solidfiles.com/')]"
  7477. );
  7478. }
  7479. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7480. {
  7481. addFileHost(
  7482. "(?:.\\.|)shareflare\\.net",
  7483. 'download-pnl|<div class="premium-block">',
  7484. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7485. 'optional--',
  7486. 'optional2--',
  7487. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7488. );
  7489. }
  7490. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7491. {
  7492. addFileHost(
  7493. "u18116681.shareflare\\.net",
  7494. 'download-pnl|<div class="premium-block">',
  7495. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7496. 'optional--',
  7497. 'optional2--',
  7498. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7499. );
  7500. }
  7501. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7502. {
  7503. addFileHost(
  7504. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7505. 'file\\-list-orderby|section-filedetail">',
  7506. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7507. 'optional--',
  7508. 'optional2--',
  7509. "//a[contains(@href,'hellspy.')]"
  7510. );
  7511. }
  7512. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7513. {
  7514. addFileHost(
  7515. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7516. '<body onload="">',
  7517. 'neexistuje|not exist',
  7518. 'optional--',
  7519. 'optional2--',
  7520. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7521. );
  7522. }
  7523. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7524. {
  7525. addFileHost(
  7526. "stahovanizasms\\.cz\/\\w+",
  7527. 'download\\.png>|font-size:11px><tr>',
  7528. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7529. 'optional--',
  7530. 'optional2--',
  7531. "//a[contains(@href,'stahovanizasms.cz')]"
  7532. );
  7533. }
  7534. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7535. {
  7536. addFileHost(
  7537. "share-links\\.biz\/\\w*",
  7538. 'online\\.gif',
  7539. '(?:offline|parts)\\.gif',
  7540. 'optional--',
  7541. 'optional2--',
  7542. "//a[contains(@href,'share-links.biz')]"
  7543. );
  7544. }
  7545. if (GM_getValue("Check_4shared_dot_com_links", false))
  7546. {
  7547. addFileHost(
  7548. "4shared\\.com\/.+\/",
  7549. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7550. 'class="warn\"|big red"|GetDataBack',
  7551. 'Service Unavailable',
  7552. 'optional2--',
  7553. "//a[contains(@href,'4shared.com')]"
  7554. );
  7555. }
  7556. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7557. {
  7558. addFileHost(
  7559. "(?:www\\d+\.|)zippyshare\.com\/",
  7560. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7561. 'not exist|Status 404',
  7562. 'optional--',
  7563. 'optional2--',
  7564. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7565. );
  7566. }
  7567. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7568. {
  7569. addFileHost(
  7570. "mediafire\.com\/",
  7571. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7572. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7573. 'set to private',
  7574. 'optional2--',
  7575. "//a[contains(@href,'mediafire.com')]"
  7576. );
  7577. }
  7578. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7579. {
  7580. addFileHost(
  7581. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7582. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7583. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7584. 'optional--',
  7585. 'GB</small>',
  7586. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7587. );
  7588. }
  7589. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7590. {
  7591. addFileHost(
  7592. "ulozisko\.sk\/",
  7593. 'Detaily',
  7594. 'neexistuje',
  7595. 'optional--',
  7596. 'optional2--',
  7597. "//a[contains(@href,'ulozisko.sk')]"
  7598. );
  7599. }
  7600. if (GM_getValue("Check_box_dot_com_links", false))
  7601. {
  7602. addFileHost(
  7603. "box\.com\/\\w+",
  7604. 'download-file-btn|id="download_button|preview-download',
  7605. 'BIyMin.png| <div class="error_message|link has been removed',
  7606. 'optional--',
  7607. 'optional2--',
  7608. "//a[contains(@href,'app.box.com')]");
  7609. }
  7610. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7611. {
  7612. addFileHost(
  7613. "uptobox\\.com\/\\w+",
  7614. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7615. '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|لا يوجد أي ملف',
  7616. 'Maintenance',
  7617. 'optional2--',
  7618. "//a[contains(@href,'uptobox.com')]",
  7619. true
  7620. );
  7621. }
  7622. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7623. {
  7624. addFileHost(
  7625. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7626. 'FILE DOWNLOAD<',
  7627. 'File Does Not Exist',
  7628. 'optional--',
  7629. 'optional2--',
  7630. "//a[contains(@href,'sharecash.org/download.php')]"
  7631. );
  7632. }
  7633. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7634. {
  7635. addFileHost(
  7636. "1fichier\\.com\/dir\/\\w+",
  7637. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7638. 'Shared Folder Not Found',
  7639. 'optional--',
  7640. 'optional2--',
  7641. "//a[contains(@href,'1fichier.com/dir')]"
  7642. );
  7643. }
  7644. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7645. {
  7646. addFileHost(
  7647. "depositfiles\\.com\/folders\/\\w+",
  7648. '<div class="progressContainer">',
  7649. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7650. 'optional--',
  7651. 'optional2--',
  7652. "//a[contains(@href,'depositfiles.com/folders')]"
  7653. );
  7654. }
  7655. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7656. {
  7657. addFileHost(
  7658. "rapidfileshare\\.net/\\w+",
  7659. '<div id="upload-header-bg">',
  7660. '<div style="width:500px;text-align:left;">',
  7661. 'optional--',
  7662. 'optional2--',
  7663. "//a[contains(@href,'rapidfileshare.net/')]"
  7664. );
  7665. }
  7666. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7667. {
  7668. addFileHost(
  7669. "stiahnito\\.sk/",
  7670. '<span class="filesize right">',
  7671. '<ol class="list-purp-2">',
  7672. 'optional--',
  7673. 'optional2--',
  7674. "//a[contains(@href,'stiahnito.sk/')]"
  7675. );
  7676. }
  7677. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7678. {
  7679. addFileHost(
  7680. "rusfolder\\.(?:com|net)",
  7681. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7682. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7683. 'optional--',
  7684. 'optional2--',
  7685. "//a[contains(@href,'rusfolder')]"
  7686. );
  7687. }
  7688. if (GM_getValue("Check_catshare_dot_net_links", false))
  7689. {
  7690. addFileHost(
  7691. "catshare\\.net/\\w+",
  7692. '"icon-share|"col-xs-12',
  7693. 'alert alert-error',
  7694. 'optional--',
  7695. 'optional2--',
  7696. "//a[contains(@href,'catshare.net/')]"
  7697. );
  7698. }
  7699. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7700. {
  7701. addFileHost(
  7702. "anonfiles\\.com/\\w+",
  7703. '"download_button"',
  7704. '<legend><b>404</b>',
  7705. 'optional--',
  7706. 'optional2--',
  7707. "//a[contains(@href,'anonfiles.com')]"
  7708. );
  7709. }*/
  7710. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7711. {
  7712. addFileHost(
  7713. "mixturecloud\\.com/media/\\w+",
  7714. '"btn icon i_globe gray share_150',
  7715. '"s_cross_close"></span> 404:',
  7716. 'optional--',
  7717. 'optional2--',
  7718. "//a[contains(@href,'mixturecloud.com/media/')]"
  7719. );
  7720. }
  7721. if (GM_getValue("Check_akafile_dot_com_links", false))
  7722. {
  7723. addFileHost(
  7724. "akafile\\.com\/\\w+",
  7725. 'download1',
  7726. 'File Not Found',
  7727. 'optional--',
  7728. 'optional2--',
  7729. "//a[contains(@href,'akafile.com/')]"
  7730. );
  7731. }
  7732. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7733. {
  7734. addFileHost(
  7735. "creafile\\.net\/\\w+",
  7736. 'downloadblock',
  7737. 'errtitle',
  7738. 'optional--',
  7739. 'optional2--',
  7740. "//a[contains(@href,'creafile.net/')]"
  7741. );
  7742. }*/
  7743. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7744. {
  7745. addFileHost(
  7746. "hugefiles\\.net\/\\w+",
  7747. 'download1|class="btn-create-download" value="Create Download Link">',
  7748. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7749. 'optional--',
  7750. 'optional2--',
  7751. "//a[contains(@href,'hugefiles.net/')]"
  7752. );
  7753. }*/
  7754. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7755. {
  7756. addFileHost(
  7757. "sendmyway\\.com\/\\w+",
  7758. 'id="btn_download"',
  7759. '500px;text-align:left;"|<center><h3>',
  7760. 'optional--',
  7761. 'optional2--',
  7762. "//a[contains(@href,'sendmyway.com/')]"
  7763. );
  7764. }
  7765. if (GM_getValue("Check_upload_dot_ee_links", false))
  7766. {
  7767. addFileHost(
  7768. "upload\\.ee\/\\w+",
  7769. 'onmouseout="document.dllink.src',
  7770. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7771. 'optional--',
  7772. 'optional2--',
  7773. "//a[contains(@href,'upload.ee/')]"
  7774. );
  7775. }
  7776. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7777. {
  7778. addFileHost(
  7779. "shareplace\\.org\/\\?\\w+",
  7780. 'Download-Link',
  7781. 'Your requested file is not found|Select file to send',
  7782. 'optional--',
  7783. 'optional2--',
  7784. "//a[contains(@href,'shareplace.org/?')]"
  7785. );
  7786. }
  7787. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7788. {
  7789. addFileHost(
  7790. "uploadc\\.com\/\\w+",
  7791. 'id="prebut"',
  7792. 'File Not Found|This file has been removed due',
  7793. 'optional--',
  7794. 'optional2--',
  7795. "//a[contains(@href,'uploadc.com/')]"
  7796. );
  7797. }
  7798. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7799. {
  7800. addFileHost(
  7801. "uploadc\\.ch\/\\w+",
  7802. 'id="prebut"',
  7803. 'File Not Found|This file has been removed due',
  7804. 'optional--',
  7805. 'optional2--',
  7806. "//a[contains(@href,'uploadc.ch/')]"
  7807. );
  7808. }
  7809. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7810. {
  7811. addFileHost(
  7812. "remixshare\\.com\/\\w+",
  7813. 'id="dl2"',
  7814. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'remixshare.com/')]"
  7818. );
  7819. }*/
  7820. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7821. {
  7822. addFileHost(
  7823. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7824. 'Last Download :',
  7825. 'img src="\\/404.jpg"',
  7826. 'optional--',
  7827. 'optional2--',
  7828. "//a[contains(@href,'exoshare.com/download.php')]"
  7829. );
  7830. }
  7831. if (GM_getValue("Check_borncash_dot_org_links", false))
  7832. {
  7833. addFileHost(
  7834. "borncash\\.org\/download\/\\?a=\\w+",
  7835. 'class="knop_1"',
  7836. '\/error\/er00',
  7837. 'optional--',
  7838. 'optional2--',
  7839. "//a[contains(@href,'borncash.org/download/')]"
  7840. );
  7841. }
  7842. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7843. {
  7844. addFileHost(
  7845. "vidplay\.net\/\\w+",
  7846. 'solvemedia puzzle widget',
  7847. 'File not found|AVOID_IE_BUG',
  7848. 'optional--',
  7849. 'optional2--',
  7850. "//a[contains(@href,'vidplay.net')]");
  7851. }*/
  7852. if (GM_getValue("Check_filedais_dot_com_links", false))
  7853. {
  7854. addFileHost(
  7855. "filedais\.com\/\\w+",
  7856. 'class="btn btn-info"|name="method_free"',
  7857. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7858. 'optional--',
  7859. 'optional2--',
  7860. "//a[contains(@href,'filedais.com')]");
  7861. }
  7862. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7863. {
  7864. addFileHost(
  7865. "up.4share\.vn\/\\w+",
  7866. '<font size="2" face="Verdana">',
  7867. 'font: 13px Tahoma; color: Brown',
  7868. 'optional--',
  7869. 'optional2--',
  7870. "//a[contains(@href,'up.4share.vn')]");
  7871. }
  7872. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7873. {
  7874. addFileHost(
  7875. "share.vnn\.vn\/\\w+",
  7876. '"index,follow"|<div class="main" id="download-box">',
  7877. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'share.vnn.vn')]");
  7881. }
  7882. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7883. {
  7884. addFileHost(
  7885. "upfile\.vn\/\\w+",
  7886. 'download-timer',
  7887. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7888. 'optional--',
  7889. 'optional2--',
  7890. "//a[contains(@href,'upfile.vn')]");
  7891. }
  7892. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7893. {
  7894. addFileHost(
  7895. "aisfile\.com\/\\w+",
  7896. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7897. '<div style="width:500px;text-align:left;">|File Not Found',
  7898. 'optional--',
  7899. 'optional2--',
  7900. "//a[contains(@href,'aisfile.com')]");
  7901. }
  7902. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7903. {
  7904. addFileHost(
  7905. "usersfiles\.com\/\\w+",
  7906. 'class="btn btn-success|id="btn_download" class="btn"',
  7907. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7908. 'optional--',
  7909. 'optional2--',
  7910. "//a[contains(@href,'usersfiles.com')]");
  7911. }
  7912. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7913. {
  7914. addFileHost(
  7915. "pan.baidu\.com\/\\w+",
  7916. 'target="_blank" title=|share-personal-info',
  7917. 'share_notfound.png|background:#f9f9f9',
  7918. 'optional--',
  7919. 'optional2--',
  7920. "//a[contains(@href,'pan.baidu.com')]");
  7921. }
  7922. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7923. {
  7924. addFileHost(
  7925. "yunpan\.cn\/\\w+",
  7926. 'class="icon icon-download',
  7927. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7928. 'optional--',
  7929. 'optional2--',
  7930. "//a[contains(@href,'yunpan.cn')]");
  7931. }
  7932. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7933. {
  7934. addFileHost(
  7935. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7936. 'getElementById("downbild")|style.display',
  7937. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7938. 'optional--',
  7939. 'optional2--',
  7940. "//a[contains(@href,'file-upload.net')]");
  7941. }
  7942. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7943. {
  7944. addFileHost(
  7945. "file\\-upload\\.com\/",
  7946. 'name="method_free"',
  7947. 'File Not Found|exclamation-triangle',
  7948. 'optional--',
  7949. 'optional2--',
  7950. "//a[contains(@href,'file-upload.com')]");
  7951. }
  7952. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7953. {
  7954. addFileHost(
  7955. "gulfup\.com\/",
  7956. '<!-- Downlod template -->|download.gif',
  7957. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7958. 'optional--',
  7959. 'optional2--',
  7960. "//a[contains(@href,'gulfup.com')]");
  7961. }*/
  7962. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7963. {
  7964. addFileHost(
  7965. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7966. 'dldtable">',
  7967. 'does not exist\\.',
  7968. 'optional--',
  7969. 'optional2--',
  7970. "//a[contains(@href,'datafilehost.com')]");
  7971. }
  7972. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7973. {
  7974. addFileHost(
  7975. "dropbox\.com\/s\/\\w+",
  7976. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7977. '>Nothing Here<|>Error (404)<',
  7978. 'title>Dropbox - 509|Error (403)|Error: 429',
  7979. 'optional2--',
  7980. "//a[contains(@href,'dropbox.com')]");
  7981. }
  7982. if (GM_getValue("Check_box_dot_net_links", false))
  7983. {
  7984. addFileHost(
  7985. "box\.net\/\\w+",
  7986. 'download-file-btn|id="download_button',
  7987. 'BIyMin.png| <div class="error_message',
  7988. 'optional--',
  7989. 'optional2--',
  7990. "//a[contains(@href,'box.net')]");
  7991. }
  7992. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7993. {
  7994. addFileHost(
  7995. "filedropper\.com\/\\w+",
  7996. 'background:#ddd;|width:985px; ',
  7997. 'background-color:#FFFFFF;|margin-left: -400px;',
  7998. 'optional--',
  7999. 'optional2--',
  8000. "//a[contains(@href,'filedropper.com')]");
  8001. }
  8002. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8003. {
  8004. addFileHost(
  8005. "tropicshare\\.com\/files\/\\d+",
  8006. 'MB</span>|GB</span>|KB</span>',
  8007. '>FNF<|size: </span>',
  8008. 'optional--',
  8009. 'optional2--',
  8010. "//a[contains(@href,'tropicshare.com')]");
  8011. }
  8012. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8013. {
  8014. addFileHost(
  8015. "worldbytez\.com",
  8016. '<div class="download_type">|method_free',
  8017. '<div style="width:500px;text-align:left;">',
  8018. 'optional--',
  8019. 'optional2--',
  8020. "//a[contains(@href,'worldbytez.com')]",
  8021. true);
  8022. }
  8023. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8024. {
  8025. addFileHost(
  8026. "freefilehosting\.net\/\\w+",
  8027. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8028. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8029. 'optional--',
  8030. 'optional2--',
  8031. "//a[contains(@href,'freefilehosting.net')]");
  8032. }
  8033. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8034. {
  8035. addFileHost(
  8036. "ziddu\.com\/\\w+",
  8037. 'downloads.ziddu.com|downloadfilelinkicon',
  8038. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8039. 'optional--',
  8040. 'optional2--',
  8041. "//a[contains(@href,'ziddu.com')]");
  8042. }
  8043. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8044. {
  8045. addFileHost(
  8046. "exclusiveloader\.com\/\\w+",
  8047. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8048. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8049. 'optional--',
  8050. 'optional2--',
  8051. "//a[contains(@href,'exclusiveloader.com')]");
  8052. }
  8053. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8054. {
  8055. addFileHost(
  8056. "sharerapid\.cz\/\\w+",
  8057. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8058. 'error_div">|404 - Not Found',
  8059. 'optional--',
  8060. 'optional2--',
  8061. "//a[contains(@href,'sharerapid.cz')]");
  8062. }
  8063. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8064. {
  8065. addFileHost(
  8066. "sdilej\.cz\/\\w+",
  8067. 'class="page-download"',
  8068. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8069. 'optional--',
  8070. 'optional2--',
  8071. "//a[contains(@href,'sdilej.cz')]");
  8072. }
  8073. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8074. {
  8075. addFileHost(
  8076. "lafiles\.com\/\\w+",
  8077. '<div id="pay_modes">',
  8078. '<b class="err"></b>',
  8079. 'optional--',
  8080. 'optional2--',
  8081. "//a[contains(@href,'lafiles.com')]");
  8082. }
  8083. if (GM_getValue("Check_acefile_dot_net_links", false))
  8084. {
  8085. addFileHost(
  8086. "acefile\.net\/\\w+",
  8087. 'align=right nowrap><b>',
  8088. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8089. 'optional--',
  8090. 'optional2--',
  8091. "//a[contains(@href,'acefile.net')]");
  8092. }
  8093. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8094. {
  8095. addFileHost(
  8096. "megarapid\.cz\/\\w+",
  8097. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8098. 'error_div">|404 - Not Found',
  8099. 'optional--',
  8100. 'optional2--',
  8101. "//a[contains(@href,'megarapid.cz')]");
  8102. }
  8103. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8104. {
  8105. addFileHost(
  8106. "yadi\.sk\/\\w+",
  8107. 'nb-button _nb-small-button',
  8108. 'error code|Nothing found',
  8109. 'optional--',
  8110. 'optional2--',
  8111. "//a[contains(@href,'yadi.sk')]");
  8112. }
  8113. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8114. {
  8115. addFileHost(
  8116. "hitfile\.net\/\\w+",
  8117. 'class="download-file',
  8118. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8119. 'optional--',
  8120. 'optional2--',
  8121. "//a[contains(@href,'hitfile.net')]");
  8122. }
  8123. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8124. {
  8125. addFileHost(
  8126. "up.top4top\.net\/\\w+",
  8127. 'start Downlod template',
  8128. 'start err template',
  8129. 'optional--',
  8130. 'optional2--',
  8131. "//a[contains(@href,'up.top4top.net')]");
  8132. }
  8133. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8134. {
  8135. addFileHost(
  8136. "filejoker\.net",
  8137. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8138. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8139. 'optional--',
  8140. 'id="download" class="premium-only">',
  8141. "//a[contains(@href,'filejoker.net')]");
  8142. }
  8143. if (GM_getValue("Check_free_dot_fr_links", false))
  8144. {
  8145. addFileHost(
  8146. "(?:dl.\\.|)free\\.fr",
  8147. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8148. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8149. 'optional--',
  8150. 'optional2--',
  8151. "//a[contains(@href,'dl.free.fr')]");
  8152. }
  8153. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8154. {
  8155. addFileHost(
  8156. "gboxes\.com\/\\w+",
  8157. 'You have requested|color="red">http://www.gboxes.com',
  8158. 'File Not Found|<div style="width:500px;text-align:left;">',
  8159. 'optional--',
  8160. 'optional2--',
  8161. "//a[contains(@href,'gboxes.com')]");
  8162. }
  8163. if (GM_getValue("Check_led_dot_wf_links", false))
  8164. {
  8165. addFileHost(
  8166. "led\.wf\/\\w+",
  8167. 'logo_0.png|downloads.gif"|verifycode',
  8168. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8169. 'optional--',
  8170. 'available only for Premium users|Premium users can restore files',
  8171. "//a[contains(@href,'led.wf')]");
  8172. }
  8173. if (GM_getValue("Check_lan_dot_wf_links", false))
  8174. {
  8175. addFileHost(
  8176. "lan\.wf\/\\w+",
  8177. 'logo_0.png|downloads.gif"|verifycode',
  8178. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8179. 'optional--',
  8180. 'available only for Premium users|Premium users can restore files',
  8181. "//a[contains(@href,'lan.wf')]");
  8182. }
  8183. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8184. {
  8185. addFileHost(
  8186. "adlink\.wf\/\\w+",
  8187. 'logo_0.png|downloads.gif"|verifycode',
  8188. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8189. 'optional--',
  8190. 'available only for Premium users|Premium users can restore files',
  8191. "//a[contains(@href,'adlink.wf')]");
  8192. }
  8193. if (GM_getValue("Check_click_dot_tf_links", false))
  8194. {
  8195. addFileHost(
  8196. "click\.tf\/\\w+",
  8197. 'logo_0.png|downloads.gif"|verifycode',
  8198. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8199. 'optional--',
  8200. 'available only for Premium users|Premium users can restore files',
  8201. "//a[contains(@href,'click.tf')]");
  8202. }
  8203. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8204. {
  8205. addFileHost(
  8206. "ssh\.tf\/\\w+",
  8207. 'logo_0.png|downloads.gif"|verifycode',
  8208. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8209. 'optional--',
  8210. 'available only for Premium users|Premium users can restore files',
  8211. "//a[contains(@href,'ssh.tf')]");
  8212. }
  8213. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8214. {
  8215. addFileHost(
  8216. "ssh\.yt\/\\w+",
  8217. 'logo_0.png|downloads.gif"|verifycode',
  8218. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8219. 'optional--',
  8220. 'available only for Premium users|Premium users can restore files',
  8221. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8222. }
  8223. if (GM_getValue("Check_yep_dot_pm_links", false))
  8224. {
  8225. addFileHost(
  8226. "yep\.pm\/\\w+",
  8227. 'logo_0.png|downloads.gif"|verifycode',
  8228. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8229. 'optional--',
  8230. 'available only for Premium users|Premium users can restore files',
  8231. "//a[contains(@href,'yep.pm')]");
  8232. }
  8233. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8234. {
  8235. addFileHost(
  8236. "kyc\.pm\/\\w+",
  8237. 'logo_0.png|downloads.gif"|verifycode',
  8238. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8239. 'optional--',
  8240. 'available only for Premium users|Premium users can restore files',
  8241. "//a[contains(@href,'kyc.pm')]");
  8242. }
  8243. if (GM_getValue("Check_brupload_dot_net_links", false))
  8244. {
  8245. addFileHost(
  8246. "brupload\.net\/\\w+",
  8247. 'Download Gratuito',
  8248. '<div style="width:500px;text-align:left;">',
  8249. 'optional--',
  8250. 'optional2--',
  8251. "//a[contains(@href,'brupload.net')]");
  8252. }
  8253. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8254. {
  8255. addFileHost(
  8256. "cloudzilla\.to\/\\w+",
  8257. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8258. 'File not found|/imgs/broken.png',
  8259. 'optional--',
  8260. 'optional2--',
  8261. "//a[contains(@href,'cloudzilla.to')]");
  8262. } */
  8263. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8264. {
  8265. addFileHost(
  8266. "clicknupload\.com\/\\w+",
  8267. 'name="method_free',
  8268. 'File Not Found',
  8269. 'optional--',
  8270. 'optional2--',
  8271. "//a[contains(@href,'clicknupload.com')]");
  8272. }
  8273. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8274. {
  8275. addFileHost(
  8276. "clicknupload\.me\/\\w+",
  8277. 'name="method_free',
  8278. 'File Not Found',
  8279. 'optional--',
  8280. 'optional2--',
  8281. "//a[contains(@href,'clicknupload.me')]");
  8282. }
  8283. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8284. {
  8285. addFileHost(
  8286. "clicknupload\.link\/\\w+",
  8287. 'name="method_free',
  8288. 'File Not Found',
  8289. 'optional--',
  8290. 'optional2--',
  8291. "//a[contains(@href,'clicknupload.link')]");
  8292. }
  8293. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8294. {
  8295. addFileHost(
  8296. "clicknupload\.org\/\\w+",
  8297. 'name="method_free',
  8298. 'File Not Found',
  8299. 'optional--',
  8300. 'optional2--',
  8301. "//a[contains(@href,'clicknupload.org')]");
  8302. }
  8303. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8304. {
  8305. addFileHost(
  8306. "ex-load\.com\/\\w+",
  8307. 'name="method_free|<p>Download File:</p>',
  8308. 'Folder Not Found|File Not Found|Error 404',
  8309. 'optional--',
  8310. 'class="downprem wow bounceInLeft',
  8311. "//a[contains(@href,'ex-load.com')]");
  8312. }
  8313. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8314. {
  8315. addFileHost(
  8316. "hexupload\.com\/\\w+",
  8317. 'button" value="Free|type="submit" value=""',
  8318. 'File Not Found|<div style="width:500px;text-align:left;">',
  8319. 'optional--',
  8320. 'optional2--',
  8321. "//a[contains(@href,'hexupload.com')]");
  8322. }*/
  8323. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8324. {
  8325. addFileHost(
  8326. "wizupload\.com\/\\w+",
  8327. 'btn_download|class="downloadbtn"',
  8328. '>File Not Found<',
  8329. 'optional--',
  8330. 'optional2--',
  8331. "//a[contains(@href,'wizupload.com')]");
  8332. }
  8333. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8334. {
  8335. addFileHost(
  8336. "inclouddrive\.com\/\\w+",
  8337. 'initfreedownload',
  8338. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8339. 'optional--',
  8340. 'optional2--',
  8341. "//a[contains(@href,'inclouddrive.com')]");
  8342. }
  8343. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8344. {
  8345. addFileHost(
  8346. "radicalshare\.com\/\\w+",
  8347. 'value="download1|name="method_free"',
  8348. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8349. 'optional--',
  8350. 'optional2--',
  8351. "//a[contains(@href,'radicalshare.com')]");
  8352. }*/
  8353. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8354. {
  8355. addFileHost(
  8356. "sharemods\.com\/\\w+",
  8357. 'name="method_free"',
  8358. 'File Not Found<',
  8359. 'optional--',
  8360. 'optional2--',
  8361. "//a[contains(@href,'sharemods.com')]");
  8362. }
  8363. if (GM_getValue("Check_hostr_dot_co_links", false))
  8364. {
  8365. addFileHost(
  8366. "hostr\.co\/\\w+",
  8367. 'method="get"',
  8368. 'File not found<|error-page',
  8369. 'optional--',
  8370. 'optional2--',
  8371. "//a[contains(@href,'hostr.co')]");
  8372. }
  8373. if (GM_getValue("Check_filepi_dot_com_links", false))
  8374. {
  8375. addFileHost(
  8376. "filepi\.com\/\\w+",
  8377. 'id="button_start">',
  8378. 'File not found',
  8379. 'optional--',
  8380. 'optional2--',
  8381. "//a[contains(@href,'filepi.com')]");
  8382. }
  8383. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8384. {
  8385. addFileHost(
  8386. "tikfile\.com\/\\w+",
  8387. 'btn_download',
  8388. 'File Not Found|file was removed|Reason for deletion',
  8389. 'optional--',
  8390. 'optional2--',
  8391. "//a[contains(@href,'tikfile.com')]");
  8392. }
  8393. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8394. {
  8395. addFileHost(
  8396. "cloudsix\.me\/\\w+",
  8397. 'name="method_free"',
  8398. 'File Not Found|width:500px;text-align:left;">',
  8399. 'optional--',
  8400. 'optional2--',
  8401. "//a[contains(@href,'cloudsix.me')]");
  8402. }
  8403. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8404. {
  8405. addFileHost(
  8406. "neodrive\.co\/\\w+",
  8407. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8408. 'File not found|/imgs/broken.png',
  8409. 'optional--',
  8410. 'optional2--',
  8411. "//a[contains(@href,'neodrive.co')]");
  8412. } */
  8413. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8414. {
  8415. addFileHost(
  8416. "chayfile\.com\/\\w+",
  8417. 'name="method_free"',
  8418. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8419. 'optional--',
  8420. 'optional2--',
  8421. "//a[contains(@href,'chayfile.com')]");
  8422. }
  8423. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8424. {
  8425. addFileHost(
  8426. "xfileload\.com\/\\w+",
  8427. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8428. '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..|הקובץ שחיפשת לא נמצא.',
  8429. 'optional--',
  8430. 'optional2--',
  8431. "//a[contains(@href,'xfileload.com')]");
  8432. }*/
  8433. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8434. {
  8435. addFileHost(
  8436. "rockfile\.eu\/\\w+",
  8437. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8438. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8439. 'optional--',
  8440. 'optional2--',
  8441. "//a[contains(@href,'rockfile.eu')]",
  8442. true);
  8443. }
  8444. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8445. {
  8446. addFileHost(
  8447. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8448. 'i/icon/dll.png"|>Start download<br|method_free',
  8449. 'no longer available<|i/ino.png"|File Not Found',
  8450. 'optional--',
  8451. 'optional2--',
  8452. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8453. }
  8454. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8455. {
  8456. addFileHost(
  8457. "ozofiles\.com\/\\w+",
  8458. 'button" value="Free|name="method_free',
  8459. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8460. 'optional--',
  8461. 'optional2--',
  8462. "//a[contains(@href,'ozofiles.com')]");
  8463. }
  8464. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8465. {
  8466. addFileHost(
  8467. "userscloud\.com\/\\w+",
  8468. 'btn_download|class="label label-success">',
  8469. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8470. 'optional--',
  8471. 'optional2--',
  8472. "//a[contains(@href,'userscloud.com')]");
  8473. }
  8474. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8475. {
  8476. addFileHost(
  8477. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8478. 'class="button download',
  8479. 'internal server error',
  8480. 'optional--',
  8481. 'optional2--',
  8482. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8483. }
  8484. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8485. {
  8486. addFileHost(
  8487. "kb.simple-aja\.info\/\\w+",
  8488. 'class="button download',
  8489. 'internal server error|<p>404</p>',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'kb.simple')]");
  8493. }
  8494. if (GM_getValue("Check_faststore_dot_org_links", false))
  8495. {
  8496. addFileHost(
  8497. "faststore\.org\/\\w+",
  8498. 'name="method_free',
  8499. 'File Not Found',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'faststore.org')]");
  8503. }
  8504. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8505. {
  8506. addFileHost(
  8507. "prefiles\.com\/\\w+",
  8508. 'id="method_free',
  8509. 'File not Found',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'prefiles.com')]");
  8513. }
  8514. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8515. {
  8516. addFileHost(
  8517. "doraupload\.com\/\\w+",
  8518. 'btn_download|name="method_free',
  8519. 'class="error-code|Could Not Be Found',
  8520. 'optional--',
  8521. 'optional2--',
  8522. "//a[contains(@href,'doraupload.com')]");
  8523. }
  8524. if (GM_getValue("Check_openload_dot_io_links", false))
  8525. {
  8526. addFileHost(
  8527. "openload\.io\/\\w+",
  8528. 'btn btn-primary|class="count">|secondsleftouter',
  8529. 'class="jumbotron">|We are sorry',
  8530. 'optional--',
  8531. 'optional2--',
  8532. "//a[contains(@href,'openload.io')]");
  8533. }
  8534. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8535. {
  8536. addFileHost(
  8537. "zxcfiles\.com\/\\w+",
  8538. 'class="downloadbtn',
  8539. 'File Not Found',
  8540. 'optional--',
  8541. 'optional2--',
  8542. "//a[contains(@href,'zxcfiles.com')]");
  8543. }
  8544. if (GM_getValue("Check_up07_dot_net_links", false))
  8545. {
  8546. addFileHost(
  8547. "up07\.net\/\\w+",
  8548. 'name="method_free',
  8549. 'File Not Found',
  8550. 'optional--',
  8551. 'optional2--',
  8552. "//a[contains(@href,'up07.net')]");
  8553. }
  8554. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8555. {
  8556. addFileHost(
  8557. "fileupload\.pw\/\\w+",
  8558. 'value="Free"',
  8559. 'File Not Found',
  8560. 'optional--',
  8561. 'optional2--',
  8562. "//a[contains(@href,'fileupload.pw')]");
  8563. }
  8564. if (GM_getValue("Check_4upld_dot_com_links", false))
  8565. {
  8566. addFileHost(
  8567. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8568. 'alt="Download Now"|content="Download file">|btn-free-element',
  8569. '<title>Error|content="error|File not found',
  8570. 'optional--',
  8571. 'optional2--',
  8572. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8573. }
  8574. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8575. {
  8576. addFileHost(
  8577. "(?:.swoopshare)\\.com\/\\w+",
  8578. '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',
  8579. '<input type="file" name="f"',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'swoopshare.com')]"
  8583. );
  8584. }
  8585. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8586. {
  8587. addFileHost(
  8588. "cloudshares\.net\/\\w+",
  8589. '"method_free|"Low Speed Download|submit" name="go',
  8590. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8591. 'optional--',
  8592. 'optional2--',
  8593. "//a[contains(@href,'cloudshares.net')]"
  8594. );
  8595. }
  8596. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8597. {
  8598. addFileHost(
  8599. "allmyvideos\.net\/\\w+",
  8600. 'Continue to Video',
  8601. 'File Not Found|class="err">Removed for',
  8602. 'optional--',
  8603. 'optional2--',
  8604. "//a[contains(@href,'allmyvideos.net')]"
  8605. );
  8606. } */
  8607. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8608. {
  8609. addFileHost(
  8610. "vodlocker\.com\/\\w+",
  8611. 'Proceed to video',
  8612. 'Not Found',
  8613. 'optional--',
  8614. 'optional2--',
  8615. "//a[contains(@href,'vodlocker.com')]"
  8616. );
  8617. }
  8618. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8619. {
  8620. addFileHost(
  8621. "vidbull\.com\/\\w+",
  8622. 'Verifying Video Request',
  8623. 'File Not Found',
  8624. 'optional--',
  8625. 'optional2--',
  8626. "//a[contains(@href,'vidbull.com')]");
  8627. }
  8628. if (GM_getValue("Check_novamov_dot_com_links", false))
  8629. {
  8630. addFileHost(
  8631. "novamov\.com\/\\w+",
  8632. 'For version detection',
  8633. 'file no longer exists',
  8634. 'optional--',
  8635. 'optional2--',
  8636. "//a[contains(@href,'novamov.com')]"
  8637. );
  8638. }
  8639. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8640. {
  8641. addFileHost(
  8642. "filehoot\.com\/\\w+",
  8643. 'Continue to watch',
  8644. 'File Not Found',
  8645. 'optional--',
  8646. 'optional2--',
  8647. "//a[contains(@href,'filehoot.com')]"
  8648. );
  8649. }
  8650. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8651. {
  8652. addFileHost(
  8653. "stagevu\.com\/\\w+",
  8654. 'Video Info',
  8655. 'No video with the provided',
  8656. 'optional--',
  8657. 'optional2--',
  8658. "//a[contains(@href,'stagevu.com')]"
  8659. );
  8660. }
  8661. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8662. {
  8663. addFileHost(
  8664. "cloudtime\.to\/\\w+",
  8665. 'Download the video',
  8666. 'no longer exists',
  8667. 'optional--',
  8668. 'optional2--',
  8669. "//a[contains(@href,'cloudtime.to')]"
  8670. );
  8671. }
  8672. if (GM_getValue("Check_streamin_dot_to_links", false))
  8673. {
  8674. addFileHost(
  8675. "streamin\.to\/\\w+",
  8676. 'id="btn_download',
  8677. 'Not Found|Copyright Infringement|File Deleted',
  8678. 'optional--',
  8679. 'optional2--',
  8680. "//a[contains(@href,'streamin.to')]"
  8681. );
  8682. }
  8683. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8684. {
  8685. addFileHost(
  8686. "videoweed\.es\/\\w+",
  8687. 'version detection',
  8688. 'no longer exists',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'videoweed.es')]"
  8692. );
  8693. }
  8694. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8695. {
  8696. addFileHost(
  8697. "nowvideo\.sx\/\\w+",
  8698. 'Download this video|value="submit">Continue',
  8699. 'no longer exists',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'nowvideo.sx')]"
  8703. );
  8704. }
  8705. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8706. {
  8707. addFileHost(
  8708. "thevideo\.me\/\\w+",
  8709. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8710. 'File Not Found',
  8711. 'optional--',
  8712. 'optional2--',
  8713. "//a[contains(@href,'thevideo.me')]"
  8714. );
  8715. }
  8716. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8717. {
  8718. addFileHost(
  8719. "gorillavid\.in\/\\w+",
  8720. 'Wait 5 seconds',
  8721. 'File Not Found',
  8722. 'optional--',
  8723. 'optional2--',
  8724. "//a[contains(@href,'gorillavid.in')]"
  8725. );
  8726. }
  8727. if (GM_getValue("Check_thefile_dot_me_links", false))
  8728. {
  8729. addFileHost(
  8730. "thefile\.me\/\\w+",
  8731. 'Choose free or',
  8732. '',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'thefile.me')]"
  8736. );
  8737. }
  8738. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8739. {
  8740. addFileHost(
  8741. "vidzi\.tv\/\\w+",
  8742. 'video-embed-modal row',
  8743. 'File Not Found|file was deleted',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'vidzi.tv')]"
  8747. );
  8748. }
  8749. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8750. {
  8751. addFileHost(
  8752. "filenuke\.com\/\\w+",
  8753. 'Download File',
  8754. 'Earn with us',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'filenuke.com')]"
  8758. );
  8759. }
  8760. if (GM_getValue("Check_vidto_dot_me_links", false))
  8761. {
  8762. addFileHost(
  8763. "vidto\.me\/\\w+",
  8764. 'Proceed to video',
  8765. 'Not Found',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'vidto.me')]"
  8769. );
  8770. }
  8771. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8772. {
  8773. addFileHost(
  8774. "vidspot\.net\/\\w+",
  8775. 'Duration|method_free',
  8776. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'vidspot.net')]"
  8780. );
  8781. } */
  8782. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8783. {
  8784. addFileHost(
  8785. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8786. 'Download File',
  8787. 'File Not Found',
  8788. 'optional--',
  8789. 'optional2--',
  8790. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8791. );
  8792. }
  8793. if (GM_getValue("Check_movpod_dot_in_links", false))
  8794. {
  8795. addFileHost(
  8796. "movpod\.in\/\\w+",
  8797. 'Continue',
  8798. 'File Not Found',
  8799. 'optional--',
  8800. 'optional2--',
  8801. "//a[contains(@href,'movpod.in')]"
  8802. );
  8803. }
  8804. if (GM_getValue("Check_down4files_dot_com_links", false))
  8805. {
  8806. addFileHost(
  8807. "down4files\.com\/\\w+",
  8808. 'down_table.png',
  8809. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8810. 'optional--',
  8811. 'optional2--',
  8812. "//a[contains(@href,'down4files.com')]"
  8813. );
  8814. }
  8815. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8816. {
  8817. addFileHost(
  8818. "storefiles\.co\/\\w+",
  8819. 'btn_download',
  8820. 'No such file|>Error<|mqmaintitle">',
  8821. 'optional--',
  8822. 'optional2--',
  8823. "//a[contains(@href,'storefiles.co')]"
  8824. );
  8825. }*/
  8826. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8827. {
  8828. addFileHost(
  8829. "filehost\.pw\/\\w+",
  8830. 'name="method_free',
  8831. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8832. 'optional--',
  8833. 'optional2--',
  8834. "//a[contains(@href,'filehost.pw')]"
  8835. );
  8836. }
  8837. if (GM_getValue("Check_uplea_dot_com_links", false))
  8838. {
  8839. addFileHost(
  8840. "uplea\.com\/\\w+",
  8841. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8842. 'expired link|ou est invalide',
  8843. 'optional--',
  8844. 'optional2--',
  8845. "//a[contains(@href,'uplea.com/dl')]",
  8846. true);
  8847. }
  8848. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8849. {
  8850. addFileHost(
  8851. "toutbox\.fr\/\\w+",
  8852. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8853. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8854. 'Serviço temporariamente indisponível',
  8855. 'optional2--',
  8856. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8857. );
  8858. }*/
  8859. if (GM_getValue("Check_openload_dot_co_links", false))
  8860. {
  8861. addFileHost(
  8862. "openload\.co\/\\w+",
  8863. 'id="downloadTimer">|button dlbutton',
  8864. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8865. 'optional--',
  8866. 'optional2--',
  8867. "//a[contains(@href,'openload.co')]"
  8868. );
  8869. }
  8870. if (GM_getValue("Check_oload_dot_tv_links", false))
  8871. {
  8872. addFileHost(
  8873. "oload\.tv\/\\w+",
  8874. 'id="downloadTimer">|button dlbutton',
  8875. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8876. 'optional--',
  8877. 'optional2--',
  8878. "//a[contains(@href,'oload.tv')]"
  8879. );
  8880. }
  8881. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8882. {
  8883. addFileHost(
  8884. "lolabits\.es\/\\w+",
  8885. 'Descargar:',
  8886. '<title>Archivos de usuario',
  8887. 'Service Unavailable',
  8888. 'optional2--',
  8889. "//a[contains(@href,'lolabits.es')]"
  8890. );
  8891. }*/
  8892. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8893. {
  8894. addFileHost(
  8895. "alfafile\.net\/\\w+",
  8896. 'id="slow_download_btn',
  8897. 'class="error-box">',
  8898. 'optional--',
  8899. 'optional2--',
  8900. "//a[contains(@href,'alfafile.net')]"
  8901. );
  8902. }
  8903. if (GM_getValue("Check_multiup_dot_org_links", false))
  8904. {
  8905. addFileHost(
  8906. "multiup\\.(?:org|eu)\/\\w+",
  8907. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8908. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8909. 'optional--',
  8910. 'optional2--',
  8911. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8912. );
  8913. }
  8914. if (GM_getValue("Check_file_dot_al_links", false))
  8915. {
  8916. addFileHost(
  8917. "file\\.al|1f.al",
  8918. 'method_free',
  8919. 'style="width:500px;text-align:left;">|invalid license_key',
  8920. 'optional--',
  8921. 'optional2--',
  8922. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8923. );
  8924. }
  8925. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8926. {
  8927. addFileHost(
  8928. "devilshare\.net\/\\w+",
  8929. '<div class="large-12" id="download">',
  8930. '(Link: 0 Invalid)|File Not Found',
  8931. 'optional--',
  8932. 'optional2--',
  8933. "//a[contains(@href,'devilshare.net')]"
  8934. );
  8935. }
  8936. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8937. {
  8938. addFileHost(
  8939. "dailyuploads\.net\/\\w+",
  8940. 'id="downloadBtnClickOrignal',
  8941. '<div style="width:500px;text-align:left;">',
  8942. 'optional--',
  8943. 'optional2--',
  8944. "//a[contains(@href,'dailyuploads.net')]"
  8945. );
  8946. }
  8947. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8948. {
  8949. addFileHost(
  8950. "datoteke\.com\/\\w+",
  8951. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8952. '&nbsp;File has been removed',
  8953. 'optional--',
  8954. '<title>Error - Datoteke',
  8955. "//a[contains(@href,'datoteke.com')]"
  8956. );
  8957. }
  8958. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8959. {
  8960. addFileHost(
  8961. "sharehost\.eu\/\\w+",
  8962. '/?v=download_free&',
  8963. 'Errors occured|Wystąpiły błędy',
  8964. 'optional--',
  8965. 'optional2--',
  8966. "//a[contains(@href,'sharehost.eu')]"
  8967. );
  8968. }
  8969. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8970. {
  8971. addFileHost(
  8972. "pornfile\.cz",
  8973. 'Stáhnout soubor|Stáhnout pomalu',
  8974. 'Soubor byl smazán|Stránka nenalezena',
  8975. 'optional--',
  8976. 'optional2--',
  8977. "//a[contains(@href,'pornfile.cz')]"
  8978. );
  8979. }
  8980. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8981. {
  8982. addFileHost(
  8983. "pornoid\.cz\/\\w+",
  8984. 'class="btn btn-large btn-download',
  8985. 'Soubor byl smazán',
  8986. 'optional--',
  8987. 'optional2--',
  8988. "//a[contains(@href,'pornoid.cz')]"
  8989. );
  8990. }
  8991. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8992. {
  8993. addFileHost(
  8994. "file-share\.top\/\\w+",
  8995. 'btn-success btn-lg download',
  8996. 'Stránka neexistuje|404 Not Found',
  8997. 'optional--',
  8998. 'optional2--',
  8999. "//a[contains(@href,'file-share.top')]"
  9000. );
  9001. }
  9002. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9003. {
  9004. addFileHost(
  9005. "bitster\.cz\/",
  9006. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9007. 'section" content=""',
  9008. 'optional--',
  9009. 'optional2--',
  9010. "//a[contains(@href,'bitster.cz')]"
  9011. );
  9012. }
  9013. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9014. {
  9015. addFileHost(
  9016. "rapidu\.net\/\\w+",
  9017. 'onclick="downloadFreeFile',
  9018. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9019. 'optional--',
  9020. 'optional2--',
  9021. "//a[contains(@href,'rapidu.net')]"
  9022. );
  9023. }
  9024. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9025. {
  9026. addFileHost(
  9027. "dinoshare\.cz\/\\w+",
  9028. 'class="download-button"',
  9029. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9030. 'optional--',
  9031. 'optional2--',
  9032. "//a[contains(@href,'dinoshare.cz')]"
  9033. );
  9034. }
  9035. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9036. {
  9037. addFileHost(
  9038. "bytewhale\.com\/\\w+",
  9039. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9040. 'var rawest = "0 MB|Copyrights Claim</div>',
  9041. 'optional--',
  9042. 'This file is available for premium members only',
  9043. "//a[contains(@href,'bytewhale.com')]"
  9044. );
  9045. }
  9046. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9047. {
  9048. addFileHost(
  9049. "rapidrar\.com\/\\w+",
  9050. 'value="Free Download',
  9051. '<div style="width:500px;text-align:left;">',
  9052. 'optional--',
  9053. 'optional--',
  9054. "//a[contains(@href,'rapidrar.com')]"
  9055. );
  9056. }
  9057. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9058. {
  9059. addFileHost(
  9060. "filesupload\.org\/\\w+",
  9061. '<a href="/download-or-watch/',
  9062. 'File not found',
  9063. 'optional--',
  9064. 'optional--',
  9065. "//a[contains(@href,'filesupload.org')]"
  9066. );
  9067. }
  9068. if (GM_getValue("Check_filecad_dot_com_links", false))
  9069. {
  9070. addFileHost(
  9071. "filecad\.com\/\\w+",
  9072. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9073. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9074. 'optional--',
  9075. 'optional--',
  9076. "//a[contains(@href,'filecad.com')]"
  9077. );
  9078. }
  9079. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9080. {
  9081. addFileHost(
  9082. "file.up09\.com\/\\w+",
  9083. 'name="method_free',
  9084. 'style="width:500px;text-align:left;">',
  9085. 'optional--',
  9086. 'optional--',
  9087. "//a[contains(@href,'file.up09.com')]"
  9088. );
  9089. }
  9090. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9091. {
  9092. addFileHost(
  9093. "lunaticfiles\.com\/\\w+",
  9094. 'name="method_free"',
  9095. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9096. 'optional--',
  9097. 'optional--',
  9098. "//a[contains(@href,'lunaticfiles.com')]"
  9099. );
  9100. }
  9101. if (GM_getValue("Check_upload_dot_af_links", false))
  9102. {
  9103. addFileHost(
  9104. "upload\.af\/\\w+",
  9105. 'id="method_free"',
  9106. '<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|ファイルが見つかりません',
  9107. 'optional--',
  9108. 'optional--',
  9109. "//a[contains(@href,'upload.af')]"
  9110. );
  9111. }
  9112. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9113. {
  9114. addFileHost(
  9115. "filedwon\.info\/\\w+",
  9116. 'name="method_free"',
  9117. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9118. 'optional--',
  9119. 'optional--',
  9120. "//a[contains(@href,'filedwon.info')]"
  9121. );
  9122. }
  9123. if (GM_getValue("Check_uplod_dot_it_links", false))
  9124. {
  9125. addFileHost(
  9126. "uplod\.it\/\\w+",
  9127. 'value="download2">|name="method_free',
  9128. '<Title>Download </Title>',
  9129. 'optional--',
  9130. 'optional--',
  9131. "//a[contains(@href,'uplod.it')]"
  9132. );
  9133. }
  9134. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9135. {
  9136. addFileHost(
  9137. "abelhas\.pt\/\\w+",
  9138. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9139. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9140. 'optional--',
  9141. 'optional--',
  9142. "//a[contains(@href,'abelhas.pt')]"
  9143. );
  9144. } */
  9145. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9146. {
  9147. addFileHost(
  9148. "disk.yandex\.com\/\\w+",
  9149. 'nb-button _nb-small-button',
  9150. 'error code|Nothing found',
  9151. 'optional--',
  9152. 'optional2--',
  9153. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9154. }
  9155. if (GM_getValue("Check_filespace_dot_com_links", false))
  9156. {
  9157. addFileHost(
  9158. "filespace\.com\/\\w+",
  9159. '"method_free',
  9160. '<div style="text-align:left;"><ul>|>File not found.<',
  9161. 'optional1--',
  9162. 'optional2--',
  9163. "//a[contains(@href,'filespace.com')]");
  9164. }
  9165. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9166. {
  9167. addFileHost(
  9168. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9169. 'name="downloadFile|id="downloadFile|value="Wait',
  9170. '<title>File not found</title>|>Error:<',
  9171. 'optional1--',
  9172. 'optional2--',
  9173. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9174. }
  9175. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9176. {
  9177. addFileHost(
  9178. "ncrypt\.in\/\\w+",
  9179. 'Sicherheitsabfrage:|Securitycheck:',
  9180. 'does not exist|existiert nicht',
  9181. 'optional1--',
  9182. 'optional2--',
  9183. "//a[contains(@href,'ncrypt.in')]");
  9184. }
  9185. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9186. {
  9187. addFileHost(
  9188. "jeodrive\.com\/\\w+",
  9189. 'btn-lg regular',
  9190. 'Not found',
  9191. 'optional1--',
  9192. 'optional2--',
  9193. "//a[contains(@href,'jeodrive.com')]");
  9194. }
  9195. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9196. {
  9197. addFileHost(
  9198. "myfiles\.onl\/\\w+",
  9199. 'value="Free"',
  9200. '<div style="width:500px;text-align:left;">',
  9201. 'optional1--',
  9202. 'optional2--',
  9203. "//a[contains(@href,'myfiles.onl')]");
  9204. }
  9205. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9206. {
  9207. addFileHost(
  9208. "uploadserv\.com\/\\w+",
  9209. 'color="red">http://uploadserv.com/',
  9210. 'content="Download File ">|<title>Download </title>',
  9211. 'optional1--',
  9212. 'optional2--',
  9213. "//a[contains(@href,'uploadserv.com')]");
  9214. }
  9215. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9216. {
  9217. addFileHost(
  9218. "keepshare\.net\/\\w+",
  9219. 'method_free',
  9220. '<div style="width:500px;text-align:left;">',
  9221. 'optional1--',
  9222. 'optional2--',
  9223. "//a[contains(@href,'keepshare.net')]");
  9224. }
  9225. if (GM_getValue("Check_oload_dot_net_links", false))
  9226. {
  9227. addFileHost(
  9228. "oload\.net\/\\w+",
  9229. '<font color="red">http://oload.net',
  9230. 'class="page-ttl">',
  9231. 'optional1--',
  9232. 'optional2--',
  9233. "//a[contains(@href,'oload.net')]");
  9234. }
  9235. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9236. {
  9237. addFileHost(
  9238. "filescdn\.com\/\\w+",
  9239. 'btn_download',
  9240. 'icon-warning text-danger|no longer available',
  9241. 'optional1--',
  9242. 'optional2--',
  9243. "//a[contains(@href,'filescdn.com')]");
  9244. }
  9245. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9246. {
  9247. addFileHost(
  9248. "bankupload\.com\/\\w+",
  9249. 'id="btn_download"|1.0 GB',
  9250. '<div style="width:500px;text-align:left;">',
  9251. 'optional1--',
  9252. ' GB',
  9253. "//a[contains(@href,'bankupload.com')]");
  9254. }
  9255. if (GM_getValue("Check_katfile_dot_com_links", false))
  9256. {
  9257. addFileHost(
  9258. "katfile\.com\/\\w+",
  9259. 'KB| MB|1.0 GB|id="method_free',
  9260. 'images/file_not_found.png"',
  9261. 'optional1--',
  9262. ' GB',
  9263. "//a[contains(@href,'katfile.com')]");
  9264. }
  9265. if (GM_getValue("Check_filesin_dot_space_links", false))
  9266. {
  9267. addFileHost(
  9268. "filesin\.space\/\\w+",
  9269. 'id="btn_download"',
  9270. 'class="err">',
  9271. 'optional1--',
  9272. 'optional2',
  9273. "//a[contains(@href,'filesin.space')]");
  9274. }
  9275. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9276. {
  9277. addFileHost(
  9278. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9279. 'download.php',
  9280. 'notfound|upload\\-suborov\\.php"',
  9281. 'optional--',
  9282. 'optional2--',
  9283. "//a[contains(@href,'upnito.sk')]"
  9284. );
  9285. }
  9286. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9287. {
  9288. addFileHost(
  9289. "alltu\.eu\/\\w+",
  9290. 'download-timer',
  9291. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9292. 'optional1--',
  9293. 'optional2',
  9294. "//a[contains(@href,'alltu.eu')]");
  9295. }
  9296. if (GM_getValue("Check_novafile_dot_com_links", false))
  9297. {
  9298. addFileHost(
  9299. "novafile\.com\/\\w+",
  9300. 'id="regular-download',
  9301. 'id="file-not-found',
  9302. 'optional1--',
  9303. 'id="premium-only',
  9304. "//a[contains(@href,'novafile.com')]");
  9305. }
  9306. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9307. {
  9308. addFileHost(
  9309. "uploadgig\.com",
  9310. 'id="countdownContainer',
  9311. 'File not found',
  9312. 'optional1--',
  9313. 'Premium Member only',
  9314. "//a[contains(@href,'uploadgig.com')]");
  9315. }
  9316. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9317. {
  9318. addFileHost(
  9319. "mexashare\.com\/\\w+",
  9320. 'method_free',
  9321. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9322. 'optional1--',
  9323. 'optional2',
  9324. "//a[contains(@href,'mexashare.com')]");
  9325. }
  9326. if (GM_getValue("Check_daofile_dot_com_links", false))
  9327. {
  9328. addFileHost(
  9329. "daofile\.com\/\\w+",
  9330. 'class="captcha_code',
  9331. 'style="width:500px;text-align:left;">',
  9332. 'optional1--',
  9333. 'optional2',
  9334. "//a[contains(@href,'daofile.com')]");
  9335. }
  9336. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9337. {
  9338. addFileHost(
  9339. "imagenetz\.de\/\\w+",
  9340. 'id="download',
  9341. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9342. 'optional1--',
  9343. 'optional2',
  9344. "//a[contains(@href,'imagenetz.de')]");
  9345. }
  9346. if (GM_getValue("Check_uloz_dot_to_links", false))
  9347. {
  9348. addFileHost(
  9349. "uloz\.to",
  9350. 'limitedDownloadButton|Stáhnout pomalu',
  9351. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9352. 'optional1--',
  9353. 'optional2',
  9354. "//a[contains(@href,'uloz.to')]");
  9355. }
  9356. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9357. {
  9358. addFileHost(
  9359. "ulozto.net",
  9360. 'limitedDownloadButton|Stáhnout pomalu',
  9361. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9362. 'optional1--',
  9363. 'optional2',
  9364. "//a[contains(@href,'ulozto.net')]");
  9365. }
  9366. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9367. {
  9368. addFileHost(
  9369. "ulozto\.sk",
  9370. 'limitedDownloadButton|Stáhnout pomalu',
  9371. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9372. 'optional1--',
  9373. 'optional2',
  9374. "//a[contains(@href,'ulozto.sk')]");
  9375. }
  9376. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9377. {
  9378. addFileHost(
  9379. "ulozto\.cz",
  9380. 'limitedDownloadButton|Stáhnout pomalu',
  9381. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9382. 'optional1--',
  9383. 'optional2',
  9384. "//a[contains(@href,'ulozto.cz')]");
  9385. }
  9386. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9387. {
  9388. addFileHost(
  9389. "subyshare\.com\/\\w+",
  9390. 'id="method_free',
  9391. 'file was removed|class="err">|1s">404',
  9392. 'optional1--',
  9393. 'optional2',
  9394. "//a[contains(@href,'subyshare.com')]",
  9395. true);
  9396. }
  9397. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9398. {
  9399. addFileHost(
  9400. "fileshareup\.com\/\\w+",
  9401. 'download-timer|btn-free-element|content="Download file',
  9402. 'content="Error"|content="error|heading-1">Error<',
  9403. 'optional1--',
  9404. 'optional2',
  9405. "//a[contains(@href,'fileshareup.com')]");
  9406. }
  9407. if (GM_getValue("Check_mystore_dot_to_links", false))
  9408. {
  9409. addFileHost(
  9410. "mystore\.to\/\\w+",
  9411. 'Download File',
  9412. 'file not found',
  9413. 'optional1--',
  9414. 'optional2',
  9415. "//a[contains(@href,'mystore.to/dl')]");
  9416. }
  9417. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9418. {
  9419. addFileHost(
  9420. "usercloud\.net\/\\w+",
  9421. 'content="download|var seconds = 60|type="password',
  9422. 'content="error|report_file.html">',
  9423. 'optional1--',
  9424. 'optional2',
  9425. "//a[contains(@href,'usercloud.net')]");
  9426. }
  9427. if (GM_getValue("Check_workupload_dot_com_links", false))
  9428. {
  9429. addFileHost(
  9430. "workupload\.com\/\\w+",
  9431. 'content="Download|id="download"',
  9432. 'File not found|img/not-found.jpg|Error message',
  9433. 'optional1--',
  9434. 'optional2',
  9435. "//a[contains(@href,'workupload.com')]");
  9436. }
  9437. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9438. {
  9439. addFileHost(
  9440. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9441. 'class="download">',
  9442. 'class="error center',
  9443. 'optional1--',
  9444. 'optional2',
  9445. "//a[contains(@href,'storageserver.co.uk')]");
  9446. }
  9447. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9448. {
  9449. addFileHost(
  9450. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9451. '"kind": "file"',
  9452. '"error": "not_exists"',
  9453. 'optional1--',
  9454. 'optional2',
  9455. "//a[contains(@href,'cloud.mail.ru')]");
  9456. }
  9457. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9458. {
  9459. addFileHost(
  9460. "bdupload\.info\/\\w+",
  9461. 'class="downloadbtn">|id="downloadbtn"',
  9462. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9463. 'optional1--',
  9464. 'optional2',
  9465. "//a[contains(@href,'bdupload.info')]");
  9466. }
  9467. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9468. {
  9469. addFileHost(
  9470. "wayupload\.com\/\\w+",
  9471. 'class="nopay-btn gray"',
  9472. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9473. 'optional1--',
  9474. 'optional2',
  9475. "//a[contains(@href,'wayupload.com')]");
  9476. }
  9477. if (GM_getValue("Check_exbit_dot_net_links", false))
  9478. {
  9479. addFileHost(
  9480. "exbit\.net\/\\w+",
  9481. 'class="nopay-btn|href="/download/free/',
  9482. 'File not found',
  9483. 'optional1--',
  9484. 'optional2',
  9485. "//a[contains(@href,'exbit.net')]");
  9486. }
  9487. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9488. {
  9489. addFileHost(
  9490. "uploadocean\.com\/\\w+",
  9491. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9492. 'deleted.png"',
  9493. 'optional1--',
  9494. 'optional2',
  9495. "//a[contains(@href,'uploadocean.com')]");
  9496. }
  9497. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9498. {
  9499. addFileHost(
  9500. "fileflares\.com\/\\w+",
  9501. 'id="downloadbtn"',
  9502. '<div style="width:500px;text-align:left;">',
  9503. 'optional1--',
  9504. 'optional2',
  9505. "//a[contains(@href,'fileflares.com')]");
  9506. }
  9507. if (GM_getValue("Check_erafile_dot_com_links", false))
  9508. {
  9509. addFileHost(
  9510. "erafile\.com\/\\w+",
  9511. 'id="method_free',
  9512. '<div style="width:500px;text-align:left;">',
  9513. 'optional1--',
  9514. 'optional2',
  9515. "//a[contains(@href,'erafile.com')]");
  9516. }
  9517. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9518. {
  9519. addFileHost(
  9520. "suprafiles\.net\/\\w+",
  9521. 'name="method_free"',
  9522. 'File Not Found|style="width:1000px; text-align: left;">',
  9523. 'optional1--',
  9524. 'optional2',
  9525. "//a[contains(@href,'suprafiles.net')]");
  9526. }
  9527. if (GM_getValue("Check_suprafiles_dot_co_links", false))
  9528. {
  9529. addFileHost(
  9530. "suprafiles\.co\/\\w+",
  9531. 'name="method_free"',
  9532. 'File Not Found|style="width:1000px; text-align: left;">',
  9533. 'optional1--',
  9534. 'optional2',
  9535. "//a[contains(@href,'suprafiles.co')]");
  9536. }
  9537. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9538. {
  9539. addFileHost(
  9540. "upfiles\.net\/\\w+",
  9541. 'id="recaptcha2"|snail.png"',
  9542. 'Ten plik został usunięty.|style="margin-top:50px',
  9543. 'optional1--',
  9544. 'optional2',
  9545. "//a[contains(@href,'upfiles.net/f/')]");
  9546. }
  9547. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9548. {
  9549. addFileHost(
  9550. "dailyfiles\.net\/\\w+",
  9551. 'onclick="dwn',
  9552. '<title>Error',
  9553. 'optional1--',
  9554. 'optional2',
  9555. "//a[contains(@href,'dailyfiles.net')]");
  9556. }
  9557. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9558. {
  9559. addFileHost(
  9560. "littlebyte\.net\/\\w+",
  9561. '>Free download<|>Скачать медленно<',
  9562. 'images/dmca.png">',
  9563. 'optional1--',
  9564. 'optional2',
  9565. "//a[contains(@href,'littlebyte.net')]");
  9566. }
  9567. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9568. {
  9569. addFileHost(
  9570. "black\\-label\\.pro\/\\w+",
  9571. 'slow_download_button.png"|td><td title="',
  9572. 'STILL NEED CODE FOR DEAD LINKS',
  9573. 'optional1--',
  9574. 'optional2',
  9575. "//a[contains(@href,'black-label.pro')]");
  9576. } */
  9577. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9578. {
  9579. addFileHost(
  9580. "temp\\-share\\.com\/\\w+",
  9581. 'publickey',
  9582. 'STILL NEED CODE FOR DEAD LINKS',
  9583. 'optional1--',
  9584. 'optional2',
  9585. "//a[contains(@href,'temp-share.com')]");
  9586. }
  9587. if (GM_getValue("Check_filesha_dot_com_links", false))
  9588. {
  9589. addFileHost(
  9590. "filesha\.com\/\\w+",
  9591. '>Download Free<',
  9592. 'STILL NEED CODE FOR DEAD LINKS',
  9593. 'optional1--',
  9594. 'optional2',
  9595. "//a[contains(@href,'filesha.com')]");
  9596. }
  9597. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9598. {
  9599. addFileHost(
  9600. "ausfile\.com\/\\w+",
  9601. 'class="slow-download',
  9602. 'File Not Found',
  9603. 'optional1--',
  9604. 'optional2',
  9605. "//a[contains(@href,'ausfile.com')]");
  9606. }
  9607. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9608. {
  9609. addFileHost(
  9610. "upfile\.mobi\/\\w+",
  9611. 'class="download_button"',
  9612. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9613. 'optional1--',
  9614. 'optional2',
  9615. "//a[contains(@href,'upfile.mobi')]");
  9616. }
  9617. if (GM_getValue("Check_share_dot_az_links", false))
  9618. {
  9619. addFileHost(
  9620. "share\.az\/\\w+",
  9621. 'id="btn_download"',
  9622. 'File Not Found|We are sorry',
  9623. 'optional1--',
  9624. 'optional2',
  9625. "//a[contains(@href,'share.az')]");
  9626. }
  9627. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9628. {
  9629. addFileHost(
  9630. "partage-facile\.com",
  9631. 'class="title"><strong>',
  9632. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9633. 'optional--',
  9634. 'optional2--',
  9635. "//a[contains(@href,'partage-facile.com')]");
  9636. }
  9637. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9638. {
  9639. addFileHost(
  9640. "uploadify\.net\/\\w+",
  9641. 'loading_small.gif"',
  9642. '<title>Error -',
  9643. 'optional1--',
  9644. 'optional2',
  9645. "//a[contains(@href,'uploadify.net')]");
  9646. }
  9647. if (GM_getValue("Check_uploads_dot_to_links", false))
  9648. {
  9649. addFileHost(
  9650. "uploads\.to\/\\w+",
  9651. 'class="g-recaptcha',
  9652. 'File Not Found|FILE NOT FOUND<',
  9653. 'optional1--',
  9654. 'optional2',
  9655. "//a[contains(@href,'uploads.to')]");
  9656. }
  9657. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9658. {
  9659. addFileHost(
  9660. "crazyshare\.cc\/\\w+",
  9661. 'slow_download_button.png',
  9662. 'File Not Found',
  9663. 'optional1--',
  9664. 'optional2',
  9665. "//a[contains(@href,'crazyshare.cc')]");
  9666. }
  9667. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9668. {
  9669. addFileHost(
  9670. "fileshark\.pl\/\\w+",
  9671. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9672. 'Nie znaleziono pliku w serwisie.',
  9673. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9674. 'optional2',
  9675. "//a[contains(@href,'fileshark.pl')]");
  9676. }
  9677. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9678. {
  9679. addFileHost(
  9680. "pobierz\.to\/\\w+",
  9681. 'class="download-timer',
  9682. 'Plik został usunięty.',
  9683. 'optional1--',
  9684. 'optional2',
  9685. "//a[contains(@href,'pobierz.to')]");
  9686. }
  9687. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9688. {
  9689. addFileHost(
  9690. "kingfile\.pl\/\\w+",
  9691. 'id="downloadBox',
  9692. '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',
  9693. 'optional1--',
  9694. 'optional2',
  9695. "//a[contains(@href,'kingfile.pl')]");
  9696. }
  9697. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9698. {
  9699. addFileHost(
  9700. "hotlink\.cc\/",
  9701. 'id="downloadbtn">|class="free"|id="counttext1"',
  9702. 'Error 404|Page not found',
  9703. 'optional1--',
  9704. 'optional2',
  9705. "//a[contains(@href,'hotlink.cc')]");
  9706. }
  9707. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9708. {
  9709. addFileHost(
  9710. "owndrives\.com\/\\w+",
  9711. 'id="method_free"',
  9712. 'File Not Found',
  9713. 'optional1--',
  9714. 'optional2',
  9715. "//a[contains(@href,'owndrives.com')]");
  9716. }
  9717. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9718. {
  9719. addFileHost(
  9720. "avatarshare\.com\/\\w+",
  9721. 'name="method_free"',
  9722. 'File Not Found',
  9723. 'optional1--',
  9724. 'optional2',
  9725. "//a[contains(@href,'avatarshare.com')]");
  9726. }
  9727. if (GM_getValue("Check_up_dash_4ever_dot_com_links", false))
  9728. {
  9729. addFileHost(
  9730. "up-4ever\.com\/\\w+",
  9731. 'name="method_free"',
  9732. 'File Not Found',
  9733. 'optional1--',
  9734. 'optional2',
  9735. "//a[contains(@href,'up-4ever.com')]");
  9736. }
  9737. if (GM_getValue("Check_zapfile_dot_net_links", false))
  9738. {
  9739. addFileHost(
  9740. "zapfile\.net\/\\w+",
  9741. 'name="method_free"',
  9742. 'File Not Found',
  9743. 'optional1--',
  9744. 'optional2',
  9745. "//a[contains(@href,'zapfile.net')]");
  9746. }
  9747. }
  9748. //start here
  9749.  
  9750. //hosts with direct download, so they must be requested for headers only
  9751. function initFileHostsHeadersOnly()
  9752. {
  9753. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9754. {
  9755. var host = new Array(5);
  9756. host[0] = linkRegex;
  9757. host[1] = isAliveRegex;
  9758. host[2] = isDeadRegex;
  9759. host[4] = ispremRegex;
  9760. host[3] = xpathEx;
  9761. http_file_hosts_headers_only.push(host);
  9762. }
  9763. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9764. {
  9765. addFileHostHeadersOnly(
  9766. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9767. 'Connection: Keep-Alive',
  9768. 'Content-Length: 3857',
  9769. 'optional2',
  9770. "//a[contains(@href,'uloziste.com')]"
  9771. )
  9772. }
  9773. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9774. {
  9775. addFileHostHeadersOnly(
  9776. "filescdn\.com\/\\w+",
  9777. 'Connection: keep-alive',
  9778. 'Company</Title>',
  9779. 'optional2',
  9780. "//a[contains(@href,'filescdn.com')]"
  9781. )
  9782. } */
  9783. if (GM_getValue("Check_adrive_dot_com_links", false))
  9784. {
  9785. addFileHostHeadersOnly(
  9786. "adrive\\.com\/public\/\\w+",
  9787. 'Connection: keep-alive',
  9788. 'orig_ref=deleted',
  9789. 'optional2',
  9790. "//a[contains(@href,'adrive.com')]"
  9791. )
  9792. }
  9793. }
  9794.  
  9795. //CustomRules
  9796. //functions add...Host copied here
  9797. function addObsoleteHost(linkRegex, xpathEx)
  9798. {
  9799. var host = new Array(2);
  9800. host[0] = linkRegex;
  9801. host[1] = xpathEx;
  9802. http_file_hosts_obsolete.push(host);
  9803. }
  9804. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9805. {
  9806. var host = new Array(7);
  9807. host[0] = linkRegex;
  9808. host[1] = isAliveRegex;
  9809. host[2] = isDeadRegex;
  9810. host[3] = isUnavaRegex;
  9811. host[4] = xpathEx;
  9812. tryLoop ? host[5] = true : host[5] = false;
  9813. host[6] = ispremRegex;
  9814. http_file_hosts.push(host);
  9815. }
  9816. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9817. {
  9818. var host = new Array(5);
  9819. host[0] = linkRegex;
  9820. host[1] = isAliveRegex;
  9821. host[2] = isDeadRegex;
  9822. host[3] = xpathEx;
  9823. host[4] = ispremRegex;
  9824. http_file_hosts_headers_only.push(host);
  9825. }
  9826. //takes a fully built rules array and adds the rules to WARLC
  9827. function applyCustomRules(customRules)
  9828. {
  9829. if (!customRules) return;
  9830. var rules, r, i;
  9831. rules = customRules.rules;
  9832. for (i = 0 ; i < rules.length ; i++)
  9833. {
  9834. r = rules[i];
  9835. if (r.enabled)
  9836. {
  9837. switch (r.type)
  9838. {
  9839. case 'single':
  9840. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9841. break;
  9842. case 'headers':
  9843. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9844. break;
  9845. case 'obsolete':
  9846. addObsoleteHost(r.urlregex, r.xpath)
  9847. break;
  9848. }
  9849. }
  9850. }
  9851. }
  9852.  
  9853.  
  9854. function initFileHostsCustom()
  9855. {
  9856. if (Custom_rules && Custom_rules_text)
  9857. {
  9858. var msg = '';
  9859. if (newVersion)
  9860. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9861. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9862. msg = '60 or more days have passed since this notification.\n\n';
  9863. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9864. {
  9865. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9866. msg +=
  9867. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9868. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9869. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9870. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9871. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9872. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9873. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9874. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9875. setTimeout(function(){alert(msg)},0);
  9876. }
  9877. var customRules = parseCustomRules(Custom_rules_text);
  9878. if (customRules.warning || customRules.error)
  9879. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9880. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9881. JSON.stringify(customRules.info, null, ' '));
  9882. applyCustomRules(customRules);
  9883. }
  9884. }
  9885. //end of CustomRules processing
  9886.  
  9887.  
  9888.  
  9889. } //end of function start
  9890.  
  9891.  
  9892.  
  9893. function initClipBoardTools()
  9894. {
  9895. unsafeWindow.copyToClipboard = function(text)
  9896. {
  9897. try
  9898. {
  9899. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9900.  
  9901. var str = Components.classes["@mozilla.org/supports-string;1"].
  9902. createInstance(Components.interfaces.nsISupportsString);
  9903. if (!str) return false;
  9904.  
  9905. str.data = text;
  9906.  
  9907. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9908. createInstance(Components.interfaces.nsITransferable);
  9909. if (!trans) return false;
  9910.  
  9911. trans.addDataFlavor("text/unicode");
  9912. trans.setTransferData("text/unicode", str, text.length * 2);
  9913.  
  9914. var clipid = Components.interfaces.nsIClipboard;
  9915. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9916. if (!clip) return false;
  9917.  
  9918. clip.setData(trans, null, clipid.kGlobalClipboard);
  9919. } catch (e) {
  9920. GM_log("Error copyToClipboard : " + e);
  9921. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9922. }
  9923. }
  9924. }
  9925.  
  9926.  
  9927.  
  9928. //CustomRules
  9929.  
  9930. function escapeRegex(str)
  9931. {
  9932. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9933. }
  9934.  
  9935.  
  9936. //called internally from parseCustomRules.
  9937. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9938. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9939. function makeCustomRule(rule)
  9940. {
  9941. function makeMatchRegex(arrmatch)
  9942. {
  9943. return escapeRegex(arrmatch.join('\n'))
  9944. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9945. .replace(/\n/g,'|'); //join together
  9946. }
  9947. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9948. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9949. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9950. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9951. if (rule.baseurl)
  9952. {
  9953. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9954. for (i = 0 ; i < len ; i++)
  9955. {
  9956. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9957. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9958. {
  9959. 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'])
  9960. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9961. }
  9962. else //baseurl in the form: example.com/xxx
  9963. {
  9964. xpath.push(m[0]);
  9965. urlregex.push(escapeRegex(m[0]) + '.');
  9966. }
  9967. }
  9968. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9969. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9970. }
  9971. return rule;
  9972. } //function makeCustomRule
  9973.  
  9974.  
  9975. /*
  9976. Takes a string containing custom link checking rules.
  9977. Returns an object with fields:
  9978. info - contains notes, warnings and errors found during parsing
  9979. rules - the array of custom rules
  9980. note, warning, error - number of each of them found during parsing
  9981. Format of the input string:
  9982. One command per line. Command format: @keyword parameter
  9983. Keywords:
  9984. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9985. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9986. These keywords can be multiple (any of them will work):
  9987. @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...)
  9988. @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+
  9989. @alivelink, @deadlink - example links
  9990. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9991. Lines starting with // and empty lines are ignored.
  9992. Invalid parameters generate errors and those lines are skipped.
  9993. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9994. Example:
  9995. @customrule filehost
  9996. @baseurl filehost.com/download/
  9997. @baseurl filehost2. com net /d?=
  9998. @alivematch id="download">
  9999. @deadmatch File not found
  10000. @deadmatch File deleted
  10001. */
  10002. function parseCustomRules(rulesStr)
  10003. {
  10004. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  10005. function addInfo(type, msg, ln){
  10006. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  10007. customRules[type]++;
  10008. }
  10009. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  10010. if (!lines) return null;
  10011. lines.push('@#customrule _'); //to save the last rule
  10012. var m, linecount = lines.length;
  10013. var keyword, param, constr, rule, err;
  10014. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  10015. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  10016. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  10017. var constraints = {
  10018. 'baseurl': {
  10019. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10020. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10021. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  10022. 'alivematch': {
  10023. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10024. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10025. 'deadmatch': {
  10026. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10027. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10028. 'unavamatch': {
  10029. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  10030. 'alivelink': {
  10031. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10032. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10033. 'deadlink': {
  10034. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10035. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10036. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10037. };
  10038. for (linenum = 0 ; linenum < linecount ; linenum++)
  10039. {
  10040. //capturing groups: 1 23 4 5 6
  10041. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10042. if (m)
  10043. {
  10044. if (m[1] || !m[2])
  10045. continue; // ignore empty lines and lines starting with //
  10046. keyword = (m[4] || m[2]).toLowerCase();
  10047. param = m[6];
  10048. if (keyword == 'customrule')
  10049. {
  10050. //save the current rule if all required fields are provided
  10051. if (rule)
  10052. {
  10053. err = false;
  10054. $.each(constraints, function(kw, constraint){
  10055. var l, constr = constraint[rule.type];
  10056. if (constr)
  10057. {
  10058. l = rule[kw] ? rule[kw].length : 0;
  10059. if (l < constr.min || l > constr.max)
  10060. {
  10061. 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);
  10062. err = true;
  10063. }
  10064. }
  10065. });
  10066. if (!err)
  10067. customRules.rules.push(makeCustomRule(rule));
  10068. }
  10069. //start a new rule
  10070. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10071. {
  10072. rule = {
  10073. 'enabled': !m[3],
  10074. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10075. 'name': param
  10076. };
  10077. }
  10078. else
  10079. {
  10080. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10081. rule = null;
  10082. }
  10083. }
  10084. else //good line format, but keyword other than customrule
  10085. {
  10086. if (!rule)
  10087. {
  10088. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10089. continue;
  10090. }
  10091. if (constraints[keyword])
  10092. {
  10093. constr = constraints[keyword][rule.type];
  10094. if (constr)
  10095. {
  10096. if (constr.paramRE && !constr.paramRE.test(param))
  10097. {
  10098. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10099. continue;
  10100. }
  10101. }
  10102. else
  10103. {
  10104. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10105. continue;
  10106. }
  10107. }
  10108. //line OK, save
  10109. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10110. }
  10111. } //if (m)
  10112. else
  10113. addInfo('warning', 'Unknown line format. Line skipped.');
  10114. } //for loop
  10115. return customRules;
  10116. } //function parseCustomRules
  10117.  
  10118.  
  10119. /* ********************UPDATES********************
  10120.  
  10121. June 26, 2017
  10122. Version 1.4.0.2
  10123. fixed filefactory
  10124.  
  10125. June 25, 2017
  10126. Version 1.4.0.1
  10127. added zapfile.net
  10128.  
  10129. June 24, 2017
  10130. Version 1.4.0.0
  10131. added suprafiles.co
  10132.  
  10133. June 24, 2017
  10134. Version 1.3.9.9
  10135. added up-4ever.com
  10136.  
  10137. June 19, 2017
  10138. Version 1.3.9.8
  10139. fixed depfile
  10140.  
  10141. June 16, 2017
  10142. Version 1.3.9.7
  10143. fixed filefactory
  10144.  
  10145. June 06, 2017
  10146. Version 1.3.9.6
  10147. fixed uploads.to
  10148.  
  10149. June 06, 2017
  10150. Version 1.3.9.5
  10151. fixed uploadgig.com
  10152.  
  10153. June 05, 2017
  10154. Version 1.3.9.4
  10155. added clicknupload.org
  10156.  
  10157. May 31, 2017
  10158. Version 1.3.9.3
  10159. fixed tusfiles
  10160.  
  10161. May 25, 2017
  10162. Version 1.3.9.2
  10163. added avatarshare.com
  10164.  
  10165. May 15, 2017
  10166. Version 1.3.9.1
  10167. excluded google.pl
  10168. added code to fileshark.pl
  10169.  
  10170. May 12, 2017
  10171. Version 1.3.9.0
  10172. added owndrives.com
  10173.  
  10174. May 12, 2017
  10175. Version 1.3.8.9
  10176. added hotlink.cc
  10177.  
  10178. May 09, 2017
  10179. Version 1.3.8.8
  10180. added code for kingfile.pl
  10181. added code for catshare.net
  10182.  
  10183. May 08, 2017
  10184. Version 1.3.8.7
  10185. added file-upload.com
  10186.  
  10187. May 04, 2017
  10188. Version 1.3.8.6
  10189. fixed rapidgator
  10190.  
  10191. April 30, 2017
  10192. Version 1.3.8.5
  10193. fixed rapidgator
  10194.  
  10195. April 30, 2017
  10196. Version 1.3.8.4
  10197. added code for kingfile.pl
  10198.  
  10199. April 30, 2017
  10200. Version 1.3.8.3
  10201. changed code for kingfile.pl
  10202.  
  10203. April 29, 2017
  10204. Version 1.3.8.2
  10205. added code to kingfile.pl
  10206.  
  10207. April 29, 2017
  10208. Version 1.3.8.1
  10209. added code to kingfile.pl
  10210.  
  10211. April 28, 2017
  10212. Version 1.3.8.0
  10213. fileshark.pl
  10214. kingfile.pl
  10215. pobierz.to
  10216.  
  10217. April 26, 2017
  10218. Version 1.3.7.9
  10219. fixed 1f.al
  10220.  
  10221. April 16, 2017
  10222. Version 1.3.7.8
  10223. added crazyshare.cc
  10224.  
  10225. April 16, 2017
  10226. Version 1.3.7.7
  10227. fixed uploadgig.com
  10228.  
  10229. April 13, 2017
  10230. Version 1.3.7.6
  10231. added neodrive.co to obsolete hosts
  10232.  
  10233. April 07, 2017
  10234. Version 1.3.7.5
  10235. added french code for rg premium links
  10236.  
  10237. April 05, 2017
  10238. Version 1.3.7.4
  10239. added oload.tv
  10240.  
  10241. March 30, 2017
  10242. Version 1.3.7.3
  10243. added uploads.to
  10244.  
  10245. March 20, 2017
  10246. Version 1.3.7.2
  10247. added black-label.pro to obsolete hosts
  10248.  
  10249. March 13, 2017
  10250. Version 1.3.7.1
  10251. fixed filescdn.com
  10252.  
  10253. February 27, 2017
  10254. Version 1.3.7.0
  10255. fixed openload.co
  10256.  
  10257. February 26, 2017
  10258. Version 1.3.6.9
  10259. fixed drive.google.com
  10260. fixed uptobox.com (by dodoxp)
  10261.  
  10262. February 25, 2017
  10263. Version 1.3.6.8
  10264. added uploading.com to obsolete hosts
  10265.  
  10266. February 24, 2017
  10267. Version 1.3.6.7
  10268. cloudzilla.to added to obsolete hosts
  10269.  
  10270. February 23, 2017
  10271. Version 1.3.6.6
  10272. uploadify.net
  10273.  
  10274. February 22, 2017
  10275. Version 1.3.6.5
  10276. fixed katfile.com
  10277.  
  10278. February 12, 2017
  10279. Version 1.3.6.3
  10280. added junocloud.me to obsolete hosts
  10281.  
  10282. January 12, 2017
  10283. Version 1.3.6.2
  10284. added share.az & upfile.mobi
  10285.  
  10286. January 07, 2017
  10287. Version 1.3.6.1
  10288. added ausfile.com
  10289.  
  10290. January 05, 2017
  10291. Version 1.3.6.0
  10292. removed uploadable.ch from obsolete hosts
  10293.  
  10294. January 04, 2017e
  10295.  
  10296. December 31, 2016
  10297. Version 1.3.5.8
  10298. disabled on pizzaonline.dominos
  10299.  
  10300. December 31, 2016
  10301. Version 1.3.5.7
  10302. added uploadable.ch to obsolete hosts
  10303.  
  10304. December 30, 2016
  10305. Version 1.3.5.6
  10306. restored kingfiles.net
  10307.  
  10308. December 14, 2016
  10309. Version 1.3.5.5
  10310. fixed some 1fichier links not checking (yurii)
  10311.  
  10312. December 01, 2016
  10313. Version 1.3.5.4
  10314. added temp-share.com & filesha.com
  10315.  
  10316. November 30, 2016
  10317. Version 1.3.5.3
  10318. fixed mexashare.com not detecting some dead links
  10319.  
  10320. November 29, 2016
  10321. Version 1.3.5.2
  10322. added black-label.pro (live links only)
  10323.  
  10324. November 27, 2016
  10325. Version 1.3.5.1
  10326. made changes to filefactory
  10327.  
  10328. November 23, 2016
  10329. Version 1.3.5.0
  10330. added megashares.com to obsolete hosts
  10331. fixed letitbit not showing as obsolete
  10332. added littlebyte.net
  10333.  
  10334. November 22, 2016
  10335. Version 1.3.4.9
  10336. added code for live links to rapidgator
  10337. added dailyfiles.net
  10338. added upfiles.net
  10339. added multiup.eu
  10340.  
  10341. November 17, 2016
  10342. Version 1.3.4.8
  10343. fixed filefactory, again
  10344.  
  10345. November 17, 2016
  10346. Version 1.3.4.7
  10347. fixed filefactory folders
  10348.  
  10349. November 15, 2016
  10350. Version 1.3.4.6
  10351. fixed filefactory
  10352.  
  10353. November 14, 2016
  10354. Version 1.3.4.5
  10355. fixed rapidgator
  10356. fixed filefactory folders
  10357.  
  10358.  
  10359. November 13, 2016
  10360. Version 1.3.4.4
  10361. fixed problem with drive.google.com
  10362. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10363.  
  10364. November 06, 2016
  10365. Version 1.3.4.3
  10366. added to obsolete hosts (by love buzz)
  10367. 4up.me
  10368. a nonfiles.com
  10369. axifile.com
  10370. creafile.net
  10371. demo.ovh.eu
  10372. filesin.com
  10373. file swap.com
  10374. gulfup.com
  10375. hexupload.com
  10376. hugefiles.net
  10377. jumbofiles.com
  10378. kingfiles.net
  10379. letitbit.net
  10380. lolabits.es
  10381. nowdownload.ch
  10382. openfile.ru
  10383. radicalshare.com
  10384. remixshare.com
  10385. storefiles.co
  10386. toutbox.fr
  10387. uploadbaz.com
  10388. uploadingit.com
  10389. verzend.be
  10390. vidplay.net
  10391. vidxden.com
  10392. xfileload.com
  10393.  
  10394. November 04, 2016
  10395. Version 1.3.4.2
  10396. added french code for rapidgator premium links
  10397. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10398.  
  10399. November 03, 2016
  10400. Version 1.3.4.1
  10401. added Portuguese code for rapidgator premium links
  10402. added suprafiles.net
  10403.  
  10404. November 02, 2016
  10405. Version 1.3.4.0
  10406. fixed depositfiles not detecting depositfiles.com/de links
  10407.  
  10408. October 27, 2016
  10409. Version 1.3.3.9
  10410. fixed uploaded.net not detecting some dead links
  10411.  
  10412. October 24, 2016
  10413. Version 1.3.3.8
  10414. added more french code for upload.af dead links
  10415.  
  10416. October 23, 2016
  10417. Version 1.3.3.7
  10418. added french for upload.af dead links
  10419.  
  10420. October 17, 2016
  10421. Version 1.3.3.6
  10422. fixed error (by Yurii)
  10423.  
  10424. October 17, 2016
  10425. Version 1.3.3.5
  10426. fixed file.al (by Yurii)
  10427.  
  10428. October 16, 2016
  10429. Version 1.3.3.4
  10430. test
  10431.  
  10432. October 11, 2016
  10433. Version 1.3.3.3
  10434. fixed subyshare.com not detecting some dead links
  10435. fixed mexashare.com
  10436. fixed pornfile.cz
  10437.  
  10438. October 10, 2016
  10439. Version 1.3.3.2
  10440. added fileflares.com
  10441. added erafile.com
  10442. added loop to subyshare.com & rockfile.eu
  10443.  
  10444. September 26, 2016
  10445. Version 1.3.3.1
  10446. added uploadocean.com
  10447.  
  10448. September 25, 2016
  10449. Version 1.3.3.0
  10450. added exbit.net
  10451.  
  10452. September 25, 2016
  10453. Version 1.3.2.9
  10454. fixed uptobox
  10455. fixed google (by kubbbie)
  10456.  
  10457. September 23, 2016
  10458. Version 1.3.2.8
  10459. added danish to rapidgator
  10460.  
  10461. September 22, 2016
  10462. Version 1.3.2.7
  10463. added wayupload.com
  10464.  
  10465. September 18, 2016
  10466. Version 1.3.2.6
  10467. added Portuguese language to rapidgator
  10468.  
  10469. September 15, 2016
  10470. Version 1.3.2.5
  10471. added languages to rapidgator
  10472. french
  10473. german
  10474. spanish
  10475. Italian
  10476. russian
  10477. polish
  10478. dutch
  10479. czech
  10480. chinese
  10481. japanese
  10482.  
  10483. September 14, 2016
  10484. Version 1.3.2.4
  10485. fixed spaceforfiles.com
  10486.  
  10487. September 09, 2016
  10488. Version 1.3.2.3
  10489. added bdupload.info
  10490. added german & deutsch language to workupload.com
  10491.  
  10492. September 08, 2016
  10493. Version 1.3.2.2
  10494. added...
  10495. storageserver.co.uk
  10496. cloud.mail.ru
  10497. fixed depositfiles
  10498.  
  10499. September 08, 2016
  10500. Version 1.3.2.1
  10501. added workupload.com
  10502.  
  10503. September 04, 2016
  10504. Version 1.3.2.0
  10505. made changes to euroshare.eu
  10506.  
  10507. September 03, 2016
  10508. Version 1.3.1.9
  10509. added usercloud.net
  10510. made changes to euroshare.eu
  10511.  
  10512. August 31, 2016
  10513. Version 1.3.1.8
  10514. fixed uptobox.com
  10515.  
  10516. August 30, 2016
  10517. Version 1.3.1.7
  10518. made changes to euroshare.eu
  10519.  
  10520. August 29, 2016
  10521. Version 1.3.1.6
  10522. made changes to data.hu
  10523.  
  10524. August 29, 2016
  10525. Version 1.3.1.5
  10526. fixed euroshare.eu not detecting dead links
  10527.  
  10528. August 23, 2016
  10529. Version 1.3.1.4
  10530. added ulozto.sk
  10531. added ulozto.cz
  10532.  
  10533. August 19, 2016
  10534. Version 1.3.1.3
  10535. fixed euroshare.eu
  10536. fixed 2share.com
  10537.  
  10538. August 17, 2016
  10539. Version 1.3.1.2
  10540. added french code for 1fichier
  10541.  
  10542. August 16, 2016
  10543. Version 1.3.1.1
  10544. fix for 1fichier folder links, by yurii
  10545.  
  10546. August 15, 2016
  10547. Version 1.3.1.0
  10548. another fix for 1fichier
  10549. added mystore.to
  10550.  
  10551. August 12, 2016
  10552. Version 1.3.0.9
  10553. fixed 1fichier
  10554.  
  10555. August 01, 2016
  10556. Version 1.3.0.8
  10557. fixed tezfiles.com not detecting some premium links
  10558.  
  10559. July 24, 2016
  10560. Version 1.3.0.7
  10561. added fileshareup.com
  10562.  
  10563. July 17, 2016
  10564. Version 1.3.0.6
  10565. added subyshare.com
  10566.  
  10567. july 10, 2016
  10568. Version 1.3.0.5
  10569. fixed ulozto.net
  10570.  
  10571. july 07, 2016
  10572. Version 1.3.0.4
  10573. fixed uloz.to
  10574.  
  10575. july 07, 2016
  10576. Version 1.3.0.3
  10577. added imagenetz.de
  10578.  
  10579. June 23, 2016
  10580. Version 1.3.0.2
  10581. excluded nexcess.net
  10582.  
  10583. June 20, 2016
  10584. Version 1.3.0.1
  10585. added daofile.com
  10586.  
  10587. June 16, 2016
  10588. Version 1.3.0.0
  10589. added mexashare.com
  10590.  
  10591. June 16, 2016
  10592. Version 1.2.9.9
  10593. added novafile.com
  10594. added uploadgig.com
  10595.  
  10596. June 15, 2016
  10597. Version 1.2.9.8
  10598. fixed upload.af
  10599.  
  10600. June 10, 2016
  10601. Version 1.2.9.7
  10602. added alltu.eu
  10603.  
  10604. June 09, 2016
  10605. Version 1.2.9.6
  10606. added code for french language to rapidgator.net & rg.to
  10607.  
  10608. June 04, 2016
  10609. Version 1.2.9.5
  10610. added upnito.sk
  10611.  
  10612. May 31, 2016
  10613. Version 1.2.9.4
  10614. fixed mega.co (by yurii)
  10615.  
  10616. May 31, 2016
  10617. Version 1.2.9.3
  10618. code cleanup
  10619.  
  10620. May 27, 2016
  10621. Version 1.2.9.2
  10622. added filesin.space
  10623.  
  10624. May 27, 2016
  10625. Version 1.2.9.1
  10626. added
  10627. filescdn.com
  10628. bankupload.com
  10629. katfile.com
  10630.  
  10631. May 18, 2016
  10632. Version 1.2.9.0
  10633. added warped.co to obsolete hosts
  10634.  
  10635. May 17, 2016
  10636. Version 1.2.8.9
  10637. fixed mega.nz
  10638.  
  10639. May 16, 2016
  10640. Version 1.2.8.8
  10641. added to obsolete hosts
  10642. fileband.com
  10643. filecloud.cc
  10644. filesmelt.com
  10645. goldbytez.com
  10646. hulkshare.com
  10647. idup.in
  10648. loudupload.net
  10649. muchshare.net
  10650. myupload.dk
  10651. nekaka.com
  10652. netkups.com
  10653. plunder.com
  10654. uploads.xxx
  10655. uploadspace.pl
  10656. xkeepfile.com
  10657.  
  10658. May 16, 2016
  10659. Version 1.2.8.7
  10660. added upnito.sk to obsolete hosts
  10661.  
  10662. May 15, 2016
  10663. Version 1.2.8.6
  10664. fixed uploading.site
  10665.  
  10666. May 15, 2016
  10667. Version 1.2.8.5
  10668. added oload.net
  10669.  
  10670. May 14, 2016
  10671. Version 1.2.8.4
  10672. added uploading.site
  10673.  
  10674. May 13, 2016
  10675. Version 1.2.8.3
  10676. added uploadc.ch
  10677. fixed vidspot.net
  10678.  
  10679. May 13, 2016
  10680. Version 1.2.8.2
  10681. added keepshare.net
  10682.  
  10683. May 11, 2016
  10684. Version 1.2.8.1
  10685. added uploadserv.com
  10686.  
  10687. May 09, 2016
  10688. Version 1.2.8.0
  10689. fixed upstore.net & upsto.re
  10690. added 24uploading.com to obsolete hosts
  10691.  
  10692. May 06, 2016
  10693. Version 1.2.7.9
  10694. added storagon.com to obsolete hosts
  10695. fixed worldbytez.com
  10696.  
  10697. May 02, 2016
  10698. Version 1.2.7.8
  10699. added myfiles.onl
  10700.  
  10701. april 28, 2016
  10702. Version 1.2.7.7
  10703. fixed bytewhale.com
  10704.  
  10705. april 27, 2016
  10706. Version 1.2.7.6
  10707. fixed rapidgator not detecting some premium links.
  10708.  
  10709. april 27, 2016
  10710. Version 1.2.7.5
  10711. added jeodrive.com
  10712.  
  10713. april 26, 2016
  10714. Version 1.2.7.4
  10715. added sanshare.com to obsolete hosts
  10716.  
  10717. april 26, 2016
  10718. Version 1.2.7.3
  10719. fixed vidspot.net
  10720.  
  10721. april 26, 2016
  10722. Version 1.2.7.2
  10723. added upx.nz
  10724.  
  10725. april 25, 2016
  10726. Version 1.2.7.1
  10727. added rapidfilehost.com to obsolete hosts
  10728. fixed bitster.cz
  10729.  
  10730. april 12, 2016
  10731. Version 1.2.7.0
  10732. fixed rapidgator not detecting some premium links.
  10733.  
  10734. april 11, 2016
  10735. Version 1.2.6.9
  10736. changed code for ncrypt.in
  10737.  
  10738. april 07, 2016
  10739. Version 1.2.6.8
  10740. added fileinz.com to obsolete hosts.
  10741.  
  10742. april 06, 2016
  10743. Version 1.2.6.7
  10744. added sharingmaster.com to obsolete hosts.
  10745.  
  10746. april 05, 2016
  10747. Version 1.2.6.6
  10748. added 4upfiles.com & elffiles.com to obsolete hosts
  10749.  
  10750. april 03, 2016
  10751. Version 1.2.6.5
  10752. updates to configuration page
  10753.  
  10754. March 31, 2016
  10755. Version 1.2.6.4
  10756. added code for tampermonkey 4.0 compatibility
  10757.  
  10758. March 31, 2016
  10759. Version 1.2.6.3
  10760. fixed uloz.to
  10761. fixed copy dead links to clipboard feature
  10762. added copy live links to clipboard feature.
  10763.  
  10764. March 24, 2016
  10765. Version 1.2.6.2
  10766. changed made to nitroflare. (yurri)
  10767.  
  10768. March 20, 2016
  10769. Version 1.2.6.1
  10770. fixed rapidgator
  10771. fixed dfiles
  10772. fixed dl.free.fr
  10773. fixed nitroflare.com (Fixed by Yurii)
  10774.  
  10775. March 15, 2016
  10776. Version 1.2.6.0
  10777. fixed rapidgator.net
  10778. fixed uploaded.net
  10779.  
  10780. March 13, 2016
  10781. Version 1.2.5.9
  10782. added
  10783. uploads.ws
  10784. upl.me
  10785. clicknupload.link
  10786. added fileover.net to obsolete hosts
  10787. fixed kingfiles.net
  10788.  
  10789. March 09, 2016
  10790. Version 1.2.5.8
  10791. added kingfiles.net to obsolete hosts
  10792. fixed 4upld.com/expressleech.com
  10793.  
  10794. March 08, 2016
  10795. Version 1.2.5.7
  10796. fixed solidfiles.com
  10797.  
  10798. March 01, 2016
  10799. Version 1.2.5.6
  10800. added filespace.com
  10801. fixed depositfiles (by yurii)
  10802.  
  10803. February 29, 2016
  10804. Version 1.2.5.5
  10805. made change to keep2share
  10806.  
  10807. February 28, 2016
  10808. Version 1.2.5.4
  10809. removed down4files.com from obsolete hosts.
  10810.  
  10811. February 26, 2016
  10812. Version 1.2.5.3
  10813. fixed userscloud.com
  10814.  
  10815. February 24, 2016
  10816. Version 1.2.5.2
  10817. added yandex.com
  10818. fixed datafile.com
  10819.  
  10820. February 22, 2016
  10821. Version 1.2.5.1
  10822. added bigfile.to
  10823.  
  10824. February 20, 2016
  10825. Version 1.2.5.0
  10826. added abelhas.pt
  10827.  
  10828. February 18, 2016
  10829. Version 1.2.4.9
  10830. made change to uptobox
  10831.  
  10832. February 17, 2016
  10833. Version 1.2.4.8
  10834. fixed yadi.sk
  10835.  
  10836. February 16, 2016
  10837. Version 1.2.4.7
  10838. fixed datafile.com
  10839. fixed filecad.com
  10840. added filecore.co & filestorm.to to obsolete hosts
  10841. added upload.af, filedwon.in & uplod.it
  10842.  
  10843. February 15, 2016
  10844. Version 1.2.4.6
  10845. fixed kumpulbagi.id
  10846. added sangfile.com to obsolete hosts
  10847.  
  10848. February 14, 2016
  10849. Version 1.2.4.5
  10850. fixed yandex.ru
  10851.  
  10852. February 13, 2016
  10853. Version 1.2.4.4
  10854. added lunaticfiles.com.
  10855.  
  10856. February 09, 2016
  10857. Version 1.2.4.3
  10858. added file.up09.com.
  10859.  
  10860. February 09, 2016
  10861. Version 1.2.4.2
  10862. tezfiles.com premium links now detected.
  10863.  
  10864. February 09, 2016
  10865. Version 1.2.4.1
  10866. added seenupload.com to obsolete hosts
  10867. fixed 180upload.com to show obsolete
  10868.  
  10869. February 08, 2016
  10870. Version 1.2.4.0
  10871. added tusfiles.com
  10872. added filesupload.org
  10873. added gigasize.com
  10874. added filecad.com
  10875. fixed filecloud.io
  10876. added uploadnet.co to obsolete hosts
  10877.  
  10878. February 07,2016
  10879. Vession 1.2.3.9
  10880. fixed depositfiles.com folders
  10881. fixed turbobit.net folders
  10882.  
  10883. February 06, 2016
  10884. Version 1.2.3.8
  10885. fixed 1fichier false dead links
  10886.  
  10887. February 04, 2106
  10888. Version 1.2.3.7
  10889. added geupload and lenfile to obsolete hosts
  10890. fixed kyc.pm/depfile
  10891.  
  10892. February 03, 2016
  10893. Version 1.2.3.6
  10894. fixed some nitroflare.com dead links not being detected
  10895.  
  10896. February 01, 2016
  10897. Version 1.2.3.5
  10898. script moved to new site
  10899.  
  10900. January 20, 2016
  10901. Version 1.2.3.3
  10902. fixed some rapidgator premium link not being detected
  10903.  
  10904. January 17, 2016
  10905. Version 1.2.3.2
  10906. added bytewhale.com
  10907. added rapidrar.com
  10908.  
  10909. Version 1.2.3.1
  10910. added 180upload.com to obsolete hosts
  10911. fixed hellspy.com
  10912. added dinoshare.cz,
  10913.  
  10914. January 13, 2016
  10915. Version 1.2.3.0
  10916. added rapidu.net
  10917. added uploadboy.me
  10918. fixed euroshare.eu
  10919.  
  10920. January 12, 2016
  10921. Version 1.2.2.9
  10922. added kb.simple-aja.info
  10923.  
  10924. January 10, 2016
  10925. Version 1.2.2.8
  10926. made changes to fastshare.cz
  10927.  
  10928. January 10, 2016
  10929. Version 1.2.2.7
  10930. fixed uptobox.com
  10931.  
  10932. January 09, 2016
  10933. Version 1.2.2.6
  10934. datoteke.com now detects premium links
  10935. fixed turbobit.net
  10936. fixed uptobox.com
  10937. added pornfile.cz
  10938. added pornoid.cz
  10939. added file-share.top
  10940. added bitster.cz
  10941.  
  10942. January 05, 2016
  10943. Version 1.2.2.5
  10944. fixed salefiles.com
  10945. fixed ozofile.com
  10946.  
  10947. January 04, 2016
  10948. Version 1.2.2.4
  10949. added sharehost.eu
  10950.  
  10951. December 30, 2015
  10952. Version 1.2.2.3
  10953. added tezfiles.com
  10954.  
  10955. December 28, 2015
  10956. Version 1.2.2.2
  10957. fixed some k2s & fboom dead link not getting detected
  10958. fixed some k2s premium links not getting detected.
  10959. fixed ssh.yt not detecting some dead links
  10960. fixed ncrypt.in dead links showing yellow
  10961.  
  10962. December 20, 2015
  10963. Version 1.2.2.0
  10964. added datoteke.com
  10965.  
  10966. December 19, 2015
  10967. Version 1.2.1.9
  10968. added secured.in & linksave.in to obsolete hosts
  10969.  
  10970. December 17, 2015
  10971. Version 1.2.1.8
  10972. added german for dead links to secureupload.eu.
  10973.  
  10974. December 17, 2015
  10975. Version 1.2.1.7
  10976. added french for dead links to secureupload.eu.
  10977. fixed problem with tooltip display.
  10978.  
  10979. December 13, 2015
  10980. Version 1.2.1.6
  10981. added netload.me & fileparadox.in to obsolete hosts
  10982.  
  10983. December 09, 2015
  10984. Version 1.2.1.5
  10985. added rapidsonic.com & fileparadox.com to obsolete hosts
  10986.  
  10987. December 04, 2015
  10988. Version 1.2.1.4
  10989. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10990.  
  10991. December 03, 2015
  10992. Version 1.2.1.3
  10993. added dailyuploads.net
  10994.  
  10995. December 02, 2015
  10996. Version 1.2.1.2
  10997. fixed hitfile.net
  10998. fixed kingfiles.net
  10999.  
  11000. November 30, 2015
  11001. Version 1.2.1.1
  11002. added filepost.com to obsolete hosts
  11003. added devilshare.net
  11004.  
  11005. November 28, 2015
  11006. Version 1.2.1.0
  11007. fixed datafile.com not detecting some premium links.
  11008.  
  11009. November 25, 2015
  11010. Version 1.2.0.9
  11011. fixed filejoker.net
  11012. fixed toutbox.fr
  11013. fixed nowvideo.sx
  11014.  
  11015. November 24, 2015
  11016. Version 1.2.0.8
  11017. fixed openload.io
  11018.  
  11019. November 20, 2015
  11020. Version 1.2.0.7
  11021. //added file.al
  11022. //fixed nitroflare.com false live links
  11023. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  11024.  
  11025. November 17, 2015
  11026. Version 1.2.0.6
  11027. added clicknupload.me
  11028.  
  11029. November 09, 2015
  11030. Version 1.2.0.5
  11031. fixed some depfile premium links not being detected
  11032.  
  11033. November 08, 2015
  11034. Version 1.2.0.4
  11035. fixed some rapidgator premium links not being detected
  11036. fixed doraupload.com
  11037.  
  11038. November 08, 2015
  11039. Version 1.2.0.3
  11040. fixed uploaded false premium
  11041.  
  11042. November 07, 2015
  11043. Version 1.2.0.2
  11044. fixed redbunker.net
  11045.  
  11046. November 05, 2015
  11047. Version 1.2.0.1
  11048. fixed app.box.com
  11049. added multiup.org (does not detect all dead links)
  11050.  
  11051. November 01, 2015
  11052. Version 1.2.0.0
  11053. added more languages to rockfile and 1fichier
  11054.  
  11055. November 01, 2015
  11056. Version 1.1.9.9
  11057. fixed rockfile.eu
  11058. changed 1fichier code (Thanks yurri)
  11059. added to obsolete hosts... (Thanks Love Buzz)
  11060. burnupload.com
  11061. cramit.in
  11062. cramitin.net
  11063. down4files.com
  11064. edoc.com
  11065. jumbofile.net
  11066. krotix.net
  11067. migahost.com
  11068. movreel.com
  11069. netload.in
  11070. newfileland.com
  11071. quickshare.cz
  11072.  
  11073. October 30, 2015
  11074. Version 1.1.9.8
  11075. added alfafile.net
  11076.  
  11077. October 26, 2015
  11078. Version 1.1.9.7
  11079. changed datafile.com and uplea.com
  11080. added lolabits.es
  11081.  
  11082. October 26, 2015
  11083. Version 1.1.9.6
  11084. added toutbox.fr
  11085.  
  11086. October 25, 2015
  11087. Version 1.1.9.5
  11088. fixed counter error
  11089.  
  11090. October 25, 2015
  11091. Version 1.1.9.4
  11092. changed uptobox.com code
  11093.  
  11094. October 21, 2015
  11095. Version 1.1.9.3
  11096. fixed uptobox.com
  11097.  
  11098. October 20, 2015
  11099. Version 1.1.9.2
  11100. bug fixes and new method of detecting premium links.
  11101.  
  11102. October 15, 2015
  11103. Version 1.1.9.1
  11104. fixed hugefiles.net false premium
  11105. changed uptobox.com code
  11106.  
  11107. October 06, 2015
  11108. Version 1.1.9.0
  11109. fixed filefactory
  11110. fixed rockfile false premium
  11111. keep2share & fileboom now detect premium links (fixed by yurii)
  11112.  
  11113. October 01, 2015
  11114. Version 1.1.8.9
  11115. fixed free.fr false premium
  11116. fixed thevideo.me false premium
  11117.  
  11118. September 28, 2015
  11119. Version 1.1.8.8
  11120. added uplea.com and openload.co
  11121.  
  11122. September 27, 2015
  11123. Version 1.1.8.7
  11124. fixed fileparadox.in false premium
  11125. added kingfiles.net to obsolete hosts
  11126. removed inafile.com from obsolete hosts
  11127.  
  11128. September 22, 2015
  11129. Version 1.1.8.6
  11130. fixed nitroflare false premium
  11131.  
  11132. September 22, 2015
  11133. Version 1.1.8.5
  11134. fixed userscloud.com false premium
  11135. fixed usersfiles.com false premium
  11136. changed arabloads.com to arabloads.net
  11137. changed nowdownloads.eu to nowdownloads.ch
  11138.  
  11139. September 21, 2015
  11140. Version 1.1.8.3
  11141. added ryushare.com to obsolete hosts.
  11142.  
  11143. September 20, 2015
  11144. Version 1.1.8.2
  11145. fixed nitroflare not showing premium links
  11146. added down4files.com,storfiles.co,filehost.pw
  11147.  
  11148. September 16, 2015
  11149. Version 1.1.8.1
  11150. added crisshare.com to obsolete hosts
  11151. fixed filemoney.com false premium
  11152. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11153.  
  11154. September 14, 2015
  11155. Version 1.1.8.0
  11156. added to obsolete hosts...
  11157. sharebeast.com
  11158. tufiles.ru
  11159.  
  11160. September 12, 2015
  11161. Version 1.1.7.9
  11162. fixed rghost.net false premium
  11163. fixed unlimitzone.com false premium
  11164. fixed turbobit.net false live link
  11165.  
  11166. September 11, 2015
  11167. Version 1.1.7.8
  11168. Fixed filefactory.com false premium.
  11169.  
  11170. September 07, 2015
  11171. Version 1.1.7.7
  11172. fixed "depositfiles.com/en/files" links not checking
  11173.  
  11174. September 06, 2015
  11175. Version 1.1.7.6
  11176. added French code for 1fichier
  11177.  
  11178. August 29, 2015
  11179. Version 1.1.7.5
  11180. fixed depositfiles
  11181. fixed mega.co.nz/mega.nz
  11182. (fixed by yurii)
  11183.  
  11184. August 23, 2015
  11185. Version 1.1.7.4
  11186. Fixed uploadrocket (by yurii)
  11187.  
  11188. August 20, 2015
  11189. Version 1.1.7.3
  11190. fixed depfile.com false premium
  11191. fixed 1fichier false premium
  11192. fixed rapidgator false premium
  11193.  
  11194. August 08, 2015
  11195. Version 1.1.7.1
  11196. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11197.  
  11198. August 07, 2015
  11199. Version 1.1.7.0
  11200. fixed...
  11201. streamin.to
  11202. thefile.me
  11203. vidzi.tv
  11204. added...
  11205. filenuke.com
  11206. vidto.me
  11207. vidspot.net
  11208. sharesix.com
  11209. sharesix.net
  11210. movpod.in,
  11211.  
  11212. August 07, 2015
  11213. Version 1.1.6.9 added...
  11214. thefile.me
  11215. vidzi.tv
  11216. videoweed.es
  11217. vodlocker.com
  11218. nowvideo.sx
  11219. cloudtime.to
  11220. thevideo.me
  11221. vidbull.com
  11222. allmyvideos.net
  11223. novamov.com
  11224. filehoot.com
  11225. stagevu.com
  11226. gorillavid.in
  11227. streamin.to
  11228.  
  11229. August 02, 2015
  11230. Version 1.1.6.8
  11231. added cloudshares.net
  11232.  
  11233. August 01, 2015
  11234. Version 1.1.6.7
  11235. fixed depfile redirectors false premium
  11236.  
  11237. July 31, 2015
  11238. Version 1.1.6.6
  11239. fixed depfile.com false premium
  11240. */