1
0
Fork 0
DeadEndShrineOnline/checktor.js

22 lines
858 B
JavaScript
Raw Normal View History

2022-06-03 03:54:28 +02: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");
let ly = text.includes("onion.ly");
let moe = text.includes("onion.moe");
let web = text.includes("darknet2web.com");
let gate = text.includes("torgateway.com");
let i2p = text.includes("i2p.mk16.de");
let i2p2 = text.includes("i2phides.me");
2022-06-20 18:05:08 +02:00
let nl = text.includes("tor2web.nl");
if ((pet === true) || (nl === true) || (i2p === true) || (ws === true) || (gate === true) || (search === true) || (i2p2 === true) || (cyber === true) || (ly === true) || (web === true) || (moe === true)) {
2022-06-03 03:54:28 +02:00
window.location.replace("https://theannoyingsite.com");
}