HTML5 Geolocation API
✔Your browser supports W3C Geolocation API
× Your browser does not supports W3C Geolocation API
! Granted — You allow browserleaks.com to track your physical location (not recommended).
✔ Prompt — You ask when browserleaks.com try to track your physical location (recommended).
× Denied — You don't allow browserleaks.com to track your physical location.
! Granted — You allow all websites to track your physical location (not recommended).
✔ Prompt — You ask when websites try to track your physical location (recommended).
× Denied — You don't allow any websites to track your physical location.
The HTML5 Geolocation API is designed to allow websites to make «one-shot» location requests (commonly used to locate the user on a map or show nearby points-of-interest), or repeated position updates to keep track of the user's steps (which may be used to give directions as the user moves through a city, for example), as well as the ability to explicitly query the cached positions.
The API itself is agnostic to how the browser or device determines the current location: a phone or other mobile device might use a Global Positioning System (GPS) receiver, while a laptop's location might be triangulated from nearby Wi-Fi networks or inferred from its IP address. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs, as well as user input. No guarantee is given that the API returns the device's actual location.