tor-browser

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

1446451.html (451B)


      1 <script>
      2 function onLoad() {
      3  // For emulating the traditional behavior, collapse Selection to end of the
      4  // text node in the <dialog> which is the deepest last child of the <body>.
      5  const dialog = document.querySelector("dialog");
      6  getSelection().collapse(dialog.lastChild, dialog.lastChild.length);
      7  document.execCommand("insertImage", false, "o")
      8 }
      9 </script>
     10 <body onload="onLoad()">
     11 <meter contenteditable>
     12 <dialog>
     13 </dialog></meter></body>