tor-browser

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

795221-3.html (525B)


      1 <!DOCTYPE html>
      2 <body>
      3 <script>
      4  // Create the stylesheet via script, so that the parser's preloading doesn't
      5  // make the CSS loader hold on to the sheet we're _not_ trying to form a
      6  // cycle through, thus accidentally avoiding the cycle
      7  var link = document.createElement("link");
      8  link.setAttribute("rel", "stylesheet");
      9  link.setAttribute("href", "data:text/css,div { }");
     10  link.onload = function () {
     11    document.styleSheets[0].cssRules[0].style.foo = document;
     12  }
     13  document.body.appendChild(link);
     14 </script>