tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

HELPER-mustblock.html (602B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>Must be blocked</title>
      5    <style type="text/css">
      6 html { background: fuchsia; }
      7 html, body { margin: 0; padding: 0; height: 100%; width: 100%; }
      8    </style>
      9  </head>
     10  <body>
     11    <script type="text/javascript">
     12 if( location.search && location.search.indexOf('domain') != -1 ) {
     13  document.domain = location.hostname.replace(/^[^.]+\./,'');
     14 }
     15 document.body.ondragenter = document.body.ondragleave = document.body.ondragover = document.body.ondrop = function (e) {
     16  e.preventDefault();
     17  document.body.innerHTML = 'FAIL';
     18 }
     19    </script>
     20  </body>
     21 </html>