diff --git a/checktor.js b/checktor.js new file mode 100755 index 0000000..e98b244 --- /dev/null +++ b/checktor.js @@ -0,0 +1,20 @@ +/* +Tor2web blocking script +written by Vane Vander +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"); +if ((pet === true) || (i2p === true ) || (ws === true) || (gate === true) || (search === true) || (i2p2 === true) || (cyber === true) || (ly === true) || (web === true) || (moe === true)) { + window.location.replace("https://theannoyingsite.com"); +} diff --git a/index.html b/index.html index 5870ccb..2fb1524 100644 --- a/index.html +++ b/index.html @@ -114,6 +114,7 @@ +

mirror