tor-browser

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

replace-body-after-designMode-off-and-making-editing-host.html (440B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <script>
      6 document.addEventListener("DOMContentLoaded", async () => {
      7  document.designMode = "on";
      8  const style = document.createElement("style");
      9  document.documentElement.appendChild(style);
     10  document.designMode = "off";
     11  style.setAttribute("contenteditable", "true");
     12  document.documentElement.innerHTML = "<div></div>";
     13 }, {once: true});
     14 </script>
     15 </head>
     16 <body></body>
     17 </html>