tor-browser

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

336096-1.xhtml (912B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3 <script>
      4 <![CDATA[
      5 
      6 function init()
      7 {
      8    var targetWindow = window.frames[0];
      9    var targetDocument = targetWindow.document;
     10    
     11    targetDocument.body.appendChild(document.getElementById('rootish'));
     12    targetDocument.designMode = 'on';
     13 
     14    var r = targetDocument.createRange(); 
     15    r.setStart(targetDocument.getElementById("start"), 0); 
     16    r.setEnd  (targetDocument.getElementById("end"), 0); 
     17    targetWindow.getSelection().addRange(r);
     18 
     19    targetDocument.execCommand('bold', false, null);
     20 }
     21 
     22 ]]>
     23 </script>
     24 </head>
     25 
     26 <body onload="setTimeout(init, 200);">
     27 
     28 <iframe src="data:text/html," style="width: 95%; height: 500px;"></iframe>
     29 
     30 <div id="rootish">
     31  <div id="start"></div>
     32  <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     33    <hbox/>
     34    <vbox id="end">
     35      <hbox/>
     36    </vbox>
     37  </hbox>
     38 </div>
     39 
     40 </body>
     41 </html>