blob: 9510d2231bbce15820be117339e94600270a1b60 [file] [log] [blame]
<body onload="loaded()">
<script>
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
}
function showPosition(position) {
console.log("Latitude: " + position.coords.latitude + "Longitude: " + position.coords.longitude);
}
function loaded() {
if (window.opener)
window.opener.postMessage('done', '*');
}
</script>
</body>