tor-browser

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

972199-1.html (847B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait">
      3 <head>
      4  <style type="text/css">
      5    @keyframes anim {
      6       0% { transform: translate(0px) }
      7       100% { transform: translate(100px) }
      8    }
      9    div {
     10      width: 100px;
     11      height: 100px;
     12      background-color: white;
     13    }
     14  </style>
     15 </head>
     16 <body>
     17 <div></div>
     18 <script type="application/javascript">
     19 
     20 window.addEventListener("load", function() {
     21  document.querySelector("div").setAttribute("style",
     22    "animation: 100s 300s anim linear");
     23  advance_clock(200000);
     24  advance_clock(300000);
     25 
     26  Promise.resolve().then(function() {
     27    SpecialPowers.DOMWindowUtils.restoreNormalRefresh();
     28  }).then(function() {
     29    document.documentElement.className = "";
     30  });
     31 });
     32 
     33 function advance_clock(milliseconds) {
     34  SpecialPowers.DOMWindowUtils.advanceTimeAndRefresh(milliseconds);
     35 }
     36 </script>
     37 </html>