One of many amazing features in HTML5 is the Geolocation API – the possibility to reveal users current location. Since this may endanger privacy issues it is only available after personal approval. Try it:
Your location is here
Note: Your browser will ask for permission to share your location and, if you approve, it will display a Google Map of it – opens in new window.