mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
310 B
HTML
14 lines
310 B
HTML
<html>
|
|
<head>
|
|
<title>Simple access of geolocation</title>
|
|
<head>
|
|
<script>
|
|
function loadedWindow() {
|
|
opener.postMessage("loaded", "*");
|
|
}
|
|
navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|