tor-browser

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

1699866.html (601B)


      1 <script>
      2 window.onload = () => {
      3  const font = document.querySelector("font");
      4  // For emulating traditional behavior, collapse Selection to end of the
      5  // text node in the <font>.
      6  getSelection().collapse(font.lastChild, font.lastChild.length);
      7  const meta = document.querySelector("meta");
      8  meta.style.setProperty(
      9    "text-decoration",
     10    "overline underline line-through"
     11  );
     12  meta.appendChild(font);
     13  document.execCommand("selectAll");
     14  getSelection().extend(meta, 0);
     15  document.execCommand("underline");
     16 }
     17 </script>
     18 <ins contenteditable>
     19 a
     20 <meta></meta>
     21 <font>
     22 </font></ins></body>