Firefox supports the Geolocation HTML API. Sites and applications may use the API to get the location of the user but only if the user gives them permission to do so.
Sites may use other methods to get the location, e.g. by doing a reverse whois on the IP address used to connect to the site. These methods are not as accurate usually, however, and use of the Geolocation API is preferred by many sites because of that.
Firefox displays a notification to the user whenever a site or application wants to use geolocation to get a user's location in the world. The feature is popular and used by many services including services that provide maps or different content based on the user's location in the world.
The message reads: Will you allow [site] to access your location?. You can allow or disallow access to the location, and make the decision permanent by checking the "remember this decision" checkbox to either allow or disallow access permanently.
The prompt looks very similar to the add-on installation prompt that Firefox displays when you install new browser extensions.
Sites get the user's locations when access to the API is allowed. Mozilla Firefox indicates that from Firefox 70 onward.
Firefox users may block the location feature entirely in the browser. Sites and apps won't be able to use it when access is blocked, but there is still an option to whitelist individual sites that you want to give the permission.
It needs to be noted that some sites may not function properly or at all if you disable location in the Firefox browser.
Firefox users have two main options to disable Geolocation in Firefox.
The Permissions group of the Firefox Preferences lists Location as an option. Here is how you configure it:
The second option that you have is to configure the feature on Firefox's about:config page.
Sites may still use other functions to locate users in the world. One of the most common methods detects the location using the IP address. The use of VPNs or proxy servers could hide the "real" location of the user.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.