tor-browser

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

1398500.html (568B)


      1 <!-- Quirks mode on purpose -->
      2 <html>
      3  <head>
      4    <style>
      5      body { overflow: scroll; border: 1px solid green; }
      6    </style>
      7    <script>
      8      onload = function() {
      9        var newBody = document.createElement("body");
     10        newBody.textContent = "This element should not have scrollbars!";
     11        document.documentElement.appendChild(newBody);
     12        window.nooptimize = newBody.offsetWidth;
     13        document.body.remove();
     14        newBody.scrollHeight; // Asserts in a debug build
     15      }
     16    </script>
     17  </head>
     18  <body>
     19    First body
     20  </body>
     21 </html>