tor-browser

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

1134545.html (846B)


      1 <!DOCTYPE html>
      2 <!-- saved from url=(0065)https://bug1134545.bugzilla.mozilla.org/attachment.cgi?id=8566418 -->
      3 <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      4 <script>
      5 function onLoad() {
      6  // For emulating the traditional behavior, collapse Selection to end of the
      7  // text at end of the <body>.
      8  getSelection().collapse(
      9    document.body.lastChild,
     10    document.body.lastChild.length
     11  );
     12  const textNode = document.createTextNode(" ");
     13  const editingHost = document.querySelector("div[contenteditable]");
     14  editingHost.appendChild(textNode);
     15  editingHost.setAttribute('contenteditable', "true");
     16  textNode.remove();
     17  getSelection().selectAllChildren(textNode);
     18  document.execCommand("increasefontsize");
     19 }
     20 </script>
     21 </head>
     22 <body onload="onLoad();">
     23 <div contenteditable></div>
     24 
     25 
     26 </body></html>