tor-browser

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

445004-1.html (801B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <head>
      4    <script>
      5      var loads = 0;
      6      function loadStarted() {
      7        ++loads;
      8      }
      9      function loadEnded() {
     10        --loads;
     11        if (loads == 0) {
     12          document.documentElement.className = "";
     13        }
     14      }
     15      loadStarted();
     16      window.onload = function() {
     17        if (location.protocol != 'file:') {
     18          var txt = document.createTextNode('Must be run from file://');
     19          var div = document.createElement("div");
     20          div.appendChild(txt);
     21          document.body.appendChild(div);
     22        }
     23        loadEnded();
     24      }
     25    </script>
     26  </head>  
     27  <body>
     28    <iframe width="500" height="200" src="subdir/445004-subframe.html"
     29            onload="window.frames[0].doIt();"></iframe>
     30  </body>
     31 </html>