HTML5 Geolocation API
✔Your browser supports HTML5 Geolocation API
× Your browser does not supports HTML5 Geolocation API
! Granted — You allow browserleaks.com to track your location (not recommended).
✔ Prompt — You ask when browserleaks.com try to track your location (recommended).
× Denied — You don't allow browserleaks.com to track your location.
! Granted — You allow all websites to track your location (not recommended).
✔ Prompt — You ask when websites try to track your location (recommended).
× Denied — You don't allow random websites to track your 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.