tor-browser

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

director-script-target.html (457B)


      1 <html>
      2  <head>
      3    <script>
      4      /* exported globalAccessibleVar */
      5      "use strict";
      6      // change the eval function to ensure the window object
      7      // in the debug-script is correctly wrapped
      8      // eslint-disable-next-line no-eval
      9      window.eval = function() {
     10        return "unsecure-eval-called";
     11      };
     12      var globalAccessibleVar = "global-value";
     13    </script>
     14  </head>
     15  <body>
     16    <h1>debug script target</h1>
     17  </body>
     18 </html>