tor-browser

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

bug798068-ref.xhtml (736B)


      1 <?xml version = '1.0' encoding = 'utf-8'?>
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4    <script>
      5      function doTest() {
      6        var defaultZoom = {}, allowZoom = {}, minZoom = {}, maxZoom ={}, width = {}, height = {}, autoSize = {};
      7        var windowUtils = window.windowUtils;
      8        windowUtils.getViewportInfo(1, 1, defaultZoom, allowZoom, minZoom, maxZoom, width, height, autoSize);
      9        document.getElementById("minZoom").innerHTML = minZoom.value.toPrecision(10);
     10        document.getElementById("maxZoom").innerHTML = maxZoom.value.toPrecision(10);
     11      }
     12    </script>
     13  </head>
     14  <body onload="doTest();">
     15  MinZoom: <span id="minZoom"></span><br />
     16  MaxZoom: <span id="maxZoom"></span>
     17  </body>
     18 </html>