Does Firefox share my location with websites?

Firefox Firefox Last updated: 1 week, 5 days ago 62% of users voted this helpful

This article explains the location-aware features of Firefox and how to manage permissions for websites that ask you to share your location.

Location-aware browsing

Websites using location-aware browsing will ask where you are located in order to enhance your browsing and searching experience. For example, sharing your location can help you find food near you faster or quickly get directions to places you want to go.

Websites using location-aware browsing signal to Firefox that they want to access your location. By default, Firefox asks you if you want to share your location with these websites.

This service is optional. Firefox doesn’t share your location without your permission. Like all elements of Firefox, it is created using open standards to ease adoption by web developers.

How does it work?

When you visit a location-aware website, Firefox will ask you if you want to share your location.

Fx98AllowLocationAccessLocation request panel

If you allow location access, Firefox gathers information about nearby wireless access points and your computer’s IP address. Firefox sends this information to the default geolocation service provider, Google Location Services, to get an estimate of your location. That location estimate is then shared with the requesting website.

If you do not allow access, Firefox will not take any action.

If you check the Remember this decision box, Firefox will always allow or always block location access for that website without asking.

Temporary permissions

Firefox offers the option to temporarily remember when users grant permissions to websites (like geolocation). Temporary permissions are automatically removed either after one hour or when the tab is closed. This provides control over shared data, ensuring that permissions are not retained longer than necessary. To manage temporary permissions:

  1. At the left side of the address bar, click the location icon IG location on.
  2. A permissions window will appear, showing when the website last accessed your location.
  3. If you want to remove the location-tracking permission, click the next to Allowed Temporarily.
  4. Once removed, the website will no longer be able to access your location unless you grant permission again.

Temporary permissions

What information is being sent, and to whom? How is my privacy protected?

Your privacy is extremely important to us, and Firefox never shares your location without your permission. When you visit a page that requests your information, you’ll be asked before any information is shared with the requesting website and our third-party service provider.

By default, Firefox uses Google Location Services to determine your location by sending:

  • your computer’s IP address,
  • information about the nearby wireless access points, and
  • a random client identifier, which is assigned by Google, that expires every 2 weeks.

Google Location Services then returns your estimated geolocation. For a complete description of information collected and used by Google, please see the Google Location Service in Mozilla Firefox Privacy Policy.

The information is exchanged over an encrypted connection to protect your privacy. Once Firefox has your location information, it passes it to the website that requested it. The name and location of the website you are visiting are never shared with Google Location Services.

For a complete description of information collected and used by Firefox, please see the Firefox Privacy Notice.

For information about what the requesting website does with your location information, please refer to that website’s privacy policy.

How do I undo a permission granted to a site?

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Use the Settings search box to search for location (or select the Privacy & Security panel and scroll down to the Permissions section).
  3. Under Permissions, click the Settings button to the right of Location.
    Fx98PreferencesSearchResultsLocation
    • The Settings - Location Permissions dialog box will open.
    Fx98LocationPermissions
  4. Review or change the list of sites with allowed or denied location permission.

How do I stop all sites from asking to access my location?

You can set Firefox to automatically deny new permission requests to all websites, without asking.

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Use the Settings search box to search for location (or select the Privacy & Security panel and scroll down to the Permissions section).
  3. Under Permissions, click the Settings… button to the right of Location.
  4. In the Settings - Location Permissions box that opens, check-mark the box next to Block new requests asking to access your location.
  5. Click Save Changes.

This will prevent any websites from requesting new permission to access your location. Only the sites with permission granted in the Location Permissions settings box will have access.

How can I add support for Geolocation to my website?

You can integrate Geolocation support into your service by following the Geolocation API guide at MDN web docs.

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More