tor-browser

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

347174transform.xsl (1003B)


      1 <?xml version="1.0" encoding="ISO-8859-1"?>
      2 
      3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      4 <xsl:template match="/">
      5 <html>
      6 <head>
      7 <script>
      8 window.parent.frameScriptTag(document.readyState);
      9 
     10 function attachCustomEventListener(element, eventName, command) {
     11    if (window.addEventListener &amp;&amp; !window.opera)
     12        element.addEventListener(eventName, command, true);
     13    else if (window.attachEvent)
     14        element.attachEvent("on" + eventName, command);
     15 }
     16 
     17 function load() {
     18  window.parent.frameLoad(document.readyState);
     19 }
     20 
     21 function readyStateChange() {
     22  window.parent.frameReadyStateChange(document.readyState);
     23 }
     24 
     25 function DOMContentLoaded() {
     26  window.parent.frameDOMContentLoaded(document.readyState);
     27 }
     28 
     29 window.onload=load;
     30 
     31 attachCustomEventListener(document, "readystatechange", readyStateChange);
     32 attachCustomEventListener(document, "DOMContentLoaded", DOMContentLoaded);
     33 
     34 </script>
     35 </head>
     36 <body>
     37 </body>
     38 </html>
     39 </xsl:template>
     40 
     41 </xsl:stylesheet>