Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 597 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 597 Bytes

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>