tor-browser

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

scroll-1.html (553B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait">
      3 <head>
      4 <script>
      5 function scrollTo(v) {
      6  var d = document.getElementById("d");
      7  d.scrollTop = v;
      8  if (v < 100) {
      9    setTimeout(function() { scrollTo(v + 50); }, 400);
     10  } else {
     11    document.documentElement.removeAttribute("class");
     12  }
     13 }
     14 </script>
     15 </head>
     16 <body onload="scrollTo(0)">
     17 <div style="border-radius:100px; width:300px; height:300px; overflow:hidden;" id="d">
     18  <div style="height:1000px;">
     19    <div style="margin-top:100px; height:20px; background:blue;"></div>
     20  </div>
     21 </div>
     22 </body>
     23 </html>