checktor.js 1.2 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. Tor2web blocking script
  3. written by Vane Vander <https://mayvaneday.org>
  4. released under MIT License
  5. */
  6. let text = window.location.href;
  7. let pet = text.includes("onion.pet");
  8. let ws = text.includes("onion.ws");
  9. let search = text.includes("onionsearchengine.com");
  10. let cyber = text.includes("cyber-hub.pw");
  11. let ly = text.includes("onion.ly");
  12. let moe = text.includes("onion.moe");
  13. let web = text.includes("darknet2web.com");
  14. let web2 = text.includes("darknet2web.info");
  15. let gate = text.includes("torgateway.com");
  16. let i2p = text.includes("i2p.mk16.de");
  17. let i2p2 = text.includes("i2phides.me");
  18. let nl = text.includes("tor2web.nl");
  19. let re = text.includes("onion.re");
  20. let foundation = text.includes("onion.foundation");
  21. let india = text.includes("torproxy.in");
  22. let nz = text.includes("onion.nz");
  23. let autos = text.includes("onion.autos");
  24. if ((pet === true) || (nl === true) || (autos == true) || (i2p === true) || (ws === true) || (gate === true) || (search === true) || (foundation === true) || (web2 === true) || (i2p2 === true) || (re === true) || (cyber === true) || (ly === true) || (web === true) || (nz === true) || (india === true ) || (moe === true)) {
  25. window.location.replace("https://theannoyingsite.com");
  26. }