1
0
Fork 0
mayvaneday/checktor.js

26 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-12-04 22:00:12 +00:00
/*
Tor2web blocking script
written by Vane Vander <https://mayvaneday.org>
released under MIT License
*/
let text = window.location.href;
let pet = text.includes("onion.pet");
let ws = text.includes("onion.ws");
let search = text.includes("onionsearchengine.com");
let cyber = text.includes("cyber-hub.pw");
2021-12-18 02:41:35 +00:00
let ly = text.includes("onion.ly");
let moe = text.includes("onion.moe");
2022-05-09 00:05:36 +00:00
let web = text.includes("darknet2web.com");
let web2 = text.includes("darknet2web.info");
2022-05-09 00:05:36 +00:00
let gate = text.includes("torgateway.com");
2022-06-01 22:20:39 +00:00
let i2p = text.includes("i2p.mk16.de");
let i2p2 = text.includes("i2phides.me");
2022-06-20 01:03:21 +00:00
let nl = text.includes("tor2web.nl");
2023-02-16 14:42:44 +00:00
let re = text.includes("onion.re");
let foundation = text.includes("onion.foundation");
let india = text.includes("torproxy.in");
2023-02-16 14:42:44 +00:00
if ((pet === true) || (nl === true) || (i2p === true) || (ws === true) || (gate === true) || (search === true) || (foundation === true) || (web2 === true) || (i2p2 === true) || (re === true) || (cyber === true) || (ly === true) || (web === true) || (india === true ) || (moe === true)) {
2021-12-04 22:00:12 +00:00
window.location.replace("https://theannoyingsite.com");
}