tor-browser

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

373533-1.xhtml (757B)


      1 <html xmlns="http://www.w3.org/1999/xhtml"
      2      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      3      xmlns:math="http://www.w3.org/1998/Math/MathML">
      4 <head></head>
      5 <body>
      6 
      7 <xul:box collapsed="true"><math:mrow><div id="div">
      8 <p id="para">Foo bar</p>
      9 </div></math:mrow></xul:box>
     10 
     11 <script type="application/javascript">
     12 document.body.offsetWidth;
     13 
     14 try
     15 {
     16  var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
     17 
     18  var para = document.getElementById("para");
     19  var div = document.getElementById("div");
     20  var hbox = document.createElementNS(XUL_NS, 'hbox');
     21 
     22  div.appendChild(hbox);
     23  div.removeChild(para);
     24 }
     25 catch (e)
     26 {
     27  document.body.appendChild(document.createTextNode(e));
     28 }
     29 </script>
     30 
     31 </body>
     32 </html>