checktor.js 858 B

12345678910111213141516171819202122
  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 gate = text.includes("torgateway.com");
  15. let i2p = text.includes("i2p.mk16.de");
  16. let i2p2 = text.includes("i2phides.me");
  17. let nl = text.includes("tor2web.nl");
  18. if ((pet === true) || (nl === true) || (i2p === true) || (ws === true) || (gate === true) || (search === true) || (i2p2 === true) || (cyber === true) || (ly === true) || (web === true) || (moe === true)) {
  19. window.location.replace("https://theannoyingsite.com");
  20. }