tor-browser

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

popup.html (549B)


      1 <html>
      2  <head>
      3    <title>Simple access of geolocation</title>
      4    <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5    <script src="geolocation_common.js"></script>
      6    <meta charset="utf-8">
      7  <head>
      8    <script>
      9      async function loadedWindow() {
     10        await new Promise(r => force_prompt(true, r));
     11        opener.postMessage("initialized", "*");
     12      }
     13      navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
     14    </script>
     15  </head>
     16  <body>
     17    <h1>Just a support file</h1>
     18  </body>
     19 </html>