tor-browser

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

729431-1.xhtml (917B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 
      3 <script>
      4 <![CDATA[
      5 
      6 function boom()
      7 {
      8  var d = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
      9  d.setAttributeNS(null, "contenteditable", "true");
     10  var s = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
     11  d.appendChild(s);
     12  document.documentElement.appendChild(d);
     13 
     14  var textarea = document.createElementNS("http://www.w3.org/1999/xhtml", "textarea");
     15  var t1 = document.createTextNode("A");
     16  textarea.appendChild(t1);
     17  var t2 = document.createTextNode("B");
     18  textarea.appendChild(t2);
     19  document.documentElement.appendChild(textarea);
     20 
     21  document.documentElement.offsetHeight;
     22 
     23  d.removeChild(s);
     24  textarea.removeChild(t2);
     25  document.documentElement.appendChild(document.createTextNode(" C "));
     26  document.documentElement.appendChild(t2);
     27 }
     28 
     29 window.addEventListener("load", boom);
     30 
     31 ]]>
     32 </script>
     33 
     34 <!-- no body -->
     35 
     36 </html>