tor-browser

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

vertical-scroll-scrollbar-ref.html (488B)


      1 <!doctype html>
      2 <title>Ref: vertical-scroll test for scrollbar</title>
      3 <iframe src="/feature-policy/experimental-features/resources/vertical-scroll-scrollable-content.html"></iframe>
      4 <script>
      5  let iframe = document.querySelector("iframe");
      6  let overflow_y = "visible";
      7  if (window.location.search.indexOf("no-vertical-scrollbar") !== -1)
      8    overflow_y = "hidden"
      9  iframe.addEventListener("load", () => {
     10    iframe.contentDocument.body.style.overflowY = overflow_y;
     11  });
     12 </script>