tor-browser

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

browser_toolbox_options_disable_js.html (1082B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>browser_toolbox_options_disablejs.html</title>
      5    <meta charset="UTF-8">
      6    <style>
      7      div {
      8        width: 260px;
      9        height: 24px;
     10        border: 1px solid #000;
     11        margin-top: 10px;
     12      }
     13 
     14      iframe {
     15        height: 90px;
     16        border: 1px solid #000;
     17      }
     18 
     19      h1 {
     20        font-size: 20px
     21      }
     22    </style>
     23    <script type="application/javascript">
     24      /* exported log */
     25      function log(msg) {
     26        const output = document.getElementById("output");
     27 
     28        output.innerHTML = msg;
     29      }
     30    </script>
     31  </head>
     32  <body>
     33    <h1>Test in page</h1>
     34    <input id="logJSEnabled"
     35           type="button"
     36           value="Log JS Enabled"
     37           onclick="log('JavaScript Enabled')"/>
     38    <input id="logJSDisabled"
     39           type="button"
     40           value="Log JS Disabled"
     41           onclick="log('JavaScript Disabled')"/>
     42    <br>
     43    <div id="output">No output</div>
     44    <h1>Test in iframe</h1>
     45    <iframe src="browser_toolbox_options_disable_js_iframe.html"></iframe>
     46  </body>
     47 </html>