master
Dr. Sascha Woitschetzki 2024-03-11 13:37:25 +07:00
parent 447ffdd187
commit 9927f99745
1 changed files with 19 additions and 0 deletions

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>geolocation</title>
</head>
<body>
<script>
navigator.geolocation.getCurrentPosition(function (position) {
document.write(position.coords.latitude + ", " + position.coords.longitude);
});
</script>
</body>
</html>