Widget:Geolocation
<script>
//ausgabe = document.getElementById('geoloc');
if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(zeigePosition); } else { document.write = 'Ihr Browser unterstützt keine Geolocation.'; }
function zeigePosition(position) { document.write = position.coords.latitude + ", " + position.coords.longitude; }
</script>