W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.0
  34. // ==/UserScript==
  35.  
  36. var War_version = "1.4.0.0 June 24, 2017";
  37.  
  38. //separate alternative domains with "|" char (first name is considered being main)
  39. var allHostNames = [
  40. "1fichier.com|dl4free.com",
  41. "avatarshare.com",
  42. "up-4ever.com",
  43. "owndrives.com",
  44. "hotlink.cc",
  45. "fileshark.pl",
  46. "pobierz.to",
  47. "kingfile.pl",
  48. "oload.tv",
  49. "uploads.to",
  50. "uploadify.net",
  51. "temp-share.com",
  52. "ausfile.com",
  53. "filesha.com",
  54. "upfiles.net",
  55. "dailyfiles.net",
  56. "upfile.mobi",
  57. "share.az",
  58. "crazyshare.cc",
  59. "uploadocean.com",
  60. "drive.google.com",
  61. "suprafiles.net",
  62. "suprafiles.co",
  63. "fileflares.com",
  64. "erafile.com",
  65. "mystore.to",
  66. "littlebyte.net",
  67. "exbit.net",
  68. "bdupload.info",
  69. "workupload.com",
  70. "wayupload.com",
  71. "cloud.mail.ru",
  72. "fileshareup.com",
  73. "usercloud.net",
  74. "daofile.com",
  75. "subyshare.com",
  76. "mexashare.com",
  77. "uploadgig.com",
  78. "upload.af",
  79. "alltu.eu",
  80. "filesin.space",
  81. "imagenetz.de",
  82. "katfile.com",
  83. "bankupload.com",
  84. "keepshare.net",
  85. "filescdn.com",
  86. "myfiles.onl",
  87. "uploadserv.com",
  88. "uploading.site",
  89. "filedwon.info",
  90. "jeodrive.com",
  91. "ncrypt.in",
  92. "yandex.com",
  93. "down4files.com",
  94. 'filespace.com',
  95. "uplod.it",
  96. "rapidu.net",
  97. "uploads.ws|upl.me",
  98. "file.up09.com",
  99. "lunaticfiles.com",
  100. "filecad.com",
  101. "filesupload.org",
  102. "bytewhale.com",
  103. "rapidrar.com",
  104. "download.cz.hellshare.com",
  105. "pornfile.cz",
  106. "dinoshare.cz",
  107. "kb.simple-aja.info",
  108. "bitster.cz",
  109. "file-share.top",
  110. "pornoid.cz",
  111. "dailyuploads.net",
  112. "sharehost.eu",
  113. "tezfiles.com",
  114. "devilshare.net",
  115. "alfafile.net",
  116. "openload.co",
  117. "multiup.org",
  118. "uplea.com",
  119. "filenuke.com",
  120. "file.al|1f.al",
  121. "vidto.me",
  122. "filehost.pw",
  123. "turbobit.ru",
  124. "sharesix.com|sharesix.net",
  125. "movpod.in",
  126. "thefile.me",
  127. "datoteke.com",
  128. "vidzi.tv",
  129. "videoweed.es",
  130. "vodlocker.com",
  131. "nowvideo.sx",
  132. "cloudtime.to",
  133. "thevideo.me",
  134. "vidbull.com",
  135. "novamov.com",
  136. "filehoot.com",
  137. "stagevu.com",
  138. "gorillavid.in",
  139. "streamin.to",
  140. "4upld.com|expressleech.com",
  141. "cloudshares.net",
  142. "swoopshare.com",
  143. "2shared.com",
  144. "fileupload.pw",
  145. "zxcfiles.com",
  146. "up07.net",
  147. "4shared.com",
  148. "adrive.com",
  149. "aisfile.com",
  150. "bezvadata.cz",
  151. "usersfiles.com",
  152. "pan.baidu.com",
  153. "datei.to",
  154. "daten-hoster.de|filehosting.org|xtraupload.de",
  155. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  156. "divshare.com",
  157. "easy-share.com|crocko.com",
  158. "easybytez.com",
  159. "edisk.cz",
  160. "euroshare.eu",
  161. "file-upload.net",
  162. "file-upload.com",
  163. "yadi.sk",
  164. "wizupload.com",
  165. "fastshare.cz",
  166. "filefactory.com",
  167. "share.vnn.vn",
  168. "yunpan.cn",
  169. "tropicshare.com",
  170. "inclouddrive.com",
  171. "fileflyer.com",
  172. "filerio.com|filekeen.com",
  173. "up.4share.vn",
  174. "upfile.vn",
  175. "datafilehost.com",
  176. "worldbytez.com",
  177. "files.mail.ru",
  178. "filesflash.com",
  179. "box.com",
  180. "uptobox.com",
  181. "box.net",
  182. "sdilej.cz",
  183. "ex-load.com",
  184. "filesmonster.com",
  185. "filestore.to",
  186. "hulkload.com",
  187. "filedropper.com",
  188. "free-uploading.com",
  189. "gamefront.com|filefront.com",
  190. "gettyfile.ru",
  191. "gigapeta.com",
  192. "gigasize.com",
  193. "hellshare.com",
  194. "hellspy.com",
  195. "hitfile.net",
  196. "hostuje.net",
  197. "freefilehosting.net",
  198. "free.fr",
  199. "hyperfileshare.com",
  200. "filecloud.io|ifile.it",
  201. "ifolder.ru",
  202. "uploadrocket.net",
  203. "lafiles.com",
  204. "leteckaposta.cz|sharegadget.com",
  205. "load.to",
  206. "mediafire.com",
  207. "megafileupload.com",
  208. "movshare.net",
  209. "narod.ru|narod.yandex.ru",
  210. "fboom.me|fileboom.me",
  211. "partage-facile.com",
  212. "sharerapid.cz",
  213. "exclusiveloader.com",
  214. "acefile.net",
  215. "queenshare.com",
  216. "rapidgator.net",
  217. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  218. "oboom.com",
  219. "filepi.com",
  220. "rarefile.net",
  221. "rayfile.com",
  222. "rghost.net",
  223. "sendmyway.com",
  224. "clicknupload.com",
  225. "clicknupload.me",
  226. "clicknupload.link",
  227. "clicknupload.org",
  228. "uploadable.ch",
  229. "sharemods.com",
  230. "hostr.co",
  231. "sendspace.com",
  232. "sharecash.org",
  233. "share-links.biz",
  234. "share-online.biz|egoshare.com",
  235. "megarapid.cz",
  236. "shareflare.net",
  237. "solidfiles.com",
  238. "led.wf",
  239. "lan.wf",
  240. "adlink.wf",
  241. "click.tf",
  242. "kyc.pm",
  243. "ssh.tf",
  244. "ssh.yt",
  245. "yep.pm",
  246. "stahovanizasms.cz",
  247. "turbobit.net",
  248. "tikfile.com",
  249. "cloudsix.me",
  250. "turboupload.com",
  251. "uloz.to",
  252. "ulozto.net",
  253. "ulozto.sk",
  254. "ulozto.cz",
  255. "ulozisko.sk",
  256. "uloziste.com",
  257. "unibytes.com",
  258. "upload-il.net|przeslij.net",
  259. "uploaded.to|uploaded.net|ul.to",
  260. "chayfile.com",
  261. "rockfile.eu",
  262. "usaupload.net",
  263. "veehd.com",
  264. "videobb.com",
  265. "vip-file.com",
  266. "webshare.cz",
  267. "xdisk.cz",
  268. "yunfile.com|filemarkets.com",
  269. "ziddu.com",
  270. "zippyshare.com",
  271. "rodfile.com",
  272. "wikiupload.com",
  273. "uploadstube.de",
  274. "faststore.org",
  275. "flyfiles.net",
  276. "prefiles.com",
  277. "hackerbox.org",
  278. "amonshare.com",
  279. "data.hu",
  280. "brupload.net",
  281. "kingfiles.net",
  282. "userscloud.com",
  283. "kumpulbagi.com|kumpulbagi.id",
  284. "uppit.com|up.ht|upx.nz",
  285. "downloadani.me",
  286. "filesabc.com",
  287. "extmatrix.com",
  288. "sendfiles.nl",
  289. "yourfilestore.com",
  290. "filebig.net",
  291. "file4safe.com",
  292. "tusfiles.net|tusfiles.com",
  293. "filemac.com",
  294. "ozofiles.com",
  295. "nosupload.com",
  296. "gboxes.com",
  297. "myvdrive.com|fileserving.com",
  298. "novafile.com",
  299. "longfiles.com",
  300. "bitupload.com",
  301. "indowebster.com",
  302. "superload.cz",
  303. "mafiastorage.com",
  304. "hellupload.com",
  305. "stiahni.si",
  306. "sendspace.pl",
  307. "fastshare.org",
  308. "filejoker.net",
  309. "filestore.com.ua",
  310. "rapidfileshare.net",
  311. "stiahnito.sk",
  312. "rusfolder.com",
  313. "catshare.net",
  314. "mixturecloud.com",
  315. "filedais.com",
  316. // "imdb.com",
  317. "nitroflare.com",
  318. "akafile.com",
  319. "up.top4top.net",
  320. "upload.ee",
  321. "shareplace.org",
  322. "uploadc.com",
  323. "uploadc.ch",
  324. "exoshare.com",
  325. "borncash.org",
  326. "2downloadz.com",
  327. "mightyupload.com",
  328. "anysend.com",
  329. "datafile.com",
  330. "upstore.net",
  331. "upsto.re",
  332. "speedy.sh",
  333. "ge.tt",
  334. "filesflash.net",
  335. "salefiles.com",
  336. "datoid.cz",
  337. "cloudstor.es",
  338. "streamfile.com",
  339. "eyesfile.ca",
  340. "filemoney.com",
  341. "uploadboy.com",
  342. "uploadboy.me",
  343. "speedshare.eu",
  344. "google.com|google.be",
  345. "unlimitzone.com",
  346. "rioupload.com",
  347. "rg.to",
  348. "jumbofiles.org",
  349. "fshare.vn",
  350. "spaceforfiles.com",
  351. "up.media1fire.com",
  352. "depfile.com",
  353. "go4up.com",
  354. "dropbox.com",
  355. "redbunker.net",
  356. "divxpress.com",
  357. "mega.nz|mega.co.nz",
  358. "storageserver.co.uk",
  359. "anafile.com",
  360. "bigfile.to",
  361. "arabloads.net",
  362. "sharerepo.com",
  363. "sfshare.se",
  364. "files.fm",
  365. "koofile.com",
  366. "doraupload.com",
  367. "openload.io",
  368. "upnito.sk",
  369. "oload.net",
  370. ];
  371.  
  372. try
  373. {
  374. //iframes excluded
  375. if (window.top != window.self)
  376. {
  377. return;
  378. }
  379. //allHostNames sites excluded
  380. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  381. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  382. ")"))
  383. {
  384. return;
  385. }
  386. }
  387. catch (e)
  388. {
  389. return;
  390. }
  391.  
  392. //separate alternative domains with "|" char (first name is considered being main)
  393. var allContainerNames = [
  394. "adf.ly",
  395. "linkcrypt.ws",
  396. "linksafe.me",
  397. // "linksave.in",
  398. "linkto.net",
  399. "madlink.sk",
  400. "multiload.cz",
  401. "mirrorcreator.com",
  402. // "ncrypt.in",
  403. "redi.re",
  404. "relink.us",
  405. "safelinking.net",
  406. "theloo.katt.it",
  407. "bit.ly",
  408.  
  409. ];
  410.  
  411. //separate alternative domains with "|" char (first name is considered being main)
  412. var allObsoleteNames = [
  413. "black-label.pro",
  414. "4up.me",
  415. "anonfiles.com",
  416. "axifile.com",
  417. "creafile.net",
  418. "cloudzilla.to",
  419. "neodrive.co",
  420. "demo.ovh.eu",
  421. "filesin.com",
  422. "fileswap.com",
  423. "junocloud.me",
  424. "gulfup.com",
  425. "hexupload.com",
  426. "secureupload.eu",
  427. "hugefiles.net",
  428. "jumbofiles.com",
  429. "letitbit.net",
  430. "lolabits.es",
  431. "nowdownload.ch",
  432. "openfile.ru",
  433. "radicalshare.com",
  434. "remixshare.com",
  435. "storefiles.co",
  436. "toutbox.fr",
  437. "uploadbaz.com",
  438. "uploadingit.com",
  439. "uploading.com",
  440. "verzend.be",
  441. "vidplay.net",
  442. "vidxden.com",
  443. "xfileload.com",
  444. "warped.co",
  445. "xkeepfile.com",
  446. "abelhas.pt",
  447. "uploadspace.pl",
  448. "allmyvideos.net",
  449. "uploads.xxx",
  450. "netkups.com",
  451. "nekaka.com",
  452. "vidspot.net",
  453. "myupload.dk",
  454. "muchshare.net",
  455. "loudupload.net",
  456. "idup.in",
  457. "hulkshare.com",
  458. "goldbytez.com",
  459. "filesmelt.com",
  460. "fileband.com",
  461. "uloz.cz",
  462. "secured.in",
  463. "rapidfilehost.com",
  464. "fileover.net",
  465. "fileinz.com",
  466. "linksave.in",
  467. "seenupload.com",
  468. "sangfile.com",
  469. "filepost.com|fp.io",
  470. "sharingmaster.com ",
  471. "24uploading.com",
  472. "storagon.com",
  473. "sanshare.com",
  474. "filestorm.to",
  475. "uploadnet.co",
  476. "180upload.com",
  477. "rapidsonic.com",
  478. "fileparadox.com",
  479. "4upfiles.com",
  480. "geupload.com",
  481. "lenfile.com",
  482. "fileparadox.in",
  483. "uploadhero.co",
  484. "uploadhero.com",
  485. "newfileland.com",
  486. "quickshare.cz",
  487. "elffiles.com",
  488. "netload.in",
  489. "netload.me",
  490. "movreel.com",
  491. "migahost.com",
  492. "krotix.net",
  493. "jumbofile.net",
  494. "edoc.com",
  495. "cramit.in|cramitin.net",
  496. "freakshare.com",
  497. "burnupload.com|burnupload.ihiphop.com",
  498. "freakshare.net",
  499. "daj.to",
  500. "bl.st",
  501. "2drive.net",
  502. "ryushare.com",
  503. "crisshare.com",
  504. "tufiles.ru",
  505. "uncapped-downloads.com",
  506. "sockshare.com",
  507. "ddlstorage.com",
  508. "dataport.cz",
  509. "dizzcloud.com",
  510. "sharebeast.com",
  511. "stahovadlo.cz",
  512. "shared.com",
  513. "storage.to",
  514. "putlocker.com",
  515. "lumfile.com",
  516. "lumfile.se",
  517. "lumfile.eu",
  518. "firedrive.com",
  519. "fileshare.in.ua",
  520. "filecore.co.nz",
  521. "filecore.co",
  522. "iskladka.cz",
  523. "file-rack.com",
  524. "fast-load.net",
  525. "subory.sk",
  526. "bigandfree.com",
  527. "fileop.com",
  528. "mujsoubor.cz",
  529. "sendfile.to",
  530. "superfastfile.com",
  531. "quickyshare.com",
  532. "duckload.com",
  533. "uploadstore.net",
  534. "meinupload.com",
  535. "dualshare.com",
  536. "2xupload.to|2xupload.de",
  537. "oxedion.com",
  538. "uploadline.com",
  539. "dll.bz",
  540. "movieshare.in",
  541. "milledrive.com",
  542. "quickupload.net",
  543. "safelink.in",
  544. "metadivx.com",
  545. "divxlink.com",
  546. "uploadrack.com",
  547. "teradepot.com",
  548. "dataup.to",
  549. "upit.to",
  550. "driveway.com",
  551. "eatlime.com",
  552. "a2zuploads.com",
  553. "friendlyfiles.net",
  554. "flyfile.us",
  555. "speedyshare.com",
  556. "uploadspace.eu",
  557. "keepfile.com",
  558. "piggyshare.com",
  559. "uplly.com",
  560. "filecrown.com",
  561. "6giga.com",
  562. "uploadjockey.com",
  563. "bluehost.to",
  564. "filegu.ru",
  565. "filebase.to",
  566. "up-file.com",
  567. "xvideos.com",
  568. "ufox.com",
  569. "filebling.com",
  570. "loaded.it",
  571. "uploadcell.com",
  572. "uploadshare.cz",
  573. "mangoshare.com",
  574. "filestab.com",
  575. "crazyupload.com",
  576. "gaiafile.com",
  577. "sharejunky.com",
  578. "fileho.com",
  579. "bigandfree.com",
  580. "bigfile.in",
  581. "bigshare.eu",
  582. "dahosting.org",
  583. "digisofts.net",
  584. "file4save.com",
  585. "filechip.com",
  586. "filescloud.com",
  587. "saveqube.com",
  588. "turboshare.de",
  589. "z-upload.com",
  590. "youshare.com",
  591. "jiffyupload.com",
  592. "gigeshare.com",
  593. "datenklo.net",
  594. "upload.dj",
  595. "loadfiles.in",
  596. "upit.to",
  597. "dsfileshare.com",
  598. "sharesimple.net",
  599. "4files.net",
  600. "wooupload.com",
  601. "odsiebie.com",
  602. "filenavi.com",
  603. "3oof.com",
  604. "meshwaar.com",
  605. "maxupload.com",
  606. "share.cx",
  607. "atserver.eu",
  608. "hotfiles.ws",
  609. "esnips.com",
  610. "tuxfile.com",
  611. "file2upload.net",
  612. "filebling.com",
  613. "turboshare.com",
  614. "rarhost.com",
  615. "isharehd.com",
  616. "i741.com",
  617. "dataup.de",
  618. "fofly.com",
  619. "shareonall.com",
  620. "sexuploader.com",
  621. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  622. "uploadhyper.com",
  623. "filespawn.com",
  624. "caizzii.com",
  625. "volnyweb.cz",
  626. "usershare.net",
  627. "filescash.net",
  628. "metahyper.com",
  629. "combozip.com",
  630. "x7.to",
  631. "uploadbox.com",
  632. "enterupload.com|flyupload.com",
  633. "filepoint.de",
  634. "mystream.to",
  635. "x-fs.com",
  636. "shareator.com",
  637. "srapid.eu",
  638. "sosame.cz",
  639. "filesdump.com",
  640. "2-klicks.de",
  641. "uploking.com",
  642. "silofiles.com",
  643. "upfile.in",
  644. "filehook.com",
  645. "uploadking.com",
  646. "uploadhere.com",
  647. "kewlshare.com",
  648. "rapidable.com",
  649. "uploadwaste.com",
  650. "filemup.com",
  651. "filesonic.com|sharingmatrix.com",
  652. "fileserve.com",
  653. "wupload.com",
  654. "skipfile.com",
  655. "smartuploader.com",
  656. "dualshare.com",
  657. "storeandserve.com",
  658. "mountfile.com",
  659. "transitfiles.com",
  660. "uploadstation.com",
  661. "filejungle.com",
  662. "shareshared.com",
  663. "quickyshare.com",
  664. "save.am",
  665. "petandrive.com",
  666. "file2box.com",
  667. "flyshare.cz",
  668. "yabadaba.ru",
  669. "cloudcache.cc",
  670. "yourfilehost.com",
  671. "jakfile.com",
  672. "kickload.com",
  673. "pyramidfiles.com",
  674. "refile.net",
  675. "zshare.net",
  676. "ddlani.me|ddlanime.com",
  677. "ftp2share.com",
  678. "fooget.com",
  679. "rapidhide.com",
  680. "gotupload.com",
  681. "mooload.com",
  682. "zupload.com",
  683. "mytempdir.com",
  684. "onionshare.com",
  685. "stahnu.to",
  686. "oron.com",
  687. "badongo.com",
  688. "filereactor.com",
  689. "filegaze.com",
  690. "4bytez.com",
  691. "1hostclick.com",
  692. "anonstream.com",
  693. "batshare.com",
  694. "bitroad.net",
  695. "brontofile.com",
  696. "cloudnxt.net",
  697. "cloudnator.com|shragle.com",
  698. "filesfrog.net",
  699. "coolshare.cz",
  700. "dotavi.com",
  701. "ezyfile.net",
  702. "file-bit.net",
  703. "filecosy.com",
  704. "fileduct.com|fileduct.net",
  705. "filefat.com",
  706. "filelaser.com",
  707. "filemashine.com",
  708. "fileserver.cc",
  709. "filetechnology.com",
  710. "fireuploads.net",
  711. "gigfiles.net",
  712. "holderfile.com",
  713. "ihostia.com",
  714. "k2files.com",
  715. "mojofile.com",
  716. "ovfile.com",
  717. "qshare.com",
  718. "shafiles.me",
  719. "sharefilehost.com",
  720. "shareupload.com",
  721. "stahuj.to",
  722. "ugotfile.com",
  723. "uploadboost.com",
  724. "fileom.com",
  725. "vidhog.com",
  726. "xfileshare.eu",
  727. "bzlink.us",
  728. "bulletupload.com",
  729. "bloggerarticles.com",
  730. "mojedata.sk",
  731. "sharpfile.com",
  732. "upgrand.com",
  733. "nasdilej.cz",
  734. "mediatack.cz",
  735. "share-it.to",
  736. "primeupload.com",
  737. "filebeer.info",
  738. "baberepublic",
  739. "xtu.me",
  740. "sharebase.de",
  741. "luckyshare.net",
  742. "filerobo.com",
  743. "filevelocity.com",
  744. "filezpro.com",
  745. "file4sharing.com",
  746. "cing.be",
  747. "ufile.eu",
  748. "pigsonic.com",
  749. "fileupped.com",
  750. "sharerun.com",
  751. "filesaur.com",
  752. "rapidslnare.com",
  753. "bestsharing.com",
  754. "savefiles.net",
  755. "file2share.biz",
  756. "filecache.de",
  757. "monsteruploads.eu",
  758. "b9bb.com",
  759. "aiotool.net",
  760. "jamber.info",
  761. "megaftp.com",
  762. "desiupload.net",
  763. "file27.com",
  764. "yastorage.com",
  765. "filehost.ws",
  766. "copyload.com",
  767. "venusfile.com",
  768. "aieshare.com",
  769. "terafile.co",
  770. "terafile.com",
  771. "fileza.net",
  772. "filerose.com",
  773. "squillion.com",
  774. "fileprohost.com",
  775. "bitbonus.com",
  776. "warserver.cz",
  777. "uload.to",
  778. "sharedbit.net",
  779. "megaload.it",
  780. "filewinds.com",
  781. "uploadcore.com",
  782. "syfiles.com",
  783. "eyesfile.com",
  784. "hotfile.com",
  785. "superupl.com",
  786. "oteupload.com",
  787. "henchfile.com",
  788. "filegag.com",
  789. "HenchFile.com",
  790. "filedefend.com",
  791. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  792. "megabitshare.com",
  793. "cloudzer.com",
  794. "asfile.com",
  795. "cloudzer.net",
  796. "clz.to",
  797. "extabit.com",
  798. "247upload.com",
  799. "2download.de",
  800. "4fastfile.com",
  801. "asixfiles.com",
  802. "berofile.com",
  803. "bigupload.com",
  804. "cepzo.com",
  805. "clouds.to",
  806. "cobrashare.sk",
  807. "coraldrive.net",
  808. "cyberlocker.ch",
  809. "czshare.com",
  810. "darkport.org",
  811. "dark-uploads.com",
  812. "davvas.com",
  813. "enigmashare.com",
  814. "erofly.cz",
  815. "fastsonic.net",
  816. "filebox.com",
  817. "filecity.net",
  818. "filedap.com",
  819. "filedino.com",
  820. "filedownloads.org",
  821. "filefolks.com",
  822. "fileking.co",
  823. "filemates.com",
  824. "files.to",
  825. "files2k.eu",
  826. "filesector.cc",
  827. "bitshare.com",
  828. "filesega.com",
  829. "filesend.net",
  830. "filestay.com",
  831. "filestrum.com",
  832. "fileuplo.de",
  833. "fileupup.com",
  834. "forunesia.com",
  835. "freeuploads.fr",
  836. "uploa.dk",
  837. "getthebit.com",
  838. "getzilla.net",
  839. "goldfile.eu",
  840. "good.com",
  841. "grupload.com",
  842. "hellfile.com",
  843. "hipfile.com",
  844. "hitfile.com",
  845. "hulkfile.eu|duckfile.net",
  846. "i-filez.com",
  847. "ifile.ws",
  848. "kupload.org",
  849. "packupload.com",
  850. "lemuploads.com",
  851. "limelinx.com",
  852. "maxshare.pl",
  853. "megarelease.org",
  854. "megashares.com",
  855. "megashare.com",
  856. "minus.com",
  857. "mlfat4arab.com",
  858. "multishare.cz",
  859. "nirafile.com",
  860. "ok2upload.com",
  861. "peejeshare.com",
  862. "premiuns.org",
  863. "przeklej.net",
  864. "qkup.net",
  865. "rapidupload.sk",
  866. "rockdizfile.com",
  867. "rocketfile.net",
  868. "share-now.net",
  869. "share76.com",
  870. "sharebees.com",
  871. "sharefiles.co",
  872. "slingfile.com",
  873. "sms4file.com",
  874. "space4file.com",
  875. "tigershare.net",
  876. "toucansharing.com",
  877. "ubuntuone.com",
  878. "unextfiles.com",
  879. "upaj.pl",
  880. "upfile.biz",
  881. "uploadbin.net",
  882. "uploadic.com",
  883. "uploadinc.com",
  884. "uploading4u.eu",
  885. "uploadjet.net",
  886. "uploadorb.com",
  887. "upthe.net",
  888. "uptorch.com",
  889. "vidbox.yt",
  890. "videozer.com",
  891. "vreer.com",
  892. "wallobit.com",
  893. "zooupload.com",
  894. "privatefiles.com",
  895. "xerver.co",
  896. "BillionUploads.com",
  897. "rapidshare.com",
  898. "rapidshare.ru",
  899. "4savefile.com",
  900. "bayfiles.com",
  901. "bayfiles.net",
  902. "dodane.pl",
  903. "dotsemper.com",
  904. "egofiles.com",
  905. "epicshare.net",
  906. "fiberupload.net",
  907. "filemonkey.in",
  908. "filemonster.net",
  909. "filepom.com",
  910. "filesbb.com",
  911. "filevice.com",
  912. "gigaup.fr",
  913. "isavelink.com",
  914. "loombo.com",
  915. "megafiles.se",
  916. "migupload.com",
  917. "mydisc.net",
  918. "nitrobits.com",
  919. "potload.com",
  920. "redload.net",
  921. "shareprofi.com",
  922. "sharesuper.info",
  923. "sinhro.net",
  924. "speedfile.cz",
  925. "speedshare.org",
  926. "storage.novoro.net",
  927. "swankshare.com",
  928. "swatupload.com",
  929. "upafile.com",
  930. "uploadmachine.com",
  931. "uploadsat.com",
  932. "upshared.com",
  933. "usefile.com",
  934. "yourfiles.to",
  935. "zomgupload.com",
  936. "ultramegabit.com",
  937. "uploadto.us",
  938. "inafile.com",
  939. "megairon.net",
  940.  
  941. ];
  942. ///////////////////////////////////////////////////////////////////////////////////////
  943. var firstRun = GM_getValue("First_run", true);
  944.  
  945. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  946. //////////////////////////////////////////////////////////////////////////////////////
  947. try
  948. {
  949. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  950. var last_known_version = GM_getValue("last_known_version", "");
  951. if (!last_known_version)
  952. {
  953. last_known_version = thisVersion;
  954. GM_setValue("last_known_version", last_known_version);
  955. }
  956. //var newVersion = !(thisVersion == last_known_version);
  957. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  958. GM_setValue("last_known_version", thisVersion);
  959. }
  960. catch (err)
  961. {
  962. var newVersion = false;
  963. }
  964.  
  965. var now = (new Date()).getTime();
  966. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  967. if (!last_custom_rules_nag)
  968. {
  969. last_custom_rules_nag = now;
  970. GM_setValue('last_custom_rules_nag', ''+now);
  971. }
  972.  
  973.  
  974. allHostNames.sort();
  975. allContainerNames.sort();
  976. allObsoleteNames.sort();
  977.  
  978. var RAND_STRING = "8QyvpOSsRG3QWq";
  979. var DEBUG_MODE = false;
  980.  
  981. var TOOLTIP_MAXWIDTH = 600; //in pixels
  982. var TOOLTIP_THUMBWIDTH = 200;
  983. var containers_processed = false;
  984.  
  985. //settings for keyboard functions start
  986. var CHECK_ALL_LINKS_KEY = "A";
  987. var CONFIGURATION_KEY = "C";
  988. var copy_to_dead_key = "D";
  989. var copy_to_live_key = "L";
  990. var toggle_autocheck_key = "W";
  991. var toggle_Enable_Anonymizer_key = "Z";
  992. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  993. var first_key_keycodename = 'CTRL';
  994. var second_key_keycode = '18';
  995. var second_key_keycodename = 'ALT';
  996. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  997. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  998. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  999. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  1000. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  1001. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  1002. //settings for keyboard functions end
  1003.  
  1004. //global settings start
  1005. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1006. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1007. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1008. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1009. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1010. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1011. var Progress_box_refresh_rate;
  1012. var Obsolete_file_hosts;
  1013. var Custom_rules, Custom_rules_text;
  1014. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1015.  
  1016. var messageBox = document.createElement('b'); // top-left message box
  1017.  
  1018. var cLinksTotal = 0;
  1019. var cLinksDead = 0;
  1020. var cLinksAlive = 0;
  1021. var cLinksUnava = 0;
  1022. var cLinksprem = 0;
  1023. var cLinksProcessed = 0;
  1024.  
  1025. var intervalId; //for updateProgress()
  1026.  
  1027. //icon resources
  1028. 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//wd0yLESWK5WCoU41EScY5EmozzMqUi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YS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  1037.  
  1038. 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==';
  1039. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsust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XOtsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1041. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1042.  
  1043. //global settings end
  1044. if (window.opera && !window.console)
  1045. {
  1046. window.console = {};
  1047.  
  1048. function fn()
  1049. {
  1050. opera.postError(arguments);
  1051. };
  1052. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1053. {
  1054. window.console[name] = fn;
  1055. });
  1056. }
  1057.  
  1058. //displays colored text in message box
  1059. function sendMessage(text, color)
  1060. {
  1061. var msgDiv = document.createElement('div');
  1062. msgDiv.style.color = color;
  1063. msgDiv.innerHTML = text;
  1064. messageBox.appendChild(msgDiv);
  1065. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1066. }
  1067.  
  1068. function linkify(totalourls)
  1069. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1070. var ikkeTilladteTags;
  1071. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1072. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1073. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1074. allLinksRegex = new RegExp(allLinksRegex, "g");
  1075. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1076.  
  1077. if (Do_not_linkify_DL_links)
  1078. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1079. else
  1080. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1081.  
  1082. var regex = new RegExp(regexy);
  1083. var textNode, muligtLink;
  1084.  
  1085. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1086. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1087.  
  1088. var i = textNodes.snapshotLength;
  1089. while (i--)
  1090. {
  1091. textNode = textNodes.snapshotItem(i);
  1092.  
  1093. muligtLink = textNode.nodeValue; //all links on page
  1094.  
  1095. var myArray = null;
  1096. var span = null;
  1097. var lastLastIndex = 0;
  1098. allLinksRegex.lastIndex = 0;
  1099. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1100. {
  1101. if (textNode.parentNode.className == "adead_link") continue;
  1102. var censoredLink = muligtLink;
  1103. var span = document.createElement('span');
  1104. span.className = "adead_link";
  1105. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1106. $(span).html(censoredLink);
  1107. span.addEventListener("mouseover", displayTooltipError, false);
  1108. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1109. textNode.parentNode.replaceChild(span, textNode);
  1110. continue;
  1111. alert(censoredLink);
  1112. }
  1113. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1114. {
  1115. if (!regex.test(myArray[0])) //this link is not recognized
  1116. {
  1117.  
  1118. continue;
  1119. }
  1120. if (!span)
  1121. span = document.createElement('span');
  1122.  
  1123. var link = myArray[0];
  1124. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1125.  
  1126. var $a = $("<a>" + link + "</a>")
  1127. if (!link.match(/https?:\/\//))
  1128. {
  1129. link = 'http://' + link;
  1130. }
  1131.  
  1132. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1133. .addClass("processing_link")
  1134. .appendTo(span);
  1135. lastLastIndex = allLinksRegex.lastIndex;
  1136. }
  1137. if (span)
  1138. {
  1139. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1140. textNode.parentNode.replaceChild(span, textNode);
  1141. }
  1142. }
  1143. }
  1144.  
  1145. function add_WARLC_style()
  1146. {
  1147. if (!(document.getElementsByTagName('WARLC')[0]))
  1148. {
  1149. var meta_not_to_add_more_style = document.createElement("WARLC");
  1150. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1151. meta_not_to_add_more_style.setAttribute('name', 'description');
  1152. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1153. alive_link_png = "";
  1154. adead_link_png = "";
  1155. unava_link_png = "";
  1156. prem_link_png = "";
  1157. switch(Icon_set)
  1158. {
  1159. //no icons
  1160. case 0: break;
  1161. // cat paws
  1162. case 1: alive_link_png = PAW_ICON_GREEN;
  1163. adead_link_png = PAW_ICON_RED;
  1164. unava_link_png = PAW_ICON_YELLOW;
  1165. prem_link_png = PAW_ICON_PINK;
  1166. break;
  1167. // classic RSLC look
  1168. case 2: alive_link_png = RSLC_ICON_GREEN;
  1169. adead_link_png = RSLC_ICON_RED;
  1170. unava_link_png = RSLC_ICON_YELLOW;
  1171. prem_link_png = RSLC_ICON_PINK;
  1172. break;
  1173. // New Icons
  1174. case 3: alive_link_png = NEW_ICON_GREEN;
  1175. adead_link_png = NEW_ICON_RED;
  1176. unava_link_png = NEW_ICON_YELLOW;
  1177. prem_link_png = NEW_ICON_PINK;
  1178. break;
  1179. // cat paws
  1180. default:alive_link_png = PAW_ICON_GREEN;
  1181. adead_link_png = PAW_ICON_RED;
  1182. unava_link_png = PAW_ICON_YELLOW;
  1183. prem_link_png = PAW_ICON_PINK;
  1184. break;
  1185. }
  1186. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1187. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1188.  
  1189. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1190.  
  1191. if (Color_DL_links)
  1192. {
  1193. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1194. live_color_css = 'color:' + Live_links_color + ' !important;';
  1195. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1196. container_color_css = 'color:' + Container_links_color + ' !important;';
  1197. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1198. }
  1199. else
  1200. {
  1201. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1202. }
  1203.  
  1204. if (Show_black_background_in_DL_links)
  1205. {
  1206. black_background_css = 'background-color: black !important;';
  1207. }
  1208. else
  1209. {
  1210. black_background_css = '';
  1211. }
  1212.  
  1213. if (Show_line_through_in_dead_links)
  1214. {
  1215. line_through_css = 'text-decoration: line-through !important;';
  1216. }
  1217. else
  1218. {
  1219. line_through_css = '';
  1220. }
  1221.  
  1222. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1223. 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 + "}");
  1224. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1225. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1226. GM_addStyle(".container_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_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1228. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1229. }
  1230. }
  1231.  
  1232. var warlcTooltip = null;
  1233. var mouseoverLink = null; //link href with mouse cursor over it
  1234.  
  1235. var lastX = 0;
  1236. var lastY = 0;
  1237.  
  1238. $(document).ready(initTooltip);
  1239. //inits tooltip
  1240. function initTooltip()
  1241. { warlcTooltip = document.createElement("div");
  1242. 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;");
  1243. warlcTooltip.style.visibility = "hidden";
  1244. document.body.appendChild(warlcTooltip);
  1245. }
  1246.  
  1247. //"mousemove" event handler for all links
  1248. function moveTooltip(event)
  1249. {
  1250. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1251. { //no need to reflow if the cursor moved just a little
  1252. return;
  1253. }
  1254. else
  1255. {
  1256. lastX = event.clientX;
  1257. lastY = event.clientY;
  1258. }
  1259.  
  1260. posX = event.clientX + window.pageXOffset + 10;
  1261. posY = event.clientY + window.pageYOffset;
  1262. var ttHeight = warlcTooltip.offsetHeight;
  1263. var ttFreeSpace = window.innerHeight - event.clientY;
  1264. if (ttHeight > ttFreeSpace)
  1265. { //prevents tooltip from getting out of the window
  1266. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1267. }
  1268. else
  1269. {
  1270. posY += 7;
  1271. }
  1272. warlcTooltip.style.top = posY + "px";
  1273. warlcTooltip.style.left = posX + "px";
  1274. }
  1275.  
  1276. //"mouseout" event handler for all links
  1277. function hideTooltip(){
  1278. warlcTooltip.style.visibility = "hidden";
  1279. mouseoverLink = null;
  1280. }
  1281.  
  1282.  
  1283. //"mouseover" event handler for dead links
  1284. //displays tooltip error message on dead links
  1285. function displayTooltipError()
  1286. {
  1287. mouseoverLink = this.href;
  1288. this.addEventListener("mouseout", hideTooltip);
  1289. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1290. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1291. warlcTooltip.style.minWidth = 0;
  1292. warlcTooltip.style.visibility = "visible";
  1293. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1294. {
  1295. warlcTooltip.innerHTML = this.warlc_error;
  1296. }
  1297. else
  1298. {
  1299. loadErrorInfo(this);
  1300. }
  1301. function loadErrorInfo(link)
  1302. {
  1303. var href = link.href;
  1304. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1305. GM_xmlhttpRequest({
  1306. method: 'GET',
  1307. url: href.replace(Ref_anonymize_service, ""),
  1308. headers: {
  1309. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1310. 'Accept': 'text/xml',
  1311. 'Referer': ""
  1312. },
  1313. onload: function(result) {
  1314. var res = result.responseText;
  1315. //TODO: errorRegexs -
  1316. var errorRegexs = [ //generic error messages follow
  1317. /(empty directory)/i,
  1318. /(soubor nebyl nalezen)/i,
  1319. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1320. //server specific error messages follow
  1321. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1322. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1323. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1324. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1325. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1326. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1327. /class="red">(.+?)<(?:span|br)>/, //czshare
  1328. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1329. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1330. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1331. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1332. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1333. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1334. /(File has been removed due to Copyright Claim)/, //filerio
  1335. ];
  1336. var errorIdx = errorRegexs.length;
  1337. var error = "Cause of error: <b>unknown</b>";
  1338. var errorCandidate = "";
  1339. while(errorIdx--)
  1340. {
  1341. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1342. if (errorCandidate != null)
  1343. {
  1344. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1345. break;
  1346. }
  1347. }
  1348. //link attributes
  1349. link.warlc_error = error;
  1350. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1351. {
  1352. warlcTooltip.innerHTML = error;
  1353. }
  1354. }
  1355. });
  1356. }
  1357. }
  1358.  
  1359. //"mouseover" event handler for alive links
  1360. //displays tooltip info (file size, file name,...) on alive links
  1361. function displayTooltipInfo()
  1362. {
  1363. mouseoverLink = this.href;
  1364. //exclude direct download filehostings
  1365. 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)/))
  1366. {
  1367. return;
  1368. }
  1369. this.addEventListener("mouseout", hideTooltip);
  1370. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1371. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1372. warlcTooltip.style.minWidth = 0;
  1373. warlcTooltip.style.visibility = "visible";
  1374. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1375. {
  1376. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1377. }
  1378. else
  1379. {
  1380. loadInfo(this);
  1381. }
  1382. function loadInfo(link)
  1383. {
  1384. var href = link.href;
  1385. GM_xmlhttpRequest({
  1386. method: 'GET',
  1387. url: href.replace(Ref_anonymize_service, ""),
  1388. headers: {
  1389. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1390. 'Accept': 'text/xml',
  1391. 'Referer': ""
  1392. },
  1393. onload: function(result) {
  1394. var res = result.responseText;
  1395. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1396. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1397. /fl" title="(.+?)">/, //edisk
  1398. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1399. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1400. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1401. /title="download (.+?)">/, //sendspace
  1402. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1403. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1404. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1405. /d0FileName = "(.+?)";/, //letitbit
  1406. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1407. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1408. /fname" value="(.+?)">/, //syfiles, grupload,
  1409. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1410. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1411. /Complete name : (.+?)<br \/>/, //bezvadata
  1412. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1413. ];
  1414. var nameIdx = nameRegexs.length;
  1415. // [sizeRegexs]
  1416. // / \ \?
  1417. // prefix (size) postfix
  1418. // / \
  1419. // val quant
  1420. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1421. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1422. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1423. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1424. var postSizeRegex = '(?:\\))?';
  1425. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1426. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1427. ];
  1428. var sizeIdx = sizeRegexs.length;
  1429. //
  1430. //
  1431. var tooltip = "File Name: <b>";
  1432. var fileName = "unknown";
  1433. var nameCandidate = "";
  1434. while(nameIdx--)
  1435. {
  1436. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1437. if (nameCandidate != null)
  1438. {
  1439. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1440. break;
  1441. }
  1442. }
  1443. tooltip += fileName + "</b><br>File Size: <b>";
  1444. var fileSize = "unknown";
  1445. var sizeCandidate = "";
  1446. while(sizeIdx--)
  1447. {
  1448. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1449. if (sizeCandidate != null)
  1450. {
  1451. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1452. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1453. {
  1454. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1455. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1456. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1457. }
  1458. break;
  1459. }
  1460. }
  1461. tooltip += fileSize + "</b>";
  1462. // PROTOTYPE
  1463. // video thumbnails
  1464. if (href.match('hellshare'))
  1465. {
  1466. var thumbs;
  1467. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1468. if (thumbs)
  1469. {
  1470. tooltip += '<br>';
  1471. var j = Math.min(thumbs.length, 9);
  1472. for (var i = 0; i < j; i++)
  1473. {
  1474. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1475. }
  1476. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1477. }
  1478. }
  1479. if (href.match('czshare'))
  1480. {
  1481. var thumbs;
  1482. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1483. if (thumbs)
  1484. {
  1485. var thumbsServer = thumbs[1];
  1486. var thumbsId = thumbs[2];
  1487. tooltip += '<br>';
  1488. for (var i = 1; i < 9; i++)
  1489. {
  1490. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1491. }
  1492. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1493. }
  1494. }
  1495. if (href.match('bezvadata'))
  1496. {
  1497. var thumbs;
  1498. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1499. if (thumbs)
  1500. {
  1501. tooltip += '<br>';
  1502. var j = Math.min(thumbs.length, 9);
  1503. for (var i = 0; i < j; i++)
  1504. {
  1505. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1506. }
  1507. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1508. }
  1509. }
  1510. link.warlc_tooltipcache = tooltip;
  1511. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1512. {
  1513. warlcTooltip.innerHTML = tooltip;
  1514. }
  1515. }
  1516. });
  1517. }
  1518. }
  1519.  
  1520. function setVariables()
  1521. {
  1522. if (firstRun)
  1523. {
  1524. GM_log('First run, applying default settings...');
  1525. GM_setValue("Icon_set",1);
  1526. GM_setValue("Display_tooltip_info",true);
  1527. GM_setValue("Show_black_background_in_DL_links",false);
  1528. GM_setValue("Show_line_through_in_dead_links",false);
  1529. GM_setValue("Display_full_links_in_link_containers",false);
  1530. GM_setValue("Allow_spaces_in_DL_links",false);
  1531. GM_setValue("Autocheck",true);
  1532. GM_setValue("Enable_Anonymizer",false);
  1533. GM_setValue("Do_not_linkify_DL_links",false);
  1534. GM_setValue("Show_progress_stats",true);
  1535. GM_setValue("Keyboard_functions",true);
  1536. GM_setValue("Obsolete_file_hosts",false);
  1537. GM_setValue("Color_DL_links",true);
  1538. GM_setValue("Live_links_color","Green");
  1539. GM_setValue("Dead_links_color","#FF3300");
  1540. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1541. GM_setValue("Container_links_color","DarkKhaki");
  1542. GM_setValue("Premium_links_color","DeepPink");
  1543. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1544. GM_setValue("Custom_rules",false);
  1545. GM_setValue("Custom_rules_text","");
  1546. GM_setValue("Processbox_Pos_Y", 0);
  1547. GM_setValue("Processbox_Pos_X", 88);
  1548. GM_setValue("Progressbox_Scaling", 100);
  1549. GM_setValue("First_run", false);
  1550. }
  1551. //hidden settings
  1552. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1553. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1554. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1555. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1556. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1557. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1558. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1559. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1560. //hidden settings end
  1561.  
  1562. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1563. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1564. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1565. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1566. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1567. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1568. Autocheck = GM_getValue("Autocheck", true);
  1569. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1570. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1571. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1572. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1573. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1574. Color_DL_links = GM_getValue("Color_DL_links", true);
  1575. Live_links_color = GM_getValue("Live_links_color", "Green");
  1576. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1577. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1578. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1579. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1580. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1581. Custom_rules = GM_getValue("Custom_rules", false);
  1582. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1583. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1584. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1585. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1586. }
  1587.  
  1588.  
  1589. // Delinkifies the links
  1590. // params:
  1591. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1592. // e.g. 'uloz.to/xs68skxl8')
  1593. function delinkifySnapshot(snapshot)
  1594. {
  1595. var n = snapshot.snapshotLength;
  1596.  
  1597. while (n--)
  1598. {
  1599. thisLink = snapshot.snapshotItem(n);
  1600.  
  1601. var spanElm = document.createElement("span");
  1602. spanElm.className = thisLink.className;
  1603. spanElm.innerHTML = thisLink.innerHTML;
  1604.  
  1605. if (Display_tooltip_info)
  1606. {
  1607. spanElm.href = thisLink.href;
  1608. switch (thisLink.className){
  1609. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1610. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1611. case "unava_link": //reserved
  1612. default:
  1613. }
  1614. }
  1615. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1616. }
  1617. }
  1618.  
  1619. function processContainers()
  1620. {
  1621. var redirectorTypes = { "HTTP_302": 0,
  1622. "INNER_LINK": 1,
  1623. "THELOO_KATT_IT": 2,
  1624. "CING_BE": 3,
  1625. "ADF_LY": 4};
  1626. var cMultiloadTotal = 0;
  1627. var cMultiloadProcessed = 0;
  1628.  
  1629. var cMirrorcreatorComTotal = 0;
  1630. var cMirrorcreatorComProcessed = 0;
  1631.  
  1632. var hostRestrictionRegex = "";
  1633. var multiloadComRestriction = "";
  1634. var multiloadComRestrictionRegex;
  1635.  
  1636. //
  1637. //HANDLING REDIRECTORS START
  1638. //
  1639.  
  1640. var redirectors = new Array();
  1641. initRedirectors();
  1642.  
  1643. var redirectorsCount = redirectors.length;
  1644.  
  1645. if (redirectorsCount > 0)
  1646. {
  1647. var allRedirectorsRegex = "";
  1648.  
  1649. //linkify redirector links
  1650. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1651. {
  1652. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1653. }
  1654. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1655. linkify(allRedirectorsRegex);
  1656. //
  1657. //process redirector links
  1658. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1659. {
  1660. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1661. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1662.  
  1663. cLinksTotal += redirectors[redirIdx].cTotal;
  1664. var linkIdx = redirectors[redirIdx].cTotal;
  1665.  
  1666. while(linkIdx--)
  1667. {
  1668. switch(redirectors[redirIdx].type)
  1669. {
  1670. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1671. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1672. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1673. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1674. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1675. default:
  1676. }
  1677. }
  1678. }
  1679. //
  1680. }
  1681.  
  1682. //HTTP_302
  1683. function processRedirectorLink(link, redirectorId)
  1684. {
  1685. link.className = 'container_link';
  1686.  
  1687. GM_xmlhttpRequest({
  1688. method: 'HEAD',
  1689. url: link.href,
  1690. headers: {
  1691. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1692. 'Accept': 'text/xml',
  1693. 'Referer': ""
  1694. },
  1695. onload: function(result) {
  1696. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1697. {
  1698. processRedirectorLink(link, redirectorId);
  1699. }
  1700. else
  1701. {
  1702. redirectors[redirectorId].cProcessed++;
  1703. link.href = result.finalUrl;
  1704. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1705. checkLinks('container_link');
  1706. }
  1707. },
  1708. onerror: function(result) { //probably caused by unresponsive filehosting
  1709. redirectors[redirectorId].cProcessed++;
  1710. link.className = 'unava_link';
  1711. cLinksProcessed++;
  1712. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1713. checkLinks('container_link');
  1714. }
  1715. });
  1716. }
  1717. //INNER_LINK
  1718. function processRedirectorLinkEx(link, redirectorId)
  1719. {
  1720. link.className = 'container_link';
  1721. GM_xmlhttpRequest({
  1722. method: 'GET',
  1723. url: link.href,
  1724. headers: {
  1725. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1726. 'Accept': 'text/xml',
  1727. 'Referer': ""
  1728. },
  1729. onload: function(result) {
  1730. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1731. redirectors[redirectorId].cProcessed++;
  1732. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1733. checkLinks('container_link');
  1734. }
  1735. });
  1736. }
  1737. //theloo.katt.it (wrapped safelinking.net)
  1738. function processThelooKattItLink(link, redirectorId)
  1739. {
  1740. link.className = 'container_link';
  1741. GM_xmlhttpRequest({
  1742. method: 'GET',
  1743. url: link.href,
  1744. headers: {
  1745. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1746. 'Accept': 'text/xml',
  1747. 'Referer': ""
  1748. },
  1749. onload: function(result) {
  1750. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1751. redirectors[redirectorId].cProcessed++;
  1752. //the inner links are safelinking.net links, so lets proceed with it
  1753. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1754. {
  1755. processRedirectorLink(link, 0);
  1756. }
  1757. }
  1758. });
  1759. }
  1760. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1761. function processAdfLyLink(link, redirectorId)
  1762. {
  1763. link.className = 'container_link';
  1764. GM_xmlhttpRequest({
  1765. method: 'GET',
  1766. url: link.href,
  1767. headers: {
  1768. 'User-agent': 'Mozilla/4.0',
  1769. 'Accept': 'text/xml',
  1770. 'Referer': ""
  1771. },
  1772. onload: function(result) {
  1773. if (result.finalUrl.match('/locked/'))
  1774. {
  1775. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1776. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1777. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1778. }
  1779. else
  1780. {
  1781. // GM_log('Processing... ' + link.href);
  1782. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1783. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1784. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1785. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1786. //confirm advert
  1787. GM_xmlhttpRequest(
  1788. {
  1789. method: 'POST',
  1790. url: 'http://adf.ly/l.php',
  1791. headers: {
  1792. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1793. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1794. 'Referer': link.href
  1795. },
  1796. data: users + '&lt=' + logToken,
  1797. onload: function(result) {
  1798. //retrieve final url from .../go/... link
  1799. GM_xmlhttpRequest({
  1800. method: 'GET',
  1801. url: directLink,
  1802. headers: {
  1803. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1804. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1805. 'Referer': link.href
  1806. },
  1807. onload: function(result) {
  1808. link.href = result.finalUrl;
  1809. redirectors[redirectorId].cProcessed++;
  1810. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1811. checkLinks('container_link');
  1812. }
  1813. });
  1814. }
  1815. });
  1816. }
  1817. }
  1818. });
  1819. function proceedOK()
  1820. {
  1821. }
  1822. }
  1823. //MULTILOAD.CZ START
  1824. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1825. {
  1826. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1827. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1828.  
  1829. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1830.  
  1831. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1832. hostRestrictionRegex += 'hellshare|';
  1833. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1834. hostRestrictionRegex += 'downloadhellshare|';
  1835. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1836. hostRestrictionRegex += 'share-rapid\\.com|';
  1837. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1838. hostRestrictionRegex += 'quickshare\\.cz|';
  1839. if (GM_getValue("Check_czshare_dot_com_links", false))
  1840. hostRestrictionRegex += 'czshare\\.com|';
  1841. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1842. hostRestrictionRegex += 'hellspy|';
  1843. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1844. hostRestrictionRegex += 'multishare\\.cz|';
  1845.  
  1846. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1847.  
  1848. linkify(mlRegex);
  1849.  
  1850. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1851. var mlCount = mlSnapshot.snapshotLength;
  1852.  
  1853. if (mlCount > 0)
  1854. {
  1855. cMultiloadTotal += mlCount;
  1856.  
  1857. mlIdx = mlCount - 1;
  1858. do
  1859. {
  1860. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1861. }
  1862. while(mlIdx--)
  1863. }
  1864. }
  1865. //MULTILOAD.CZ END
  1866.  
  1867.  
  1868.  
  1869. function processMultiloadLink(mlLink)
  1870. {
  1871. GM_xmlhttpRequest({
  1872. method: 'GET',
  1873. url: mlLink.href,
  1874. headers: {
  1875. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1876. 'Accept': 'text/xml',
  1877. 'Referer': ""
  1878. },
  1879. onload: function(result) {
  1880. var res = result.responseText;
  1881.  
  1882. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1883. 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;
  1884. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1885. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1886.  
  1887. var blocks; // blocks of links
  1888. var blockIdx;
  1889.  
  1890. mlLink.className = '';
  1891.  
  1892. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1893. {
  1894. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1895. return;
  1896. }
  1897.  
  1898. blocks = res.match(innerBlockRegex);
  1899.  
  1900. if (blocks == null) //no links found, cancel further processing
  1901. {
  1902. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1903. cMultiloadProcessed++;
  1904. if (cMultiloadTotal <= cMultiloadProcessed)
  1905. {
  1906. startBulkCheck('container_link');
  1907. start('container_link');
  1908. }
  1909. return;
  1910. }
  1911.  
  1912. blockIdx = blocks.length;
  1913.  
  1914. if (Display_full_links_in_link_containers)
  1915. {
  1916. var ulElm = document.createElement('ul');
  1917. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1918.  
  1919. while(blockIdx--)
  1920. {
  1921. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1922. {
  1923. continue;
  1924. }
  1925.  
  1926. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1927.  
  1928. var linkIdx = innerLinks.length;
  1929. while (linkIdx--)
  1930. {
  1931. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1932.  
  1933. var liElm = document.createElement('li');
  1934.  
  1935. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1936. {
  1937. liElm.appendChild(document.createTextNode(innerLink));
  1938. }
  1939. else
  1940. {
  1941. var aElm = document.createElement('a');
  1942. aElm.innerHTML = innerLink;
  1943. aElm.href = innerLink;
  1944. aElm.className = 'container_link';
  1945.  
  1946. liElm.appendChild(aElm);
  1947. }
  1948.  
  1949. ulElm.appendChild(liElm);
  1950. cLinksTotal++;
  1951. }
  1952. }
  1953.  
  1954. mlLink.parentNode.appendChild(ulElm);
  1955. }
  1956. else //compact view
  1957. {
  1958. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1959.  
  1960. while(blockIdx--)
  1961. {
  1962. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1963. {
  1964. continue;
  1965. }
  1966.  
  1967. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1968.  
  1969. var linkIdx = innerLinks.length;
  1970. while (linkIdx--)
  1971. {
  1972. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1973.  
  1974. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1975. {
  1976. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1977. }
  1978. else
  1979. {
  1980. var aElm = document.createElement('a');
  1981.  
  1982. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1983.  
  1984. //abbreviate host name
  1985. switch(hostName + ""){
  1986.  
  1987. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1988. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1989. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1990. case 'multishare': aElm.innerHTML = 'MS'; break;
  1991. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1992. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1993. case 'czshare': aElm.innerHTML = 'CS'; break;
  1994. default: aElm.innerHTML = 'xx';
  1995.  
  1996. }
  1997.  
  1998. aElm.href = innerLink;
  1999. aElm.className = 'container_link';
  2000.  
  2001. mlLink.parentNode.appendChild(aElm);
  2002. cLinksTotal++;
  2003. }
  2004. }
  2005.  
  2006. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2007.  
  2008. }
  2009. }
  2010.  
  2011. cMultiloadProcessed++;
  2012. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2013. {
  2014. if (Do_not_linkify_DL_links)
  2015. {
  2016. delinkifySnapshot(mlSnapshot);
  2017. }
  2018. startBulkCheck('container_link');
  2019. start('container_link');
  2020. }
  2021. }
  2022. });
  2023. }
  2024.  
  2025.  
  2026. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2027. {
  2028. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2029. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2030. var mcShortHostNames =
  2031. '?? 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';
  2032. // 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
  2033. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2034. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2035. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2036. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2037.  
  2038. linkify(mcRegex);
  2039.  
  2040. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2041. var mcCount = mcSnapshot.snapshotLength;
  2042.  
  2043. cMirrorcreatorComTotal = mcCount;
  2044.  
  2045. if (mcCount > 0)
  2046. {
  2047. mcShortHostNames = mcShortHostNames.split(' ');
  2048. mcIdx = mcCount;
  2049. while(mcIdx--)
  2050. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2051. }
  2052.  
  2053. }
  2054. //MIRRORCREATOR.CZ END
  2055.  
  2056.  
  2057. //mirrorcreator.com checking works like this:
  2058. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2059. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2060. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2061. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2062. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2063. function processMirrorcreatorLink(mcLink)
  2064. {
  2065. var mcURL = mcLink.href.match(mcRegex);
  2066. if(!mcURL || !mcURL[1]) return;
  2067. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2068. GM_xmlhttpRequest({
  2069. method: 'GET',
  2070. url: mcURL,
  2071. headers: {
  2072. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2073. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2074. 'Referer': ""
  2075. },
  2076. onload: function(mcLinkResult) {
  2077. var mcLinkRes = mcLinkResult.responseText;
  2078.  
  2079. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2080. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2081.  
  2082. var mcRedirectors;
  2083. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2084. var m = mcLinkRes.match(mcLinkBlockRegex);
  2085. if (m)
  2086. mcHostsFound = m.length;
  2087. else
  2088. { //no files inside container
  2089. processMirrorcreatorFoundHosts(mcLink, []);
  2090. return;
  2091. }
  2092.  
  2093. var mcRedirectorURL, idx, timedOut = false;
  2094.  
  2095. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2096. GM_xmlhttpRequest({
  2097. method: 'GET',
  2098. url: mcRedirectorURL,
  2099. headers: {
  2100. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2101. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2102. 'Referer': ""
  2103. },
  2104. onload: function(mcHostResult) {
  2105. if (timedOut) return; //too late, the list is already displayed
  2106. var mcHostRes = mcHostResult.responseText;
  2107. var mcHost = mcHostRes.match(mcHostRegex);
  2108. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2109. if (mcHost && idx!=-1)
  2110. {
  2111. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2112. mcHostsRetrieved++;
  2113. mcHostsToProcess++;
  2114. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2115. {
  2116. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2117. mcHostsToProcess = 0;
  2118. }
  2119. }
  2120. } //end of onload: function
  2121. }); //end of GM_xmlhttpRequest call
  2122. };//end of var gmxhrFunc
  2123.  
  2124. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2125. { //load individual redirector pages
  2126. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2127. mcHostURLs.push(mcRedirectorURL);
  2128. mcRedirectorIDs.push(mcRedirectors[2]);
  2129. gmxhrFunc(mcRedirectorURL);
  2130. } //end of while block
  2131.  
  2132. setTimeout(function(){ //in case the last page fails to load and call the function
  2133. timedOut = true;
  2134. if (mcHostsToProcess)
  2135. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2136. }, 60000);
  2137.  
  2138. } //end of onload function
  2139. }); //end of GM_xmlhttpRequest call
  2140. } //end of function processMirrorcreatorLink
  2141.  
  2142.  
  2143. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2144. {
  2145. var aEl, liEl, docFrag;
  2146. var hostName, mcRedirectorID, trimFilename = false;
  2147. var i = mcHostURLs.length;
  2148. if (i == 0)
  2149. {
  2150. trimFilename = true;
  2151. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2152. }
  2153. else
  2154. {
  2155. if (Display_full_links_in_link_containers)
  2156. { //full view
  2157. var wrapperEl = document.createElement('span');
  2158. wrapperEl.style.display = 'block';
  2159. var ulistEl = document.createElement('ul');
  2160. ulistEl.className = 'container_list';
  2161. while (i--)
  2162. {
  2163. liEl = document.createElement('li');
  2164. aEl = document.createElement('a');
  2165. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2166. aEl.href = mcHostURLs[i];
  2167. aEl.className = 'container_link';
  2168. liEl.appendChild(aEl);
  2169. ulistEl.appendChild(liEl);
  2170. }
  2171. wrapperEl.appendChild(ulistEl);
  2172. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2173. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2174. }
  2175. else
  2176. { //compact view
  2177. trimFilename = true;
  2178. docFrag = document.createDocumentFragment();
  2179. docFrag.appendChild(document.createTextNode(' |'));
  2180. while (i--)
  2181. {
  2182. mcRedirectorID = mcRedirectorIDs[i];
  2183. hostName = mcHostURLs[i];
  2184. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2185. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2186. else
  2187. hostName = mcShortHostNames[mcRedirectorID];
  2188. aEl = document.createElement('a');
  2189. aEl.href = mcHostURLs[i];
  2190. aEl.className = 'container_link';
  2191. aEl.appendChild(document.createTextNode(hostName));
  2192. docFrag.appendChild(aEl);
  2193. docFrag.appendChild(document.createTextNode('|'));
  2194. }
  2195. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2196. } //end of else block
  2197. } //end of else block
  2198. mcLink.className = '';
  2199. if (trimFilename)
  2200. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2201. cMirrorcreatorComProcessed++;
  2202. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2203. {
  2204. if (Do_not_linkify_DL_links)
  2205. delinkifySnapshot(mcSnapshot);
  2206. startBulkCheck('container_link');
  2207. start('container_link');
  2208. }
  2209. } //end of function processMirrorcreatorFoundHosts
  2210.  
  2211. containers_processed = true;
  2212.  
  2213.  
  2214. function initRedirectors()
  2215. {
  2216. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2217. {
  2218. var redirector = new Object();
  2219. redirector.linkRegex = linkRegex;
  2220. redirector.xpath = xpathEx; //xpath expression
  2221. redirector.cProcessed = 0; //processed links count
  2222. redirector.cTotal = 0; //total links count
  2223. redirector.type = redirType; //redirectorTypes enum
  2224. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2225. redirectors.push(redirector);
  2226. }
  2227. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2228. {
  2229. addRedirector(
  2230. 'safelinking\\.net\/d\/\\w+',
  2231. "//a[contains(@href,'safelinking.net/d/')]",
  2232. redirectorTypes.HTTP_302,
  2233. null);
  2234. }
  2235. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2236. {
  2237. addRedirector(
  2238. 'linksafe\\.me\/d\/\\w+',
  2239. "//a[contains(@href,'linksafe.me/d/')]",
  2240. redirectorTypes.HTTP_302,
  2241. null);
  2242. }
  2243. if (GM_getValue("Check_linkto_dot_net_links", false))
  2244. {
  2245. addRedirector(
  2246. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2247. "//a[contains(@href,'linkto.net/?')]",
  2248. redirectorTypes.INNER_LINK,
  2249. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2250. }
  2251. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2252. {
  2253. addRedirector(
  2254. '(?:the)?loo\\.katt\\.it\/\\w+',
  2255. "//a[contains(@href,'loo.katt.it/')]",
  2256. redirectorTypes.THELOO_KATT_IT,
  2257. /Proceed to URL - <a href="(.+?)">/);
  2258. }
  2259. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2260. {
  2261. addRedirector(
  2262. 'madlink\\.sk\/\\w+',
  2263. "//a[contains(@href,'madlink.sk/')]",
  2264. redirectorTypes.INNER_LINK,
  2265. /name="url" value="(.+?)\s*"\/>/);
  2266. }
  2267. if (GM_getValue("Check_adf_dot_ly_links", false))
  2268. {
  2269. addRedirector(
  2270. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2271. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2272. redirectorTypes.ADF_LY,
  2273. null);
  2274. }
  2275. if (GM_getValue("Check_redi_dot_re_links", false))
  2276. {
  2277. addRedirector(
  2278. 'redi\\.re\/\\w+',
  2279. "//a[contains(@href,'redi.re/')]",
  2280. redirectorTypes.HTTP_302,
  2281. null);
  2282. }
  2283. if (GM_getValue("Check_bit_dot_ly_links", false))
  2284. {
  2285. addRedirector(
  2286. 'bit\\.ly\/\\w+',
  2287. "//a[contains(@href,'bit.ly/')]",
  2288. redirectorTypes.HTTP_302,
  2289. null);
  2290. }
  2291. }
  2292.  
  2293. }
  2294.  
  2295. var bulkHosts = new Array();
  2296. var bulkHostNames = new Array();
  2297. function initBulkCheck()
  2298. {
  2299. /////////////////////////////
  2300. // Inits filehost object
  2301. /////////////////////////////
  2302. // params :
  2303. // hostName -- [string] host name (multiple domains separated with coma)
  2304. // linkRegex -- [string] link regex
  2305. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2306. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2307. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2308. // corrReplWhat -- [regex] link correction regex (replace)
  2309. // corrReplWith -- [string]
  2310. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2311. //
  2312. // apiUrl -- [string] web linkchecker or API URL
  2313. // postData -- [string] POSTDATA of xmlhttprequest
  2314. // resLinkRegex -- [regex]
  2315. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2316. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2317. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2318. // func -- [function] bulkcheck handler, genBulkCheck if null
  2319. //
  2320. //////////////////////////////
  2321. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2322. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2323. {
  2324. var fileHost = new Object();
  2325.  
  2326. fileHost.linkRegex = linkRegex;
  2327. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2328. fileHost.xpath = xpath;
  2329. fileHost.cFound = 0; //found links counter
  2330. fileHost.links = new Array(); //found links
  2331. if (blockSize == null)
  2332. {
  2333. fileHost.blockSize = 50;
  2334. }
  2335. else
  2336. {
  2337. fileHost.blockSize = blockSize;
  2338. }
  2339. fileHost.corrMatch = corrMatch;
  2340. fileHost.corrReplWhat = corrReplWhat;
  2341. fileHost.corrReplWith = corrReplWith;
  2342. if (splitSeparator == null)
  2343. {
  2344. fileHost.splitSeparator = "\r\n";
  2345. }
  2346. else
  2347. {
  2348. fileHost.splitSeparator = splitSeparator;
  2349. }
  2350. fileHost.apiUrl = apiUrl;
  2351. fileHost.postData = postData;
  2352. fileHost.resLinkRegex = resLinkRegex;
  2353. fileHost.resLiveRegex = resLiveRegex;
  2354. fileHost.resDeadRegex = resDeadRegex;
  2355. fileHost.resUnavaRegex = resUnavaRegex;
  2356. if (func == null)
  2357. {
  2358. fileHost.func = genBulkCheck;
  2359. }
  2360. else
  2361. {
  2362. fileHost.func = func;
  2363. }
  2364. bulkHosts.push(fileHost);
  2365. var names = hostName.split(',');
  2366. var i = names.length;
  2367. while(i--)
  2368. {
  2369. bulkHostNames[names[i]] = fileHost;
  2370. }
  2371. }
  2372. var genType1 = [
  2373. "rodfile.com", "downloadani.me", //"migahost.com",
  2374. "rarefile.net",
  2375. "filesabc.com",
  2376. // "verzend.be",
  2377. // "movreel.com",
  2378. "file4safe.com", "filemac.com",
  2379. "longfiles.com",
  2380. "bitupload.com", //"4up.me",
  2381. //"uploadbaz.com"
  2382. ];
  2383. var genType2 = [ "queenshare.com",
  2384. "hulkload.com",
  2385. "amonshare.com", //"edoc.com",
  2386. ];
  2387. //xfilesharing 1.0
  2388. function addGenericType1()
  2389. {
  2390. var i = genType1.length;
  2391. while(i--)
  2392. {
  2393. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2394. {
  2395. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2396. addHost(
  2397. genType1[i].match(/[\w-]+/)[0], //hostname
  2398. regexSafe + "\/\\w+", //linkregex
  2399. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2400. null, //blocksize
  2401. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2402. null, //corrreplwhat
  2403. null, //corrreplwith
  2404. null, //separator
  2405. "http://" + genType1[i] + "/checkfiles.html", //api url
  2406. "op=checkfiles&process=Check+URLs&list=", //postdata
  2407. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2408. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2409. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2410. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2411. null //function delegate
  2412. )
  2413. }
  2414. }
  2415. }
  2416. //xfilesharing 2.0
  2417. function addGenericType2()
  2418. {
  2419. var i = genType2.length;
  2420. while(i--)
  2421. {
  2422. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2423. {
  2424. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2425. addHost(
  2426. genType2[i].match(/[\w-]+/)[0], //hostname
  2427. regexSafe + "\/\\w+", //linkregex
  2428. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2429. null, //blocksize
  2430. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2431. null, //corrreplwhat
  2432. null, //corrreplwith
  2433. null, //separator
  2434. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2435. "op=checkfiles&process=Check+URLs&list=", //postdata
  2436. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2437. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2438. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2439. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2440. null //function delegate
  2441. )
  2442. }
  2443. }
  2444. }
  2445. // TEMPLATE
  2446. // if (GM_getValue("Check__dot_com_links", false))
  2447. // {
  2448. // addHost(
  2449. // "", //hostname
  2450. // "", //linkregex
  2451. // "//a[contains(@href,'.com/')]", //xpath
  2452. // null, //blocksize
  2453. // null, //corrmatch
  2454. // null, //corrreplwhat
  2455. // null, //corrreplwith
  2456. // null, //separator
  2457. // "", //api url
  2458. // "", //postdata
  2459. // /()/, //linkregex
  2460. // //liveregex
  2461. // //deadregex
  2462. // //unavaregex
  2463. // null //function delegate
  2464. // )
  2465. // }
  2466. addGenericType1();
  2467. addGenericType2();
  2468.  
  2469. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2470. {
  2471. addHost(
  2472. "myvdrive,fileserving", //hostname
  2473. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2474. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2475. null, //blocksize
  2476. null, //corrmatch
  2477. null, //corrreplwhat
  2478. null, //corrreplwith
  2479. null, //separator
  2480. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2481. "links=", //postdata
  2482. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2483. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2484. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2485. null, //unavaregex
  2486. null //function delegate
  2487. )
  2488. }
  2489. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2490. {
  2491. addHost(
  2492. "hackerbox", //hostname
  2493. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2494. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2495. null, //blocksize
  2496. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2497. null, //corrreplwhat
  2498. null, //corrreplwith
  2499. null, //separator
  2500. "http://host.hackerbox.org/checkfiles.html", //api url
  2501. "op=checkfiles&process=Check+URLs&list=", //postdata
  2502. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2503. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2504. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2505. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2506. null //function delegate
  2507. )
  2508. }
  2509. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2510. {
  2511. addHost(
  2512. "hellshare", //hostname
  2513. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2514. "//a[contains(@href,'hellshare.')]", //xpath
  2515. 48, //blocksize
  2516. null, //corrmatch
  2517. null, //corrreplwhat
  2518. null, //corrreplwith
  2519. null, //separator
  2520. null, //api url
  2521. null, //postdata
  2522. null, //linkregex
  2523. null, //liveregex
  2524. null, //deadregex
  2525. null, //unavaregex
  2526. hellshareBulkCheck //function delegate
  2527. )
  2528. }
  2529. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2530. {
  2531. addHost(
  2532. "uploadrocket", //hostname
  2533. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2534. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2535. null, //blocksize
  2536. null, //corrmatch
  2537. null, //corrreplwhat
  2538. null, //corrreplwith
  2539. "\n", //separator
  2540. 'http://uploadrocket.net/?op=checkfiles',
  2541. 'op=checkfiles&process=Check+URLs&list=',
  2542. /uploadrocket.net\/(\w+)/,
  2543. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2544. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2545. null,
  2546. null //function delegate
  2547. )
  2548. }
  2549. if (GM_getValue("Check_uploading_dot_site_links", false))
  2550. {
  2551. addHost(
  2552. "uploading", //hostname
  2553. "(?:uploading\\.site)\/\\w+", //linkregex
  2554. "//a[contains(@href,'uploading.site/')]", //xpath
  2555. null, //blocksize
  2556. null, //corrmatch
  2557. null, //corrreplwhat
  2558. null, //corrreplwith
  2559. "\n", //separator
  2560. 'http://uploading.site/?op=checkfiles',
  2561. 'op=checkfiles&process=Check+URLs&list=',
  2562. /uploading.site\/(\w+)/,
  2563. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2564. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2565. null,
  2566. null //function delegate
  2567. )
  2568. }
  2569. if (GM_getValue("Check_1f_dot_al_links", false))
  2570. {
  2571. addHost(
  2572. "1f",
  2573. "(?:1f\\.al)\/d\/\\w+",
  2574. "//a[contains(@href,'1f.al/d/')]",
  2575. 100000, //blocksize
  2576. null, //corrmatch
  2577. null, //corrreplwhat
  2578. null, //corrreplwith
  2579. null, //separator
  2580. null,
  2581. null,
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. _1falBulkCheck //function delegate
  2587. )
  2588. }
  2589. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2590. {
  2591. addHost(
  2592. "k2s,keep2s,keep2share",
  2593. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2594. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2595. 100000, //blocksize
  2596. null, //corrmatch
  2597. null, //corrreplwhat
  2598. null, //corrreplwith
  2599. null, //separator
  2600. null,
  2601. null,
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. k2sBulkCheck //function delegate
  2607. )
  2608. }
  2609. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2610. {
  2611. addHost(
  2612. "tezfiles",
  2613. "(?:tezfiles\\.com)\/\\w+",
  2614. "//a[contains(@href,'tezfiles.com')]",
  2615. 100000, //blocksize
  2616. null, //corrmatch
  2617. null, //corrreplwhat
  2618. null, //corrreplwith
  2619. null, //separator
  2620. null,
  2621. null,
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. k2sBulkCheck //function delegate
  2627. )
  2628. }
  2629. if (GM_getValue("Check_fboom_dot_me_links", false))
  2630. {
  2631. addHost(
  2632. "fboom,fileboom",
  2633. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2634. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2635. 100000, //blocksize
  2636. null, //corrmatch
  2637. null, //corrreplwhat
  2638. null, //corrreplwith
  2639. null, //separator
  2640. null,
  2641. null,
  2642. null,
  2643. null,
  2644. null,
  2645. null,
  2646. fboomBulkCheck //function delegate
  2647. )
  2648. }
  2649. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2650. {
  2651. addHost(
  2652. "1fichier,dl4free",
  2653. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2654. "//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/?')]",
  2655. 100000, //blocksize
  2656. null, //corrmatch
  2657. null, //corrreplwhat
  2658. null, //corrreplwith
  2659. null, //separator
  2660. null,
  2661. null,
  2662. null,
  2663. null,
  2664. null,
  2665. null,
  2666. dl4free_1fichier_BulkCheck //function delegate
  2667. )
  2668. }
  2669. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2670. {
  2671. addHost(
  2672. "nitroflare",
  2673. "nitroflare\\.com\/\\w+",
  2674. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2675. 100000, //blocksize
  2676. null, //corrmatch
  2677. null, //corrreplwhat
  2678. null, //corrreplwith
  2679. null, //separator
  2680. null,
  2681. null,
  2682. null,
  2683. null,
  2684. null,
  2685. null,
  2686. nitroflareBulkCheck //function delegate
  2687. )
  2688. }
  2689. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2690. {
  2691. addHost(
  2692. "depositfiles,dfiles",
  2693. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2694. "//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/')]",
  2695. 100000, //blocksize
  2696. null, //corrmatch
  2697. null, //corrreplwhat
  2698. null, //corrreplwith
  2699. null, //separator
  2700. null,
  2701. null,
  2702. null,
  2703. null,
  2704. null,
  2705. null,
  2706. depositfilesBulkCheck //function delegate
  2707. )
  2708. }
  2709. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2710. {
  2711. addHost(
  2712. "filesflash", //hostname
  2713. "filesflash\\.com\/\\w+", //linkregex
  2714. "//a[contains(@href,'filesflash.com')]", //xpath
  2715. null, //blocksize
  2716. null, //corrmatch
  2717. /http:\/\//, //corrreplwhat
  2718. '', //corrreplwith
  2719. null, //separator
  2720. 'http://filesflash.com/checklinks.php',
  2721. 'submit=Go&links=',
  2722. /filesflash\.com\/(\w+)/,
  2723. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2724. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2725. null,
  2726. null //function delegate
  2727. )
  2728. }
  2729. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2730. {
  2731. addHost(
  2732. "jumbofiles", //hostname
  2733. "jumbofiles\\.com\/\\w+", //linkregex
  2734. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2735. null, //blocksize
  2736. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2737. null, //corrreplwhat
  2738. null, //corrreplwith
  2739. null, //separator
  2740. "http://jumbofiles.com/checkfiles.html", //api url
  2741. "op=checkfiles&process=Check+URLs&list=", //postdata
  2742. /(jumbofiles\.com\/\w+)/, //linkregex
  2743. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2744. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2745. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2746. null //function delegate
  2747. )
  2748. }*/
  2749. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2750. {
  2751. addHost(
  2752. "edisk", //hostname
  2753. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2754. "//a[contains(@href,'edisk.')]", //xpath
  2755. null, //blocksize
  2756. null, //corrmatch
  2757. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2758. 'edisk.cz/stahni', //corrreplwith
  2759. null, //separator
  2760. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2761. 'submitBtn=Zkontrolovat&checkFiles=',
  2762. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2763. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2764. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2765. null,
  2766. null //function delegate
  2767. )
  2768. }
  2769. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2770. {
  2771. GM_xmlhttpRequest( //age check skip
  2772. {
  2773. method: 'POST',
  2774. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2775. headers: {
  2776. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2777. 'Content-type': 'application/x-www-form-urlencoded',
  2778. 'Referer': ""
  2779. }
  2780. });
  2781. addHost(
  2782. "bezvadata", //hostname
  2783. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2784. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2785. null, //blocksize
  2786. null, //corrmatch
  2787. null, //corrreplwhat
  2788. null, //corrreplwith
  2789. null, //separator
  2790. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2791. 'zkontrolovat=Zkontrolovat&odkazy=',
  2792. /(bezvadata\.cz\/stahnout\/\d+)/,
  2793. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2794. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2795. null,
  2796. null //function delegate
  2797. )
  2798. }
  2799. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2800. {
  2801. addHost(
  2802. "linkcrypt", //hostname
  2803. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2804. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2805. 100000, //blocksize
  2806. null, //corrmatch
  2807. null, //corrreplwhat
  2808. null, //corrreplwith
  2809. null, //separator
  2810. null,
  2811. null,
  2812. null,
  2813. null,
  2814. null,
  2815. null,
  2816. linkcryptBulkCheck //function delegate
  2817. )
  2818. }
  2819. if (GM_getValue("Check_videobb_dot_com_links", false))
  2820. {
  2821. addHost(
  2822. "videobb", //hostname
  2823. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2824. "//a[contains(@href,'videobb.com')]", //xpath
  2825. null, //blocksize
  2826. null, //corrmatch
  2827. /watch_video\.php\?v=/, //corrreplwhat
  2828. 'video/', //corrreplwith
  2829. null, //separator
  2830. 'http://www.videobb.com/link_checker.php',
  2831. 'links=',
  2832. /videobb\.com\/video\/(\w+)/,
  2833. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2834. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2835. null,
  2836. null //function delegate
  2837. )
  2838. }
  2839. if (GM_getValue("Check_filerio_dot_com_links", false))
  2840. {
  2841. addHost(
  2842. "filekeen,filerio", //hostname
  2843. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2844. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2845. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2846. null, //blocksize
  2847. null, //corrmatch
  2848. null, //corrreplwhat
  2849. null, //corrreplwith
  2850. null, //separator
  2851. 'http://filerio.in/checkfiles.html',
  2852. 'op=checkfiles&process=Check+URLs&list=',
  2853. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2854. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2855. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2856. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2857. null //function delegate
  2858. )
  2859. }
  2860. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2861. {
  2862. addHost(
  2863. "share-online,egoshare", //hostname
  2864. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2865. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2866. null, //blocksize
  2867. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2868. null, //corrreplwhat
  2869. null, //corrreplwith
  2870. "\n", //separator
  2871. 'http://api.share-online.biz/linkcheck.php',
  2872. 'links=',
  2873. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2874. /\w+;OK/g,
  2875. /\w+;(?:NOTFOUND|DELETED)/g,
  2876. null,
  2877. null //function delegate
  2878. )
  2879. }
  2880. if (GM_getValue("Check_oboom_dot_com_links", false))
  2881. {
  2882. addHost(
  2883. "oboom", //hostname
  2884. "oboom\\.com\/#?\\w{8}", //linkregex
  2885. "//a[contains(@href,'oboom.com/')]", //xpath
  2886. null, //blocksize
  2887. /oboom\.com\/#?(\w{8})/, //corrmatch
  2888. null, //corrreplwhat
  2889. null, //corrreplwith
  2890. null, //separator
  2891. null,
  2892. null,
  2893. null,
  2894. null, //liveregex
  2895. null, //deadregex
  2896. null,
  2897. oboomBulk //function delegate
  2898. )
  2899. }
  2900. if (GM_getValue("Check_mega_dot_nz_links", false))
  2901. {
  2902. addHost(
  2903. "mega",
  2904. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2905. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2906. 100000, //blocksize
  2907. null, //corrmatch
  2908. null, //corrreplwhat
  2909. null, //corrreplwith
  2910. null, //separator
  2911. null,
  2912. null,
  2913. null,
  2914. null,
  2915. null,
  2916. null,
  2917. megaBulkCheck //function delegate
  2918. )
  2919. }
  2920.  
  2921. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2922.  
  2923. if (GM_getValue("Check_extabit_dot_com_links", false))
  2924. {
  2925. addHost(
  2926. "extabit", //hostname
  2927. "extabit\\.com\/file\/\\w+", //linkregex
  2928. "//a[contains(@href,'extabit.com')]", //xpath
  2929. null, //blocksize
  2930. null, //corrmatch
  2931. null, //corrreplwhat
  2932. null, //corrreplwith
  2933. "\n", //separator
  2934. "http://extabit.com/linkchecker.jsp", //api url
  2935. "url=", //postdata
  2936. /extabit\.com\/(file\/\w+)/, //linkregex
  2937. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2938. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2939. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2940. extabitBulkCheck //function delegate
  2941. )
  2942. }
  2943. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2944. {
  2945. addHost(
  2946. "junocloud", //hostname
  2947. "junocloud\\.me\/\\w+", //linkregex
  2948. "//a[contains(@href,'junocloud.me')]", //xpath
  2949. null, //blocksize
  2950. null, //corrmatch
  2951. null, //corrreplwhat
  2952. null, //corrreplwith
  2953. "\n", //separator
  2954. "http://junocloud.me/checkfiles.html", //api url
  2955. "op=checkfiles&process=Check+URLs&list=", //postdata
  2956. /(junocloud\.me\/\w+)/, //linkregex
  2957. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2958. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2959. null, //unavaregex
  2960. null //function delegate
  2961. )
  2962. } */
  2963. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2964. {
  2965. addHost(
  2966. "webshare", //hostname
  2967. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2968. "//a[contains(@href,'webshare.cz')]", //xpath
  2969. 100000, //blocksize
  2970. null, //corrmatch
  2971. null, //corrreplwhat
  2972. null, //corrreplwith
  2973. null, //separator
  2974. null, //api url
  2975. null, //postdata
  2976. null, //linkregex
  2977. null, //liveregex
  2978. null, //deadregex
  2979. null, //unavaregex
  2980. webshareBulkCheck //function delegate
  2981. )
  2982. }
  2983. /////////////////////////////
  2984. // Common function delegate to send links to get checked by host linkchecker
  2985. /////////////////////////////
  2986. // If you define a new delegate, you may use following properties
  2987. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2988. // this.apiUrl [string] API or web linkchecker URL
  2989. // this.postData [string] POSTDATA for POST request
  2990. // this.resLiveRegex [regex] matches live substrings in the request response
  2991. // this.resDeadRegex [regex] matches dead substrings in the request response
  2992. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2993. //
  2994. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2995. //
  2996. // See the code below for standard bulkcheck handling reference.
  2997. //////////////////////////////
  2998. function genBulkCheck()
  2999. {
  3000. var blockIdx = this.links.length;
  3001. while (blockIdx--)
  3002. {
  3003. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3004. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3005. }
  3006. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3007. {
  3008. GM_xmlhttpRequest(
  3009. {
  3010. method: 'POST',
  3011. url: api,
  3012. headers: {
  3013. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3014. 'Content-type': 'application/x-www-form-urlencoded',
  3015. 'Referer': api,
  3016. 'X-Requested-With': 'XMLHttpRequest'
  3017. },
  3018. data: postData + encodeURIComponent(links),
  3019. onload: function (result)
  3020. {
  3021. var res = result.responseText;
  3022. // GM_log(res);
  3023. var i;
  3024.  
  3025. var livelinks = res.match(liveRegex);
  3026. var deadlinks = res.match(deadRegex);
  3027. // GM_log(livelinks);
  3028. // GM_log(deadlinks);
  3029. if (livelinks != null)
  3030. {
  3031. i = livelinks.length - 1;
  3032. do
  3033. {
  3034. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3035. }
  3036. while (i--);
  3037. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3038. }
  3039.  
  3040. if (deadlinks != null)
  3041. {
  3042. i = deadlinks.length - 1;
  3043. do
  3044. {
  3045. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3046. }
  3047. while (i--);
  3048. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3049. }
  3050.  
  3051. if (unavaRegex != null)
  3052. {
  3053. var unavalinks = res.match(unavaRegex);
  3054. if (unavalinks)
  3055. {
  3056. i = unavalinks.length - 1;
  3057. do
  3058. {
  3059. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3060. }
  3061. while (i--);
  3062. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3063. }
  3064. }
  3065. }
  3066. });
  3067. }
  3068. }
  3069. //specialized bulkchecking handlers follow
  3070. function webshareBulkCheck()
  3071. {
  3072. var arr = this.links[0].split("\r\n");
  3073. var i = arr.length;
  3074. while(i--)
  3075. {
  3076. postRequest(arr[i]);
  3077. }
  3078. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3079. function postRequest(wsLink)
  3080. {
  3081. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3082. GM_xmlhttpRequest(
  3083. {
  3084. method: 'POST',
  3085. url: "http://webshare.cz/api/file_info/",
  3086. headers: {
  3087. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3088. 'Content-type': 'application/x-www-form-urlencoded',
  3089. 'Referer': "",
  3090. },
  3091. data: "wst=&ident=" + id,
  3092. onload: function (result)
  3093. {
  3094. var res = result.responseText;
  3095. if (res.match(/<name>.+?<\/name>/))
  3096. {
  3097. DisplayTheCheckedLinks([id], 'alive_link');
  3098. }
  3099. else
  3100. {
  3101. DisplayTheCheckedLinks([id], 'adead_link');
  3102. }
  3103. }
  3104. });
  3105. }
  3106. }
  3107. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3108. //extabit also doesn't like requests in fast succession, so some delays are added.
  3109. function extabitBulkCheck()
  3110. {
  3111. var timeoutDelay = 0;
  3112. var blockIdx = this.links.length;
  3113. while (blockIdx--)
  3114. {
  3115. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3116. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3117. }
  3118. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3119. {
  3120. GM_xmlhttpRequest(
  3121. {
  3122. method: 'POST',
  3123. url: api,
  3124. headers: {
  3125. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3126. 'Content-type': 'application/x-www-form-urlencoded',
  3127. 'Referer': api,
  3128. 'X-Requested-With': 'XMLHttpRequest'
  3129. },
  3130. data: postData + encodeURIComponent(links),
  3131. onload: function (result)
  3132. {
  3133. var res = result.responseText;
  3134. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3135. {
  3136. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3137. {
  3138. //GM_log(tryID + ': ' + link);
  3139. GM_xmlhttpRequest(
  3140. {
  3141. method: 'GET',
  3142. url: link,
  3143. 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': ""},
  3144. onload: function(result2)
  3145. {
  3146. var res2 = result2.responseText;
  3147. var res2Status = result.status;
  3148. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3149. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3150. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3151. {
  3152. if (tryID < 7)
  3153. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3154. else
  3155. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3156. }
  3157. }
  3158. });
  3159. }
  3160. //split the hrefs and check them one by one
  3161. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3162. links = links.split('\n');
  3163. var i = links.length;
  3164. while (i--)
  3165. {
  3166. if (links[i])
  3167. {
  3168. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3169. timeoutDelay += 500;
  3170. }
  3171. }
  3172. return;
  3173. }
  3174. var i;
  3175.  
  3176. var livelinks = res.match(liveRegex);
  3177. var deadlinks = res.match(deadRegex);
  3178. if (livelinks != null)
  3179. {
  3180. i = livelinks.length - 1;
  3181. do
  3182. {
  3183. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3184. }
  3185. while (i--);
  3186. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3187. }
  3188.  
  3189. if (deadlinks != null)
  3190. {
  3191. i = deadlinks.length - 1;
  3192. do
  3193. {
  3194. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3195. }
  3196. while (i--);
  3197. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3198. }
  3199.  
  3200. if (unavaRegex != null)
  3201. {
  3202. var unavalinks = res.match(unavaRegex);
  3203. if (unavalinks)
  3204. {
  3205. i = unavalinks.length - 1;
  3206. do
  3207. {
  3208. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3209. }
  3210. while (i--);
  3211. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3212. }
  3213. }
  3214. }
  3215. });
  3216. }
  3217. }
  3218. function _1falBulkCheck()
  3219. {
  3220. var arr = this.links[0].split("\r\n");
  3221. var i = arr.length;
  3222. c=0;
  3223. arrIDs=[];
  3224. while(i--)
  3225. {
  3226. id = arr[i].match(/\/d\/(\w+)/)[1];
  3227.  
  3228. _1falalreadyexist=false;
  3229. for (j=0;j<arrIDs.length;j++)
  3230. {
  3231. if (arrIDs[j]==id)
  3232. {
  3233. _1falalreadyexist=g
  3234. break;
  3235. }
  3236. }
  3237. if (_1falalreadyexist) continue;
  3238. arrIDs.push(id);
  3239. c++;
  3240. setTimeout(_1falRequest,c*500,arr[i]);
  3241. }
  3242. }
  3243. function _1falRequest(_1falLink)
  3244. {
  3245. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3246. GM_xmlhttpRequest(
  3247. {
  3248. method: 'GET',
  3249. url: _1falLink,
  3250. headers: {
  3251. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3252. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3253. 'Referer': 'http://www.planetsuzy.org/'
  3254. },
  3255. onload: function (result)
  3256. {
  3257. var res = result.responseText;
  3258. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3259. if (FAarr!=null)
  3260. {
  3261. FALink=FAarr[1];
  3262. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3263. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3264. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3265. GM_xmlhttpRequest(
  3266. {
  3267. method: 'POST',
  3268. url: FALink,
  3269. headers: {
  3270. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3271. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3272. 'Content-Type': 'application/x-www-form-urlencoded',
  3273. 'Referer': _1falLink
  3274. },
  3275. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3276. onload: function (_2ndresult)
  3277. {
  3278. var newres = _2ndresult.responseText;
  3279. FAalivelink=new RegExp("method_free");
  3280. if (FAalivelink.test(newres))
  3281. {
  3282. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3283. return;
  3284. }
  3285. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3286. if (FAdeadlink.test(newres))
  3287. {
  3288. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3289. return;
  3290. }
  3291. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3292. return;
  3293. }
  3294. });
  3295. return;
  3296. }
  3297. else
  3298. {
  3299. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3300. return;
  3301. }
  3302. },
  3303. onerror: function ()
  3304. {
  3305. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3306. return;
  3307. }
  3308. });
  3309. }
  3310. function k2sBulkCheck()
  3311. {
  3312. var arr = this.links[0].split("\r\n");
  3313. var i = arr.length;
  3314. c=0;
  3315. arrIDs=[];
  3316. while(i--)
  3317. {
  3318. id = arr[i].match(/\/file\/(\w+)/)[1];
  3319. if (id=='info')
  3320. {
  3321. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3322. continue;
  3323. }
  3324. k2salreadyexist=false;
  3325. for (j=0;j<arrIDs.length;j++)
  3326. {
  3327. if (arrIDs[j]==id)
  3328. {
  3329. k2salreadyexist=g
  3330. break;
  3331. }
  3332. }
  3333. if (k2salreadyexist) continue;
  3334. arrIDs.push(id);
  3335. c++;
  3336. setTimeout(k2sRequest,c*500,arr[i]);
  3337. }
  3338. }
  3339. function k2sRequest(K2SLink)
  3340. {
  3341. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3342. GM_xmlhttpRequest(
  3343. {
  3344. method: 'GET',
  3345. url: K2SLink,
  3346. headers: {
  3347. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3348. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3349. 'Referer': ''
  3350. },
  3351. onload: function (result)
  3352. {
  3353. var res = result.responseText;
  3354. K2Dom='k2s.cc';
  3355. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3356. K2SLink2='http://'+K2Dom+'/file/'+id;
  3357.  
  3358. 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'))
  3359. {
  3360. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3361. return;
  3362. }
  3363. if (res.match('method="post">Displaying'))
  3364. {
  3365. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3366. return;
  3367. }
  3368. if (res.match('Premium only|only for premium members'))
  3369. {
  3370. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3371. return;
  3372. }
  3373. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3374. {
  3375. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3376. slID=slow_id.exec(res)[1];
  3377. GM_xmlhttpRequest(
  3378. {
  3379. method: 'POST',
  3380. url: K2SLink2,
  3381. headers: {
  3382. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3383. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3384. 'Content-Type': 'application/x-www-form-urlencoded',
  3385. 'Referer': K2SLink
  3386. },
  3387. data: 'slow_id='+slID+'&yt0=',
  3388. onload: function (result)
  3389. {
  3390. var newres = result.responseText;
  3391. newoversizedtest=new RegExp("Free user can't download large files.");
  3392. if (newoversizedtest.test(newres))
  3393. {
  3394. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3395. return;
  3396. }
  3397. else
  3398. {
  3399. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3400. return;
  3401. }
  3402. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3403. return;
  3404. }
  3405. });
  3406. /////////////////////end additional check for oversized links
  3407. return;
  3408. }
  3409. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3410. return;
  3411. },
  3412. onerror: function ()
  3413. {
  3414. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3415. return;
  3416. }
  3417. });
  3418. }
  3419. function fboomBulkCheck()
  3420. {
  3421. var arr = this.links[0].split("\r\n");
  3422. var i = arr.length;
  3423. c=0;
  3424. arrIDs=[];
  3425. while(i--)
  3426. {
  3427. id = arr[i].match(/\/file\/(\w+)/)[1];
  3428. if (id=='info')
  3429. {
  3430. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3431. continue;
  3432. }
  3433. fbalreadyexist=false;
  3434. for (j=0;j<arrIDs.length;j++)
  3435. {
  3436. if (arrIDs[j]==id)
  3437. {
  3438. fbalreadyexist=true;
  3439. break;
  3440. }
  3441. }
  3442. if (fbalreadyexist) continue;
  3443. arrIDs.push(id);
  3444. c++;
  3445. setTimeout(fboomRequest,c*500,arr[i]);
  3446. }
  3447. }
  3448. function fboomRequest(FBoomLink)
  3449. {
  3450. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3451. FBoomLink2='http://fboom.me/file/'+id;
  3452. GM_xmlhttpRequest(
  3453. {
  3454. method: 'GET',
  3455. url: FBoomLink,
  3456. headers: {
  3457. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3458. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3459. 'Referer': ''
  3460. },
  3461. onload: function (result)
  3462. {
  3463. var res = result.responseText;
  3464. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3465. {
  3466. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3467. return;
  3468. }
  3469. if (res.match('method="post">Displaying'))
  3470. {
  3471. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3472. return;
  3473. }
  3474. if (res.match('only for premium members'))
  3475. {
  3476. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3477. return;
  3478. }
  3479. if (res.match('id="download-free" href="#"'))
  3480. {
  3481. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3482. slID=slow_id.exec(res)[1];
  3483. GM_xmlhttpRequest(
  3484. {
  3485. method: 'POST',
  3486. url: FBoomLink2,
  3487. headers: {
  3488. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3489. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3490. 'Content-Type': 'application/x-www-form-urlencoded',
  3491. 'Referer': FBoomLink
  3492. },
  3493. data: 'slow_id='+slID,
  3494. onload: function (result)
  3495. {
  3496. var newres = result.responseText;
  3497. newoversizedtest=new RegExp("Downloading is not possible");
  3498. if (newoversizedtest.test(newres))
  3499. {
  3500. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3501. return;
  3502. }
  3503. else
  3504. {
  3505. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3506. return;
  3507. }
  3508. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3509. return;
  3510. }
  3511. });
  3512. /////////////////////end additional check for oversized links
  3513. return;
  3514. }
  3515. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3516. return;
  3517. },
  3518. onerror: function ()
  3519. {
  3520. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3521. return;
  3522. }
  3523. });
  3524. }
  3525. function dl4free_1fichier_BulkCheck()
  3526. {
  3527. var arr = this.links[0].split("\r\n");
  3528. var i = arr.length;
  3529. while(i--)
  3530. {
  3531. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3532. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3533. gethead_dl4free_1fichier(arr[i]);
  3534. }
  3535. }
  3536. function gethead_dl4free_1fichier(link)
  3537. {
  3538. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3539. GM_xmlhttpRequest(
  3540. {
  3541. method: 'HEAD',
  3542. url: link,
  3543. headers: {
  3544. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3545. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3546. 'Referer': ''
  3547. },
  3548. onload: function (result)
  3549. {
  3550. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3551. {
  3552. DisplayTheCheckedLinks([id], 'alive_link');
  3553. return;
  3554. }
  3555. else
  3556. {
  3557. getlink_dl4free_1fichier(link);
  3558. }
  3559. return;
  3560. },
  3561. onerror: function ()
  3562. {
  3563. DisplayTheCheckedLinks([id], 'unava_link');
  3564. }
  3565. });
  3566. }
  3567. function getlink_dl4free_1fichier(link)
  3568. {
  3569. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3570. GM_xmlhttpRequest(
  3571. {
  3572. method: 'GET',
  3573. url: link,
  3574. headers: {
  3575. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3576. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3577. 'Referer': ''
  3578. },
  3579. onload: function (result)
  3580. {
  3581. var res = result.responseText;
  3582. 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');
  3583. if (deadRegex.test(res))
  3584. {
  3585. DisplayTheCheckedLinks([id], 'adead_link');
  3586. return;
  3587. }
  3588. premiumRegex=new RegExp('only for premium users');
  3589. if (premiumRegex.test(res))
  3590. {
  3591. DisplayTheCheckedLinks([id], 'prem_link');
  3592. return;
  3593. }
  3594. 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="');
  3595. if (liveRegex.test(res))
  3596. {
  3597. DisplayTheCheckedLinks([id], 'alive_link');
  3598. return;
  3599. }
  3600. DisplayTheCheckedLinks([id], 'unava_link');
  3601. },
  3602. onerror: function ()
  3603. {
  3604. DisplayTheCheckedLinks([id], 'unava_link');
  3605. }
  3606. });
  3607. }
  3608. function nitroflareBulkCheck()
  3609. {
  3610. var arr = this.links[0].split("\r\n");
  3611. var i = arr.length;
  3612. while(i--)
  3613. {
  3614. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3615. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3616. NitroFlareRequest(arr[i]);
  3617. }
  3618. }
  3619. function NitroFlareRequest(NFLink)
  3620. {
  3621. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3622. GM_xmlhttpRequest(
  3623. {
  3624. method: "GET",
  3625. url: NFLink,
  3626. headers: {
  3627. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3628. 'Content-Type': 'application/x-www-form-urlencoded',
  3629. 'Referer': ""
  3630. },
  3631. onload: function (result)
  3632. {
  3633. var res = result.responseText;
  3634. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3635. {
  3636. DisplayTheCheckedLinks([NFID], 'adead_link');
  3637. return;
  3638. }
  3639. if (res.match('Report this file<\/a>'))
  3640. {
  3641. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3642. sizearr=measureRegex.exec(res);
  3643. if (sizearr[2]=='GB')
  3644. {
  3645. if (parseFloat(sizearr[1])>1)
  3646. {
  3647. DisplayTheCheckedLinks([NFID], 'prem_link');
  3648. }
  3649. else
  3650. {
  3651. DisplayTheCheckedLinks([NFID], 'alive_link');
  3652. }
  3653. }
  3654. else
  3655. {
  3656. DisplayTheCheckedLinks([NFID], 'alive_link');
  3657. }
  3658. return;
  3659. }
  3660. DisplayTheCheckedLinks([NFID], 'unava_link');
  3661. }
  3662. });
  3663. }
  3664. function depositfilesBulkCheck()
  3665. {
  3666. var arr = this.links[0].split("\r\n");
  3667. var i = arr.length;
  3668. var seqno = Math.floor(Math.random()*1000000000);
  3669. while(i--)
  3670. {
  3671. DFpostRequest(arr[i]);
  3672. }
  3673. }
  3674. function DFpostRequest(DFLink)
  3675. {
  3676. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3677. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3678. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3679. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3680. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3681. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3682. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3683. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3684. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3685. GM_xmlhttpRequest(
  3686. {
  3687. method: "GET",
  3688. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3689. headers: {
  3690. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3691. 'Content-Type': 'application/x-www-form-urlencoded',
  3692. 'Referer': ""
  3693. },
  3694. onload: function (result)
  3695. {
  3696. var res = result.responseText;
  3697. if (res.match('(?:no_file|file_ban)'))
  3698. {
  3699. DisplayTheCheckedLinks([id], 'adead_link');
  3700. return;
  3701. }
  3702. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3703. {
  3704. DisplayTheCheckedLinks([id], 'alive_link');
  3705. return;
  3706. }
  3707. DisplayTheCheckedLinks([id], 'unava_link');
  3708. }
  3709. });
  3710. }
  3711.  
  3712. function megaBulkCheck()
  3713. {
  3714. var arr = this.links[0].split("\r\n");
  3715. var i = arr.length;
  3716. var seqno = Math.floor(Math.random()*1000000000);
  3717. while(i--)
  3718. {
  3719. postRequest(arr[i]);
  3720. }
  3721. function postRequest(megaLink)
  3722. {
  3723. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3724. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3725. if (id=='F')
  3726. {
  3727. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3728. DisplayTheCheckedLinks([id], 'unava_link');
  3729. }
  3730. else
  3731. GM_xmlhttpRequest(
  3732. {
  3733. method: "POST",
  3734. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3735. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3736. headers: {
  3737. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3738. 'Content-Type': 'application/xml',
  3739. 'Referer': "https://mega.co.nz/"
  3740. },
  3741. onload: function (result)
  3742. {
  3743. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3744. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3745. {
  3746.  
  3747. DisplayTheCheckedLinks([id], 'adead_link');
  3748. }
  3749. if (res.at)
  3750. {
  3751. DisplayTheCheckedLinks([id], 'alive_link');
  3752. }
  3753. if (res.e == "ETEMPUNAVAIL")
  3754. {
  3755. DisplayTheCheckedLinks([id], 'unava_link');
  3756. }
  3757. }
  3758. });
  3759. }
  3760.  
  3761. }
  3762.  
  3763. function oboomBulk() {
  3764. var a = [], b = [], c = [];
  3765. var array = this.links;
  3766.  
  3767. GM_xmlhttpRequest({
  3768. method: 'GET',
  3769. url: 'https://www.oboom.com/1/guestsession',
  3770. headers: {
  3771. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3772. 'Content-type': 'application/x-www-form-urlencoded',
  3773. 'Referer': 'https://www.oboom.com',
  3774. 'X-Requested-With': 'XMLHttpRequest'
  3775. },
  3776. onload: function(result) {
  3777. var blockIdx = array.length;
  3778. var token = JSON.parse(result.responseText)[1];
  3779. while (blockIdx--) {
  3780. startCheck(array[blockIdx].split('\r\n'), token);
  3781. }
  3782. }
  3783. });
  3784.  
  3785. function startCheck(links, token) {
  3786. GM_xmlhttpRequest({
  3787. method: 'POST',
  3788. url: "https://api.oboom.com/1/info",
  3789. headers: {
  3790. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3791. 'Content-type': 'application/x-www-form-urlencoded',
  3792. 'Referer': 'https://www.oboom.com/',
  3793. 'X-Requested-With': 'XMLHttpRequest'
  3794. },
  3795. data: "token=" + token + "&items=" + links.join(","),
  3796. onload: function(result) {
  3797. var res = JSON.parse(result.responseText)[1];
  3798. var i = res.length, s;
  3799.  
  3800. while (i--) {
  3801. s = res[i].state;
  3802. if (s == 'online') a.push(res[i].id);
  3803. 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);
  3804. else c.push(res[i].id);
  3805. }
  3806.  
  3807. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3808. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3809. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3810. }
  3811. });
  3812. }
  3813. }
  3814. function linkcryptBulkCheck()
  3815. {
  3816. var arr = this.links[0].split("\r\n");
  3817. var i = arr.length;
  3818. while(i--)
  3819. {
  3820. postRequest(arr[i]);
  3821. }
  3822. function postRequest(lcLink)
  3823. {
  3824. GM_xmlhttpRequest(
  3825. {
  3826. method: "GET",
  3827. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3828. headers: {
  3829. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3830. 'Accept': 'text/xml',
  3831. 'Referer': ""
  3832. },
  3833. onload: function (result)
  3834. {
  3835. var res = result.responseText;
  3836. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3837. {
  3838. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3839. return;
  3840. }
  3841. if (res.match(/folderStatus>1/)) //Online status
  3842. {
  3843. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3844. }
  3845. else
  3846. {
  3847. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3848. }
  3849. }
  3850. });
  3851. }
  3852. }
  3853.  
  3854. /* function megashareBulkCheck()
  3855. {
  3856. var arr = this.links[0].split("\r\n");
  3857. var i = arr.length;
  3858. while(i--)
  3859. {
  3860. postRequest(arr[i]);
  3861. }
  3862. function postRequest(msLink)
  3863. {
  3864. GM_xmlhttpRequest(
  3865. {
  3866. method: "GET",
  3867. url: msLink,
  3868. headers: {
  3869. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3870. 'Content-Type': 'application/x-www-form-urlencoded',
  3871. 'Referer': ""
  3872. },
  3873. onload: function (result)
  3874. {
  3875. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3876. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3877. if ((prZVal == null) || (btn3Name == null))
  3878. {
  3879. return;
  3880. }
  3881. GM_xmlhttpRequest(
  3882. {
  3883. method: "POST",
  3884. url: msLink,
  3885. headers: {
  3886. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3887. 'Content-Type': 'application/x-www-form-urlencoded',
  3888. 'Referer': ""
  3889. },
  3890. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3891. onload: function (result)
  3892. {
  3893. var res = result.responseText;
  3894. if (res.match(/<div id="err">/))
  3895. {
  3896. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3897. }
  3898. else
  3899. {
  3900. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3901. }
  3902. }
  3903. });
  3904. }
  3905. });
  3906. }
  3907. } */
  3908. function hellshareBulkCheck()
  3909. {
  3910. var links = this.links;
  3911. GM_xmlhttpRequest(
  3912. {
  3913. method: "GET",
  3914. url: 'http://www.hellshare.com',
  3915. headers: {
  3916. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3917. 'Accept': 'text/xml',
  3918. 'Referer': ""
  3919. },
  3920. onload: function (result)
  3921. {
  3922. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3923.  
  3924. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3925. if (domain == 'sk')
  3926. loc = 'check=Skontrolova%C5%A5&links=';
  3927. if (domain == 'com')
  3928. loc = 'check=Check+availability&links=';
  3929. if (domain == 'hu')
  3930. loc = 'check=Kontrol%C3%A1lj&links=';
  3931. if (domain == 'pl')
  3932. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3933.  
  3934. genBulkCheck.call({ links: links,
  3935. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3936. postData: loc,
  3937. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3938. 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,
  3939. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3940. resUnavaRegex: null
  3941. });
  3942. }
  3943. });
  3944. }
  3945. /**
  3946. * Displays check result
  3947. * @param {Array} Array of links or link fragments.
  3948. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3949. */
  3950. function DisplayTheCheckedLinks(links, resultStatus)
  3951. {
  3952. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3953. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3954. if (Do_not_linkify_DL_links)
  3955. { //TODO into separate jQuery function
  3956. $links.replaceWith(function(){
  3957. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3958. });
  3959. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3960. }
  3961. $links.removeClass().addClass(resultStatus);
  3962. $links.each(function() {
  3963. this.href = Ref_anonymize_service + $(this).attr("href");
  3964. });
  3965. switch(resultStatus)
  3966. {
  3967. case "alive_link": cLinksAlive += $links.length;
  3968. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3969. break;
  3970. case "adead_link": cLinksDead += $links.length;
  3971. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3972. break;
  3973. case "prem_link": cLinksprem += $links.length;
  3974. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3975. break;
  3976. case "unava_link": cLinksUnava += $links.length; break;
  3977. default:
  3978. }
  3979. cLinksProcessed += $links.length;
  3980. }
  3981. }
  3982. // starts bulkchecking
  3983. //
  3984. // params
  3985. // filterId [string] restricts link detection with passed id attribute
  3986. function startBulkCheck(filterId)
  3987. {
  3988. var cHosts = bulkHosts.length;
  3989. if (cHosts == 0) //no filehostings selected
  3990. return;
  3991. // STEP 1 linkify the links
  3992. var linkifyRegex = '';
  3993. var hostIdx = cHosts;
  3994. while(hostIdx--)
  3995. {
  3996. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3997. }
  3998. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3999. linkify(linkifyRegex);
  4000. //
  4001. //STEP 2 detect link objects
  4002. var xpathAll = '';
  4003. var hostIdx = cHosts;
  4004. while(hostIdx--)
  4005. {
  4006. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4007. }
  4008. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4009. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4010. if (filterId != null) //insert id restriction in the xpath
  4011. {
  4012. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4013. }
  4014. else
  4015. {
  4016. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4017. }
  4018. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4019. if (filterId == null)
  4020. {
  4021. cLinksTotal += links.snapshotLength;
  4022. }
  4023. //
  4024. //STEP 3 bind links with hostings
  4025. var linkIdx = links.snapshotLength;
  4026. var href = null;
  4027. if (linkIdx == 0) // no links found
  4028. return;
  4029. var name;
  4030. while (linkIdx--)
  4031. {
  4032. href = links.snapshotItem(linkIdx).href;
  4033. try // DO NOT REMOVE, filters crap that went through xpath detection
  4034. {
  4035. name = gimmeHostName(href);
  4036. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4037. bulkHostNames[name].links.push(href);
  4038. }
  4039. catch(e)
  4040. {
  4041.  
  4042. }
  4043. }
  4044. //
  4045. //STEP 4 process the links for each filehosting
  4046. var hostIdx = cHosts;
  4047. var host;
  4048. var m,n;
  4049. var arr;
  4050. while (hostIdx--)
  4051. {
  4052. host = bulkHosts[hostIdx];
  4053. arr = host.links;
  4054. if (arr.length == 0) //no links for this hosting, skip
  4055. {
  4056. continue;
  4057. }
  4058. //links match corrections
  4059. if (host.corrMatch != null)
  4060. {
  4061. var idx = arr.length;
  4062. while (idx--)
  4063. {
  4064. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4065. }
  4066. }
  4067. //links replace corrections
  4068. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4069. {
  4070. var idx = arr.length;
  4071. while (idx--)
  4072. {
  4073. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4074. }
  4075. }
  4076. m = arr.length;
  4077. n = host.blockSize;
  4078. if (m > n)
  4079. {
  4080. //insert block separators (RAND_STRING) into the array
  4081. for(var i = n; i < m; i += n + 1)
  4082. {
  4083. arr.splice(i, 0, RAND_STRING);
  4084. }
  4085. }
  4086.  
  4087. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4088. apiUrl: host.apiUrl,
  4089. postData: host.postData,
  4090. resLinkRegex: host.resLinkRegex,
  4091. resLiveRegex: host.resLiveRegex,
  4092. resDeadRegex: host.resDeadRegex,
  4093. resUnavaRegex: host.resUnavaRegex
  4094. });
  4095. //clean up
  4096. arr.length = 0;
  4097. }
  4098. //
  4099.  
  4100. function gimmeHostName(link)
  4101. {
  4102. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4103. }
  4104. }
  4105. function checkLinks(filterId)
  4106. {
  4107. startBulkCheck(filterId);
  4108. start(filterId);
  4109. }
  4110.  
  4111. /**
  4112. * Initialises progress box including event binding and CSS
  4113. */
  4114. function initProgressBox()
  4115. {
  4116. if ($("#warlc-progressbox").length > 0)
  4117. return;
  4118. //progressbox css change size and color of progress box
  4119. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4120. "; opacity:" + (Progress_box_opacity / 100) +
  4121. "; bottom:" + Processbox_Pos_Y +
  4122. "%; left:" + Processbox_Pos_X +
  4123. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4124. \
  4125. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4126. \
  4127. .warlc-progressitem {}\
  4128. \
  4129. .alive {color:#00FF7F; " + Live_links_color +
  4130. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4131. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4132. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4133. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4134. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4135. //
  4136. if (Progressbox_Scaling != 100) {
  4137. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4138. 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
  4139. });
  4140. }
  4141. 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
  4142.  
  4143. GM_addStyle(progressboxCss);
  4144. $('body').append(' <div id="warlc-progressbox">\
  4145. <div class="warlc-progressbar"></div>\
  4146. <span class="warlc-progressitem alive"></span> - \
  4147. <span class="warlc-progressitem dead"></span> - \
  4148. <span class="warlc-progressitem unava"></span> - \
  4149. <span class="warlc-progressitem prem"></span> - \
  4150. <span class="warlc-progressitem processing"></span>\
  4151. </div>');
  4152. $('#warlc-progressbox').hide().click(function(){
  4153. clearInterval(intervalId);
  4154. $(this).hide();
  4155. return false;
  4156. });
  4157. $(".warlc-progressbar").progressbar({complete: function(){
  4158. $(this).fadeOut();
  4159. clearInterval(intervalId); //stop refreshing the stats
  4160. }
  4161. })
  4162. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4163. }
  4164. /**
  4165. * Updates progress data in progress box
  4166. */
  4167. function updateProgress()
  4168. {
  4169. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4170. if (cLinksTotal) // some links were detected on page
  4171. {
  4172. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4173. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4174. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4175. if ((cLinksTotal - cLinksProcessed) == 0)
  4176. {
  4177. $progressItems.first().text(cLinksAlive)
  4178. .next().text(cLinksDead)
  4179. .next().text(cLinksUnava)
  4180. .next().text(cLinksprem)
  4181. .next().remove();
  4182. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4183. $('#warlc-progressbox div:first-child').remove();
  4184. }
  4185. else
  4186. {
  4187. $progressItems.first().text(cLinksAlive)
  4188. .next().text(cLinksDead)
  4189. .next().text(cLinksUnava)
  4190. .next().text(cLinksprem)
  4191. .next().text(cLinksTotal - cLinksProcessed);
  4192. }
  4193. }
  4194. }
  4195.  
  4196. function check_all_links()
  4197. {
  4198. add_WARLC_style();
  4199.  
  4200. if (Show_progress_stats)
  4201. {
  4202. initProgressBox();
  4203. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4204. }
  4205.  
  4206. startBulkCheck(null);
  4207. start(null);
  4208.  
  4209. if (!containers_processed)
  4210. {
  4211. processContainers();
  4212. }
  4213. }
  4214.  
  4215. //Copies all found dead links to clipboard - right now for Scriptish only
  4216. function copy_dead_to_clipboard()
  4217. {
  4218. initClipBoardTools();
  4219.  
  4220. var deadlinksxpath = "//.[@class='adead_link']";
  4221.  
  4222. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4223. var foundlinkstext = '';
  4224.  
  4225. var foundlinkIdx = foundlinks.snapshotLength;
  4226.  
  4227. while(foundlinkIdx--)
  4228. {
  4229. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4230. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4231. }
  4232.  
  4233. GM_setClipboard(foundlinkstext);
  4234. }
  4235. //Copies all found live links to clipboard
  4236. function copy_live_to_clipboard()
  4237. {
  4238. initClipBoardTools();
  4239.  
  4240. var livelinksxpath = "//.[@class='alive_link']";
  4241.  
  4242. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4243. var foundlinks2text = '';
  4244.  
  4245. var foundlink2Idx = foundlinks2.snapshotLength;
  4246.  
  4247. while(foundlink2Idx--)
  4248. {
  4249. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4250. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4251. }
  4252.  
  4253. GM_setClipboard(foundlinks2text);
  4254. }
  4255.  
  4256. function toggle_autocheck()
  4257. {
  4258. var currentState = GM_getValue("Autocheck", false);
  4259. GM_setValue("Autocheck", !currentState);
  4260.  
  4261. if (currentState == true)
  4262. {
  4263. sendMessage('Autocheck disabled', 'red');
  4264. }
  4265. else
  4266. {
  4267. sendMessage('Autocheck enabled', 'SpringGreen');
  4268. }
  4269. }
  4270. function toggle_Enable_Anonymizer()
  4271. {
  4272. var currentState = GM_getValue("Enable_Anonymizer", false);
  4273. GM_setValue("Enable_Anonymizer", !currentState);
  4274.  
  4275. if (currentState == true)
  4276. {
  4277. GM_setValue("Ref_anonymize_service", "");
  4278. sendMessage('Anonymizer Disabled', 'red');
  4279. }
  4280. else
  4281. {
  4282. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4283. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4284. }
  4285. }
  4286.  
  4287. function KeyDownHandler(event)
  4288. {
  4289. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4290. if (event.ctrlKey && event.altKey)
  4291. {
  4292. switch(kcode)
  4293. {
  4294. case 65 : check_all_links(); break;
  4295. case 67 : configuration(); break;
  4296. case 68 : copy_dead_to_clipboard(); break;
  4297. case 76 : copy_live_to_clipboard(); break;
  4298. case 87 : toggle_autocheck(); break;
  4299. case 90 : toggle_Enable_Anonymizer(); break;
  4300. }
  4301. }
  4302. }
  4303.  
  4304. //
  4305. //
  4306. // SCRIPT EXECUTION START POINT
  4307. //
  4308. //
  4309. // Safari specific GM_getResourceText override
  4310. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4311. {
  4312. GM_getResourceText = function(res) {
  4313. var $cssText = GM_getValue("jquery_css", "");
  4314. if ($cssText == "")
  4315. {
  4316. GM_xmlhttpRequest(
  4317. {
  4318. method: 'GET',
  4319. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4320. onload: function (result)
  4321. {
  4322. GM_setValue("jquery_css", result.responseText);
  4323. window.location.reload();
  4324. }
  4325. });
  4326. }
  4327. else
  4328. {
  4329. return $cssText;
  4330. }
  4331. }
  4332. }
  4333. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4334. GM_addStyle(jQueryUICSS);
  4335. //init the stuff
  4336. setVariables();
  4337. initBulkCheck();
  4338. //init info boxes
  4339. messageBox.style.position = 'fixed';
  4340. messageBox.style.top = '20px';
  4341. messageBox.style.left = '10px';
  4342. messageBox.style.opacity = '0.85';
  4343. messageBox.style.background = 'DimGray';
  4344. messageBox.style.fontSize = '36px';
  4345. document.body.appendChild(messageBox);
  4346.  
  4347. //register GM menu commands & keyboard shortcut event handler
  4348. if (Keyboard_functions)
  4349. {
  4350. $(document).keydown(KeyDownHandler);
  4351. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4352. 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);
  4353. }
  4354. else
  4355. {
  4356. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4357. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4358. }
  4359.  
  4360. //start linkchecking
  4361. if (Autocheck)
  4362. {
  4363. $(document).ready(check_all_links);
  4364. }
  4365.  
  4366. //
  4367. //
  4368. // SCRIPT EXECUTION END POINT
  4369. //
  4370. //
  4371.  
  4372. //shows configuration box
  4373. function configuration()
  4374. {
  4375.  
  4376. //prevent multiple creating of config window
  4377. if ($("#hideshow").length)
  4378. {
  4379. $("#hideshow").show();
  4380. return;
  4381. }
  4382.  
  4383. var configcss = '\
  4384. .popup_block .popup fieldset{\
  4385. padding: 1%;\
  4386. border-style: solid;\
  4387. border-width: 1px;\
  4388. border-color: gray;\
  4389. margin-bottom: 1px;\
  4390. }\
  4391. #h3hideshowtitle{\
  4392. font-size: 2em;\
  4393. }\
  4394. #h3hideshow{\
  4395. font-size: 1.5em;\
  4396. }\
  4397. #imghideshow {\
  4398. border: none;\
  4399. }\
  4400. #plusimage{\
  4401. display:inline;\
  4402. }\
  4403. #hideshow {\
  4404. position: fixed;\
  4405. width: 100%;\
  4406. height: 100%;\
  4407. top: 0;\
  4408. left: 0;\
  4409. font-size:12px;\
  4410. z-index:2147483645;\
  4411. text-align:left;\
  4412. }\
  4413. #fade {\
  4414. background: #000;\
  4415. position: fixed;\
  4416. width: 100%;\
  4417. height: 100%;\
  4418. opacity: .80;\
  4419. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4420. left: 0;\
  4421. z-index: 10;\
  4422. }\
  4423. .popup_block {\
  4424. font-family:verdana;\
  4425. color:black;\
  4426. background: #ddd;\
  4427. padding: 10px 20px;\
  4428. border: 2px solid DarkOrange;\
  4429. float: left;\
  4430. width: 700px;\
  4431. position: absolute;\
  4432. top: 7%;\
  4433. left: 50%;\
  4434. bottom: 7%;\
  4435. margin: 0 0 0 -350px;\
  4436. -moz-border-radius:10px;\
  4437. z-index: 100;\
  4438. \
  4439. }\
  4440. .popup_block .popup {\
  4441. float: left;\
  4442. width: 100%;\
  4443. background: #fff;\
  4444. margin: 10px 0;\
  4445. padding: 0px 0 0px;\
  4446. border-left: 1px solid #bbb;\
  4447. border-top: 1px solid #bbb;\
  4448. border-right: 1px solid #bbb;\
  4449. }\
  4450. #h3hideshow{\
  4451. margin: 1px 0 0px;\
  4452. padding: 1px 10px;\
  4453. border-bottom: 1px solid #bbb;\
  4454. font-size: 1.5em;\
  4455. font-weight: normal;\
  4456. cursor:pointer;\
  4457. background:#DDDDDD none repeat scroll 0 0;\
  4458. }\
  4459. #h3hideshow:hover{\
  4460. background:#C0BEBE none repeat scroll 0 0;\
  4461. }\
  4462. #h3hideshowtitle{\
  4463. margin: 2px 0 0px;\
  4464. padding: 7px 10px;\
  4465. border-bottom: 1px solid #bbb;\
  4466. font-size: 1.5em;\
  4467. font-weight: normal;\
  4468. }\
  4469. .popup_block .popup a {\
  4470. color:DarkSkyBlue;\
  4471. text-decoration:none;\
  4472. }\
  4473. .popup p {\
  4474. padding: 1px 10px;\
  4475. margin: 0px 0;\
  4476. -x-system-font:none;\
  4477. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4478. font-size:10pt;\
  4479. font-size-adjust:none;\
  4480. font-stretch:normal;\
  4481. font-style:normal;\
  4482. font-variant:normal;\
  4483. font-weight:normal;\
  4484. line-height:normal;\
  4485. }\
  4486. #sites {\
  4487. padding: 1px 10px;\
  4488. margin: 0px 0;display:inline-block;width:16em;\
  4489. }\
  4490. #dev_ver {\
  4491. color: #00FF00;\
  4492. background: Black;\
  4493. text-align: right;\
  4494. }\
  4495. #sites_suspended {\
  4496. padding: 1px 10px;\
  4497. margin: 0px 0;display:inline-block;width:16em;\
  4498. text-decoration: line-through;\
  4499. }\
  4500. .popup img.cntrl {\
  4501. position: absolute;\
  4502. right: -15px;\
  4503. top: -15px;\
  4504. }\
  4505. #bulk {\
  4506. font-size:8pt;\
  4507. color:orange;\
  4508. padding: 1px 10px;\
  4509. margin: 0px 0;\
  4510. display:inline-block;\
  4511. width:100px;\
  4512. }\
  4513. #note {\
  4514. font-size:7pt;\
  4515. color:gray;\
  4516. padding: 1px 10px;\
  4517. margin: 0px 0;display:inline-block;\
  4518. min-width:100px;\
  4519. }\
  4520. #rednote {\
  4521. font-size:7pt;\
  4522. color:red;\
  4523. padding: 1px 10px;\
  4524. margin: 0px 0;display:inline-block;\
  4525. }\
  4526. #configinfo {\
  4527. font-size:8pt;\
  4528. color:gray;\
  4529. padding: 1px 10px;\
  4530. margin: 0px 0;display:inline-block;width:60em;\
  4531. }\
  4532. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4533. color:black;\
  4534. border-style: solid;\
  4535. border-width: 1px;\
  4536. border-color: gray;\
  4537. }\
  4538. #h3hideshowcontent {\
  4539. min-height:220px;\
  4540. max-height:220px;\
  4541. overflow:auto;\
  4542. display: none;\
  4543. padding: 10px 10px;\
  4544. }\
  4545. #specinfo{\
  4546. font-size:14px;\
  4547. }\
  4548. .warlc-ui-tab {\
  4549. height:300px;\
  4550. overflow:auto;\
  4551. }\
  4552. #warlcsitelist2, #warlcsitelist1 {\
  4553. height:220px;\
  4554. border-top: 1px solid #ddd;\
  4555. padding-top: 5px;\
  4556. overflow:auto;\
  4557. }\
  4558. input:hover+label {\
  4559. background:#F1F77C;\
  4560. font-size:110%;\
  4561. }\
  4562. ';
  4563.  
  4564. GM_addStyle(configcss);
  4565.  
  4566. var customRulesRefHTML =
  4567. '\
  4568. <br>\
  4569. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4570. <b>@keyword</b> <i>parameter</i>\
  4571. <br><br>\
  4572. 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. \
  4573. <br><br>\
  4574. 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.\
  4575. 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.\
  4576. 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.\
  4577. 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,\
  4578. but all commands until the next valid @customrule are ignored.<br><br>\
  4579. Available forms and types:\
  4580. <ul>\
  4581. <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.\
  4582. <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.\
  4583. <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.\
  4584. <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.\
  4585. </ul>\
  4586. Other available commands:<br>\
  4587. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4588. <ul>\
  4589. <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.\
  4590. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4591. <ul>examples:<br>\
  4592. <li>good: <i>filehost.com/download/</i><br>\
  4593. <li>good: <i>download.filehost.net/?d=</i><br>\
  4594. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4595. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4596. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4597. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4598. <li>bad: <i>filehost.com</i> - no slash<br>\
  4599. </ul>\
  4600. \
  4601. <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.\
  4602. 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 \
  4603. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4604. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4605. 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.)\
  4606. Two spaces again match any whitespace.\
  4607. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4608. Two spaces again match any whitespace.\
  4609. <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. \
  4610. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4611. </ul>\
  4612. \
  4613. ';
  4614.  
  4615. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4616. var configurationinnerHTML =
  4617. '<div id="fade"></div>\
  4618. <div class="popup_block">\
  4619. <div class="popup">\
  4620. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+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/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4621. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJ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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>\
  4622. <div id="warlc-conf-tabs">\
  4623. <ul>\
  4624. <li><a href="#tabs-1">Filehostings</a></li>\
  4625. <li><a href="#tabs-2">Containers</a></li>\
  4626. <li><a href="#tabs-5">Custom rules</a></li>\
  4627. <li><a href="#tabs-3">Settings</a></li>\
  4628. <li><a href="#tabs-4">About</a></li>\
  4629. </ul>\
  4630. <div id="tabs-1" class="warlc-ui-tab">\
  4631. <div class="warlc-ui-buttonset">\
  4632. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4633. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4634. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4635. </div><br>\
  4636. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4637. <div id="warlcsitelist1"><span>Empty</span></div>\
  4638. </div>\
  4639. <div id="tabs-2" class="warlc-ui-tab">\
  4640. <div class="warlc-ui-buttonset">\
  4641. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4642. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4643. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4644. </div><br>\
  4645. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4646. <div id="warlcsitelist2"><span>Empty</span></div>\
  4647. </div>\
  4648. <div id="tabs-5" class="warlc-ui-tab">\
  4649. <div class="warlcsettings">\
  4650. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4651. <br>\
  4652. <div>Edit custom rules: \
  4653. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4654. <div id="customRulesReference" style="display:none;">'
  4655. + customRulesRefHTML + '\
  4656. </div>\
  4657. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4658. </div>\
  4659. </div>\
  4660. </div>\
  4661. <div id="tabs-3" class="warlc-ui-tab">\
  4662. <div class="warlcsettings">\
  4663. <fieldset>\
  4664. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4665. <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>\
  4666. </fieldset>\
  4667. <fieldset>\
  4668. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4669. <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>\
  4670. <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>\
  4671. <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>\
  4672. <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>\
  4673. <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>\
  4674. <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>\
  4675. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4676. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4677. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4678. <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>\
  4679. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4680. <fieldset>\
  4681. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4682. <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>\
  4683. <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>\
  4684. <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>\
  4685. </fieldset>\
  4686. </fieldset>\
  4687. <fieldset>\
  4688. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4689. </fieldset>\
  4690. <fieldset>\
  4691. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4692. </fieldset>\
  4693. <fieldset>\
  4694. <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>\
  4695. </fieldset>\
  4696. <fieldset>\
  4697. <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>\
  4698. </fieldset>\
  4699. <fieldset>\
  4700. <legend>Progress box settings</legend>\
  4701. <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>\
  4702. <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>\
  4703. <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>\
  4704. </fieldset>\
  4705. </div>\
  4706. </div>\
  4707. <div id="tabs-4" class="warlc-ui-tab">\
  4708. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4709. <br />\
  4710. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4711. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4712. <br />\
  4713. <p><b>Currently supported:</b><br>\
  4714. Filehostings: ' + allHostNames.length + '<br />\
  4715. Containers: ' + allContainerNames.length + '<br />\
  4716. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4717. <br />\
  4718. <p><b>Based on:</b><br>\
  4719. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4720. <br />\
  4721. <p><b>Uses:</b></p>\
  4722. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4723. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4724. <br />\
  4725. <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>\
  4726. </div>\
  4727. </div>\
  4728. </div>\
  4729. </div>';
  4730. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4731. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4732. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4733. var elmHostList = document.getElementById("warlcsitelist1");
  4734. var elmContainerList = document.getElementById("warlcsitelist2");
  4735. buildSettings();
  4736. buildSitelist("", allHostNames, elmHostList);
  4737. buildSitelist("", allContainerNames, elmContainerList);
  4738. if (DEBUG_MODE)
  4739. {
  4740. //log all sites availability status
  4741. diagSites();
  4742. }
  4743. //handler for checkbox state change
  4744. function changeConfiguration(e)
  4745. {
  4746. var element = e.target;
  4747.  
  4748. if (element.type == 'checkbox')
  4749. {
  4750. if (element.checked == 1)
  4751. {
  4752. GM_setValue(element.id, true);
  4753. }
  4754. else
  4755. {
  4756. GM_setValue(element.id, false);
  4757. }
  4758.  
  4759. }
  4760. setVariables();
  4761. }
  4762.  
  4763. //Selects all filehosting checkboxes
  4764. function selectAll()
  4765. {
  4766. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4767. .each(function(index, element){GM_setValue(this.id, true)});
  4768. }
  4769.  
  4770. //Deselects all filehosting checkboxes
  4771. function selectNone()
  4772. {
  4773. $(":checkbox:visible:checked").prop("checked",false)
  4774. .each(function(index, element){GM_setValue(this.id, false)});
  4775. }
  4776. //Sets Processbox position setting
  4777. function changeProgBox(event) {
  4778. var setting;
  4779. switch(event.data.set) {
  4780. case "X": setting = "Processbox_Pos_X"; break;
  4781. case "Y": setting = "Processbox_Pos_Y"; break;
  4782. case "Scale": setting = "Progressbox_Scaling"; break;
  4783. }
  4784. var $setting = $("#" + setting);
  4785. var newSet = $setting.val().replace("%", "");
  4786. GM_setValue(setting, newSet);
  4787. }
  4788. //Sets value of Processbox position
  4789. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4790. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4791. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4792.  
  4793. //Inverts filehosting checkboxes selection
  4794. function selectInvert()
  4795. {
  4796. var $checked = $(":checkbox:visible:checked");
  4797. var $unchecked = $(":checkbox:visible:not(:checked)");
  4798. $unchecked.prop("checked",true)
  4799. .each(function(index, element){GM_setValue(this.id, true)});
  4800. $checked.prop("checked",false)
  4801. .each(function(index, element){GM_setValue(this.id, false)});
  4802. }
  4803. //toggles anonymizer on off
  4804. function Enable_Anonymizer()
  4805. {
  4806. var $checked = $(":checkbox:visible:checked");
  4807. var $unchecked = $(":checkbox:visible:not(:checked)");
  4808. $unchecked.prop("checked",true)
  4809. .each(function(index, element){GM_setValue(this.id, true)});
  4810. $checked.prop("checked",false)
  4811. .each(function(index, element){GM_setValue(this.id, false)});
  4812. }
  4813.  
  4814. function changeRefAnonymizer(){
  4815. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4816. }
  4817.  
  4818. //Sets live links color
  4819. function changeColorLive()
  4820. {
  4821. var inColorLive = document.getElementById("inputColorLive");
  4822. inColorLive.style.background = inColorLive.value;
  4823. GM_setValue("Live_links_color", inColorLive.value);
  4824. }
  4825.  
  4826. //Sets dead links color
  4827. function changeColorDead()
  4828. {
  4829. var inColorDead = document.getElementById("inputColorDead");
  4830. inColorDead.style.background = inColorDead.value;
  4831. GM_setValue("Dead_links_color", inColorDead.value);
  4832. }
  4833.  
  4834. //Sets temp. unavailable links color
  4835. function changeColorTemp()
  4836. {
  4837. var inColorTemp = document.getElementById("inputColorTemp");
  4838. inColorTemp.style.background = inColorTemp.value;
  4839. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4840. }
  4841.  
  4842. //Sets temp. unavailable links color
  4843. function changeColorCont()
  4844. {
  4845. var inColorCont = document.getElementById("inputColorCont");
  4846. inColorCont.style.background = inColorCont.value;
  4847. GM_setValue("Container_links_color", inColorCont.value);
  4848. }
  4849. //Sets premium. links color
  4850. function changeColorprem()
  4851. {
  4852. var inColorprem = document.getElementById("inputColorprem");
  4853. inColorprem.style.background = inColorprem.value;
  4854. GM_setValue("Premium_links_color", inColorprem.value);
  4855. }
  4856.  
  4857. //Diagnose sites for availability
  4858. function diagSites()
  4859. {
  4860. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4861.  
  4862. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4863. {
  4864. if (boxes[i].type == "checkbox")
  4865. {
  4866. checkAvailability(boxes[i]);
  4867. }
  4868. }
  4869.  
  4870. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4871.  
  4872. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4873. {
  4874. if (boxes[i].type == "checkbox")
  4875. {
  4876. checkAvailability(boxes[i]);
  4877. }
  4878. }
  4879.  
  4880. function checkAvailability(cbElm)
  4881. {
  4882. var cb = cbElm;
  4883. GM_xmlhttpRequest(
  4884. {
  4885. method: 'HEAD',
  4886. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4887. headers: {
  4888. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4889. 'Accept': 'text/xml',
  4890. 'Referer': ""
  4891. },
  4892. onload: function (result)
  4893. {
  4894. if (result.status != 200)
  4895. {
  4896. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4897. }
  4898. },
  4899. onerror: function (result)
  4900. {
  4901. if (result.status != 200)
  4902. {
  4903. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4904. //Sets Progress_box position setting
  4905. function changeProgBox(event) {
  4906. var setting;
  4907. switch(event.data.set) {
  4908. case "X": setting = "Progress_box_Pos_X"; break;
  4909. case "Y": setting = "Progress_box_Pos_Y"; break;
  4910. case "Scale": setting = "Progress_box_Scaling"; break;
  4911. }
  4912.  
  4913. var $setting = $("#" + setting);
  4914. var newSet = $setting.val().replace("%", "");
  4915. lsSetVal("general", setting, newSet);
  4916. }
  4917.  
  4918. //Sets value of Progress_box position
  4919. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4920. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4921. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4922. }
  4923. }
  4924. });
  4925. }
  4926. }
  4927. function buildSettings()
  4928. {
  4929. $(".warlcsettings :checkbox").each(function(){
  4930. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4931. .click(function(e){
  4932. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4933. setVariables();
  4934. });
  4935. })
  4936. }
  4937. //Dynamic build of host list
  4938. //param search [string] searches for hostnames matching search substring
  4939. //param siteNames [array] array of site names
  4940. //param targetNode [DOM Node] where the list should be built
  4941. // first child node is replaced
  4942. function buildSitelist(search, siteNames, targetNode)
  4943. {
  4944. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4945. var $targetNode = $(targetNode).empty();
  4946. var searchedSite = "";
  4947. $.each(siteNames, function(i, site){
  4948. if (searchedSite = site.match(searchRegex))
  4949. {
  4950. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4951. //ensuring backward compatibility with the rest of code, to be refactored later
  4952. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4953. //
  4954. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4955. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4956. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4957. );
  4958. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4959. .change(changeConfiguration);
  4960. $targetNode.append('<br />');
  4961. }
  4962. });
  4963. $targetNode.append("<hr>");
  4964. //obsolete hosts checkbox
  4965. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4966. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4967. .change(changeConfiguration);
  4968. $targetNode.append('<br />');
  4969. var foundName = "";
  4970. $.each(allObsoleteNames, function(i, site){
  4971. if (foundName = allObsoleteNames[i].match(searchRegex))
  4972. {
  4973. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4974. }
  4975. })
  4976. }
  4977. var hostSearchBox = document.getElementById("hostSearchBox");
  4978. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4979. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4980. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4981. $(".warlc-ui-select-all").click(selectAll).button();
  4982. $(".warlc-ui-select-none").click(selectNone).button();
  4983. $(".warlc-ui-select-invert").click(selectInvert).button();
  4984. $(".warlc-ui-buttonset").buttonset();
  4985. var inColorLive = document.getElementById("inputColorLive");
  4986. inColorLive.addEventListener('keyup', changeColorLive, false);
  4987.  
  4988. var inColorDead = document.getElementById("inputColorDead");
  4989. inColorDead.addEventListener('keyup', changeColorDead, false);
  4990.  
  4991. var inColorTemp = document.getElementById("inputColorTemp");
  4992. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4993.  
  4994. var inColorCont = document.getElementById("inputColorCont");
  4995. inColorCont.addEventListener('keyup', changeColorCont, false);
  4996. var inColorprem = document.getElementById("inputColorprem");
  4997. inColorprem.addEventListener('keyup', changeColorprem, false);
  4998. $("#refAnonymizer").change(changeRefAnonymizer);
  4999. //buttons and edit boxes init end
  5000.  
  5001. //icon sets radio buttons
  5002. var radioButtons = document.getElementsByName("warlciconset");
  5003. radioButtons[Icon_set].checked = "checked";
  5004.  
  5005. radioButtons[0].addEventListener("change", updateIconSet);
  5006. radioButtons[1].addEventListener("change", updateIconSet);
  5007. radioButtons[2].addEventListener("change", updateIconSet);
  5008. radioButtons[3].addEventListener("change", updateIconSet);
  5009. function updateIconSet()
  5010. {
  5011. GM_setValue("Icon_set", this.value * 1);
  5012. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5013. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5014. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5015. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5016. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5017.  
  5018. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5019. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5020.  
  5021. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5022. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5023. }
  5024. //
  5025. $('#showCustomRulesReference').click(function(e){
  5026. e.preventDefault();
  5027. $('#customRulesReference').toggle();
  5028. });
  5029. $('#Custom_rules_text')
  5030. .val(Custom_rules_text)
  5031. .change(saveCustomRules);
  5032. function saveCustomRules(e)
  5033. {
  5034. var cr = parseCustomRules(this.value);
  5035. if (cr.info.length)
  5036. 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, ' '));
  5037. GM_setValue('Custom_rules_text', this.value);
  5038. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5039. }
  5040. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5041. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5042. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5043. }
  5044.  
  5045. //begin standard link checking algorithm
  5046. function start(filterId)
  5047. {
  5048. var doNotLinkify = Do_not_linkify_DL_links;
  5049.  
  5050. // USER SELECTED FILE HOSTS INITIALIZATION START
  5051. var http_file_hosts = new Array(); //standard hostings
  5052. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5053. var http_file_hosts_obsolete = new Array(); //dead hostings
  5054. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5055.  
  5056. initFileHosts();
  5057. initFileHostsHeadersOnly();
  5058. initFileHostsCustom(); //CustomRules
  5059. // USER SELECTED FILE HOSTS INITIALIZATION END
  5060.  
  5061. // LINKIFICATION START
  5062. var totalxpath = '';
  5063. var totalxpathcoded = '';
  5064. var totalxpathobsolete = '';
  5065. var totalxpathheadersonly = '';
  5066. var totalourls = '';
  5067.  
  5068. var filehostLen = http_file_hosts.length;
  5069. var filehostCodedLen = http_file_hosts_coded.length;
  5070. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5071. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5072.  
  5073. var filehostIdx = filehostLen;
  5074. var filehostCodedIdx = filehostCodedLen;
  5075. var filehostObsoleteIdx = filehostObsoleteLen;
  5076. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5077.  
  5078. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5079. return;
  5080.  
  5081. while (filehostIdx--)
  5082. {
  5083. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5084. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5085. }
  5086.  
  5087. while (filehostCodedIdx--)
  5088. {
  5089. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5090. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5091. }
  5092.  
  5093. while (filehostObsoleteIdx--)
  5094. {
  5095. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5096. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5097. }
  5098.  
  5099. while (filehostHeadersOnlyIdx--)
  5100. {
  5101. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5102. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5103. }
  5104.  
  5105. totalourls = totalourls.replace(/\|$/g, "");
  5106. //TODO: further refactoring needed
  5107. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5108. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5109. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5110. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5111. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5112. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5113. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5114. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5115. if (filterId != null) //insert id restriction in the xpath
  5116. {
  5117. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5118. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5119. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5120. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5121. }
  5122. else
  5123. {
  5124. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5125. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5126. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5127. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5128. }
  5129. linkify(totalourls);
  5130. //LINKIFICATION END
  5131. //ENCRYPTED LINKS PROCESSING START
  5132. if (http_file_hosts_coded.length > 0)
  5133. {
  5134. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5135.  
  5136. // decrypt coded links (redirects, link protectors etc.)
  5137. if (linksCoded.snapshotLength > 0)
  5138. {
  5139. var link;
  5140. var reallinkreg;
  5141. var reallinkcorrection;
  5142.  
  5143. if (filterId == null)
  5144. {
  5145. cLinksTotal += linksCoded.snapshotLength;
  5146. }
  5147.  
  5148. var y = linksCoded.snapshotLength - 1;
  5149. do
  5150. {
  5151. // linksCoded.snapshotItem(y).id = 'processing_link';
  5152. link = linksCoded.snapshotItem(y);
  5153. filehostIdx = filehostCodedLen;
  5154. while (filehostIdx--)
  5155. {
  5156. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5157. {
  5158. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5159. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5160. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5161.  
  5162. decurl(link, reallinkreg, reallinkcorrection);
  5163. break;
  5164. }
  5165. }
  5166. }
  5167. while (y--);
  5168. }
  5169. }
  5170. //ENCRYPTED LINKS PROCESSING END
  5171.  
  5172. //STANDARD LINKCHECKING START
  5173. if (http_file_hosts.length > 0)
  5174. {
  5175. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5176.  
  5177. if (filterId == null)
  5178. {
  5179. cLinksTotal += lianks.snapshotLength;
  5180. }
  5181.  
  5182. if (lianks.snapshotLength > 0)
  5183. {
  5184. var link;
  5185.  
  5186. var URL = "";
  5187. var name = "";
  5188. var isAliveRegex = "";
  5189. var isDeadRegex = "";
  5190. var isUnavaRegex = "";
  5191. var ispremRegex = "";
  5192. var tryLoop = false;
  5193.  
  5194. var y = lianks.snapshotLength;
  5195.  
  5196. while (y--)
  5197. {
  5198. link = lianks.snapshotItem(y);
  5199.  
  5200. filehostIdx = filehostLen;
  5201. while (filehostIdx--)
  5202. {
  5203. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5204. {
  5205. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5206. isAliveRegex = http_file_hosts[filehostIdx][1];
  5207. isDeadRegex = http_file_hosts[filehostIdx][2];
  5208. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5209. ispremRegex = http_file_hosts[filehostIdx][6];
  5210. tryLoop = http_file_hosts[filehostIdx][5];
  5211.  
  5212. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5213.  
  5214. break;
  5215. }
  5216. }
  5217. }
  5218. }
  5219. }
  5220. //STANDARD LINKCHECKING END
  5221. //OBSOLETE FILE HOSTS PROCESSING START
  5222. if (filehostObsoleteLen > 0)
  5223. {
  5224. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5225.  
  5226. var obsoleteLink;
  5227.  
  5228. //check links
  5229. if (obsoletelinks.snapshotLength > 0)
  5230. {
  5231. var y = obsoletelinks.snapshotLength;
  5232.  
  5233. if (filterId == null)
  5234. {
  5235. cLinksTotal += y;
  5236. }
  5237.  
  5238. while (y--)
  5239. {
  5240. obsoleteLink = obsoletelinks.snapshotItem(y);
  5241.  
  5242. if (Display_tooltip_info)
  5243. {
  5244. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5245. }
  5246. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5247. }
  5248. }
  5249. }
  5250. //OBSOLETE FILE HOSTS PROCESSING END
  5251.  
  5252. //DIRECT LINKCHECKING START
  5253. if (http_file_hosts_headers_only.length > 0)
  5254. {
  5255. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5256.  
  5257. //check links
  5258. if (links.snapshotLength > 0)
  5259. {
  5260. var link;
  5261. var isAliveRegex;
  5262. var isDeadRegex;
  5263. var ispremRegex;
  5264.  
  5265. var y = links.snapshotLength;
  5266.  
  5267.  
  5268. if (filterId == null)
  5269. {
  5270. cLinksTotal += y;
  5271. }
  5272.  
  5273. while (y--)
  5274. {
  5275. // links.snapshotItem(y).id = 'processing_link';
  5276. link = links.snapshotItem(y);
  5277. filehostIdx = filehostHeadersOnlyLen;
  5278. while (filehostIdx--)
  5279. {
  5280. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5281. {
  5282. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5283. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5284. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5285. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5286.  
  5287. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5288.  
  5289. break;
  5290. }
  5291. }
  5292. }
  5293.  
  5294. }
  5295. }
  5296. //DIRECT LINKCHECKING END
  5297.  
  5298.  
  5299. //finds the real url on the page, replaces link.href with it and calls geturl
  5300. function decurl(link, reallinkreg, reallinkcorrection)
  5301. {
  5302.  
  5303. GM_xmlhttpRequest(
  5304. {
  5305. method: 'GET',
  5306. url: link.href,
  5307. headers: {
  5308. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5309. 'Accept': 'text/xml',
  5310. 'Referer': ""
  5311. },
  5312. onload: function (result)
  5313. {
  5314. // cLinksProcessed++;
  5315.  
  5316. var reallink = result.responseText.match(reallinkreg)[0];
  5317. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5318.  
  5319. link.href = reallink;
  5320.  
  5321. var i = http_file_hosts.length - 1;
  5322. do
  5323. {
  5324. if ((reallink.match(http_file_hosts[i][0])))
  5325. {
  5326. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5327. var isAliveRegex = http_file_hosts[i][1];
  5328. var isDeadRegex = http_file_hosts[i][2];
  5329. var isUnavaRegex = http_file_hosts[i][3];
  5330. var ispremRegex = http_file_hosts[i][4];
  5331.  
  5332. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5333.  
  5334. break;
  5335. }
  5336. }
  5337. while (i--);
  5338. }
  5339. });
  5340. }
  5341.  
  5342. function randUA()
  5343. {
  5344. //TODO
  5345. }
  5346. //Processes link
  5347. //
  5348. // [string] link link URL
  5349. // [string] isAliveRegex alive link regex
  5350. // [string] isDeadRegex dead link regex
  5351. // [string] isUnavaRegex unavailable link regex
  5352. // [string] ispremRegex premium link regex
  5353. // [boolean] tryLoop repeats request until succeeded
  5354. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5355. {
  5356. GM_xmlhttpRequest(
  5357. {
  5358. method: 'GET',
  5359. url: link.href,
  5360. headers: {
  5361. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5362. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5363. 'Referer': ""
  5364. },
  5365. onload: function (result)
  5366. {
  5367. var res = result.responseText;
  5368. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5369. {
  5370. displayTheCheckedLink(link, 'alive_link');
  5371. return;
  5372. }
  5373.  
  5374. if (res.match(isAliveRegex))
  5375. {
  5376. displayTheCheckedLink(link, 'alive_link');
  5377. return;
  5378. }
  5379.  
  5380. if (res.match(isDeadRegex))
  5381. {
  5382. displayTheCheckedLink(link, 'adead_link');
  5383. return;
  5384. }
  5385.  
  5386. if (isUnavaRegex && res.match(isUnavaRegex))
  5387. {
  5388. displayTheCheckedLink(link, 'unava_link');
  5389. return;
  5390. }
  5391. if (res.match(ispremRegex))
  5392. {
  5393. displayTheCheckedLink(link, 'prem_link');
  5394. return;
  5395. }
  5396.  
  5397. var resStatus = result.status;
  5398.  
  5399. if (resStatus == 404)
  5400. {
  5401. displayTheCheckedLink(link, 'adead_link');
  5402. }
  5403. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5404. {
  5405. if (tryLoop)
  5406. {
  5407. //wait 1-5 seconds and repeat the request
  5408. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5409. }
  5410. else
  5411. {
  5412. displayTheCheckedLink(link, 'unava_link');
  5413. }
  5414.  
  5415. return;
  5416. }
  5417. },
  5418. onerror: function ()
  5419. {
  5420. displayTheCheckedLink(link, 'unava_link');
  5421. }
  5422. });
  5423. }
  5424.  
  5425. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5426. {
  5427. GM_xmlhttpRequest(
  5428. {
  5429. method: 'HEAD',
  5430. url: link.href,
  5431. headers: {
  5432. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5433. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5434. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5435. 'Referer': ""
  5436. },
  5437. onload: function (result)
  5438. {
  5439. var resStatus = result.status;
  5440. var resHeaders = "";
  5441. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5442. {
  5443. displayTheCheckedLink(link, 'adead_link');
  5444. return;
  5445. }
  5446.  
  5447. resHeaders = result.responseHeaders;
  5448.  
  5449. if (resHeaders.match(isDeadRegex))
  5450. {
  5451. displayTheCheckedLink(link, 'adead_link');
  5452. return;
  5453. }
  5454.  
  5455. if (resHeaders.match(isAliveRegex))
  5456. {
  5457. displayTheCheckedLink(link, 'alive_link');
  5458. return;
  5459. }
  5460. if (resHeaders.match(ispremRegex))
  5461. {
  5462. displayTheCheckedLink(link, 'prem_link');
  5463. return;
  5464. }
  5465. },
  5466. onerror: function ()
  5467. {
  5468. displayTheCheckedLink(link, 'unava_link');
  5469. }
  5470. });
  5471. }
  5472.  
  5473. //Delinkfifies the <a> element object
  5474. function delinkifyLink(link)
  5475. {
  5476. var spanElm = document.createElement("span");
  5477. spanElm.className = link.className;
  5478. spanElm.innerHTML = link.innerHTML;
  5479.  
  5480. if (Display_tooltip_info)
  5481. {
  5482. spanElm.href = link.href;
  5483. spanElm.warlc_error = link.warlc_error;
  5484. switch (link.className){
  5485. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5486. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5487. case "unava_link": //reserved
  5488. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5489. default:
  5490. }
  5491. }
  5492. link.parentNode.replaceChild(spanElm, link);
  5493. }
  5494.  
  5495. //Assigns result status to the <a> element object and calls delinkifying eventually
  5496. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5497. function displayTheCheckedLink(link, resultStatus)
  5498. {
  5499. link.className = resultStatus;
  5500. link.href = Ref_anonymize_service + link.href;
  5501. if (Display_tooltip_info)
  5502. {
  5503. switch (resultStatus){
  5504. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5505. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5506. case "unava_link": //reserved
  5507. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5508. default:
  5509. }
  5510. }
  5511. if (doNotLinkify)
  5512. {
  5513. delinkifyLink(link);
  5514. }
  5515. cLinksProcessed++;
  5516.  
  5517. if (resultStatus == "alive_link")
  5518. {
  5519. cLinksAlive++;
  5520. return;
  5521. }
  5522.  
  5523. if (resultStatus == "adead_link")
  5524. {
  5525. cLinksDead++;
  5526. return;
  5527. }
  5528.  
  5529. if (resultStatus == "unava_link")
  5530. {
  5531. cLinksUnava++;
  5532. }
  5533. if (resultStatus == "prem_link")
  5534. {
  5535. cLinksprem++;
  5536. return;
  5537. }
  5538. }
  5539.  
  5540.  
  5541. function initFileHosts()
  5542. {
  5543.  
  5544. function addObsoleteHost(linkRegex, xpathEx)
  5545. {
  5546. var host = new Array(2);
  5547. host[0] = linkRegex;
  5548. host[1] = xpathEx;
  5549. http_file_hosts_obsolete.push(host);
  5550. }
  5551.  
  5552. //obsolete file hosts init start
  5553. if (Obsolete_file_hosts)
  5554. {
  5555. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5556. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5557. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5558. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5559. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5560. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5561. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5562. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5563. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5564. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5565. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5566. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5567. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5568. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5569. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5570. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5571. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5572. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5573. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5574. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5575. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5576. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5577. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5578. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5579. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5580. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5581. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5582. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5583. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5584. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5585. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5586. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5587. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5588. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5589. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5590. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5591. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5592. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5593. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5594. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5595. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5596. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5597. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5598. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5599. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5600. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5601. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5602. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5603. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5604. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5605. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5606. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5607. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5608. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5609. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5610. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5611. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5612. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5613. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5614. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5615. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5616. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5617. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5618. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5619. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5620. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5621. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5622. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5623. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5624. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5625. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5626. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5627. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5628. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5629. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5630. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5631. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5632. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5633. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5634. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5635. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5636. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5637. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5638. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5639. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5640. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5641. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5642. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5643. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5644. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5645. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5646. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5647. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5648. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5649. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5650. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5651. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5652. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5653. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5654. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5655. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5656. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5657. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5658. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5659. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5660. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5661. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5662. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5663. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5664. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5665. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5666. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5667. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5668. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5669. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5670. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5671. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5672. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5673. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5674. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5675. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5676. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5677. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5678. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5679. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5680. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5681. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5682. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5683. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5684. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5685. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5686. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5687. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5688. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5689. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5690. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5691. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5692. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5693. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5694. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5695. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5696. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5697. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5698. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5699. 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')]");
  5700. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5701. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5702. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5703. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5704. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5705. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5706. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5707. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5708. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5709. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5710. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5711. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5712. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5713. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5714. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5715. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5716. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5717. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5718. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5719. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5720. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5721. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5722. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5723. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5724. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5725. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5726. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5727. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5728. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5729. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5730. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5731. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5732. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5733. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5734. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5735. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5736. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5737. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5738. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5739. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5740. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5741. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5742. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5743. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5744. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5745. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5746. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5747. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5748. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5749. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5750. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5751. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5752. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5753. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5754. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5755. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5756. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5757. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5758. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5759. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5760. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5761. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5762. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5763. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5764. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5765. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5766. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5767. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5768. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5769. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5770. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5771. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5772. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5773. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5774. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5775. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5776. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5777. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5778. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5779. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5780. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5781. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5782. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5783. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5784. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5785. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5786. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5787. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5788. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5789. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5790. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5791. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5792. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5793. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5794. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5795. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5796. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5797. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5798. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5799. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5800. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5801. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5802. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5803. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5804. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5805. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5806. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5807. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5808. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5809. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5810. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5811. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5812. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5813. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5814. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5815. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5816. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5817. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5818. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5819. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5820. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5821. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5822. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5823. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5824. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5825. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5826. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5827. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5828. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5829. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5830. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5831. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5832. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5833. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5834. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5835. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5836. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5837. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5838. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5839. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5840. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5841. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5842. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5843. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5844. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5845. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5846. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5847. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5848. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5849. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5850. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5851. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5852. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5853. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5854. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5855. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5856. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5857. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5858. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5859. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5860. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5861. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5862. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5863. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5864. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5865. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5866. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5867. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5868. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5869. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5870. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5871. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5872. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5873. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5874. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5875. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5876. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5877. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5878. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5879. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5880. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5881. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5882. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5883. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5884. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5885. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5886. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5887. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5888. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5889. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5890. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5891. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5892. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5893. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5894. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5895. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5896. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5897. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5898. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5899. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5900. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5901. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5902. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5903. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5904. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5905. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5906. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5907. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5908. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5909. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5910. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5911. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5912. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5913. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5914. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5915. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5916. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5917. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5918. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5919. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5920. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5921. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5922. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5923. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5924. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5925. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5926. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5927. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5928. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5929. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5930. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5931. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5932. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5933. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5934. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5935. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5936. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5937. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5938. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5939. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5940. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5941. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5942. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5943. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5944. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5945. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5946. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5947. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5948. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5949. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5950. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5951. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5952. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5953. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5954. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5955. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5956. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5957. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5958. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5959. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5960. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5961. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5962. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5963. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5964. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5965. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5966. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5967. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5968. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5969. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5970. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5971. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5972. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5973. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5974. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5975. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5976. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5977. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5978. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5979. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5980. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5981. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5982. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5983. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5984. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5985. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5986. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5987. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5988. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5989. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5990. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5991. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5992. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5993. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5994. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5995. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5996. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5997. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5998. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5999. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  6000. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  6001. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  6002. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  6003. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6004. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6005. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6006. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6007. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6008. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6009. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6010. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6011. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6012. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6013. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6014. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6015. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6016. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6017. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6018. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6019. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6020. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6021. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6022. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6023. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6024. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6025. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6026. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6027. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6028. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6029. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6030. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6031. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6032. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6033. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6034. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6035. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6036. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6037. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6038. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6039. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6040. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6041. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6042. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6043. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6044. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6045. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6046. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6047. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6048. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6049. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6050. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6051. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6052. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6053. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6054. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6055. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6056. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6057. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6058. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6059. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6060. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6061. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6062. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6063. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6064. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6065. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6066. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6067. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6068. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6069. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6070. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6071. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6072. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6073. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6074. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6075. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6076. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6077. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6078. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6079. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6080. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6081. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6082. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6083. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6084. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6085. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6086. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6087. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6088. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6089. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6090. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6091. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6092. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6093. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6094. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6095. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6096. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6097. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6098. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6099. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6100. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6101. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6102. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6103.  
  6104. // obsolete start start2
  6105. }
  6106. //obsolete file hosts init end
  6107. //Add Host Example
  6108. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6109. {
  6110. addFileHost(
  6111. "datafile\.com\/\\w+",
  6112. 'var captchaPanel|<link href="/css/files_download.css"',
  6113. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6114. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6115. '<style type="text/css">',
  6116. "//a[contains(@href,'datafile.com')]",
  6117. true);
  6118. } */
  6119.  
  6120. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6121. {
  6122. var host = new Array(7);
  6123. host[0] = linkRegex;
  6124. host[1] = isAliveRegex;
  6125. host[2] = isDeadRegex;
  6126. host[3] = isUnavaRegex;
  6127. host[6] = ispremRegex;
  6128. host[4] = xpathEx;
  6129. tryLoop ? host[5] = true : host[5] = false;
  6130. http_file_hosts.push(host);
  6131. }
  6132. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6133. {
  6134. addFileHost(
  6135. "megafileupload\.com\/..\/file\/",
  6136. 'downloadbtn',
  6137. 'is not found',
  6138. 'optional--',
  6139. 'optional2--',
  6140. "//a[contains(@href,'megafileupload.com')]");
  6141. }
  6142. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6143. {
  6144. addFileHost(
  6145. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6146. 'download\\.gif"',
  6147. 'p_point">',
  6148. 'optional--',
  6149. 'optional2--',
  6150. "//a[contains(@href,'demo.ovh.eu')]");
  6151. }*/
  6152. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6153. {
  6154. addFileHost(
  6155. "safelinking\\.net\/p\/\\w+",
  6156. 'color:green;"',
  6157. 'color:(?:red|orange);"',
  6158. 'color:(?:grey|brown);"',
  6159. 'optional2--',
  6160. "//a[contains(@href,'safelinking.net/p/')]",
  6161. true);
  6162. }
  6163. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6164. {
  6165. addFileHost(
  6166. "fastshare\\.cz\/\\d+\/\\w*",
  6167. 'dwntable">|speed-low',
  6168. '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',
  6169. 'optional--',
  6170. 'optional2--',
  6171. "//a[contains(@href,'fastshare.cz')]");
  6172. }
  6173. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6174. {
  6175. addFileHost(
  6176. "[fF]ast[sS]hare\\.org\/download",
  6177. 'Download ">',
  6178. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6179. 'optional--',
  6180. 'optional2--',
  6181. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6182. }
  6183. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6184. {
  6185. addFileHost(
  6186. "rapidgator\\.net\/file\/\\w+",
  6187. '/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.',
  6188. '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',
  6189. 'optional--',
  6190. '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',
  6191. "//a[contains(@href,'rapidgator.net/file')]",
  6192. true
  6193. );
  6194. }
  6195. if (GM_getValue("Check_rg_dot_to_links", false))
  6196. {
  6197. addFileHost(
  6198. "rg\.to\/\\w+",
  6199. '/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.',
  6200. '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',
  6201. 'optional--',
  6202. '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',
  6203. "//a[contains(@href,'rg.to')]");
  6204. }
  6205. if (GM_getValue("Check_relink_dot_us_links", false))
  6206. {
  6207. addFileHost(
  6208. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6209. 'online_detail\\.png" alt="Status',
  6210. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6211. 'unknown_detail\\.png" alt="Status',
  6212. 'optional2--',
  6213. "//a[contains(@href,'relink.us/')]"
  6214. );
  6215. }
  6216. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6217. {
  6218. addFileHost(
  6219. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6220. 'div id="dl"',
  6221. 'Sie haben den Link falsch',
  6222. 'optional--',
  6223. 'optional2--',
  6224. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6225. );
  6226. }
  6227. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6228. {
  6229. addFileHost(
  6230. "flyfiles\\.net\/\\w+",
  6231. 'download_button"|"Download file"',
  6232. 'File not found!|Файл не найден',
  6233. 'optional--',
  6234. 'optional2--',
  6235. "//a[contains(@href,'flyfiles.net/')]"
  6236. );
  6237. }
  6238. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6239. {
  6240. addFileHost(
  6241. "wikiupload\\.com\/\\w+",
  6242. 'download-button">',
  6243. 'Sorry, File not found',
  6244. 'optional--',
  6245. 'optional2--',
  6246. "//a[contains(@href,'wikiupload.com/')]"
  6247. );
  6248. }
  6249. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6250. {
  6251. addFileHost(
  6252. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6253. 'file\\.php">|Pobierz Plik',
  6254. 'Podany plik nie zosta',
  6255. 'optional--',
  6256. 'optional2--',
  6257. "//a[contains(@href,'hostuje.net/file')]"
  6258. );
  6259. }
  6260. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6261. {
  6262. addFileHost(
  6263. "gettyfile\\.ru\/\\d+",
  6264. 'download\\.gif border',
  6265. '<center><font size="3">',
  6266. 'optional--',
  6267. 'optional2--',
  6268. "//a[contains(@href,'gettyfile.ru/')]"
  6269. );
  6270. }
  6271. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6272. {
  6273. addFileHost(
  6274. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6275. 'download\\-file">',
  6276. 'col-1">\\s*<h1>',
  6277. 'optional--',
  6278. 'optional2--',
  6279. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6280. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6281. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6282. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6283. );
  6284. }
  6285. if (GM_getValue("Check_data_dot_hu_links", false))
  6286. {
  6287. addFileHost(
  6288. "data\\.hu",
  6289. 'download_box_button|Lassú letöltés',
  6290. 'missing\\.php|Az adott fájl nem létezik',
  6291. 'optional--',
  6292. 'optional2--',
  6293. "//a[contains(@href,'data.hu')]",
  6294. true
  6295. );
  6296. }
  6297. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6298. {
  6299. addFileHost(
  6300. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6301. 'premiumBtn"',
  6302. 'errorMessage"',
  6303. 'optional--',
  6304. 'optional2--',
  6305. "//a[contains(@href,'indowebster.com/download')]"
  6306. );
  6307. }
  6308. if (GM_getValue("Check_superload_dot_cz_links", false))
  6309. {
  6310. addFileHost(
  6311. "superload\\.cz\/dl\/\\w+",
  6312. 'icon-download">',
  6313. 'soubor nebyl nalezen',
  6314. 'optional--',
  6315. 'optional2--',
  6316. "//a[contains(@href,'superload.cz/dl')]"
  6317. );
  6318. }
  6319. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6320. {
  6321. addFileHost(
  6322. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6323. 'op" value="download',
  6324. 'class="err">|width:500px;text-align:left;">',
  6325. 'optional--',
  6326. 'optional2--',
  6327. "//a[contains(@href,'hulkfile.')]"
  6328. );
  6329. }
  6330. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6331. {
  6332. addFileHost(
  6333. "easybytez\\.com\/\\w+",
  6334. 'op" value="download',
  6335. 'stop_error\\.gif',
  6336. 'optional--',
  6337. 'optional2--',
  6338. "//a[contains(@href,'easybytez.com/')]"
  6339. );
  6340. }
  6341. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6342. {
  6343. addFileHost(
  6344. "filestore\\.com\\.ua\/\\?d=\\w+",
  6345. 'tdrow1>',
  6346. 'class=warn',
  6347. 'optional--',
  6348. 'optional2--',
  6349. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6350. );
  6351. }
  6352. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6353. {
  6354. addFileHost(
  6355. "openfile\\.ru\/(?:video\/|)\\d+",
  6356. 'videobox_left">',
  6357. 'blog_title">|not found on this server',
  6358. 'optional--',
  6359. 'optional2--',
  6360. "//a[contains(@href,'openfile.ru/')]"
  6361. );
  6362. }*/
  6363. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6364. {
  6365. addFileHost(
  6366. "extmatrix\\.com\/files\/\\w+",
  6367. 'div class="success"',
  6368. 'div class="error"',
  6369. 'optional--',
  6370. 'optional2--',
  6371. "//a[contains(@href,'extmatrix.com/files')]"
  6372. );
  6373. }
  6374. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6375. {
  6376. addFileHost(
  6377. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6378. 'content_lnkDownload',
  6379. 'error\\.aspx\\?',
  6380. 'optional--',
  6381. 'optional2--',
  6382. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6383. );
  6384. }
  6385. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6386. {
  6387. addFileHost(
  6388. "yourfilestore\\.com\/download\/\\d+\/",
  6389. 'download_data">',
  6390. 'may have been deleted|<h1>Sorry!<\/h1>',
  6391. 'optional--',
  6392. 'optional2--',
  6393. "//a[contains(@href,'yourfilestore.com/download')]"
  6394. );
  6395. }
  6396. if (GM_getValue("Check_filebig_dot_net_links", false))
  6397. {
  6398. addFileHost(
  6399. "filebig\\.net\/files\/\\w+",
  6400. 'downloadFile">',
  6401. '<p>File not found<\/p>',
  6402. 'optional--',
  6403. 'optional2--',
  6404. "//a[contains(@href,'filebig.net/files')]"
  6405. );
  6406. }
  6407. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6408. {
  6409. addFileHost(
  6410. "files\\.filefront\\.com\/\/;\\d+;;",
  6411. 'downloadLink">',
  6412. 'File not found, you',
  6413. 'optional--',
  6414. 'optional2--',
  6415. "//a[contains(@href,'files.filefront.com')]"
  6416. );
  6417.  
  6418. addFileHost(
  6419. "gamefront\\.com\/files\/\\d+",
  6420. 'downloadLink">',
  6421. 'File not found, you',
  6422. 'optional--',
  6423. 'optional2--',
  6424. "//a[contains(@href,'gamefront.com/files')]"
  6425. );
  6426. }
  6427. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6428. {
  6429. addFileHost(
  6430. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6431. 'dnlLnk"',
  6432. 'already been deleted',
  6433. 'optional--',
  6434. 'optional2--',
  6435. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6436. );
  6437. }
  6438. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6439. {
  6440. addFileHost(
  6441. "hellupload\\.com\/\\w+",
  6442. '<h3>Download File<br',
  6443. 'id="podstrona">|AVOID_IE_BUG',
  6444. 'optional--',
  6445. 'optional2--',
  6446. "//a[contains(@href,'hellupload.com/')]"
  6447. );
  6448. }
  6449. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6450. {
  6451. addFileHost(
  6452. "free\\-uploading\\.com\/\\w+",
  6453. 'op" value="download',
  6454. 'class="err">|width:500px;text-align:left;">',
  6455. 'optional--',
  6456. 'optional2--',
  6457. "//a[contains(@href,'free-uploading.com/')]"
  6458. );
  6459. }
  6460. if (GM_getValue("Check_fileape_dot_com_links", false))
  6461. {
  6462. addFileHost(
  6463. "fileape\\.com\/download\\-",
  6464. 'button_dl\\.png',
  6465. 'does not exist\\.',
  6466. 'optional--',
  6467. 'optional2--',
  6468. "//a[contains(@href,'fileape.com/')]"
  6469. );
  6470. }
  6471. if (GM_getValue("Check_uppit_dot_com_links", false))
  6472. {
  6473. addFileHost(
  6474. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6475. 'op" value="download',
  6476. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6477. 'optional--',
  6478. 'optional2--',
  6479. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6480. true
  6481. );
  6482. }
  6483. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6484. {
  6485. addFileHost(
  6486. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6487. 'op" value="download',
  6488. '>File Not Found<',
  6489. 'optional--',
  6490. 'optional2--',
  6491. "//a[contains(@href,'nosupload.com')]",
  6492. true
  6493. );
  6494. }
  6495. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6496. {
  6497. addFileHost(
  6498. "filesin\\.com\/\\w+\/download\\.html",
  6499. 'download_area">',
  6500. 'error_note">',
  6501. 'optional--',
  6502. 'optional2--',
  6503. "//a[contains(@href,'filesin.com/')]",
  6504. true
  6505. );
  6506. }*/
  6507. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6508. {
  6509. addFileHost(
  6510. "nowdownload\\.ch\/dl\/\\w+",
  6511. 'alert-success"',
  6512. 'This file does not exist!',
  6513. 'The file is being transfered',
  6514. 'optional2--',
  6515. "//a[contains(@href,'nowdownload.ch/dl')]"
  6516. );
  6517. }*/
  6518. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6519. {
  6520. addFileHost(
  6521. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6522. 'Dbutton_big"',
  6523. 'download\\-error\\.php',
  6524. 'optional--',
  6525. 'optional2--',
  6526. "//a[contains(@href,'axifile.com/')]"
  6527. );
  6528. }*/
  6529. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6530. {
  6531. addFileHost(
  6532. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6533. 'col-1">\\s*<s',
  6534. 'col-1">\\s*<h',
  6535. 'optional--',
  6536. 'optional2--',
  6537. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6538. );
  6539. }
  6540. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6541. {
  6542. addFileHost(
  6543. "turbobit\\.(?:net|pl)",
  6544. 'id="download-gate-info|id="file-list',
  6545. 'afterWait()|no files in this folder',
  6546. 'optional--',
  6547. 'optional2--',
  6548. "//a[contains(@href,'turbobit.net')]"
  6549. );
  6550. }
  6551. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6552. {
  6553. addFileHost(
  6554. "hitfile\\.net\/download\/folder\/\\d+",
  6555. 'content">\\s*<s',
  6556. 'content">\\s*<h',
  6557. 'optional--',
  6558. 'optional2--',
  6559. "//a[contains(@href,'hitfile.net/download/folder')]"
  6560. );
  6561. }
  6562. if (GM_getValue("Check_movshare_dot_net_links", false))
  6563. {
  6564. addFileHost(
  6565. "movshare\\.net\\/video\\/\\w+",
  6566. 'optional--"',
  6567. 'no longer exists',
  6568. 'optional--',
  6569. 'optional2--',
  6570. "//a[contains(@href,'movshare.net/video')]"
  6571. );
  6572. }
  6573. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6574. {
  6575. addFileHost(
  6576. "mafiastorage\\.com\/\\w+",
  6577. 'op" value="download',
  6578. 'class="err">|style="width:500px;text-align:left;"',
  6579. 'optional--',
  6580. 'optional2--',
  6581. "//a[contains(@href,'mafiastorage.com/')]"
  6582. );
  6583. }
  6584. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6585. {
  6586. addFileHost(
  6587. "uploadingit\\.com\/file\/\\w+",
  6588. 'downloadTitle">',
  6589. 'deleteContent">',
  6590. 'optional--',
  6591. 'optional2--',
  6592. "//a[contains(@href,'uploadingit.com/file')]"
  6593. );
  6594. }*/
  6595. if (GM_getValue("Check_rghost_dot_net_links", false))
  6596. {
  6597. addFileHost(
  6598. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6599. 'download_link|btn large download',
  6600. 'file is restricted|File is deleted|503 Service Unavailable',
  6601. 'optional--',
  6602. 'optional2--',
  6603. "//a[contains(@href,'rghost.')]"
  6604. );
  6605. }
  6606. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6607. {
  6608. addFileHost(
  6609. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6610. '">Staženo:\\s*<\/span>',
  6611. 'Soubor, který hledáte nenalezen',
  6612. 'optional--',
  6613. 'optional2--',
  6614. "//a[contains(@href,'xdisk.cz/')]"
  6615. );
  6616. }
  6617. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6618. {
  6619. addFileHost(
  6620. "2downloadz\.com\/\\w+",
  6621. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6622. 'color="#006DCC|File error',
  6623. 'optional--',
  6624. 'optional2--',
  6625. "//a[contains(@href,'2downloadz.com')]");
  6626. }
  6627. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6628. {
  6629. addFileHost(
  6630. "mightyupload\.com\/\\w+",
  6631. 'background:#ccc;text-align|CONTENT="Download File"',
  6632. 'style="background:#eee|var rr =|File Not Found',
  6633. 'error-code">1010',
  6634. 'optional2--',
  6635. "//a[contains(@href,'mightyupload.com')]");
  6636. }
  6637. if (GM_getValue("Check_anysend_dot_com_links", false))
  6638. {
  6639. addFileHost(
  6640. "anysend\.com\/\\w+",
  6641. 'var openCalled=false;|content="noindex"',
  6642. '_trackPageview',
  6643. 'optional--',
  6644. 'optional2--',
  6645. "//a[contains(@href,'anysend.com')]");
  6646. }
  6647. if (GM_getValue("Check_datafile_dot_com_links", false))
  6648. {
  6649. addFileHost(
  6650. "datafile\.com\/\\w+",
  6651. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6652. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6653. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6654. '; 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">
  6655. "//a[contains(@href,'datafile.com')]",
  6656. true);
  6657. }
  6658. if (GM_getValue("Check_upstore_dot_net_links", false))
  6659. {
  6660. addFileHost(
  6661. "upstore\.net\/\\w+",
  6662. 'name="free"',
  6663. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6664. 'optional--',
  6665. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6666. "//a[contains(@href,'upstore.net')]");
  6667. }
  6668. if (GM_getValue("Check_upsto_dot_re_links", false))
  6669. {
  6670. addFileHost(
  6671. "upsto\.re\/\\w+",
  6672. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6673. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6674. 'optional--',
  6675. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6676. "//a[contains(@href,'upsto.re')]");
  6677. }
  6678. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6679. {
  6680. addFileHost(
  6681. "speedy\.sh\/\\w+",
  6682. 'bgcolor=#eeeeee|class="addthis',
  6683. 'File not found|downloadfilenamenotfound>',
  6684. 'optional--',
  6685. 'optional2--',
  6686. "//a[contains(@href,'speedy.sh')]");
  6687. }
  6688. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6689. {
  6690. addFileHost(
  6691. "kingfiles\.net\/\\w+",
  6692. 'method_free|images/loading_small.gif"',
  6693. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6694. 'optional--',
  6695. 'optional2--',
  6696. "//a[contains(@href,'kingfiles.net')]");
  6697. }
  6698. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6699. {
  6700. addFileHost(
  6701. "secureupload\\.eu\/\\w+",
  6702. 'Downloading',
  6703. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6704. 'optional--',
  6705. 'optional2--',
  6706. "//a[contains(@href,'secureupload.eu')]"
  6707. );
  6708. } */
  6709. if (GM_getValue("Check_ge_dot_tt_links", false))
  6710. {
  6711. addFileHost(
  6712. "ge\.tt\/\\w+",
  6713. 'downloads pic',
  6714. 'is NOT the same as',
  6715. 'optional--',
  6716. 'optional2--',
  6717. "//a[contains(@href,'ge.tt')]");
  6718. }
  6719. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6720. {
  6721. addFileHost(
  6722. "filefactory\\.com\/file\/\\w+",
  6723. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6724. '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">',
  6725. 'Server Maintenance|temporarily overloaded',
  6726. 'Premium Account Required',
  6727. "//a[contains(@href,'filefactory.com/file')]");
  6728. } */
  6729. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6730. {
  6731. addFileHost(
  6732. "filesflash\.net\/\\w+",
  6733. 'align:right">Filename:',
  6734. 'class="msg">',
  6735. 'optional--',
  6736. 'optional2--',
  6737. "//a[contains(@href,'filesflash.net')]");
  6738. }
  6739. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6740. {
  6741. addFileHost(
  6742. "rapidgator\\.net\/folder\/\\w+",
  6743. 'href="/folder/',
  6744. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'rapidgator.net/folder')]",
  6748. true
  6749. );
  6750. }
  6751. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6752. {
  6753. addFileHost(
  6754. "salefiles\.com\/\\w+",
  6755. 'name="method_free',
  6756. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6757. 'optional--',
  6758. 'optional2--',
  6759. "//a[contains(@href,'salefiles.com')]");
  6760. }
  6761. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6762. {
  6763. addFileHost(
  6764. "datoid\.cz\/\\w+",
  6765. 'btn-download|class="icon-download-large"',
  6766. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6767. 'optional--',
  6768. 'optional2--',
  6769. "//a[contains(@href,'datoid.cz')]");
  6770. }
  6771. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6772. {
  6773. addFileHost(
  6774. "stiahni\.si\/\\w+",
  6775. 'report_icon.png"|slow-download-button',
  6776. 'none.png|deleted|<h2>Error 500</h2>',
  6777. 'optional--',
  6778. 'optional2--',
  6779. "//a[contains(@href,'stiahni.si')]");
  6780. }
  6781. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6782. {
  6783. addFileHost(
  6784. "cloudstor\.es\/\\w+",
  6785. '"btn_download"',
  6786. '404: Page Not Found',
  6787. 'optional--',
  6788. 'optional2--',
  6789. "//a[contains(@href,'cloudstor.es')]");
  6790. }
  6791. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6792. {
  6793. addFileHost(
  6794. "streamfile\.com\/\\w+",
  6795. 'class="btn',
  6796. 'class="green-btn',
  6797. 'optional--',
  6798. 'optional2--',
  6799. "//a[contains(@href,'streamfile.com')]");
  6800. }
  6801. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6802. {
  6803. addFileHost(
  6804. "eyesfile\.ca\/\\w+",
  6805. 'value="Get Link',
  6806. 'var rr =',
  6807. 'optional--',
  6808. 'optional2--',
  6809. "//a[contains(@href,'eyesfile.ca')]");
  6810. }
  6811. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6812. {
  6813. addFileHost(
  6814. "filemoney\.com\/\\w+",
  6815. 'og:title',
  6816. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6817. 'error-code">1010',
  6818. 'optional2--',
  6819. "//a[contains(@href,'filemoney.com')]");
  6820. }
  6821. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6822. {
  6823. addFileHost(
  6824. "uploadboy\.com\/\\w+",
  6825. 'width="740">|method_free',
  6826. 'var rr =|background:#ffffff|not be found|file was removed',
  6827. 'optional--',
  6828. 'optional2--',
  6829. "//a[contains(@href,'uploadboy.com')]");
  6830. }
  6831. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6832. {
  6833. addFileHost(
  6834. "uploadboy\.com\/\\w+",
  6835. 'width="740">|method_free',
  6836. 'var rr =|background:#ffffff|not be found|file was removed',
  6837. 'optional--',
  6838. 'optional2--',
  6839. "//a[contains(@href,'uploadboy.me')]");
  6840. }
  6841. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6842. {
  6843. addFileHost(
  6844. "speedshare\.eu\/\\w+",
  6845. 'favicon.png|color:#3d87c0|cross.png"',
  6846. 'var rr =|File Not Found|style="background:#eee',
  6847. 'optional--',
  6848. 'optional2--',
  6849. "//a[contains(@href,'speedshare.eu')]");
  6850. }
  6851. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6852. {
  6853. addFileHost(
  6854. "unlimitzone\.com\/\\w+",
  6855. 'name="method_free',
  6856. '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',
  6857. 'optional--',
  6858. 'optional2--',
  6859. "//a[contains(@href,'unlimitzone.com')]");
  6860. }
  6861. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6862. {
  6863. addFileHost(
  6864. "rioupload\.com\/\\w+",
  6865. 'sell.jpg',
  6866. 'var rr =',
  6867. 'optional--',
  6868. 'optional2--',
  6869. "//a[contains(@href,'rioupload.com')]");
  6870. }
  6871. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6872. {
  6873. addFileHost(
  6874. "jumbofiles\.org\/\\w+",
  6875. 'H71C5.png|class="downloadtitle">',
  6876. 'var swfu|ViewSourceBIN.png',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'jumbofiles.org')]");
  6880. }
  6881. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6882. {
  6883. addFileHost(
  6884. "fshare\\.vn\/file\/\\w+",
  6885. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6886. 'không tồn tại|class="color_red m_t_50"',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'fshare.vn/file')]",
  6890. true
  6891. );
  6892. }
  6893. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6894. {
  6895. addFileHost(
  6896. "spaceforfiles\.com\/\\w+",
  6897. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6898. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6899. 'optional--',
  6900. 'optional2--',
  6901. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6902. }
  6903. if (GM_getValue("Check_google_dot_com_links", false))
  6904. {
  6905. addFileHost(
  6906. "google\\.com\/file\/\\w+",
  6907. 'content="!">|color:#2d2d2d',
  6908. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6909. 'optional--',
  6910. 'optional2--',
  6911. "//a[contains(@href,'google.com/file')]",
  6912. true
  6913. );
  6914. }
  6915. if (GM_getValue("Check_google_dot_com_links", false))
  6916. {
  6917. addFileHost(
  6918. "docs.google.com\/\\w+",
  6919. 'content="!">|color:#2d2d2d',
  6920. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'docs.google.com')]",
  6924. true
  6925. );
  6926. }
  6927. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "drive.google.com\/\\w+",
  6931. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6932. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6933. 'optional--',
  6934. 'optional2--',
  6935. "//a[contains(@href,'drive.google.com')]",
  6936. true
  6937. );
  6938. }
  6939. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6940. {
  6941. addFileHost(
  6942. "up.media1fire\.com\/\\w+",
  6943. 'class="addthis_|value="download',
  6944. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6945. 'optional--',
  6946. 'optional2--',
  6947. "//a[contains(@href,'up.media1fire.com')]");
  6948. }
  6949. if (GM_getValue("Check_depfile_dot_com_links", false))
  6950. {
  6951. addFileHost(
  6952. "depfile\.com\/\\w+",
  6953. 'logo_0.png|downloads.gif"|verifycode',
  6954. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6955. 'optional--',
  6956. 'available only for Premium users|Premium users can restore files',
  6957. "//a[contains(@href,'depfile.com')]");
  6958. }
  6959. if (GM_getValue("Check_go4up_dot_com_links", false))
  6960. {
  6961. addFileHost(
  6962. "go4up\.com\/\\w+",
  6963. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6964. '<title>GO4UP|dmca',
  6965. 'optional--',
  6966. 'optional2--',
  6967. "//a[contains(@href,'go4up.com')]");
  6968. }
  6969. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6970. {
  6971. addFileHost(
  6972. "redbunker\.net\/\\w+",
  6973. 'name="method_free"',
  6974. 'color="red">Unknow / Bilinmiyor<|removed by administrator',
  6975. 'optional--',
  6976. '2.3 GB',
  6977. "//a[contains(@href,'redbunker.net')]");
  6978. }
  6979. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6980. {
  6981. addFileHost(
  6982. "divxpress\.com\/\\w+",
  6983. 'btn_download|logo.png"',
  6984. 'AVOID_IE_BUG|var rr =',
  6985. 'optional--',
  6986. 'optional2--',
  6987. "//a[contains(@href,'divxpress.com')]");
  6988. }
  6989. if (GM_getValue("Check_anafile_dot_com_links", false))
  6990. {
  6991. addFileHost(
  6992. "anafile\.com\/\\w+",
  6993. 'width="881" valign="top|color="#800080"|name="go"',
  6994. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6995. 'optional--',
  6996. 'optional2--',
  6997. "//a[contains(@href,'anafile.com')]");
  6998. }
  6999. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  7000. {
  7001. addFileHost(
  7002. "uploadable\\.ch\/file\/\\w+",
  7003. 'captcha.js"|payment.js"|class="btn_download"',
  7004. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7005. 'optional--',
  7006. 'optional2--',
  7007. "//a[contains(@href,'uploadable.ch/file')]",
  7008. true
  7009. );
  7010. }
  7011. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7012. {
  7013. addFileHost(
  7014. "bigfile\\.to\/file\/\\w+",
  7015. 'captcha.js"|payment.js"|class="btn_download"',
  7016. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7017. 'optional--',
  7018. 'optional2--',
  7019. "//a[contains(@href,'bigfile.to/file')]",
  7020. true
  7021. );
  7022. }
  7023. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7024. {
  7025. addFileHost(
  7026. "arabloads\.net\/\\w+",
  7027. 'name="method_free"|name="method_premium"',
  7028. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7029. 'optional--',
  7030. 'optional2--',
  7031. "//a[contains(@href,'arabloads.net')]");
  7032. }
  7033. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7034. {
  7035. addFileHost(
  7036. "sharerepo\.com\/\\w+",
  7037. 'name="method_free"',
  7038. 'var public_on=|The file you were looking for could not be found',
  7039. 'optional--',
  7040. 'optional2--',
  7041. "//a[contains(@href,'sharerepo.com')]");
  7042. }
  7043. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7044. {
  7045. addFileHost(
  7046. "sfshare\.se\/\\w+",
  7047. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7048. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7049. 'optional--',
  7050. 'optional2--',
  7051. "//a[contains(@href,'sfshare.se')]");
  7052. }
  7053. if (GM_getValue("Check_files_dot_fm_links", false))
  7054. {
  7055. addFileHost(
  7056. "files\.fm\/\\w+",
  7057. 'dl.png"|background-color: transparent',
  7058. 'margin: 40px 40px|background: none;',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'files.fm')]");
  7062. }
  7063. if (GM_getValue("Check_koofile_dot_com_links", false))
  7064. {
  7065. addFileHost(
  7066. "koofile\.com\/\\w+",
  7067. 'value="download1">|name="method_free"',
  7068. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'koofile.com')]");
  7072. }
  7073. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7074. {
  7075. addFileHost(
  7076. "vidxden\\.com\/\\w+",
  7077. 'Continue to Video"',
  7078. 'No such file',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'vidxden.com')]"
  7082. );
  7083. }*/
  7084. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7085. {
  7086. addFileHost(
  7087. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7088. 'Details zur Datei|Details page',
  7089. 'Jetzt hochladen|upload now',
  7090. 'optional--',
  7091. 'optional2--',
  7092. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7093. );
  7094. }
  7095. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7096. {
  7097. addFileHost(
  7098. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7099. 'downloadbtn"',
  7100. 'DL_FileNotFound',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7104. );
  7105. }
  7106. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7107. {
  7108. addFileHost(
  7109. "fileflyer\.com\/view\/\\w+",
  7110. '(?:dwl|locked)btn"',
  7111. 'error.gif"|link">Removed|removedlink">',
  7112. 'optional--',
  7113. 'optional2--',
  7114. "//a[contains(@href,'fileflyer.com')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_filestore_dot_to_links", false))
  7118. {
  7119. addFileHost(
  7120. "filestore\.to\/\\?d=\\w+",
  7121. '"downloading"',
  7122. 'Datei wurde nicht gefunden',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'filestore.to')]"
  7126. );
  7127. }
  7128. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7129. {
  7130. addFileHost(
  7131. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7132. 'fz24">Download|class="pl15">',
  7133. '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',
  7134. 'optional--',
  7135. 'optional2--',
  7136. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7137. );
  7138. }
  7139. if (GM_getValue("Check_datei_dot_to_links", false))
  7140. {
  7141. addFileHost(
  7142. "datei\\.to\/\\??\\w+",
  7143. 'icon_downloaden\\.png|>Download starten<',
  7144. 'Datei wurde nicht gefunden|icon_deleted.png',
  7145. 'optional--',
  7146. 'optional2--',
  7147. "//a[contains(@href,'datei.to')]"
  7148. );
  7149. }
  7150. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7151. {
  7152. addFileHost(
  7153. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7154. '<body class="body" id="body">|value="Slow Download"',
  7155. '<body class="body" >',
  7156. 'optional--',
  7157. 'optional2--',
  7158. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7159. );
  7160. }
  7161. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7162. {
  7163. addFileHost(
  7164. "unibytes\\.com\/[\\w\.]+",
  7165. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7166. 'File not found|Файл не найден|',
  7167. 'optional--',
  7168. 'optional2--',
  7169. "//a[contains(@href,'unibytes.com')]"
  7170. );
  7171. }
  7172. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7173. {
  7174. addFileHost(
  7175. "www\\.hellshare\\.com\/\\d+",
  7176. 'tab\\-details"',
  7177. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7178. 'optional--',
  7179. 'optional2--',
  7180. "//a[contains(@href,'www.hellshare.com')]"
  7181. );
  7182. }
  7183. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7184. {
  7185. addFileHost(
  7186. "www\\.download.cz.hellshare\\.com\/\\w+",
  7187. 'tab\\-details"',
  7188. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7189. 'optional--',
  7190. 'optional2--',
  7191. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7192. );
  7193. }
  7194. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7195. {
  7196. addFileHost(
  7197. "filefactory\\.com",
  7198. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"|id="file-download-free">',
  7199. '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',
  7200. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7201. 'Premium Account Required',
  7202. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7203. );
  7204. }
  7205. if (GM_getValue("Check_load_dot_to_links", false))
  7206. {
  7207. addFileHost(
  7208. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7209. '"download_table_left">Size',
  7210. 'Can\'t find file',
  7211. 'optional--',
  7212. 'optional2--',
  7213. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7214. );
  7215. }
  7216. if (GM_getValue("Check_divshare_dot_com_links", false))
  7217. {
  7218. addFileHost(
  7219. "divshare\\.com\/download\/",
  7220. 'download_new\.png',
  7221. 'have been removed',
  7222. 'optional--',
  7223. 'optional2--',
  7224. "//a[contains(@href,'divshare.com')]"
  7225. );
  7226. }
  7227. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7228. {
  7229. addFileHost(
  7230. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7231. 'download=true"',
  7232. '<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>',
  7233. 'optional--',
  7234. 'optional2--',
  7235. "//a[contains(@href,'euroshare.eu/file')]"
  7236. );
  7237. }
  7238. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7239. {
  7240. addFileHost(
  7241. 'files\\.mail\\.ru/(?:\\w*)',
  7242. 'fileList',
  7243. 'errorMessage',
  7244. 'optional--',
  7245. 'optional2--',
  7246. "//a[contains(@href,'files.mail.ru')]"
  7247. );
  7248. }
  7249. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7250. {
  7251. addFileHost(
  7252. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7253. 'Filesize',
  7254. 'Invalid|deleted|Could not download file',
  7255. 'slots|scheduled maintenance',
  7256. 'optional2--',
  7257. "//a[contains(@href,'megashares.com/')]"
  7258. );
  7259. } */
  7260. if (GM_getValue("Check_narod_dot_ru_links", false))
  7261. {
  7262. addFileHost(
  7263. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7264. 'b-submit|action="resource.download"',
  7265. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7266. 'Внутренняя ошибка сервиса',
  7267. 'optional2--',
  7268. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7269. );
  7270. }
  7271. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7272. {
  7273. addFileHost(
  7274. "rayfile\\.com\/",
  7275. 'FILEtitleTXT',
  7276. 'blueRow',
  7277. 'optional--',
  7278. 'optional2--',
  7279. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7280. );
  7281. }
  7282. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7283. {
  7284. addFileHost(
  7285. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7286. 'button_green_body"',
  7287. 'error">',
  7288. 'optional--',
  7289. 'optional2--',
  7290. "//a[contains(@href,'filesmonster.com/download')]"
  7291. );
  7292. }
  7293. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7294. {
  7295. addFileHost(
  7296. 'usaupload\\.net\/d\/(?:\w*)',
  7297. '<strong>File size:</strong>',
  7298. 'is not available',
  7299. 'optional--',
  7300. 'optional2--',
  7301. "//a[contains(@href,'usaupload.net/d/')]"
  7302. );
  7303. }
  7304. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7305. {
  7306. addFileHost(
  7307. 'sendspace\\.com\/file\/\\w+',
  7308. 'file_description',
  7309. 'msg error"',
  7310. 'optional--',
  7311. 'optional2--',
  7312. "//a[contains(@href,'sendspace.com/file')]"
  7313. );
  7314. }
  7315. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7316. {
  7317. addFileHost(
  7318. 'sendspace\\.pl\/file\/\\w+',
  7319. 'download_file"',
  7320. 'Podany plik nie',
  7321. 'optional--',
  7322. 'optional2--',
  7323. "//a[contains(@href,'sendspace.pl/file')]"
  7324. );
  7325. }
  7326. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7327. {
  7328. addFileHost(
  7329. 'uploading\\.com\/(?:files\/)?\\w+',
  7330. 'free_method">',
  7331. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7332. 'optional--',
  7333. 'optional2--',
  7334. "//a[contains(@href,'uploading.com')]"
  7335. );
  7336. } */
  7337. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7338. {
  7339. addFileHost(
  7340. "gigasize\.com\/\\w+",
  7341. 'fileId"|class="estimate">',
  7342. 'error">',
  7343. 'optional--',
  7344. 'optional2--',
  7345. "//a[contains(@href,'gigasize.com/get')]"
  7346. );
  7347. }
  7348. if (GM_getValue("Check_good_dot_com_links", false))
  7349. {
  7350. addFileHost(
  7351. 'good\\.net\/(?:_|dl)',
  7352. 'Free Download',
  7353. 'Not Found',
  7354. 'Forbidden',
  7355. 'optional2--',
  7356. "//a[contains(@href,'good.net')]"
  7357. );
  7358. }
  7359. if (GM_getValue("Check_2shared_dot_com_links", false))
  7360. {
  7361. addFileHost(
  7362. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7363. 'File size',
  7364. 'File not found|is not valid|/images/important.gif',
  7365. 'optional--',
  7366. 'optional2--',
  7367. // "//a[contains(@href,'2shared.com')]"
  7368. "//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/')]"
  7369. );
  7370. }
  7371. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7372. {
  7373. addFileHost(
  7374. 'turboupload\\.com\/\\w*',
  7375. 'You have requested',
  7376. 'File Not Found',
  7377. 'optional--',
  7378. 'optional2--',
  7379. "//a[contains(@href,'turboupload.com')]"
  7380. );
  7381. }
  7382. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7383. {
  7384. addFileHost(
  7385. 'gigapeta\\.com\/dl\/',
  7386. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7387. '404|page_error',
  7388. 'optional--',
  7389. 'optional2--',
  7390. "//a[contains(@href,'gigapeta.com/dl')]"
  7391. );
  7392. }
  7393. if (GM_getValue("Check_veehd_dot_com_links", false))
  7394. {
  7395. addFileHost(
  7396. 'veehd\.com\/video\/.*?',
  7397. 'No sound|Download video',
  7398. 'Featured Videos',
  7399. 'optional--',
  7400. 'optional2--',
  7401. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7402. );
  7403. }
  7404. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7405. {
  7406. addFileHost(
  7407. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7408. 'fast_download_form">|submit_sms_download',
  7409. '<p style="text-align:center">',
  7410. 'optional--',
  7411. 'optional2--',
  7412. "//a[contains(@href,'vip-file.com/download')]"
  7413. );
  7414. }
  7415. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7416. {
  7417. addFileHost(
  7418. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7419. 'download\\-pnl ',
  7420. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7421. 'optional--',
  7422. 'optional2--',
  7423. "//a[contains(@href,'letitbit.net/download')]"
  7424. );
  7425. }*/
  7426. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7427. {
  7428. addFileHost(
  7429. 'ifolder\.ru\/\\d+',
  7430. 'file-info',
  7431. 'ui-state-error',
  7432. 'optional--',
  7433. 'optional2--',
  7434. "//a[contains(@href,'ifolder.ru')]"
  7435. );
  7436. }
  7437. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7438. {
  7439. addFileHost(
  7440. 'fileswap\\.com\/dl\/\\w+',
  7441. 'bttnDownloadLink"',
  7442. 'rounded_block_error"',
  7443. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7444. 'optional2--',
  7445. "//a[contains(@href,'fileswap.com/dl')]"
  7446. );
  7447. }*/
  7448. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7449. {
  7450. addFileHost(
  7451. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7452. 'var __error = 0|id="recaptchaPanel">',
  7453. 'FILES__DOESNT_EXIST|removed or did not exist',
  7454. 'optional--',
  7455. 'optional2--',
  7456. "//a[contains(@href,'filecloud.io/')]"
  7457. );
  7458. addFileHost(
  7459. 'ifile\\.it\/\\w+',
  7460. 'var __error = 0',
  7461. 'FILES__DOESNT_EXIST',
  7462. 'optional--',
  7463. 'optional2--',
  7464. "//a[contains(@href,'ifile.it/')]"
  7465. );
  7466. }
  7467. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7468. {
  7469. addFileHost(
  7470. 'solidfiles\\.com\/\\w+',
  7471. 'id="download"|content="Download',
  7472. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7473. 'optional--',
  7474. 'optional2--',
  7475. "//a[contains(@href,'solidfiles.com/')]"
  7476. );
  7477. }
  7478. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7479. {
  7480. addFileHost(
  7481. "(?:.\\.|)shareflare\\.net",
  7482. 'download-pnl|<div class="premium-block">',
  7483. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7484. 'optional--',
  7485. 'optional2--',
  7486. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7487. );
  7488. }
  7489. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7490. {
  7491. addFileHost(
  7492. "u18116681.shareflare\\.net",
  7493. 'download-pnl|<div class="premium-block">',
  7494. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7495. 'optional--',
  7496. 'optional2--',
  7497. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7498. );
  7499. }
  7500. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7501. {
  7502. addFileHost(
  7503. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7504. 'file\\-list-orderby|section-filedetail">',
  7505. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7506. 'optional--',
  7507. 'optional2--',
  7508. "//a[contains(@href,'hellspy.')]"
  7509. );
  7510. }
  7511. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7512. {
  7513. addFileHost(
  7514. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7515. '<body onload="">',
  7516. 'neexistuje|not exist',
  7517. 'optional--',
  7518. 'optional2--',
  7519. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7520. );
  7521. }
  7522. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7523. {
  7524. addFileHost(
  7525. "stahovanizasms\\.cz\/\\w+",
  7526. 'download\\.png>|font-size:11px><tr>',
  7527. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7528. 'optional--',
  7529. 'optional2--',
  7530. "//a[contains(@href,'stahovanizasms.cz')]"
  7531. );
  7532. }
  7533. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7534. {
  7535. addFileHost(
  7536. "share-links\\.biz\/\\w*",
  7537. 'online\\.gif',
  7538. '(?:offline|parts)\\.gif',
  7539. 'optional--',
  7540. 'optional2--',
  7541. "//a[contains(@href,'share-links.biz')]"
  7542. );
  7543. }
  7544. if (GM_getValue("Check_4shared_dot_com_links", false))
  7545. {
  7546. addFileHost(
  7547. "4shared\\.com\/.+\/",
  7548. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7549. 'class="warn\"|big red"|GetDataBack',
  7550. 'Service Unavailable',
  7551. 'optional2--',
  7552. "//a[contains(@href,'4shared.com')]"
  7553. );
  7554. }
  7555. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7556. {
  7557. addFileHost(
  7558. "(?:www\\d+\.|)zippyshare\.com\/",
  7559. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7560. 'not exist|Status 404',
  7561. 'optional--',
  7562. 'optional2--',
  7563. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7564. );
  7565. }
  7566. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7567. {
  7568. addFileHost(
  7569. "mediafire\.com\/",
  7570. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7571. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7572. 'set to private',
  7573. 'optional2--',
  7574. "//a[contains(@href,'mediafire.com')]"
  7575. );
  7576. }
  7577. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7578. {
  7579. addFileHost(
  7580. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7581. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7582. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7583. 'optional--',
  7584. 'GB</small>',
  7585. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7586. );
  7587. }
  7588. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7589. {
  7590. addFileHost(
  7591. "ulozisko\.sk\/",
  7592. 'Detaily',
  7593. 'neexistuje',
  7594. 'optional--',
  7595. 'optional2--',
  7596. "//a[contains(@href,'ulozisko.sk')]"
  7597. );
  7598. }
  7599. if (GM_getValue("Check_box_dot_com_links", false))
  7600. {
  7601. addFileHost(
  7602. "box\.com\/\\w+",
  7603. 'download-file-btn|id="download_button|preview-download',
  7604. 'BIyMin.png| <div class="error_message|link has been removed',
  7605. 'optional--',
  7606. 'optional2--',
  7607. "//a[contains(@href,'app.box.com')]");
  7608. }
  7609. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7610. {
  7611. addFileHost(
  7612. "uptobox\\.com\/\\w+",
  7613. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7614. '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|لا يوجد أي ملف',
  7615. 'Maintenance',
  7616. 'optional2--',
  7617. "//a[contains(@href,'uptobox.com')]",
  7618. true
  7619. );
  7620. }
  7621. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7622. {
  7623. addFileHost(
  7624. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7625. 'FILE DOWNLOAD<',
  7626. 'File Does Not Exist',
  7627. 'optional--',
  7628. 'optional2--',
  7629. "//a[contains(@href,'sharecash.org/download.php')]"
  7630. );
  7631. }
  7632. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7633. {
  7634. addFileHost(
  7635. "1fichier\\.com\/dir\/\\w+",
  7636. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7637. 'Shared Folder Not Found',
  7638. 'optional--',
  7639. 'optional2--',
  7640. "//a[contains(@href,'1fichier.com/dir')]"
  7641. );
  7642. }
  7643. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7644. {
  7645. addFileHost(
  7646. "depositfiles\\.com\/folders\/\\w+",
  7647. '<div class="progressContainer">',
  7648. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7649. 'optional--',
  7650. 'optional2--',
  7651. "//a[contains(@href,'depositfiles.com/folders')]"
  7652. );
  7653. }
  7654. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7655. {
  7656. addFileHost(
  7657. "rapidfileshare\\.net/\\w+",
  7658. '<div id="upload-header-bg">',
  7659. '<div style="width:500px;text-align:left;">',
  7660. 'optional--',
  7661. 'optional2--',
  7662. "//a[contains(@href,'rapidfileshare.net/')]"
  7663. );
  7664. }
  7665. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7666. {
  7667. addFileHost(
  7668. "stiahnito\\.sk/",
  7669. '<span class="filesize right">',
  7670. '<ol class="list-purp-2">',
  7671. 'optional--',
  7672. 'optional2--',
  7673. "//a[contains(@href,'stiahnito.sk/')]"
  7674. );
  7675. }
  7676. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7677. {
  7678. addFileHost(
  7679. "rusfolder\\.(?:com|net)",
  7680. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7681. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7682. 'optional--',
  7683. 'optional2--',
  7684. "//a[contains(@href,'rusfolder')]"
  7685. );
  7686. }
  7687. if (GM_getValue("Check_catshare_dot_net_links", false))
  7688. {
  7689. addFileHost(
  7690. "catshare\\.net/\\w+",
  7691. '"icon-share|"col-xs-12',
  7692. 'alert alert-error',
  7693. 'optional--',
  7694. 'optional2--',
  7695. "//a[contains(@href,'catshare.net/')]"
  7696. );
  7697. }
  7698. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7699. {
  7700. addFileHost(
  7701. "anonfiles\\.com/\\w+",
  7702. '"download_button"',
  7703. '<legend><b>404</b>',
  7704. 'optional--',
  7705. 'optional2--',
  7706. "//a[contains(@href,'anonfiles.com')]"
  7707. );
  7708. }*/
  7709. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7710. {
  7711. addFileHost(
  7712. "mixturecloud\\.com/media/\\w+",
  7713. '"btn icon i_globe gray share_150',
  7714. '"s_cross_close"></span> 404:',
  7715. 'optional--',
  7716. 'optional2--',
  7717. "//a[contains(@href,'mixturecloud.com/media/')]"
  7718. );
  7719. }
  7720. if (GM_getValue("Check_akafile_dot_com_links", false))
  7721. {
  7722. addFileHost(
  7723. "akafile\\.com\/\\w+",
  7724. 'download1',
  7725. 'File Not Found',
  7726. 'optional--',
  7727. 'optional2--',
  7728. "//a[contains(@href,'akafile.com/')]"
  7729. );
  7730. }
  7731. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7732. {
  7733. addFileHost(
  7734. "creafile\\.net\/\\w+",
  7735. 'downloadblock',
  7736. 'errtitle',
  7737. 'optional--',
  7738. 'optional2--',
  7739. "//a[contains(@href,'creafile.net/')]"
  7740. );
  7741. }*/
  7742. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7743. {
  7744. addFileHost(
  7745. "hugefiles\\.net\/\\w+",
  7746. 'download1|class="btn-create-download" value="Create Download Link">',
  7747. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7748. 'optional--',
  7749. 'optional2--',
  7750. "//a[contains(@href,'hugefiles.net/')]"
  7751. );
  7752. }*/
  7753. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7754. {
  7755. addFileHost(
  7756. "sendmyway\\.com\/\\w+",
  7757. 'id="btn_download"',
  7758. '500px;text-align:left;"|<center><h3>',
  7759. 'optional--',
  7760. 'optional2--',
  7761. "//a[contains(@href,'sendmyway.com/')]"
  7762. );
  7763. }
  7764. if (GM_getValue("Check_upload_dot_ee_links", false))
  7765. {
  7766. addFileHost(
  7767. "upload\\.ee\/\\w+",
  7768. 'onmouseout="document.dllink.src',
  7769. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7770. 'optional--',
  7771. 'optional2--',
  7772. "//a[contains(@href,'upload.ee/')]"
  7773. );
  7774. }
  7775. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7776. {
  7777. addFileHost(
  7778. "shareplace\\.org\/\\?\\w+",
  7779. 'Download-Link',
  7780. 'Your requested file is not found|Select file to send',
  7781. 'optional--',
  7782. 'optional2--',
  7783. "//a[contains(@href,'shareplace.org/?')]"
  7784. );
  7785. }
  7786. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7787. {
  7788. addFileHost(
  7789. "uploadc\\.com\/\\w+",
  7790. 'id="prebut"',
  7791. 'File Not Found|This file has been removed due',
  7792. 'optional--',
  7793. 'optional2--',
  7794. "//a[contains(@href,'uploadc.com/')]"
  7795. );
  7796. }
  7797. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7798. {
  7799. addFileHost(
  7800. "uploadc\\.ch\/\\w+",
  7801. 'id="prebut"',
  7802. 'File Not Found|This file has been removed due',
  7803. 'optional--',
  7804. 'optional2--',
  7805. "//a[contains(@href,'uploadc.ch/')]"
  7806. );
  7807. }
  7808. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7809. {
  7810. addFileHost(
  7811. "remixshare\\.com\/\\w+",
  7812. 'id="dl2"',
  7813. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7814. 'optional--',
  7815. 'optional2--',
  7816. "//a[contains(@href,'remixshare.com/')]"
  7817. );
  7818. }*/
  7819. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7820. {
  7821. addFileHost(
  7822. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7823. 'Last Download :',
  7824. 'img src="\\/404.jpg"',
  7825. 'optional--',
  7826. 'optional2--',
  7827. "//a[contains(@href,'exoshare.com/download.php')]"
  7828. );
  7829. }
  7830. if (GM_getValue("Check_borncash_dot_org_links", false))
  7831. {
  7832. addFileHost(
  7833. "borncash\\.org\/download\/\\?a=\\w+",
  7834. 'class="knop_1"',
  7835. '\/error\/er00',
  7836. 'optional--',
  7837. 'optional2--',
  7838. "//a[contains(@href,'borncash.org/download/')]"
  7839. );
  7840. }
  7841. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7842. {
  7843. addFileHost(
  7844. "vidplay\.net\/\\w+",
  7845. 'solvemedia puzzle widget',
  7846. 'File not found|AVOID_IE_BUG',
  7847. 'optional--',
  7848. 'optional2--',
  7849. "//a[contains(@href,'vidplay.net')]");
  7850. }*/
  7851. if (GM_getValue("Check_filedais_dot_com_links", false))
  7852. {
  7853. addFileHost(
  7854. "filedais\.com\/\\w+",
  7855. 'class="btn btn-info"|name="method_free"',
  7856. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7857. 'optional--',
  7858. 'optional2--',
  7859. "//a[contains(@href,'filedais.com')]");
  7860. }
  7861. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7862. {
  7863. addFileHost(
  7864. "up.4share\.vn\/\\w+",
  7865. '<font size="2" face="Verdana">',
  7866. 'font: 13px Tahoma; color: Brown',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'up.4share.vn')]");
  7870. }
  7871. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7872. {
  7873. addFileHost(
  7874. "share.vnn\.vn\/\\w+",
  7875. '"index,follow"|<div class="main" id="download-box">',
  7876. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'share.vnn.vn')]");
  7880. }
  7881. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7882. {
  7883. addFileHost(
  7884. "upfile\.vn\/\\w+",
  7885. 'download-timer',
  7886. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'upfile.vn')]");
  7890. }
  7891. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "aisfile\.com\/\\w+",
  7895. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7896. '<div style="width:500px;text-align:left;">|File Not Found',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'aisfile.com')]");
  7900. }
  7901. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7902. {
  7903. addFileHost(
  7904. "usersfiles\.com\/\\w+",
  7905. 'class="btn btn-success|id="btn_download" class="btn"',
  7906. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7907. 'optional--',
  7908. 'optional2--',
  7909. "//a[contains(@href,'usersfiles.com')]");
  7910. }
  7911. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7912. {
  7913. addFileHost(
  7914. "pan.baidu\.com\/\\w+",
  7915. 'target="_blank" title=|share-personal-info',
  7916. 'share_notfound.png|background:#f9f9f9',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'pan.baidu.com')]");
  7920. }
  7921. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7922. {
  7923. addFileHost(
  7924. "yunpan\.cn\/\\w+",
  7925. 'class="icon icon-download',
  7926. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'yunpan.cn')]");
  7930. }
  7931. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7932. {
  7933. addFileHost(
  7934. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7935. 'getElementById("downbild")|style.display',
  7936. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'file-upload.net')]");
  7940. }
  7941. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "file\\-upload\\.com\/",
  7945. 'name="method_free"',
  7946. 'File Not Found|exclamation-triangle',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'file-upload.com')]");
  7950. }
  7951. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7952. {
  7953. addFileHost(
  7954. "gulfup\.com\/",
  7955. '<!-- Downlod template -->|download.gif',
  7956. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7957. 'optional--',
  7958. 'optional2--',
  7959. "//a[contains(@href,'gulfup.com')]");
  7960. }*/
  7961. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7962. {
  7963. addFileHost(
  7964. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7965. 'dldtable">',
  7966. 'does not exist\\.',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'datafilehost.com')]");
  7970. }
  7971. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7972. {
  7973. addFileHost(
  7974. "dropbox\.com\/s\/\\w+",
  7975. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7976. '>Nothing Here<|>Error (404)<',
  7977. 'title>Dropbox - 509|Error (403)|Error: 429',
  7978. 'optional2--',
  7979. "//a[contains(@href,'dropbox.com')]");
  7980. }
  7981. if (GM_getValue("Check_box_dot_net_links", false))
  7982. {
  7983. addFileHost(
  7984. "box\.net\/\\w+",
  7985. 'download-file-btn|id="download_button',
  7986. 'BIyMin.png| <div class="error_message',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'box.net')]");
  7990. }
  7991. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7992. {
  7993. addFileHost(
  7994. "filedropper\.com\/\\w+",
  7995. 'background:#ddd;|width:985px; ',
  7996. 'background-color:#FFFFFF;|margin-left: -400px;',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'filedropper.com')]");
  8000. }
  8001. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8002. {
  8003. addFileHost(
  8004. "tropicshare\\.com\/files\/\\d+",
  8005. 'MB</span>|GB</span>|KB</span>',
  8006. '>FNF<|size: </span>',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'tropicshare.com')]");
  8010. }
  8011. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8012. {
  8013. addFileHost(
  8014. "worldbytez\.com",
  8015. '<div class="download_type">|method_free',
  8016. '<div style="width:500px;text-align:left;">',
  8017. 'optional--',
  8018. 'optional2--',
  8019. "//a[contains(@href,'worldbytez.com')]",
  8020. true);
  8021. }
  8022. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8023. {
  8024. addFileHost(
  8025. "freefilehosting\.net\/\\w+",
  8026. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8027. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8028. 'optional--',
  8029. 'optional2--',
  8030. "//a[contains(@href,'freefilehosting.net')]");
  8031. }
  8032. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8033. {
  8034. addFileHost(
  8035. "ziddu\.com\/\\w+",
  8036. 'downloads.ziddu.com|downloadfilelinkicon',
  8037. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8038. 'optional--',
  8039. 'optional2--',
  8040. "//a[contains(@href,'ziddu.com')]");
  8041. }
  8042. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8043. {
  8044. addFileHost(
  8045. "exclusiveloader\.com\/\\w+",
  8046. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8047. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8048. 'optional--',
  8049. 'optional2--',
  8050. "//a[contains(@href,'exclusiveloader.com')]");
  8051. }
  8052. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8053. {
  8054. addFileHost(
  8055. "sharerapid\.cz\/\\w+",
  8056. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8057. 'error_div">|404 - Not Found',
  8058. 'optional--',
  8059. 'optional2--',
  8060. "//a[contains(@href,'sharerapid.cz')]");
  8061. }
  8062. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8063. {
  8064. addFileHost(
  8065. "sdilej\.cz\/\\w+",
  8066. 'class="page-download"',
  8067. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8068. 'optional--',
  8069. 'optional2--',
  8070. "//a[contains(@href,'sdilej.cz')]");
  8071. }
  8072. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8073. {
  8074. addFileHost(
  8075. "lafiles\.com\/\\w+",
  8076. '<div id="pay_modes">',
  8077. '<b class="err"></b>',
  8078. 'optional--',
  8079. 'optional2--',
  8080. "//a[contains(@href,'lafiles.com')]");
  8081. }
  8082. if (GM_getValue("Check_acefile_dot_net_links", false))
  8083. {
  8084. addFileHost(
  8085. "acefile\.net\/\\w+",
  8086. 'align=right nowrap><b>',
  8087. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8088. 'optional--',
  8089. 'optional2--',
  8090. "//a[contains(@href,'acefile.net')]");
  8091. }
  8092. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8093. {
  8094. addFileHost(
  8095. "megarapid\.cz\/\\w+",
  8096. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8097. 'error_div">|404 - Not Found',
  8098. 'optional--',
  8099. 'optional2--',
  8100. "//a[contains(@href,'megarapid.cz')]");
  8101. }
  8102. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8103. {
  8104. addFileHost(
  8105. "yadi\.sk\/\\w+",
  8106. 'nb-button _nb-small-button',
  8107. 'error code|Nothing found',
  8108. 'optional--',
  8109. 'optional2--',
  8110. "//a[contains(@href,'yadi.sk')]");
  8111. }
  8112. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8113. {
  8114. addFileHost(
  8115. "hitfile\.net\/\\w+",
  8116. 'class="download-file',
  8117. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8118. 'optional--',
  8119. 'optional2--',
  8120. "//a[contains(@href,'hitfile.net')]");
  8121. }
  8122. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8123. {
  8124. addFileHost(
  8125. "up.top4top\.net\/\\w+",
  8126. 'start Downlod template',
  8127. 'start err template',
  8128. 'optional--',
  8129. 'optional2--',
  8130. "//a[contains(@href,'up.top4top.net')]");
  8131. }
  8132. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8133. {
  8134. addFileHost(
  8135. "filejoker\.net",
  8136. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8137. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8138. 'optional--',
  8139. 'id="download" class="premium-only">',
  8140. "//a[contains(@href,'filejoker.net')]");
  8141. }
  8142. if (GM_getValue("Check_free_dot_fr_links", false))
  8143. {
  8144. addFileHost(
  8145. "(?:dl.\\.|)free\\.fr",
  8146. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8147. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8148. 'optional--',
  8149. 'optional2--',
  8150. "//a[contains(@href,'dl.free.fr')]");
  8151. }
  8152. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8153. {
  8154. addFileHost(
  8155. "gboxes\.com\/\\w+",
  8156. 'You have requested|color="red">http://www.gboxes.com',
  8157. 'File Not Found|<div style="width:500px;text-align:left;">',
  8158. 'optional--',
  8159. 'optional2--',
  8160. "//a[contains(@href,'gboxes.com')]");
  8161. }
  8162. if (GM_getValue("Check_led_dot_wf_links", false))
  8163. {
  8164. addFileHost(
  8165. "led\.wf\/\\w+",
  8166. 'logo_0.png|downloads.gif"|verifycode',
  8167. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8168. 'optional--',
  8169. 'available only for Premium users|Premium users can restore files',
  8170. "//a[contains(@href,'led.wf')]");
  8171. }
  8172. if (GM_getValue("Check_lan_dot_wf_links", false))
  8173. {
  8174. addFileHost(
  8175. "lan\.wf\/\\w+",
  8176. 'logo_0.png|downloads.gif"|verifycode',
  8177. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8178. 'optional--',
  8179. 'available only for Premium users|Premium users can restore files',
  8180. "//a[contains(@href,'lan.wf')]");
  8181. }
  8182. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8183. {
  8184. addFileHost(
  8185. "adlink\.wf\/\\w+",
  8186. 'logo_0.png|downloads.gif"|verifycode',
  8187. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8188. 'optional--',
  8189. 'available only for Premium users|Premium users can restore files',
  8190. "//a[contains(@href,'adlink.wf')]");
  8191. }
  8192. if (GM_getValue("Check_click_dot_tf_links", false))
  8193. {
  8194. addFileHost(
  8195. "click\.tf\/\\w+",
  8196. 'logo_0.png|downloads.gif"|verifycode',
  8197. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8198. 'optional--',
  8199. 'available only for Premium users|Premium users can restore files',
  8200. "//a[contains(@href,'click.tf')]");
  8201. }
  8202. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8203. {
  8204. addFileHost(
  8205. "ssh\.tf\/\\w+",
  8206. 'logo_0.png|downloads.gif"|verifycode',
  8207. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8208. 'optional--',
  8209. 'available only for Premium users|Premium users can restore files',
  8210. "//a[contains(@href,'ssh.tf')]");
  8211. }
  8212. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8213. {
  8214. addFileHost(
  8215. "ssh\.yt\/\\w+",
  8216. 'logo_0.png|downloads.gif"|verifycode',
  8217. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8218. 'optional--',
  8219. 'available only for Premium users|Premium users can restore files',
  8220. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8221. }
  8222. if (GM_getValue("Check_yep_dot_pm_links", false))
  8223. {
  8224. addFileHost(
  8225. "yep\.pm\/\\w+",
  8226. 'logo_0.png|downloads.gif"|verifycode',
  8227. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8228. 'optional--',
  8229. 'available only for Premium users|Premium users can restore files',
  8230. "//a[contains(@href,'yep.pm')]");
  8231. }
  8232. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8233. {
  8234. addFileHost(
  8235. "kyc\.pm\/\\w+",
  8236. 'logo_0.png|downloads.gif"|verifycode',
  8237. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8238. 'optional--',
  8239. 'available only for Premium users|Premium users can restore files',
  8240. "//a[contains(@href,'kyc.pm')]");
  8241. }
  8242. if (GM_getValue("Check_brupload_dot_net_links", false))
  8243. {
  8244. addFileHost(
  8245. "brupload\.net\/\\w+",
  8246. 'Download Gratuito',
  8247. '<div style="width:500px;text-align:left;">',
  8248. 'optional--',
  8249. 'optional2--',
  8250. "//a[contains(@href,'brupload.net')]");
  8251. }
  8252. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8253. {
  8254. addFileHost(
  8255. "cloudzilla\.to\/\\w+",
  8256. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8257. 'File not found|/imgs/broken.png',
  8258. 'optional--',
  8259. 'optional2--',
  8260. "//a[contains(@href,'cloudzilla.to')]");
  8261. } */
  8262. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8263. {
  8264. addFileHost(
  8265. "clicknupload\.com\/\\w+",
  8266. 'name="method_free',
  8267. 'File Not Found',
  8268. 'optional--',
  8269. 'optional2--',
  8270. "//a[contains(@href,'clicknupload.com')]");
  8271. }
  8272. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8273. {
  8274. addFileHost(
  8275. "clicknupload\.me\/\\w+",
  8276. 'name="method_free',
  8277. 'File Not Found',
  8278. 'optional--',
  8279. 'optional2--',
  8280. "//a[contains(@href,'clicknupload.me')]");
  8281. }
  8282. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8283. {
  8284. addFileHost(
  8285. "clicknupload\.link\/\\w+",
  8286. 'name="method_free',
  8287. 'File Not Found',
  8288. 'optional--',
  8289. 'optional2--',
  8290. "//a[contains(@href,'clicknupload.link')]");
  8291. }
  8292. if (GM_getValue("Check_clicknupload_dot_org_links", false))
  8293. {
  8294. addFileHost(
  8295. "clicknupload\.org\/\\w+",
  8296. 'name="method_free',
  8297. 'File Not Found',
  8298. 'optional--',
  8299. 'optional2--',
  8300. "//a[contains(@href,'clicknupload.org')]");
  8301. }
  8302. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8303. {
  8304. addFileHost(
  8305. "ex-load\.com\/\\w+",
  8306. 'name="method_free|<p>Download File:</p>',
  8307. 'Folder Not Found|File Not Found|Error 404',
  8308. 'optional--',
  8309. 'class="downprem wow bounceInLeft',
  8310. "//a[contains(@href,'ex-load.com')]");
  8311. }
  8312. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8313. {
  8314. addFileHost(
  8315. "hexupload\.com\/\\w+",
  8316. 'button" value="Free|type="submit" value=""',
  8317. 'File Not Found|<div style="width:500px;text-align:left;">',
  8318. 'optional--',
  8319. 'optional2--',
  8320. "//a[contains(@href,'hexupload.com')]");
  8321. }*/
  8322. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8323. {
  8324. addFileHost(
  8325. "wizupload\.com\/\\w+",
  8326. 'btn_download|class="downloadbtn"',
  8327. '>File Not Found<',
  8328. 'optional--',
  8329. 'optional2--',
  8330. "//a[contains(@href,'wizupload.com')]");
  8331. }
  8332. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8333. {
  8334. addFileHost(
  8335. "inclouddrive\.com\/\\w+",
  8336. 'initfreedownload',
  8337. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8338. 'optional--',
  8339. 'optional2--',
  8340. "//a[contains(@href,'inclouddrive.com')]");
  8341. }
  8342. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8343. {
  8344. addFileHost(
  8345. "radicalshare\.com\/\\w+",
  8346. 'value="download1|name="method_free"',
  8347. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8348. 'optional--',
  8349. 'optional2--',
  8350. "//a[contains(@href,'radicalshare.com')]");
  8351. }*/
  8352. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8353. {
  8354. addFileHost(
  8355. "sharemods\.com\/\\w+",
  8356. 'name="method_free"',
  8357. 'File Not Found<',
  8358. 'optional--',
  8359. 'optional2--',
  8360. "//a[contains(@href,'sharemods.com')]");
  8361. }
  8362. if (GM_getValue("Check_hostr_dot_co_links", false))
  8363. {
  8364. addFileHost(
  8365. "hostr\.co\/\\w+",
  8366. 'method="get"',
  8367. 'File not found<|error-page',
  8368. 'optional--',
  8369. 'optional2--',
  8370. "//a[contains(@href,'hostr.co')]");
  8371. }
  8372. if (GM_getValue("Check_filepi_dot_com_links", false))
  8373. {
  8374. addFileHost(
  8375. "filepi\.com\/\\w+",
  8376. 'id="button_start">',
  8377. 'File not found',
  8378. 'optional--',
  8379. 'optional2--',
  8380. "//a[contains(@href,'filepi.com')]");
  8381. }
  8382. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8383. {
  8384. addFileHost(
  8385. "tikfile\.com\/\\w+",
  8386. 'btn_download',
  8387. 'File Not Found|file was removed|Reason for deletion',
  8388. 'optional--',
  8389. 'optional2--',
  8390. "//a[contains(@href,'tikfile.com')]");
  8391. }
  8392. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8393. {
  8394. addFileHost(
  8395. "cloudsix\.me\/\\w+",
  8396. 'name="method_free"',
  8397. 'File Not Found|width:500px;text-align:left;">',
  8398. 'optional--',
  8399. 'optional2--',
  8400. "//a[contains(@href,'cloudsix.me')]");
  8401. }
  8402. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8403. {
  8404. addFileHost(
  8405. "neodrive\.co\/\\w+",
  8406. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8407. 'File not found|/imgs/broken.png',
  8408. 'optional--',
  8409. 'optional2--',
  8410. "//a[contains(@href,'neodrive.co')]");
  8411. } */
  8412. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8413. {
  8414. addFileHost(
  8415. "chayfile\.com\/\\w+",
  8416. 'name="method_free"',
  8417. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8418. 'optional--',
  8419. 'optional2--',
  8420. "//a[contains(@href,'chayfile.com')]");
  8421. }
  8422. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8423. {
  8424. addFileHost(
  8425. "xfileload\.com\/\\w+",
  8426. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8427. '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..|הקובץ שחיפשת לא נמצא.',
  8428. 'optional--',
  8429. 'optional2--',
  8430. "//a[contains(@href,'xfileload.com')]");
  8431. }*/
  8432. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8433. {
  8434. addFileHost(
  8435. "rockfile\.eu\/\\w+",
  8436. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8437. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8438. 'optional--',
  8439. 'optional2--',
  8440. "//a[contains(@href,'rockfile.eu')]",
  8441. true);
  8442. }
  8443. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8444. {
  8445. addFileHost(
  8446. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8447. 'i/icon/dll.png"|>Start download<br|method_free',
  8448. 'no longer available<|i/ino.png"|File Not Found',
  8449. 'optional--',
  8450. 'optional2--',
  8451. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8452. }
  8453. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8454. {
  8455. addFileHost(
  8456. "ozofiles\.com\/\\w+",
  8457. 'button" value="Free|name="method_free',
  8458. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8459. 'optional--',
  8460. 'optional2--',
  8461. "//a[contains(@href,'ozofiles.com')]");
  8462. }
  8463. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8464. {
  8465. addFileHost(
  8466. "userscloud\.com\/\\w+",
  8467. 'btn_download|class="label label-success">',
  8468. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8469. 'optional--',
  8470. 'optional2--',
  8471. "//a[contains(@href,'userscloud.com')]");
  8472. }
  8473. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8474. {
  8475. addFileHost(
  8476. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8477. 'class="button download',
  8478. 'internal server error',
  8479. 'optional--',
  8480. 'optional2--',
  8481. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8482. }
  8483. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8484. {
  8485. addFileHost(
  8486. "kb.simple-aja\.info\/\\w+",
  8487. 'class="button download',
  8488. 'internal server error|<p>404</p>',
  8489. 'optional--',
  8490. 'optional2--',
  8491. "//a[contains(@href,'kb.simple')]");
  8492. }
  8493. if (GM_getValue("Check_faststore_dot_org_links", false))
  8494. {
  8495. addFileHost(
  8496. "faststore\.org\/\\w+",
  8497. 'name="method_free',
  8498. 'File Not Found',
  8499. 'optional--',
  8500. 'optional2--',
  8501. "//a[contains(@href,'faststore.org')]");
  8502. }
  8503. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8504. {
  8505. addFileHost(
  8506. "prefiles\.com\/\\w+",
  8507. 'id="method_free',
  8508. 'File not Found',
  8509. 'optional--',
  8510. 'optional2--',
  8511. "//a[contains(@href,'prefiles.com')]");
  8512. }
  8513. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8514. {
  8515. addFileHost(
  8516. "doraupload\.com\/\\w+",
  8517. 'btn_download|name="method_free',
  8518. 'class="error-code|Could Not Be Found',
  8519. 'optional--',
  8520. 'optional2--',
  8521. "//a[contains(@href,'doraupload.com')]");
  8522. }
  8523. if (GM_getValue("Check_openload_dot_io_links", false))
  8524. {
  8525. addFileHost(
  8526. "openload\.io\/\\w+",
  8527. 'btn btn-primary|class="count">|secondsleftouter',
  8528. 'class="jumbotron">|We are sorry',
  8529. 'optional--',
  8530. 'optional2--',
  8531. "//a[contains(@href,'openload.io')]");
  8532. }
  8533. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8534. {
  8535. addFileHost(
  8536. "zxcfiles\.com\/\\w+",
  8537. 'class="downloadbtn',
  8538. 'File Not Found',
  8539. 'optional--',
  8540. 'optional2--',
  8541. "//a[contains(@href,'zxcfiles.com')]");
  8542. }
  8543. if (GM_getValue("Check_up07_dot_net_links", false))
  8544. {
  8545. addFileHost(
  8546. "up07\.net\/\\w+",
  8547. 'name="method_free',
  8548. 'File Not Found',
  8549. 'optional--',
  8550. 'optional2--',
  8551. "//a[contains(@href,'up07.net')]");
  8552. }
  8553. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8554. {
  8555. addFileHost(
  8556. "fileupload\.pw\/\\w+",
  8557. 'value="Free"',
  8558. 'File Not Found',
  8559. 'optional--',
  8560. 'optional2--',
  8561. "//a[contains(@href,'fileupload.pw')]");
  8562. }
  8563. if (GM_getValue("Check_4upld_dot_com_links", false))
  8564. {
  8565. addFileHost(
  8566. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8567. 'alt="Download Now"|content="Download file">|btn-free-element',
  8568. '<title>Error|content="error|File not found',
  8569. 'optional--',
  8570. 'optional2--',
  8571. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8572. }
  8573. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8574. {
  8575. addFileHost(
  8576. "(?:.swoopshare)\\.com\/\\w+",
  8577. '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',
  8578. '<input type="file" name="f"',
  8579. 'optional--',
  8580. 'optional2--',
  8581. "//a[contains(@href,'swoopshare.com')]"
  8582. );
  8583. }
  8584. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8585. {
  8586. addFileHost(
  8587. "cloudshares\.net\/\\w+",
  8588. '"method_free|"Low Speed Download|submit" name="go',
  8589. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'cloudshares.net')]"
  8593. );
  8594. }
  8595. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8596. {
  8597. addFileHost(
  8598. "allmyvideos\.net\/\\w+",
  8599. 'Continue to Video',
  8600. 'File Not Found|class="err">Removed for',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'allmyvideos.net')]"
  8604. );
  8605. } */
  8606. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8607. {
  8608. addFileHost(
  8609. "vodlocker\.com\/\\w+",
  8610. 'Proceed to video',
  8611. 'Not Found',
  8612. 'optional--',
  8613. 'optional2--',
  8614. "//a[contains(@href,'vodlocker.com')]"
  8615. );
  8616. }
  8617. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8618. {
  8619. addFileHost(
  8620. "vidbull\.com\/\\w+",
  8621. 'Verifying Video Request',
  8622. 'File Not Found',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'vidbull.com')]");
  8626. }
  8627. if (GM_getValue("Check_novamov_dot_com_links", false))
  8628. {
  8629. addFileHost(
  8630. "novamov\.com\/\\w+",
  8631. 'For version detection',
  8632. 'file no longer exists',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'novamov.com')]"
  8636. );
  8637. }
  8638. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8639. {
  8640. addFileHost(
  8641. "filehoot\.com\/\\w+",
  8642. 'Continue to watch',
  8643. 'File Not Found',
  8644. 'optional--',
  8645. 'optional2--',
  8646. "//a[contains(@href,'filehoot.com')]"
  8647. );
  8648. }
  8649. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8650. {
  8651. addFileHost(
  8652. "stagevu\.com\/\\w+",
  8653. 'Video Info',
  8654. 'No video with the provided',
  8655. 'optional--',
  8656. 'optional2--',
  8657. "//a[contains(@href,'stagevu.com')]"
  8658. );
  8659. }
  8660. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8661. {
  8662. addFileHost(
  8663. "cloudtime\.to\/\\w+",
  8664. 'Download the video',
  8665. 'no longer exists',
  8666. 'optional--',
  8667. 'optional2--',
  8668. "//a[contains(@href,'cloudtime.to')]"
  8669. );
  8670. }
  8671. if (GM_getValue("Check_streamin_dot_to_links", false))
  8672. {
  8673. addFileHost(
  8674. "streamin\.to\/\\w+",
  8675. 'id="btn_download',
  8676. 'Not Found|Copyright Infringement|File Deleted',
  8677. 'optional--',
  8678. 'optional2--',
  8679. "//a[contains(@href,'streamin.to')]"
  8680. );
  8681. }
  8682. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8683. {
  8684. addFileHost(
  8685. "videoweed\.es\/\\w+",
  8686. 'version detection',
  8687. 'no longer exists',
  8688. 'optional--',
  8689. 'optional2--',
  8690. "//a[contains(@href,'videoweed.es')]"
  8691. );
  8692. }
  8693. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8694. {
  8695. addFileHost(
  8696. "nowvideo\.sx\/\\w+",
  8697. 'Download this video|value="submit">Continue',
  8698. 'no longer exists',
  8699. 'optional--',
  8700. 'optional2--',
  8701. "//a[contains(@href,'nowvideo.sx')]"
  8702. );
  8703. }
  8704. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8705. {
  8706. addFileHost(
  8707. "thevideo\.me\/\\w+",
  8708. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8709. 'File Not Found',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'thevideo.me')]"
  8713. );
  8714. }
  8715. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8716. {
  8717. addFileHost(
  8718. "gorillavid\.in\/\\w+",
  8719. 'Wait 5 seconds',
  8720. 'File Not Found',
  8721. 'optional--',
  8722. 'optional2--',
  8723. "//a[contains(@href,'gorillavid.in')]"
  8724. );
  8725. }
  8726. if (GM_getValue("Check_thefile_dot_me_links", false))
  8727. {
  8728. addFileHost(
  8729. "thefile\.me\/\\w+",
  8730. 'Choose free or',
  8731. '',
  8732. 'optional--',
  8733. 'optional2--',
  8734. "//a[contains(@href,'thefile.me')]"
  8735. );
  8736. }
  8737. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8738. {
  8739. addFileHost(
  8740. "vidzi\.tv\/\\w+",
  8741. 'video-embed-modal row',
  8742. 'File Not Found|file was deleted',
  8743. 'optional--',
  8744. 'optional2--',
  8745. "//a[contains(@href,'vidzi.tv')]"
  8746. );
  8747. }
  8748. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8749. {
  8750. addFileHost(
  8751. "filenuke\.com\/\\w+",
  8752. 'Download File',
  8753. 'Earn with us',
  8754. 'optional--',
  8755. 'optional2--',
  8756. "//a[contains(@href,'filenuke.com')]"
  8757. );
  8758. }
  8759. if (GM_getValue("Check_vidto_dot_me_links", false))
  8760. {
  8761. addFileHost(
  8762. "vidto\.me\/\\w+",
  8763. 'Proceed to video',
  8764. 'Not Found',
  8765. 'optional--',
  8766. 'optional2--',
  8767. "//a[contains(@href,'vidto.me')]"
  8768. );
  8769. }
  8770. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8771. {
  8772. addFileHost(
  8773. "vidspot\.net\/\\w+",
  8774. 'Duration|method_free',
  8775. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8776. 'optional--',
  8777. 'optional2--',
  8778. "//a[contains(@href,'vidspot.net')]"
  8779. );
  8780. } */
  8781. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8782. {
  8783. addFileHost(
  8784. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8785. 'Download File',
  8786. 'File Not Found',
  8787. 'optional--',
  8788. 'optional2--',
  8789. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8790. );
  8791. }
  8792. if (GM_getValue("Check_movpod_dot_in_links", false))
  8793. {
  8794. addFileHost(
  8795. "movpod\.in\/\\w+",
  8796. 'Continue',
  8797. 'File Not Found',
  8798. 'optional--',
  8799. 'optional2--',
  8800. "//a[contains(@href,'movpod.in')]"
  8801. );
  8802. }
  8803. if (GM_getValue("Check_down4files_dot_com_links", false))
  8804. {
  8805. addFileHost(
  8806. "down4files\.com\/\\w+",
  8807. 'down_table.png',
  8808. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8809. 'optional--',
  8810. 'optional2--',
  8811. "//a[contains(@href,'down4files.com')]"
  8812. );
  8813. }
  8814. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8815. {
  8816. addFileHost(
  8817. "storefiles\.co\/\\w+",
  8818. 'btn_download',
  8819. 'No such file|>Error<|mqmaintitle">',
  8820. 'optional--',
  8821. 'optional2--',
  8822. "//a[contains(@href,'storefiles.co')]"
  8823. );
  8824. }*/
  8825. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8826. {
  8827. addFileHost(
  8828. "filehost\.pw\/\\w+",
  8829. 'name="method_free',
  8830. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8831. 'optional--',
  8832. 'optional2--',
  8833. "//a[contains(@href,'filehost.pw')]"
  8834. );
  8835. }
  8836. if (GM_getValue("Check_uplea_dot_com_links", false))
  8837. {
  8838. addFileHost(
  8839. "uplea\.com\/\\w+",
  8840. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8841. 'expired link|ou est invalide',
  8842. 'optional--',
  8843. 'optional2--',
  8844. "//a[contains(@href,'uplea.com/dl')]",
  8845. true);
  8846. }
  8847. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8848. {
  8849. addFileHost(
  8850. "toutbox\.fr\/\\w+",
  8851. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8852. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8853. 'Serviço temporariamente indisponível',
  8854. 'optional2--',
  8855. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8856. );
  8857. }*/
  8858. if (GM_getValue("Check_openload_dot_co_links", false))
  8859. {
  8860. addFileHost(
  8861. "openload\.co\/\\w+",
  8862. 'id="downloadTimer">|button dlbutton',
  8863. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8864. 'optional--',
  8865. 'optional2--',
  8866. "//a[contains(@href,'openload.co')]"
  8867. );
  8868. }
  8869. if (GM_getValue("Check_oload_dot_tv_links", false))
  8870. {
  8871. addFileHost(
  8872. "oload\.tv\/\\w+",
  8873. 'id="downloadTimer">|button dlbutton',
  8874. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8875. 'optional--',
  8876. 'optional2--',
  8877. "//a[contains(@href,'oload.tv')]"
  8878. );
  8879. }
  8880. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8881. {
  8882. addFileHost(
  8883. "lolabits\.es\/\\w+",
  8884. 'Descargar:',
  8885. '<title>Archivos de usuario',
  8886. 'Service Unavailable',
  8887. 'optional2--',
  8888. "//a[contains(@href,'lolabits.es')]"
  8889. );
  8890. }*/
  8891. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8892. {
  8893. addFileHost(
  8894. "alfafile\.net\/\\w+",
  8895. 'id="slow_download_btn',
  8896. 'class="error-box">',
  8897. 'optional--',
  8898. 'optional2--',
  8899. "//a[contains(@href,'alfafile.net')]"
  8900. );
  8901. }
  8902. if (GM_getValue("Check_multiup_dot_org_links", false))
  8903. {
  8904. addFileHost(
  8905. "multiup\\.(?:org|eu)\/\\w+",
  8906. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8907. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8908. 'optional--',
  8909. 'optional2--',
  8910. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8911. );
  8912. }
  8913. if (GM_getValue("Check_file_dot_al_links", false))
  8914. {
  8915. addFileHost(
  8916. "file\\.al|1f.al",
  8917. 'method_free',
  8918. 'style="width:500px;text-align:left;">|invalid license_key',
  8919. 'optional--',
  8920. 'optional2--',
  8921. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8922. );
  8923. }
  8924. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8925. {
  8926. addFileHost(
  8927. "devilshare\.net\/\\w+",
  8928. '<div class="large-12" id="download">',
  8929. '(Link: 0 Invalid)|File Not Found',
  8930. 'optional--',
  8931. 'optional2--',
  8932. "//a[contains(@href,'devilshare.net')]"
  8933. );
  8934. }
  8935. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8936. {
  8937. addFileHost(
  8938. "dailyuploads\.net\/\\w+",
  8939. 'id="downloadBtnClickOrignal',
  8940. '<div style="width:500px;text-align:left;">',
  8941. 'optional--',
  8942. 'optional2--',
  8943. "//a[contains(@href,'dailyuploads.net')]"
  8944. );
  8945. }
  8946. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8947. {
  8948. addFileHost(
  8949. "datoteke\.com\/\\w+",
  8950. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8951. '&nbsp;File has been removed',
  8952. 'optional--',
  8953. '<title>Error - Datoteke',
  8954. "//a[contains(@href,'datoteke.com')]"
  8955. );
  8956. }
  8957. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8958. {
  8959. addFileHost(
  8960. "sharehost\.eu\/\\w+",
  8961. '/?v=download_free&',
  8962. 'Errors occured|Wystąpiły błędy',
  8963. 'optional--',
  8964. 'optional2--',
  8965. "//a[contains(@href,'sharehost.eu')]"
  8966. );
  8967. }
  8968. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8969. {
  8970. addFileHost(
  8971. "pornfile\.cz",
  8972. 'Stáhnout soubor|Stáhnout pomalu',
  8973. 'Soubor byl smazán|Stránka nenalezena',
  8974. 'optional--',
  8975. 'optional2--',
  8976. "//a[contains(@href,'pornfile.cz')]"
  8977. );
  8978. }
  8979. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8980. {
  8981. addFileHost(
  8982. "pornoid\.cz\/\\w+",
  8983. 'class="btn btn-large btn-download',
  8984. 'Soubor byl smazán',
  8985. 'optional--',
  8986. 'optional2--',
  8987. "//a[contains(@href,'pornoid.cz')]"
  8988. );
  8989. }
  8990. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8991. {
  8992. addFileHost(
  8993. "file-share\.top\/\\w+",
  8994. 'btn-success btn-lg download',
  8995. 'Stránka neexistuje|404 Not Found',
  8996. 'optional--',
  8997. 'optional2--',
  8998. "//a[contains(@href,'file-share.top')]"
  8999. );
  9000. }
  9001. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9002. {
  9003. addFileHost(
  9004. "bitster\.cz\/",
  9005. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9006. 'section" content=""',
  9007. 'optional--',
  9008. 'optional2--',
  9009. "//a[contains(@href,'bitster.cz')]"
  9010. );
  9011. }
  9012. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9013. {
  9014. addFileHost(
  9015. "rapidu\.net\/\\w+",
  9016. 'onclick="downloadFreeFile',
  9017. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9018. 'optional--',
  9019. 'optional2--',
  9020. "//a[contains(@href,'rapidu.net')]"
  9021. );
  9022. }
  9023. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9024. {
  9025. addFileHost(
  9026. "dinoshare\.cz\/\\w+",
  9027. 'class="download-button"',
  9028. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9029. 'optional--',
  9030. 'optional2--',
  9031. "//a[contains(@href,'dinoshare.cz')]"
  9032. );
  9033. }
  9034. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9035. {
  9036. addFileHost(
  9037. "bytewhale\.com\/\\w+",
  9038. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9039. 'var rawest = "0 MB|Copyrights Claim</div>',
  9040. 'optional--',
  9041. 'This file is available for premium members only',
  9042. "//a[contains(@href,'bytewhale.com')]"
  9043. );
  9044. }
  9045. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9046. {
  9047. addFileHost(
  9048. "rapidrar\.com\/\\w+",
  9049. 'value="Free Download',
  9050. '<div style="width:500px;text-align:left;">',
  9051. 'optional--',
  9052. 'optional--',
  9053. "//a[contains(@href,'rapidrar.com')]"
  9054. );
  9055. }
  9056. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9057. {
  9058. addFileHost(
  9059. "filesupload\.org\/\\w+",
  9060. '<a href="/download-or-watch/',
  9061. 'File not found',
  9062. 'optional--',
  9063. 'optional--',
  9064. "//a[contains(@href,'filesupload.org')]"
  9065. );
  9066. }
  9067. if (GM_getValue("Check_filecad_dot_com_links", false))
  9068. {
  9069. addFileHost(
  9070. "filecad\.com\/\\w+",
  9071. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9072. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9073. 'optional--',
  9074. 'optional--',
  9075. "//a[contains(@href,'filecad.com')]"
  9076. );
  9077. }
  9078. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9079. {
  9080. addFileHost(
  9081. "file.up09\.com\/\\w+",
  9082. 'name="method_free',
  9083. 'style="width:500px;text-align:left;">',
  9084. 'optional--',
  9085. 'optional--',
  9086. "//a[contains(@href,'file.up09.com')]"
  9087. );
  9088. }
  9089. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9090. {
  9091. addFileHost(
  9092. "lunaticfiles\.com\/\\w+",
  9093. 'name="method_free"',
  9094. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9095. 'optional--',
  9096. 'optional--',
  9097. "//a[contains(@href,'lunaticfiles.com')]"
  9098. );
  9099. }
  9100. if (GM_getValue("Check_upload_dot_af_links", false))
  9101. {
  9102. addFileHost(
  9103. "upload\.af\/\\w+",
  9104. 'id="method_free"',
  9105. '<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|ファイルが見つかりません',
  9106. 'optional--',
  9107. 'optional--',
  9108. "//a[contains(@href,'upload.af')]"
  9109. );
  9110. }
  9111. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9112. {
  9113. addFileHost(
  9114. "filedwon\.info\/\\w+",
  9115. 'name="method_free"',
  9116. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9117. 'optional--',
  9118. 'optional--',
  9119. "//a[contains(@href,'filedwon.info')]"
  9120. );
  9121. }
  9122. if (GM_getValue("Check_uplod_dot_it_links", false))
  9123. {
  9124. addFileHost(
  9125. "uplod\.it\/\\w+",
  9126. 'value="download2">|name="method_free',
  9127. '<Title>Download </Title>',
  9128. 'optional--',
  9129. 'optional--',
  9130. "//a[contains(@href,'uplod.it')]"
  9131. );
  9132. }
  9133. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9134. {
  9135. addFileHost(
  9136. "abelhas\.pt\/\\w+",
  9137. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9138. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9139. 'optional--',
  9140. 'optional--',
  9141. "//a[contains(@href,'abelhas.pt')]"
  9142. );
  9143. } */
  9144. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9145. {
  9146. addFileHost(
  9147. "disk.yandex\.com\/\\w+",
  9148. 'nb-button _nb-small-button',
  9149. 'error code|Nothing found',
  9150. 'optional--',
  9151. 'optional2--',
  9152. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9153. }
  9154. if (GM_getValue("Check_filespace_dot_com_links", false))
  9155. {
  9156. addFileHost(
  9157. "filespace\.com\/\\w+",
  9158. '"method_free',
  9159. '<div style="text-align:left;"><ul>|>File not found.<',
  9160. 'optional1--',
  9161. 'optional2--',
  9162. "//a[contains(@href,'filespace.com')]");
  9163. }
  9164. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9165. {
  9166. addFileHost(
  9167. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9168. 'name="downloadFile|id="downloadFile|value="Wait',
  9169. '<title>File not found</title>|>Error:<',
  9170. 'optional1--',
  9171. 'optional2--',
  9172. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9173. }
  9174. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9175. {
  9176. addFileHost(
  9177. "ncrypt\.in\/\\w+",
  9178. 'Sicherheitsabfrage:|Securitycheck:',
  9179. 'does not exist|existiert nicht',
  9180. 'optional1--',
  9181. 'optional2--',
  9182. "//a[contains(@href,'ncrypt.in')]");
  9183. }
  9184. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9185. {
  9186. addFileHost(
  9187. "jeodrive\.com\/\\w+",
  9188. 'btn-lg regular',
  9189. 'Not found',
  9190. 'optional1--',
  9191. 'optional2--',
  9192. "//a[contains(@href,'jeodrive.com')]");
  9193. }
  9194. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9195. {
  9196. addFileHost(
  9197. "myfiles\.onl\/\\w+",
  9198. 'value="Free"',
  9199. '<div style="width:500px;text-align:left;">',
  9200. 'optional1--',
  9201. 'optional2--',
  9202. "//a[contains(@href,'myfiles.onl')]");
  9203. }
  9204. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9205. {
  9206. addFileHost(
  9207. "uploadserv\.com\/\\w+",
  9208. 'color="red">http://uploadserv.com/',
  9209. 'content="Download File ">|<title>Download </title>',
  9210. 'optional1--',
  9211. 'optional2--',
  9212. "//a[contains(@href,'uploadserv.com')]");
  9213. }
  9214. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9215. {
  9216. addFileHost(
  9217. "keepshare\.net\/\\w+",
  9218. 'method_free',
  9219. '<div style="width:500px;text-align:left;">',
  9220. 'optional1--',
  9221. 'optional2--',
  9222. "//a[contains(@href,'keepshare.net')]");
  9223. }
  9224. if (GM_getValue("Check_oload_dot_net_links", false))
  9225. {
  9226. addFileHost(
  9227. "oload\.net\/\\w+",
  9228. '<font color="red">http://oload.net',
  9229. 'class="page-ttl">',
  9230. 'optional1--',
  9231. 'optional2--',
  9232. "//a[contains(@href,'oload.net')]");
  9233. }
  9234. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9235. {
  9236. addFileHost(
  9237. "filescdn\.com\/\\w+",
  9238. 'btn_download',
  9239. 'icon-warning text-danger|no longer available',
  9240. 'optional1--',
  9241. 'optional2--',
  9242. "//a[contains(@href,'filescdn.com')]");
  9243. }
  9244. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9245. {
  9246. addFileHost(
  9247. "bankupload\.com\/\\w+",
  9248. 'id="btn_download"|1.0 GB',
  9249. '<div style="width:500px;text-align:left;">',
  9250. 'optional1--',
  9251. ' GB',
  9252. "//a[contains(@href,'bankupload.com')]");
  9253. }
  9254. if (GM_getValue("Check_katfile_dot_com_links", false))
  9255. {
  9256. addFileHost(
  9257. "katfile\.com\/\\w+",
  9258. 'KB| MB|1.0 GB|id="method_free',
  9259. 'images/file_not_found.png"',
  9260. 'optional1--',
  9261. ' GB',
  9262. "//a[contains(@href,'katfile.com')]");
  9263. }
  9264. if (GM_getValue("Check_filesin_dot_space_links", false))
  9265. {
  9266. addFileHost(
  9267. "filesin\.space\/\\w+",
  9268. 'id="btn_download"',
  9269. 'class="err">',
  9270. 'optional1--',
  9271. 'optional2',
  9272. "//a[contains(@href,'filesin.space')]");
  9273. }
  9274. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9275. {
  9276. addFileHost(
  9277. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9278. 'download.php',
  9279. 'notfound|upload\\-suborov\\.php"',
  9280. 'optional--',
  9281. 'optional2--',
  9282. "//a[contains(@href,'upnito.sk')]"
  9283. );
  9284. }
  9285. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9286. {
  9287. addFileHost(
  9288. "alltu\.eu\/\\w+",
  9289. 'download-timer',
  9290. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9291. 'optional1--',
  9292. 'optional2',
  9293. "//a[contains(@href,'alltu.eu')]");
  9294. }
  9295. if (GM_getValue("Check_novafile_dot_com_links", false))
  9296. {
  9297. addFileHost(
  9298. "novafile\.com\/\\w+",
  9299. 'id="regular-download',
  9300. 'id="file-not-found',
  9301. 'optional1--',
  9302. 'id="premium-only',
  9303. "//a[contains(@href,'novafile.com')]");
  9304. }
  9305. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9306. {
  9307. addFileHost(
  9308. "uploadgig\.com",
  9309. 'id="countdownContainer',
  9310. 'File not found',
  9311. 'optional1--',
  9312. 'Premium Member only',
  9313. "//a[contains(@href,'uploadgig.com')]");
  9314. }
  9315. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9316. {
  9317. addFileHost(
  9318. "mexashare\.com\/\\w+",
  9319. 'method_free',
  9320. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9321. 'optional1--',
  9322. 'optional2',
  9323. "//a[contains(@href,'mexashare.com')]");
  9324. }
  9325. if (GM_getValue("Check_daofile_dot_com_links", false))
  9326. {
  9327. addFileHost(
  9328. "daofile\.com\/\\w+",
  9329. 'class="captcha_code',
  9330. 'style="width:500px;text-align:left;">',
  9331. 'optional1--',
  9332. 'optional2',
  9333. "//a[contains(@href,'daofile.com')]");
  9334. }
  9335. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9336. {
  9337. addFileHost(
  9338. "imagenetz\.de\/\\w+",
  9339. 'id="download',
  9340. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9341. 'optional1--',
  9342. 'optional2',
  9343. "//a[contains(@href,'imagenetz.de')]");
  9344. }
  9345. if (GM_getValue("Check_uloz_dot_to_links", false))
  9346. {
  9347. addFileHost(
  9348. "uloz\.to",
  9349. 'limitedDownloadButton|Stáhnout pomalu',
  9350. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9351. 'optional1--',
  9352. 'optional2',
  9353. "//a[contains(@href,'uloz.to')]");
  9354. }
  9355. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9356. {
  9357. addFileHost(
  9358. "ulozto.net",
  9359. 'limitedDownloadButton|Stáhnout pomalu',
  9360. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9361. 'optional1--',
  9362. 'optional2',
  9363. "//a[contains(@href,'ulozto.net')]");
  9364. }
  9365. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9366. {
  9367. addFileHost(
  9368. "ulozto\.sk",
  9369. 'limitedDownloadButton|Stáhnout pomalu',
  9370. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9371. 'optional1--',
  9372. 'optional2',
  9373. "//a[contains(@href,'ulozto.sk')]");
  9374. }
  9375. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9376. {
  9377. addFileHost(
  9378. "ulozto\.cz",
  9379. 'limitedDownloadButton|Stáhnout pomalu',
  9380. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9381. 'optional1--',
  9382. 'optional2',
  9383. "//a[contains(@href,'ulozto.cz')]");
  9384. }
  9385. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9386. {
  9387. addFileHost(
  9388. "subyshare\.com\/\\w+",
  9389. 'id="method_free',
  9390. 'file was removed|class="err">|1s">404',
  9391. 'optional1--',
  9392. 'optional2',
  9393. "//a[contains(@href,'subyshare.com')]",
  9394. true);
  9395. }
  9396. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9397. {
  9398. addFileHost(
  9399. "fileshareup\.com\/\\w+",
  9400. 'download-timer|btn-free-element|content="Download file',
  9401. 'content="Error"|content="error|heading-1">Error<',
  9402. 'optional1--',
  9403. 'optional2',
  9404. "//a[contains(@href,'fileshareup.com')]");
  9405. }
  9406. if (GM_getValue("Check_mystore_dot_to_links", false))
  9407. {
  9408. addFileHost(
  9409. "mystore\.to\/\\w+",
  9410. 'Download File',
  9411. 'file not found',
  9412. 'optional1--',
  9413. 'optional2',
  9414. "//a[contains(@href,'mystore.to/dl')]");
  9415. }
  9416. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9417. {
  9418. addFileHost(
  9419. "usercloud\.net\/\\w+",
  9420. 'content="download|var seconds = 60|type="password',
  9421. 'content="error|report_file.html">',
  9422. 'optional1--',
  9423. 'optional2',
  9424. "//a[contains(@href,'usercloud.net')]");
  9425. }
  9426. if (GM_getValue("Check_workupload_dot_com_links", false))
  9427. {
  9428. addFileHost(
  9429. "workupload\.com\/\\w+",
  9430. 'content="Download|id="download"',
  9431. 'File not found|img/not-found.jpg|Error message',
  9432. 'optional1--',
  9433. 'optional2',
  9434. "//a[contains(@href,'workupload.com')]");
  9435. }
  9436. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9437. {
  9438. addFileHost(
  9439. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9440. 'class="download">',
  9441. 'class="error center',
  9442. 'optional1--',
  9443. 'optional2',
  9444. "//a[contains(@href,'storageserver.co.uk')]");
  9445. }
  9446. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9447. {
  9448. addFileHost(
  9449. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9450. '"kind": "file"',
  9451. '"error": "not_exists"',
  9452. 'optional1--',
  9453. 'optional2',
  9454. "//a[contains(@href,'cloud.mail.ru')]");
  9455. }
  9456. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9457. {
  9458. addFileHost(
  9459. "bdupload\.info\/\\w+",
  9460. 'class="downloadbtn">|id="downloadbtn"',
  9461. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9462. 'optional1--',
  9463. 'optional2',
  9464. "//a[contains(@href,'bdupload.info')]");
  9465. }
  9466. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9467. {
  9468. addFileHost(
  9469. "wayupload\.com\/\\w+",
  9470. 'class="nopay-btn gray"',
  9471. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9472. 'optional1--',
  9473. 'optional2',
  9474. "//a[contains(@href,'wayupload.com')]");
  9475. }
  9476. if (GM_getValue("Check_exbit_dot_net_links", false))
  9477. {
  9478. addFileHost(
  9479. "exbit\.net\/\\w+",
  9480. 'class="nopay-btn|href="/download/free/',
  9481. 'File not found',
  9482. 'optional1--',
  9483. 'optional2',
  9484. "//a[contains(@href,'exbit.net')]");
  9485. }
  9486. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9487. {
  9488. addFileHost(
  9489. "uploadocean\.com\/\\w+",
  9490. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9491. 'deleted.png"',
  9492. 'optional1--',
  9493. 'optional2',
  9494. "//a[contains(@href,'uploadocean.com')]");
  9495. }
  9496. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9497. {
  9498. addFileHost(
  9499. "fileflares\.com\/\\w+",
  9500. 'id="downloadbtn"',
  9501. '<div style="width:500px;text-align:left;">',
  9502. 'optional1--',
  9503. 'optional2',
  9504. "//a[contains(@href,'fileflares.com')]");
  9505. }
  9506. if (GM_getValue("Check_erafile_dot_com_links", false))
  9507. {
  9508. addFileHost(
  9509. "erafile\.com\/\\w+",
  9510. 'id="method_free',
  9511. '<div style="width:500px;text-align:left;">',
  9512. 'optional1--',
  9513. 'optional2',
  9514. "//a[contains(@href,'erafile.com')]");
  9515. }
  9516. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9517. {
  9518. addFileHost(
  9519. "suprafiles\.net\/\\w+",
  9520. 'name="method_free"',
  9521. 'File Not Found|style="width:1000px; text-align: left;">',
  9522. 'optional1--',
  9523. 'optional2',
  9524. "//a[contains(@href,'suprafiles.net')]");
  9525. }
  9526. if (GM_getValue("Check_suprafiles_dot_co_links", false))
  9527. {
  9528. addFileHost(
  9529. "suprafiles\.co\/\\w+",
  9530. 'name="method_free"',
  9531. 'File Not Found|style="width:1000px; text-align: left;">',
  9532. 'optional1--',
  9533. 'optional2',
  9534. "//a[contains(@href,'suprafiles.co')]");
  9535. }
  9536. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9537. {
  9538. addFileHost(
  9539. "upfiles\.net\/\\w+",
  9540. 'id="recaptcha2"|snail.png"',
  9541. 'Ten plik został usunięty.|style="margin-top:50px',
  9542. 'optional1--',
  9543. 'optional2',
  9544. "//a[contains(@href,'upfiles.net/f/')]");
  9545. }
  9546. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9547. {
  9548. addFileHost(
  9549. "dailyfiles\.net\/\\w+",
  9550. 'onclick="dwn',
  9551. '<title>Error',
  9552. 'optional1--',
  9553. 'optional2',
  9554. "//a[contains(@href,'dailyfiles.net')]");
  9555. }
  9556. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9557. {
  9558. addFileHost(
  9559. "littlebyte\.net\/\\w+",
  9560. '>Free download<|>Скачать медленно<',
  9561. 'images/dmca.png">',
  9562. 'optional1--',
  9563. 'optional2',
  9564. "//a[contains(@href,'littlebyte.net')]");
  9565. }
  9566. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9567. {
  9568. addFileHost(
  9569. "black\\-label\\.pro\/\\w+",
  9570. 'slow_download_button.png"|td><td title="',
  9571. 'STILL NEED CODE FOR DEAD LINKS',
  9572. 'optional1--',
  9573. 'optional2',
  9574. "//a[contains(@href,'black-label.pro')]");
  9575. } */
  9576. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9577. {
  9578. addFileHost(
  9579. "temp\\-share\\.com\/\\w+",
  9580. 'publickey',
  9581. 'STILL NEED CODE FOR DEAD LINKS',
  9582. 'optional1--',
  9583. 'optional2',
  9584. "//a[contains(@href,'temp-share.com')]");
  9585. }
  9586. if (GM_getValue("Check_filesha_dot_com_links", false))
  9587. {
  9588. addFileHost(
  9589. "filesha\.com\/\\w+",
  9590. '>Download Free<',
  9591. 'STILL NEED CODE FOR DEAD LINKS',
  9592. 'optional1--',
  9593. 'optional2',
  9594. "//a[contains(@href,'filesha.com')]");
  9595. }
  9596. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9597. {
  9598. addFileHost(
  9599. "ausfile\.com\/\\w+",
  9600. 'class="slow-download',
  9601. 'File Not Found',
  9602. 'optional1--',
  9603. 'optional2',
  9604. "//a[contains(@href,'ausfile.com')]");
  9605. }
  9606. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9607. {
  9608. addFileHost(
  9609. "upfile\.mobi\/\\w+",
  9610. 'class="download_button"',
  9611. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9612. 'optional1--',
  9613. 'optional2',
  9614. "//a[contains(@href,'upfile.mobi')]");
  9615. }
  9616. if (GM_getValue("Check_share_dot_az_links", false))
  9617. {
  9618. addFileHost(
  9619. "share\.az\/\\w+",
  9620. 'id="btn_download"',
  9621. 'File Not Found|We are sorry',
  9622. 'optional1--',
  9623. 'optional2',
  9624. "//a[contains(@href,'share.az')]");
  9625. }
  9626. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9627. {
  9628. addFileHost(
  9629. "partage-facile\.com",
  9630. 'class="title"><strong>',
  9631. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9632. 'optional--',
  9633. 'optional2--',
  9634. "//a[contains(@href,'partage-facile.com')]");
  9635. }
  9636. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9637. {
  9638. addFileHost(
  9639. "uploadify\.net\/\\w+",
  9640. 'loading_small.gif"',
  9641. '<title>Error -',
  9642. 'optional1--',
  9643. 'optional2',
  9644. "//a[contains(@href,'uploadify.net')]");
  9645. }
  9646. if (GM_getValue("Check_uploads_dot_to_links", false))
  9647. {
  9648. addFileHost(
  9649. "uploads\.to\/\\w+",
  9650. 'class="g-recaptcha',
  9651. 'File Not Found|FILE NOT FOUND<',
  9652. 'optional1--',
  9653. 'optional2',
  9654. "//a[contains(@href,'uploads.to')]");
  9655. }
  9656. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9657. {
  9658. addFileHost(
  9659. "crazyshare\.cc\/\\w+",
  9660. 'slow_download_button.png',
  9661. 'File Not Found',
  9662. 'optional1--',
  9663. 'optional2',
  9664. "//a[contains(@href,'crazyshare.cc')]");
  9665. }
  9666. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9667. {
  9668. addFileHost(
  9669. "fileshark\.pl\/\\w+",
  9670. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9671. 'Nie znaleziono pliku w serwisie.',
  9672. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9673. 'optional2',
  9674. "//a[contains(@href,'fileshark.pl')]");
  9675. }
  9676. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9677. {
  9678. addFileHost(
  9679. "pobierz\.to\/\\w+",
  9680. 'class="download-timer',
  9681. 'Plik został usunięty.',
  9682. 'optional1--',
  9683. 'optional2',
  9684. "//a[contains(@href,'pobierz.to')]");
  9685. }
  9686. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9687. {
  9688. addFileHost(
  9689. "kingfile\.pl\/\\w+",
  9690. 'id="downloadBox',
  9691. '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',
  9692. 'optional1--',
  9693. 'optional2',
  9694. "//a[contains(@href,'kingfile.pl')]");
  9695. }
  9696. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9697. {
  9698. addFileHost(
  9699. "hotlink\.cc\/",
  9700. 'id="downloadbtn">|class="free"|id="counttext1"',
  9701. 'Error 404|Page not found',
  9702. 'optional1--',
  9703. 'optional2',
  9704. "//a[contains(@href,'hotlink.cc')]");
  9705. }
  9706. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9707. {
  9708. addFileHost(
  9709. "owndrives\.com\/\\w+",
  9710. 'id="method_free"',
  9711. 'File Not Found',
  9712. 'optional1--',
  9713. 'optional2',
  9714. "//a[contains(@href,'owndrives.com')]");
  9715. }
  9716. if (GM_getValue("Check_avatarshare_dot_com_links", false))
  9717. {
  9718. addFileHost(
  9719. "avatarshare\.com\/\\w+",
  9720. 'name="method_free"',
  9721. 'File Not Found',
  9722. 'optional1--',
  9723. 'optional2',
  9724. "//a[contains(@href,'avatarshare.com')]");
  9725. }
  9726. if (GM_getValue("Check_up_dash_4ever_dot_com_links", false))
  9727. {
  9728. addFileHost(
  9729. "up-4ever\.com\/\\w+",
  9730. 'name="method_free"',
  9731. 'File Not Found',
  9732. 'optional1--',
  9733. 'optional2',
  9734. "//a[contains(@href,'up-4ever.com')]");
  9735. }
  9736. }
  9737. //start here
  9738.  
  9739. //hosts with direct download, so they must be requested for headers only
  9740. function initFileHostsHeadersOnly()
  9741. {
  9742. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9743. {
  9744. var host = new Array(5);
  9745. host[0] = linkRegex;
  9746. host[1] = isAliveRegex;
  9747. host[2] = isDeadRegex;
  9748. host[4] = ispremRegex;
  9749. host[3] = xpathEx;
  9750. http_file_hosts_headers_only.push(host);
  9751. }
  9752. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9753. {
  9754. addFileHostHeadersOnly(
  9755. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9756. 'Connection: Keep-Alive',
  9757. 'Content-Length: 3857',
  9758. 'optional2',
  9759. "//a[contains(@href,'uloziste.com')]"
  9760. )
  9761. }
  9762. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9763. {
  9764. addFileHostHeadersOnly(
  9765. "filescdn\.com\/\\w+",
  9766. 'Connection: keep-alive',
  9767. 'Company</Title>',
  9768. 'optional2',
  9769. "//a[contains(@href,'filescdn.com')]"
  9770. )
  9771. } */
  9772. if (GM_getValue("Check_adrive_dot_com_links", false))
  9773. {
  9774. addFileHostHeadersOnly(
  9775. "adrive\\.com\/public\/\\w+",
  9776. 'Connection: keep-alive',
  9777. 'orig_ref=deleted',
  9778. 'optional2',
  9779. "//a[contains(@href,'adrive.com')]"
  9780. )
  9781. }
  9782. }
  9783.  
  9784. //CustomRules
  9785. //functions add...Host copied here
  9786. function addObsoleteHost(linkRegex, xpathEx)
  9787. {
  9788. var host = new Array(2);
  9789. host[0] = linkRegex;
  9790. host[1] = xpathEx;
  9791. http_file_hosts_obsolete.push(host);
  9792. }
  9793. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9794. {
  9795. var host = new Array(7);
  9796. host[0] = linkRegex;
  9797. host[1] = isAliveRegex;
  9798. host[2] = isDeadRegex;
  9799. host[3] = isUnavaRegex;
  9800. host[4] = xpathEx;
  9801. tryLoop ? host[5] = true : host[5] = false;
  9802. host[6] = ispremRegex;
  9803. http_file_hosts.push(host);
  9804. }
  9805. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9806. {
  9807. var host = new Array(5);
  9808. host[0] = linkRegex;
  9809. host[1] = isAliveRegex;
  9810. host[2] = isDeadRegex;
  9811. host[3] = xpathEx;
  9812. host[4] = ispremRegex;
  9813. http_file_hosts_headers_only.push(host);
  9814. }
  9815. //takes a fully built rules array and adds the rules to WARLC
  9816. function applyCustomRules(customRules)
  9817. {
  9818. if (!customRules) return;
  9819. var rules, r, i;
  9820. rules = customRules.rules;
  9821. for (i = 0 ; i < rules.length ; i++)
  9822. {
  9823. r = rules[i];
  9824. if (r.enabled)
  9825. {
  9826. switch (r.type)
  9827. {
  9828. case 'single':
  9829. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9830. break;
  9831. case 'headers':
  9832. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9833. break;
  9834. case 'obsolete':
  9835. addObsoleteHost(r.urlregex, r.xpath)
  9836. break;
  9837. }
  9838. }
  9839. }
  9840. }
  9841.  
  9842.  
  9843. function initFileHostsCustom()
  9844. {
  9845. if (Custom_rules && Custom_rules_text)
  9846. {
  9847. var msg = '';
  9848. if (newVersion)
  9849. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9850. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9851. msg = '60 or more days have passed since this notification.\n\n';
  9852. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9853. {
  9854. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9855. msg +=
  9856. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9857. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9858. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9859. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9860. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9861. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9862. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9863. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9864. setTimeout(function(){alert(msg)},0);
  9865. }
  9866. var customRules = parseCustomRules(Custom_rules_text);
  9867. if (customRules.warning || customRules.error)
  9868. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9869. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9870. JSON.stringify(customRules.info, null, ' '));
  9871. applyCustomRules(customRules);
  9872. }
  9873. }
  9874. //end of CustomRules processing
  9875.  
  9876.  
  9877.  
  9878. } //end of function start
  9879.  
  9880.  
  9881.  
  9882. function initClipBoardTools()
  9883. {
  9884. unsafeWindow.copyToClipboard = function(text)
  9885. {
  9886. try
  9887. {
  9888. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9889.  
  9890. var str = Components.classes["@mozilla.org/supports-string;1"].
  9891. createInstance(Components.interfaces.nsISupportsString);
  9892. if (!str) return false;
  9893.  
  9894. str.data = text;
  9895.  
  9896. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9897. createInstance(Components.interfaces.nsITransferable);
  9898. if (!trans) return false;
  9899.  
  9900. trans.addDataFlavor("text/unicode");
  9901. trans.setTransferData("text/unicode", str, text.length * 2);
  9902.  
  9903. var clipid = Components.interfaces.nsIClipboard;
  9904. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9905. if (!clip) return false;
  9906.  
  9907. clip.setData(trans, null, clipid.kGlobalClipboard);
  9908. } catch (e) {
  9909. GM_log("Error copyToClipboard : " + e);
  9910. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9911. }
  9912. }
  9913. }
  9914.  
  9915.  
  9916.  
  9917. //CustomRules
  9918.  
  9919. function escapeRegex(str)
  9920. {
  9921. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9922. }
  9923.  
  9924.  
  9925. //called internally from parseCustomRules.
  9926. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9927. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9928. function makeCustomRule(rule)
  9929. {
  9930. function makeMatchRegex(arrmatch)
  9931. {
  9932. return escapeRegex(arrmatch.join('\n'))
  9933. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9934. .replace(/\n/g,'|'); //join together
  9935. }
  9936. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9937. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9938. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9939. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9940. if (rule.baseurl)
  9941. {
  9942. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9943. for (i = 0 ; i < len ; i++)
  9944. {
  9945. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9946. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9947. {
  9948. 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'])
  9949. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9950. }
  9951. else //baseurl in the form: example.com/xxx
  9952. {
  9953. xpath.push(m[0]);
  9954. urlregex.push(escapeRegex(m[0]) + '.');
  9955. }
  9956. }
  9957. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9958. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9959. }
  9960. return rule;
  9961. } //function makeCustomRule
  9962.  
  9963.  
  9964. /*
  9965. Takes a string containing custom link checking rules.
  9966. Returns an object with fields:
  9967. info - contains notes, warnings and errors found during parsing
  9968. rules - the array of custom rules
  9969. note, warning, error - number of each of them found during parsing
  9970. Format of the input string:
  9971. One command per line. Command format: @keyword parameter
  9972. Keywords:
  9973. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9974. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9975. These keywords can be multiple (any of them will work):
  9976. @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...)
  9977. @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+
  9978. @alivelink, @deadlink - example links
  9979. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9980. Lines starting with // and empty lines are ignored.
  9981. Invalid parameters generate errors and those lines are skipped.
  9982. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9983. Example:
  9984. @customrule filehost
  9985. @baseurl filehost.com/download/
  9986. @baseurl filehost2. com net /d?=
  9987. @alivematch id="download">
  9988. @deadmatch File not found
  9989. @deadmatch File deleted
  9990. */
  9991. function parseCustomRules(rulesStr)
  9992. {
  9993. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9994. function addInfo(type, msg, ln){
  9995. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9996. customRules[type]++;
  9997. }
  9998. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9999. if (!lines) return null;
  10000. lines.push('@#customrule _'); //to save the last rule
  10001. var m, linecount = lines.length;
  10002. var keyword, param, constr, rule, err;
  10003. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  10004. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  10005. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  10006. var constraints = {
  10007. 'baseurl': {
  10008. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10009. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  10010. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  10011. 'alivematch': {
  10012. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10013. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10014. 'deadmatch': {
  10015. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  10016. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  10017. 'unavamatch': {
  10018. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  10019. 'alivelink': {
  10020. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10021. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  10022. 'deadlink': {
  10023. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  10024. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  10025. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  10026. };
  10027. for (linenum = 0 ; linenum < linecount ; linenum++)
  10028. {
  10029. //capturing groups: 1 23 4 5 6
  10030. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  10031. if (m)
  10032. {
  10033. if (m[1] || !m[2])
  10034. continue; // ignore empty lines and lines starting with //
  10035. keyword = (m[4] || m[2]).toLowerCase();
  10036. param = m[6];
  10037. if (keyword == 'customrule')
  10038. {
  10039. //save the current rule if all required fields are provided
  10040. if (rule)
  10041. {
  10042. err = false;
  10043. $.each(constraints, function(kw, constraint){
  10044. var l, constr = constraint[rule.type];
  10045. if (constr)
  10046. {
  10047. l = rule[kw] ? rule[kw].length : 0;
  10048. if (l < constr.min || l > constr.max)
  10049. {
  10050. 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);
  10051. err = true;
  10052. }
  10053. }
  10054. });
  10055. if (!err)
  10056. customRules.rules.push(makeCustomRule(rule));
  10057. }
  10058. //start a new rule
  10059. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10060. {
  10061. rule = {
  10062. 'enabled': !m[3],
  10063. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10064. 'name': param
  10065. };
  10066. }
  10067. else
  10068. {
  10069. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10070. rule = null;
  10071. }
  10072. }
  10073. else //good line format, but keyword other than customrule
  10074. {
  10075. if (!rule)
  10076. {
  10077. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10078. continue;
  10079. }
  10080. if (constraints[keyword])
  10081. {
  10082. constr = constraints[keyword][rule.type];
  10083. if (constr)
  10084. {
  10085. if (constr.paramRE && !constr.paramRE.test(param))
  10086. {
  10087. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10088. continue;
  10089. }
  10090. }
  10091. else
  10092. {
  10093. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10094. continue;
  10095. }
  10096. }
  10097. //line OK, save
  10098. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10099. }
  10100. } //if (m)
  10101. else
  10102. addInfo('warning', 'Unknown line format. Line skipped.');
  10103. } //for loop
  10104. return customRules;
  10105. } //function parseCustomRules
  10106.  
  10107.  
  10108. /* ********************UPDATES********************
  10109.  
  10110. June 24, 2017
  10111. Version 1.4.0.0
  10112. added suprafiles.co
  10113.  
  10114. June 24, 2017
  10115. Version 1.3.9.9
  10116. added up-4ever.com
  10117.  
  10118. June 19, 2017
  10119. Version 1.3.9.8
  10120. fixed depfile
  10121.  
  10122. June 16, 2017
  10123. Version 1.3.9.7
  10124. fixed filefactory
  10125.  
  10126. June 06, 2017
  10127. Version 1.3.9.6
  10128. fixed uploads.to
  10129.  
  10130. June 06, 2017
  10131. Version 1.3.9.5
  10132. fixed uploadgig.com
  10133.  
  10134. June 05, 2017
  10135. Version 1.3.9.4
  10136. added clicknupload.org
  10137.  
  10138. May 31, 2017
  10139. Version 1.3.9.3
  10140. fixed tusfiles
  10141.  
  10142. May 25, 2017
  10143. Version 1.3.9.2
  10144. added avatarshare.com
  10145.  
  10146. May 15, 2017
  10147. Version 1.3.9.1
  10148. excluded google.pl
  10149. added code to fileshark.pl
  10150.  
  10151. May 12, 2017
  10152. Version 1.3.9.0
  10153. added owndrives.com
  10154.  
  10155. May 12, 2017
  10156. Version 1.3.8.9
  10157. added hotlink.cc
  10158.  
  10159. May 09, 2017
  10160. Version 1.3.8.8
  10161. added code for kingfile.pl
  10162. added code for catshare.net
  10163.  
  10164. May 08, 2017
  10165. Version 1.3.8.7
  10166. added file-upload.com
  10167.  
  10168. May 04, 2017
  10169. Version 1.3.8.6
  10170. fixed rapidgator
  10171.  
  10172. April 30, 2017
  10173. Version 1.3.8.5
  10174. fixed rapidgator
  10175.  
  10176. April 30, 2017
  10177. Version 1.3.8.4
  10178. added code for kingfile.pl
  10179.  
  10180. April 30, 2017
  10181. Version 1.3.8.3
  10182. changed code for kingfile.pl
  10183.  
  10184. April 29, 2017
  10185. Version 1.3.8.2
  10186. added code to kingfile.pl
  10187.  
  10188. April 29, 2017
  10189. Version 1.3.8.1
  10190. added code to kingfile.pl
  10191.  
  10192. April 28, 2017
  10193. Version 1.3.8.0
  10194. fileshark.pl
  10195. kingfile.pl
  10196. pobierz.to
  10197.  
  10198. April 26, 2017
  10199. Version 1.3.7.9
  10200. fixed 1f.al
  10201.  
  10202. April 16, 2017
  10203. Version 1.3.7.8
  10204. added crazyshare.cc
  10205.  
  10206. April 16, 2017
  10207. Version 1.3.7.7
  10208. fixed uploadgig.com
  10209.  
  10210. April 13, 2017
  10211. Version 1.3.7.6
  10212. added neodrive.co to obsolete hosts
  10213.  
  10214. April 07, 2017
  10215. Version 1.3.7.5
  10216. added french code for rg premium links
  10217.  
  10218. April 05, 2017
  10219. Version 1.3.7.4
  10220. added oload.tv
  10221.  
  10222. March 30, 2017
  10223. Version 1.3.7.3
  10224. added uploads.to
  10225.  
  10226. March 20, 2017
  10227. Version 1.3.7.2
  10228. added black-label.pro to obsolete hosts
  10229.  
  10230. March 13, 2017
  10231. Version 1.3.7.1
  10232. fixed filescdn.com
  10233.  
  10234. February 27, 2017
  10235. Version 1.3.7.0
  10236. fixed openload.co
  10237.  
  10238. February 26, 2017
  10239. Version 1.3.6.9
  10240. fixed drive.google.com
  10241. fixed uptobox.com (by dodoxp)
  10242.  
  10243. February 25, 2017
  10244. Version 1.3.6.8
  10245. added uploading.com to obsolete hosts
  10246.  
  10247. February 24, 2017
  10248. Version 1.3.6.7
  10249. cloudzilla.to added to obsolete hosts
  10250.  
  10251. February 23, 2017
  10252. Version 1.3.6.6
  10253. uploadify.net
  10254.  
  10255. February 22, 2017
  10256. Version 1.3.6.5
  10257. fixed katfile.com
  10258.  
  10259. February 12, 2017
  10260. Version 1.3.6.3
  10261. added junocloud.me to obsolete hosts
  10262.  
  10263. January 12, 2017
  10264. Version 1.3.6.2
  10265. added share.az & upfile.mobi
  10266.  
  10267. January 07, 2017
  10268. Version 1.3.6.1
  10269. added ausfile.com
  10270.  
  10271. January 05, 2017
  10272. Version 1.3.6.0
  10273. removed uploadable.ch from obsolete hosts
  10274.  
  10275. January 04, 2017e
  10276.  
  10277. December 31, 2016
  10278. Version 1.3.5.8
  10279. disabled on pizzaonline.dominos
  10280.  
  10281. December 31, 2016
  10282. Version 1.3.5.7
  10283. added uploadable.ch to obsolete hosts
  10284.  
  10285. December 30, 2016
  10286. Version 1.3.5.6
  10287. restored kingfiles.net
  10288.  
  10289. December 14, 2016
  10290. Version 1.3.5.5
  10291. fixed some 1fichier links not checking (yurii)
  10292.  
  10293. December 01, 2016
  10294. Version 1.3.5.4
  10295. added temp-share.com & filesha.com
  10296.  
  10297. November 30, 2016
  10298. Version 1.3.5.3
  10299. fixed mexashare.com not detecting some dead links
  10300.  
  10301. November 29, 2016
  10302. Version 1.3.5.2
  10303. added black-label.pro (live links only)
  10304.  
  10305. November 27, 2016
  10306. Version 1.3.5.1
  10307. made changes to filefactory
  10308.  
  10309. November 23, 2016
  10310. Version 1.3.5.0
  10311. added megashares.com to obsolete hosts
  10312. fixed letitbit not showing as obsolete
  10313. added littlebyte.net
  10314.  
  10315. November 22, 2016
  10316. Version 1.3.4.9
  10317. added code for live links to rapidgator
  10318. added dailyfiles.net
  10319. added upfiles.net
  10320. added multiup.eu
  10321.  
  10322. November 17, 2016
  10323. Version 1.3.4.8
  10324. fixed filefactory, again
  10325.  
  10326. November 17, 2016
  10327. Version 1.3.4.7
  10328. fixed filefactory folders
  10329.  
  10330. November 15, 2016
  10331. Version 1.3.4.6
  10332. fixed filefactory
  10333.  
  10334. November 14, 2016
  10335. Version 1.3.4.5
  10336. fixed rapidgator
  10337. fixed filefactory folders
  10338.  
  10339.  
  10340. November 13, 2016
  10341. Version 1.3.4.4
  10342. fixed problem with drive.google.com
  10343. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10344.  
  10345. November 06, 2016
  10346. Version 1.3.4.3
  10347. added to obsolete hosts (by love buzz)
  10348. 4up.me
  10349. a nonfiles.com
  10350. axifile.com
  10351. creafile.net
  10352. demo.ovh.eu
  10353. filesin.com
  10354. file swap.com
  10355. gulfup.com
  10356. hexupload.com
  10357. hugefiles.net
  10358. jumbofiles.com
  10359. kingfiles.net
  10360. letitbit.net
  10361. lolabits.es
  10362. nowdownload.ch
  10363. openfile.ru
  10364. radicalshare.com
  10365. remixshare.com
  10366. storefiles.co
  10367. toutbox.fr
  10368. uploadbaz.com
  10369. uploadingit.com
  10370. verzend.be
  10371. vidplay.net
  10372. vidxden.com
  10373. xfileload.com
  10374.  
  10375. November 04, 2016
  10376. Version 1.3.4.2
  10377. added french code for rapidgator premium links
  10378. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10379.  
  10380. November 03, 2016
  10381. Version 1.3.4.1
  10382. added Portuguese code for rapidgator premium links
  10383. added suprafiles.net
  10384.  
  10385. November 02, 2016
  10386. Version 1.3.4.0
  10387. fixed depositfiles not detecting depositfiles.com/de links
  10388.  
  10389. October 27, 2016
  10390. Version 1.3.3.9
  10391. fixed uploaded.net not detecting some dead links
  10392.  
  10393. October 24, 2016
  10394. Version 1.3.3.8
  10395. added more french code for upload.af dead links
  10396.  
  10397. October 23, 2016
  10398. Version 1.3.3.7
  10399. added french for upload.af dead links
  10400.  
  10401. October 17, 2016
  10402. Version 1.3.3.6
  10403. fixed error (by Yurii)
  10404.  
  10405. October 17, 2016
  10406. Version 1.3.3.5
  10407. fixed file.al (by Yurii)
  10408.  
  10409. October 16, 2016
  10410. Version 1.3.3.4
  10411. test
  10412.  
  10413. October 11, 2016
  10414. Version 1.3.3.3
  10415. fixed subyshare.com not detecting some dead links
  10416. fixed mexashare.com
  10417. fixed pornfile.cz
  10418.  
  10419. October 10, 2016
  10420. Version 1.3.3.2
  10421. added fileflares.com
  10422. added erafile.com
  10423. added loop to subyshare.com & rockfile.eu
  10424.  
  10425. September 26, 2016
  10426. Version 1.3.3.1
  10427. added uploadocean.com
  10428.  
  10429. September 25, 2016
  10430. Version 1.3.3.0
  10431. added exbit.net
  10432.  
  10433. September 25, 2016
  10434. Version 1.3.2.9
  10435. fixed uptobox
  10436. fixed google (by kubbbie)
  10437.  
  10438. September 23, 2016
  10439. Version 1.3.2.8
  10440. added danish to rapidgator
  10441.  
  10442. September 22, 2016
  10443. Version 1.3.2.7
  10444. added wayupload.com
  10445.  
  10446. September 18, 2016
  10447. Version 1.3.2.6
  10448. added Portuguese language to rapidgator
  10449.  
  10450. September 15, 2016
  10451. Version 1.3.2.5
  10452. added languages to rapidgator
  10453. french
  10454. german
  10455. spanish
  10456. Italian
  10457. russian
  10458. polish
  10459. dutch
  10460. czech
  10461. chinese
  10462. japanese
  10463.  
  10464. September 14, 2016
  10465. Version 1.3.2.4
  10466. fixed spaceforfiles.com
  10467.  
  10468. September 09, 2016
  10469. Version 1.3.2.3
  10470. added bdupload.info
  10471. added german & deutsch language to workupload.com
  10472.  
  10473. September 08, 2016
  10474. Version 1.3.2.2
  10475. added...
  10476. storageserver.co.uk
  10477. cloud.mail.ru
  10478. fixed depositfiles
  10479.  
  10480. September 08, 2016
  10481. Version 1.3.2.1
  10482. added workupload.com
  10483.  
  10484. September 04, 2016
  10485. Version 1.3.2.0
  10486. made changes to euroshare.eu
  10487.  
  10488. September 03, 2016
  10489. Version 1.3.1.9
  10490. added usercloud.net
  10491. made changes to euroshare.eu
  10492.  
  10493. August 31, 2016
  10494. Version 1.3.1.8
  10495. fixed uptobox.com
  10496.  
  10497. August 30, 2016
  10498. Version 1.3.1.7
  10499. made changes to euroshare.eu
  10500.  
  10501. August 29, 2016
  10502. Version 1.3.1.6
  10503. made changes to data.hu
  10504.  
  10505. August 29, 2016
  10506. Version 1.3.1.5
  10507. fixed euroshare.eu not detecting dead links
  10508.  
  10509. August 23, 2016
  10510. Version 1.3.1.4
  10511. added ulozto.sk
  10512. added ulozto.cz
  10513.  
  10514. August 19, 2016
  10515. Version 1.3.1.3
  10516. fixed euroshare.eu
  10517. fixed 2share.com
  10518.  
  10519. August 17, 2016
  10520. Version 1.3.1.2
  10521. added french code for 1fichier
  10522.  
  10523. August 16, 2016
  10524. Version 1.3.1.1
  10525. fix for 1fichier folder links, by yurii
  10526.  
  10527. August 15, 2016
  10528. Version 1.3.1.0
  10529. another fix for 1fichier
  10530. added mystore.to
  10531.  
  10532. August 12, 2016
  10533. Version 1.3.0.9
  10534. fixed 1fichier
  10535.  
  10536. August 01, 2016
  10537. Version 1.3.0.8
  10538. fixed tezfiles.com not detecting some premium links
  10539.  
  10540. July 24, 2016
  10541. Version 1.3.0.7
  10542. added fileshareup.com
  10543.  
  10544. July 17, 2016
  10545. Version 1.3.0.6
  10546. added subyshare.com
  10547.  
  10548. july 10, 2016
  10549. Version 1.3.0.5
  10550. fixed ulozto.net
  10551.  
  10552. july 07, 2016
  10553. Version 1.3.0.4
  10554. fixed uloz.to
  10555.  
  10556. july 07, 2016
  10557. Version 1.3.0.3
  10558. added imagenetz.de
  10559.  
  10560. June 23, 2016
  10561. Version 1.3.0.2
  10562. excluded nexcess.net
  10563.  
  10564. June 20, 2016
  10565. Version 1.3.0.1
  10566. added daofile.com
  10567.  
  10568. June 16, 2016
  10569. Version 1.3.0.0
  10570. added mexashare.com
  10571.  
  10572. June 16, 2016
  10573. Version 1.2.9.9
  10574. added novafile.com
  10575. added uploadgig.com
  10576.  
  10577. June 15, 2016
  10578. Version 1.2.9.8
  10579. fixed upload.af
  10580.  
  10581. June 10, 2016
  10582. Version 1.2.9.7
  10583. added alltu.eu
  10584.  
  10585. June 09, 2016
  10586. Version 1.2.9.6
  10587. added code for french language to rapidgator.net & rg.to
  10588.  
  10589. June 04, 2016
  10590. Version 1.2.9.5
  10591. added upnito.sk
  10592.  
  10593. May 31, 2016
  10594. Version 1.2.9.4
  10595. fixed mega.co (by yurii)
  10596.  
  10597. May 31, 2016
  10598. Version 1.2.9.3
  10599. code cleanup
  10600.  
  10601. May 27, 2016
  10602. Version 1.2.9.2
  10603. added filesin.space
  10604.  
  10605. May 27, 2016
  10606. Version 1.2.9.1
  10607. added
  10608. filescdn.com
  10609. bankupload.com
  10610. katfile.com
  10611.  
  10612. May 18, 2016
  10613. Version 1.2.9.0
  10614. added warped.co to obsolete hosts
  10615.  
  10616. May 17, 2016
  10617. Version 1.2.8.9
  10618. fixed mega.nz
  10619.  
  10620. May 16, 2016
  10621. Version 1.2.8.8
  10622. added to obsolete hosts
  10623. fileband.com
  10624. filecloud.cc
  10625. filesmelt.com
  10626. goldbytez.com
  10627. hulkshare.com
  10628. idup.in
  10629. loudupload.net
  10630. muchshare.net
  10631. myupload.dk
  10632. nekaka.com
  10633. netkups.com
  10634. plunder.com
  10635. uploads.xxx
  10636. uploadspace.pl
  10637. xkeepfile.com
  10638.  
  10639. May 16, 2016
  10640. Version 1.2.8.7
  10641. added upnito.sk to obsolete hosts
  10642.  
  10643. May 15, 2016
  10644. Version 1.2.8.6
  10645. fixed uploading.site
  10646.  
  10647. May 15, 2016
  10648. Version 1.2.8.5
  10649. added oload.net
  10650.  
  10651. May 14, 2016
  10652. Version 1.2.8.4
  10653. added uploading.site
  10654.  
  10655. May 13, 2016
  10656. Version 1.2.8.3
  10657. added uploadc.ch
  10658. fixed vidspot.net
  10659.  
  10660. May 13, 2016
  10661. Version 1.2.8.2
  10662. added keepshare.net
  10663.  
  10664. May 11, 2016
  10665. Version 1.2.8.1
  10666. added uploadserv.com
  10667.  
  10668. May 09, 2016
  10669. Version 1.2.8.0
  10670. fixed upstore.net & upsto.re
  10671. added 24uploading.com to obsolete hosts
  10672.  
  10673. May 06, 2016
  10674. Version 1.2.7.9
  10675. added storagon.com to obsolete hosts
  10676. fixed worldbytez.com
  10677.  
  10678. May 02, 2016
  10679. Version 1.2.7.8
  10680. added myfiles.onl
  10681.  
  10682. april 28, 2016
  10683. Version 1.2.7.7
  10684. fixed bytewhale.com
  10685.  
  10686. april 27, 2016
  10687. Version 1.2.7.6
  10688. fixed rapidgator not detecting some premium links.
  10689.  
  10690. april 27, 2016
  10691. Version 1.2.7.5
  10692. added jeodrive.com
  10693.  
  10694. april 26, 2016
  10695. Version 1.2.7.4
  10696. added sanshare.com to obsolete hosts
  10697.  
  10698. april 26, 2016
  10699. Version 1.2.7.3
  10700. fixed vidspot.net
  10701.  
  10702. april 26, 2016
  10703. Version 1.2.7.2
  10704. added upx.nz
  10705.  
  10706. april 25, 2016
  10707. Version 1.2.7.1
  10708. added rapidfilehost.com to obsolete hosts
  10709. fixed bitster.cz
  10710.  
  10711. april 12, 2016
  10712. Version 1.2.7.0
  10713. fixed rapidgator not detecting some premium links.
  10714.  
  10715. april 11, 2016
  10716. Version 1.2.6.9
  10717. changed code for ncrypt.in
  10718.  
  10719. april 07, 2016
  10720. Version 1.2.6.8
  10721. added fileinz.com to obsolete hosts.
  10722.  
  10723. april 06, 2016
  10724. Version 1.2.6.7
  10725. added sharingmaster.com to obsolete hosts.
  10726.  
  10727. april 05, 2016
  10728. Version 1.2.6.6
  10729. added 4upfiles.com & elffiles.com to obsolete hosts
  10730.  
  10731. april 03, 2016
  10732. Version 1.2.6.5
  10733. updates to configuration page
  10734.  
  10735. March 31, 2016
  10736. Version 1.2.6.4
  10737. added code for tampermonkey 4.0 compatibility
  10738.  
  10739. March 31, 2016
  10740. Version 1.2.6.3
  10741. fixed uloz.to
  10742. fixed copy dead links to clipboard feature
  10743. added copy live links to clipboard feature.
  10744.  
  10745. March 24, 2016
  10746. Version 1.2.6.2
  10747. changed made to nitroflare. (yurri)
  10748.  
  10749. March 20, 2016
  10750. Version 1.2.6.1
  10751. fixed rapidgator
  10752. fixed dfiles
  10753. fixed dl.free.fr
  10754. fixed nitroflare.com (Fixed by Yurii)
  10755.  
  10756. March 15, 2016
  10757. Version 1.2.6.0
  10758. fixed rapidgator.net
  10759. fixed uploaded.net
  10760.  
  10761. March 13, 2016
  10762. Version 1.2.5.9
  10763. added
  10764. uploads.ws
  10765. upl.me
  10766. clicknupload.link
  10767. added fileover.net to obsolete hosts
  10768. fixed kingfiles.net
  10769.  
  10770. March 09, 2016
  10771. Version 1.2.5.8
  10772. added kingfiles.net to obsolete hosts
  10773. fixed 4upld.com/expressleech.com
  10774.  
  10775. March 08, 2016
  10776. Version 1.2.5.7
  10777. fixed solidfiles.com
  10778.  
  10779. March 01, 2016
  10780. Version 1.2.5.6
  10781. added filespace.com
  10782. fixed depositfiles (by yurii)
  10783.  
  10784. February 29, 2016
  10785. Version 1.2.5.5
  10786. made change to keep2share
  10787.  
  10788. February 28, 2016
  10789. Version 1.2.5.4
  10790. removed down4files.com from obsolete hosts.
  10791.  
  10792. February 26, 2016
  10793. Version 1.2.5.3
  10794. fixed userscloud.com
  10795.  
  10796. February 24, 2016
  10797. Version 1.2.5.2
  10798. added yandex.com
  10799. fixed datafile.com
  10800.  
  10801. February 22, 2016
  10802. Version 1.2.5.1
  10803. added bigfile.to
  10804.  
  10805. February 20, 2016
  10806. Version 1.2.5.0
  10807. added abelhas.pt
  10808.  
  10809. February 18, 2016
  10810. Version 1.2.4.9
  10811. made change to uptobox
  10812.  
  10813. February 17, 2016
  10814. Version 1.2.4.8
  10815. fixed yadi.sk
  10816.  
  10817. February 16, 2016
  10818. Version 1.2.4.7
  10819. fixed datafile.com
  10820. fixed filecad.com
  10821. added filecore.co & filestorm.to to obsolete hosts
  10822. added upload.af, filedwon.in & uplod.it
  10823.  
  10824. February 15, 2016
  10825. Version 1.2.4.6
  10826. fixed kumpulbagi.id
  10827. added sangfile.com to obsolete hosts
  10828.  
  10829. February 14, 2016
  10830. Version 1.2.4.5
  10831. fixed yandex.ru
  10832.  
  10833. February 13, 2016
  10834. Version 1.2.4.4
  10835. added lunaticfiles.com.
  10836.  
  10837. February 09, 2016
  10838. Version 1.2.4.3
  10839. added file.up09.com.
  10840.  
  10841. February 09, 2016
  10842. Version 1.2.4.2
  10843. tezfiles.com premium links now detected.
  10844.  
  10845. February 09, 2016
  10846. Version 1.2.4.1
  10847. added seenupload.com to obsolete hosts
  10848. fixed 180upload.com to show obsolete
  10849.  
  10850. February 08, 2016
  10851. Version 1.2.4.0
  10852. added tusfiles.com
  10853. added filesupload.org
  10854. added gigasize.com
  10855. added filecad.com
  10856. fixed filecloud.io
  10857. added uploadnet.co to obsolete hosts
  10858.  
  10859. February 07,2016
  10860. Vession 1.2.3.9
  10861. fixed depositfiles.com folders
  10862. fixed turbobit.net folders
  10863.  
  10864. February 06, 2016
  10865. Version 1.2.3.8
  10866. fixed 1fichier false dead links
  10867.  
  10868. February 04, 2106
  10869. Version 1.2.3.7
  10870. added geupload and lenfile to obsolete hosts
  10871. fixed kyc.pm/depfile
  10872.  
  10873. February 03, 2016
  10874. Version 1.2.3.6
  10875. fixed some nitroflare.com dead links not being detected
  10876.  
  10877. February 01, 2016
  10878. Version 1.2.3.5
  10879. script moved to new site
  10880.  
  10881. January 20, 2016
  10882. Version 1.2.3.3
  10883. fixed some rapidgator premium link not being detected
  10884.  
  10885. January 17, 2016
  10886. Version 1.2.3.2
  10887. added bytewhale.com
  10888. added rapidrar.com
  10889.  
  10890. Version 1.2.3.1
  10891. added 180upload.com to obsolete hosts
  10892. fixed hellspy.com
  10893. added dinoshare.cz,
  10894.  
  10895. January 13, 2016
  10896. Version 1.2.3.0
  10897. added rapidu.net
  10898. added uploadboy.me
  10899. fixed euroshare.eu
  10900.  
  10901. January 12, 2016
  10902. Version 1.2.2.9
  10903. added kb.simple-aja.info
  10904.  
  10905. January 10, 2016
  10906. Version 1.2.2.8
  10907. made changes to fastshare.cz
  10908.  
  10909. January 10, 2016
  10910. Version 1.2.2.7
  10911. fixed uptobox.com
  10912.  
  10913. January 09, 2016
  10914. Version 1.2.2.6
  10915. datoteke.com now detects premium links
  10916. fixed turbobit.net
  10917. fixed uptobox.com
  10918. added pornfile.cz
  10919. added pornoid.cz
  10920. added file-share.top
  10921. added bitster.cz
  10922.  
  10923. January 05, 2016
  10924. Version 1.2.2.5
  10925. fixed salefiles.com
  10926. fixed ozofile.com
  10927.  
  10928. January 04, 2016
  10929. Version 1.2.2.4
  10930. added sharehost.eu
  10931.  
  10932. December 30, 2015
  10933. Version 1.2.2.3
  10934. added tezfiles.com
  10935.  
  10936. December 28, 2015
  10937. Version 1.2.2.2
  10938. fixed some k2s & fboom dead link not getting detected
  10939. fixed some k2s premium links not getting detected.
  10940. fixed ssh.yt not detecting some dead links
  10941. fixed ncrypt.in dead links showing yellow
  10942.  
  10943. December 20, 2015
  10944. Version 1.2.2.0
  10945. added datoteke.com
  10946.  
  10947. December 19, 2015
  10948. Version 1.2.1.9
  10949. added secured.in & linksave.in to obsolete hosts
  10950.  
  10951. December 17, 2015
  10952. Version 1.2.1.8
  10953. added german for dead links to secureupload.eu.
  10954.  
  10955. December 17, 2015
  10956. Version 1.2.1.7
  10957. added french for dead links to secureupload.eu.
  10958. fixed problem with tooltip display.
  10959.  
  10960. December 13, 2015
  10961. Version 1.2.1.6
  10962. added netload.me & fileparadox.in to obsolete hosts
  10963.  
  10964. December 09, 2015
  10965. Version 1.2.1.5
  10966. added rapidsonic.com & fileparadox.com to obsolete hosts
  10967.  
  10968. December 04, 2015
  10969. Version 1.2.1.4
  10970. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10971.  
  10972. December 03, 2015
  10973. Version 1.2.1.3
  10974. added dailyuploads.net
  10975.  
  10976. December 02, 2015
  10977. Version 1.2.1.2
  10978. fixed hitfile.net
  10979. fixed kingfiles.net
  10980.  
  10981. November 30, 2015
  10982. Version 1.2.1.1
  10983. added filepost.com to obsolete hosts
  10984. added devilshare.net
  10985.  
  10986. November 28, 2015
  10987. Version 1.2.1.0
  10988. fixed datafile.com not detecting some premium links.
  10989.  
  10990. November 25, 2015
  10991. Version 1.2.0.9
  10992. fixed filejoker.net
  10993. fixed toutbox.fr
  10994. fixed nowvideo.sx
  10995.  
  10996. November 24, 2015
  10997. Version 1.2.0.8
  10998. fixed openload.io
  10999.  
  11000. November 20, 2015
  11001. Version 1.2.0.7
  11002. //added file.al
  11003. //fixed nitroflare.com false live links
  11004. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  11005.  
  11006. November 17, 2015
  11007. Version 1.2.0.6
  11008. added clicknupload.me
  11009.  
  11010. November 09, 2015
  11011. Version 1.2.0.5
  11012. fixed some depfile premium links not being detected
  11013.  
  11014. November 08, 2015
  11015. Version 1.2.0.4
  11016. fixed some rapidgator premium links not being detected
  11017. fixed doraupload.com
  11018.  
  11019. November 08, 2015
  11020. Version 1.2.0.3
  11021. fixed uploaded false premium
  11022.  
  11023. November 07, 2015
  11024. Version 1.2.0.2
  11025. fixed redbunker.net
  11026.  
  11027. November 05, 2015
  11028. Version 1.2.0.1
  11029. fixed app.box.com
  11030. added multiup.org (does not detect all dead links)
  11031.  
  11032. November 01, 2015
  11033. Version 1.2.0.0
  11034. added more languages to rockfile and 1fichier
  11035.  
  11036. November 01, 2015
  11037. Version 1.1.9.9
  11038. fixed rockfile.eu
  11039. changed 1fichier code (Thanks yurri)
  11040. added to obsolete hosts... (Thanks Love Buzz)
  11041. burnupload.com
  11042. cramit.in
  11043. cramitin.net
  11044. down4files.com
  11045. edoc.com
  11046. jumbofile.net
  11047. krotix.net
  11048. migahost.com
  11049. movreel.com
  11050. netload.in
  11051. newfileland.com
  11052. quickshare.cz
  11053.  
  11054. October 30, 2015
  11055. Version 1.1.9.8
  11056. added alfafile.net
  11057.  
  11058. October 26, 2015
  11059. Version 1.1.9.7
  11060. changed datafile.com and uplea.com
  11061. added lolabits.es
  11062.  
  11063. October 26, 2015
  11064. Version 1.1.9.6
  11065. added toutbox.fr
  11066.  
  11067. October 25, 2015
  11068. Version 1.1.9.5
  11069. fixed counter error
  11070.  
  11071. October 25, 2015
  11072. Version 1.1.9.4
  11073. changed uptobox.com code
  11074.  
  11075. October 21, 2015
  11076. Version 1.1.9.3
  11077. fixed uptobox.com
  11078.  
  11079. October 20, 2015
  11080. Version 1.1.9.2
  11081. bug fixes and new method of detecting premium links.
  11082.  
  11083. October 15, 2015
  11084. Version 1.1.9.1
  11085. fixed hugefiles.net false premium
  11086. changed uptobox.com code
  11087.  
  11088. October 06, 2015
  11089. Version 1.1.9.0
  11090. fixed filefactory
  11091. fixed rockfile false premium
  11092. keep2share & fileboom now detect premium links (fixed by yurii)
  11093.  
  11094. October 01, 2015
  11095. Version 1.1.8.9
  11096. fixed free.fr false premium
  11097. fixed thevideo.me false premium
  11098.  
  11099. September 28, 2015
  11100. Version 1.1.8.8
  11101. added uplea.com and openload.co
  11102.  
  11103. September 27, 2015
  11104. Version 1.1.8.7
  11105. fixed fileparadox.in false premium
  11106. added kingfiles.net to obsolete hosts
  11107. removed inafile.com from obsolete hosts
  11108.  
  11109. September 22, 2015
  11110. Version 1.1.8.6
  11111. fixed nitroflare false premium
  11112.  
  11113. September 22, 2015
  11114. Version 1.1.8.5
  11115. fixed userscloud.com false premium
  11116. fixed usersfiles.com false premium
  11117. changed arabloads.com to arabloads.net
  11118. changed nowdownloads.eu to nowdownloads.ch
  11119.  
  11120. September 21, 2015
  11121. Version 1.1.8.3
  11122. added ryushare.com to obsolete hosts.
  11123.  
  11124. September 20, 2015
  11125. Version 1.1.8.2
  11126. fixed nitroflare not showing premium links
  11127. added down4files.com,storfiles.co,filehost.pw
  11128.  
  11129. September 16, 2015
  11130. Version 1.1.8.1
  11131. added crisshare.com to obsolete hosts
  11132. fixed filemoney.com false premium
  11133. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11134.  
  11135. September 14, 2015
  11136. Version 1.1.8.0
  11137. added to obsolete hosts...
  11138. sharebeast.com
  11139. tufiles.ru
  11140.  
  11141. September 12, 2015
  11142. Version 1.1.7.9
  11143. fixed rghost.net false premium
  11144. fixed unlimitzone.com false premium
  11145. fixed turbobit.net false live link
  11146.  
  11147. September 11, 2015
  11148. Version 1.1.7.8
  11149. Fixed filefactory.com false premium.
  11150.  
  11151. September 07, 2015
  11152. Version 1.1.7.7
  11153. fixed "depositfiles.com/en/files" links not checking
  11154.  
  11155. September 06, 2015
  11156. Version 1.1.7.6
  11157. added French code for 1fichier
  11158.  
  11159. August 29, 2015
  11160. Version 1.1.7.5
  11161. fixed depositfiles
  11162. fixed mega.co.nz/mega.nz
  11163. (fixed by yurii)
  11164.  
  11165. August 23, 2015
  11166. Version 1.1.7.4
  11167. Fixed uploadrocket (by yurii)
  11168.  
  11169. August 20, 2015
  11170. Version 1.1.7.3
  11171. fixed depfile.com false premium
  11172. fixed 1fichier false premium
  11173. fixed rapidgator false premium
  11174.  
  11175. August 08, 2015
  11176. Version 1.1.7.1
  11177. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11178.  
  11179. August 07, 2015
  11180. Version 1.1.7.0
  11181. fixed...
  11182. streamin.to
  11183. thefile.me
  11184. vidzi.tv
  11185. added...
  11186. filenuke.com
  11187. vidto.me
  11188. vidspot.net
  11189. sharesix.com
  11190. sharesix.net
  11191. movpod.in,
  11192.  
  11193. August 07, 2015
  11194. Version 1.1.6.9 added...
  11195. thefile.me
  11196. vidzi.tv
  11197. videoweed.es
  11198. vodlocker.com
  11199. nowvideo.sx
  11200. cloudtime.to
  11201. thevideo.me
  11202. vidbull.com
  11203. allmyvideos.net
  11204. novamov.com
  11205. filehoot.com
  11206. stagevu.com
  11207. gorillavid.in
  11208. streamin.to
  11209.  
  11210. August 02, 2015
  11211. Version 1.1.6.8
  11212. added cloudshares.net
  11213.  
  11214. August 01, 2015
  11215. Version 1.1.6.7
  11216. fixed depfile redirectors false premium
  11217.  
  11218. July 31, 2015
  11219. Version 1.1.6.6
  11220. fixed depfile.com false premium
  11221. */