tor-browser

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

bug1484094-2.html (631B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4  <meta charset="utf-8">
      5  <script src="/tests/SimpleTest/EventUtils.js"></script>
      6  <script type="text/javascript">
      7 function start()
      8 {
      9  var input = document.querySelector("input");
     10  input.value = '\u{1f468}\u{200d}\u{1f469}\u{200d}\u{1f467}\u{200d}\u{1f466}';
     11  input.addEventListener("focus", () => {
     12    input.setSelectionRange(input.value.length, input.value.length);
     13    synthesizeKey("KEY_ArrowLeft");
     14    document.documentElement.removeAttribute("class");
     15  });
     16  input.focus();
     17 }
     18  </script>
     19 </head>
     20 <body onload="start()">
     21  <input type="text"></input>
     22 </body>
     23 </html>