tor-browser

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

select-create.html (688B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <link rel='stylesheet' type='text/css' href='style.css'>
      4  <body>
      5    <script>
      6      var body = document.body;
      7 
      8      var i = document.createElement('select');
      9      i.autofocus = false;
     10      body.appendChild(i);
     11 
     12      i = document.createElement('select');
     13      i.autofocus = true;
     14      i.onfocus = function() { setTimeout(document.documentElement.removeAttribute('class'), 0); };
     15      body.appendChild(i);
     16 
     17      i = document.createElement('select');
     18      i.autofocus = true;
     19      i.onfocus = function() { setTimeout(document.documentElement.removeAttribute('class'), 0); };
     20      body.appendChild(i);
     21    </script>
     22  </body>
     23 </html>