tor-browser

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

449006-1.html (665B)


      1 <html>
      2 <head>
      3 <script type="text/javascript">
      4 
      5 function boom()
      6 {
      7  document.getElementById("d").focus();
      8  document.execCommand("inserthtml", false, "AB");
      9  document.execCommand("delete", false, null);
     10  document.execCommand("undo", false, null);
     11 
     12  document.addEventListener("DOMCharacterDataModified", f);
     13  document.execCommand("redo", false, null);
     14  document.removeEventListener("DOMCharacterDataModified", f);
     15 
     16  function f()
     17  {
     18    document.removeEventListener("DOMCharacterDataModified", f);
     19    document.execCommand("formatBlock", false, "<h3>");
     20  }
     21 }
     22 
     23 </script>
     24 </head>
     25 
     26 <body onload="boom();"><div id="d" contenteditable="true"></div></body>
     27 
     28 </html>