<!DOCTYPE html>
<html>
  <head>
    <link rel="icon" href="data:,">
  </head>
  <body>
    <p>Location: <span id="location"></span></p>

    <script type="text/javascript">
      navigator.geolocation.getCurrentPosition(function(position) {
        document.getElementById("location").innerHTML = position.coords.latitude + "," + position.coords.longitude;
      });
    </script>
  </body>
</html>
