Web APIs
The Geolocation API allows the user to provide their location to web applications if they so desire. This demo shows how it works using an example.