tor-browser

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

1443664.html (498B)


      1 <style>
      2 input:focus { counter-increment: c; }
      3 </style>
      4 <script>
      5 function onLoad() {
      6  // For emulating the traditional behavior, collapse Selection to end of the
      7  // text node at end of the <body>, i.e., end of the text node after the
      8  // <input contenteditable>.
      9  getSelection().collapse(document.body, document.body.childNodes.length);
     10  document.querySelector("input[type=number][contenteditable]").select();
     11 }
     12 </script>
     13 <body onload="onLoad()">
     14 <input type="number" contenteditable>
     15 </body>