Does Firefox share my location with websites?

Revision Information
  • Revision id: 180934
  • Created:
  • Creator: fffknol
  • Comment: avoid misunderstanding when opted out - 100 Km location is still poss.
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: AliceWyman
  • Is approved? No
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

Location-Aware Browsing

Websites that use location-aware browsing will ask where you are in order to bring you more relevant information, or to save you time while searching. Let’s say you’re looking for a pizza restaurant in your area. A website will be able to ask you to share your location so that simply searching for “pizza” will bring you the answers you need... no further information or extra typing required.

firefox-location-prompt

Or, if you’re mapping out directions to get somewhere, the website will know where you’re starting from so all you have to do is tell it where you want to go.

This service is totally optional – Firefox doesn’t share your location without your permission – and is done with the utmost respect for your privacy. And, like all elements of Firefox, it’s being created using open standards to ease adoption by Web developers. But even while opted out, is is always still possible to locate an IP address with lower precision, say 100 Km.

How does it work?

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

If you consent, Firefox gathers information about nearby wireless access points and your computer’s IP address and sends it 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 say that you do not consent, Firefox will not do anything.

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 Geolocation 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. At no time is the name or location of the website you are visiting, or are any cookies, ever 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 preferences search box to search for "location".
    preferences-search
  3. Choose the Location Settings under the Permissions section.
    preferences-search-results-location
  4. Review or change the list of sites you have granted location permissions to. settings-location-permissions
  1. Navigate to the site to which you’ve given permission.
  2. Go to the Tools menu, then select Page Info.
    tools_page info.png
  3. Select the Permissions tab.
  4. Change the setting for Access Your Location.

How can I add support for Geolocation to my web site?

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