tor-browser

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

select.html (562B)


      1 <html class="reftest-wait">
      2  <head>
      3    <script type="text/javascript">
      4      function finishTest() {
      5        document.documentElement.removeAttribute("class");
      6      }
      7      function runTest() {
      8        var field = document.getElementById('field');
      9        field.focus();
     10        field.disabled = true;
     11        field.setSelectionRange(0, 4);
     12        field.disabled = false;
     13        field.select();
     14        setTimeout(finishTest, 0);
     15       }
     16    </script>
     17  </head>
     18  <body onload="runTest()">
     19    <input id="field" type="text" value="1234">
     20  </body>
     21 </html>