Skip to content

Displays a warning on your website when a tor gateway is being used

Notifications You must be signed in to change notification settings

badonions/tor2web-warning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

tor2web-warning

Client side script that will detect and warn if a tor2web portal is being used (and other similar sites)

The domain entries are base64-encoded because the portals will rewrite them (by adding .to, .link, .cab ...)

Read more here

Installing

Add your base 64 encoded domains to the domains array

var domains = [
      "cmVkcG9pczBuLmNvbQ==" // redpois0n.com, main domain
];

Add this to your document

<div id="warning"></div>

<script src="js/warn_gateway.js"></script>

About

Displays a warning on your website when a tor gateway is being used

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published