tor-browser

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

justifyfull-before-textarea-and-non-editable-invisible-br.html (440B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <script>
      6 "use strict";
      7 
      8 document.addEventListener("DOMContentLoaded", () => {
      9  const dialog = document.querySelector("dialog");
     10  dialog.close();
     11  dialog.show();
     12  getSelection().collapse(dialog, 1); // After the <hr>
     13  document.execCommand("justifyFull");
     14 }, {once: true});
     15 </script>
     16 </head>
     17 <body>
     18 <dialog open contenteditable><hr><textarea>
     19 </textarea>
     20 <br contenteditable="false">