1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
685 B
JavaScript

/*
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");
if ((pet === true) || (ws === true) || (gate === true) || (search === true) || (cyber === true) || (ly === true) || (web === true) || (moe === true)) {
window.location.replace("https://theannoyingsite.com");
}