How-To Geek

Deactivate Location-Aware Browsing in Firefox 3.5

If the new Location-Aware Browsing (a.k.a. Geolocation) feature in Firefox 3.5 makes you worried about your privacy, you can turn the feature off with a simple about:config tweak.

A Quick Look at Location-Aware Browsing

For those who are curious about this new feature, here is a quick look at what happens when you encounter a website that triggers the function in Firefox.  You can also visit a website that has been set up as a Geolocation demo (link at the bottom of the article).

Note: The Location-Aware Browsing feature uses Google Location Services to determine your location with the following: your computer’s IP address, information about nearby wireless access points, and a random client identifier (that is assigned by Google and expires every 2 weeks).

When you encounter a website that asks for your location, you will see this bar pop up at the top of your browsing window.


Here is a closer look at each side of the pop up bar.



At this point you can choose to either share or not share your location.

Turn Location-Aware Browsing off

The first thing that you will need to do is type “about:config” (without the quote marks) into the address bar and hit “Enter”. This is the message that you will see once you have hit “Enter”. Click on “I’ll be careful, I promise!”.


Once you have clicked through, your browser window is going to look like this and now you are ready to do some tweaking magic.


Type or paste “geo.enabled” (without the quote marks) into the “Filter” address bar.


Once you have the “geo.enabled” about:config entry displayed, right click on “true” and click “Toggle”.


Now the Geolocation feature is disabled. Notice that the “Status” for this about:config entry is now set as “user set” and the entire value is in bold.


Restart Firefox and you are all finished!

Note: If you are curious and want to test it (and did not click “Share” if you tried it earlier), visiting the demo website linked to below will simply show the webpage itself with no request to share your location. If you clicked “Share”, use the following instructions to “clean” your browser.

What if you have been using Location-Aware Browsing and want to revoke permissions and clear the “history”?

1. If you have already started using the Location-Aware Browsing feature and have shared your location with a website (or multiple websites), here is how to undo the permission granted to share.

Go to the website that you have shared your location with. Once there, go to your “Tools Menu” and select “Page Info”.


In the new window, select the “Permissions Tab” and deselect “Always Ask” in the “Share Location” section.


Notice that where “Block” is selected it is no longer greyed out.


2. What about the “random client identification number”?

Go to your “Tools Menu” and select “Clear Recent History”.


Here is what the window looks like.


Select the “Time range to clear” that you need or desire (for our example, “Everything” will be chosen).


Choosing “Everything” will cause the following message to display.


Click on the “Details Arrow” to expand the window. Once you have the window expanded, make certain that “Cookies” is selected and click on “Clear Now”.


Now you are all finished and once again have a “Geolocation clean” browser!

Try a Geolocation Demo

Visit the Geolocation demo website pictured above

Akemi Iwaya is a devoted Mozilla Firefox user who enjoys working with multiple browsers and occasionally dabbling with Linux. She also loves reading fantasy and sci-fi stories as well as playing "old school" role-playing games. You can visit her on Twitter and .

  • Published 06/19/09

Comments (7)

  1. Jason

    So will this functionality allow international users to finally watch shows on Hulu?? Hope so!

  2. LouCypher

    To modify/toggle the preference value, you can use double click as well.

  3. Television Spy

    Wow that’s an impressive feature, but they need to have it disabled by default. Scary privacy wise.

  4. Anonymouse Coward

    Research something before freaking out about it. By default it doesn’t do ANYTHING unless
    1) the website specifically asks for geolocation information
    2) you specifically consent to give that particular website access at that particular time
    There are no privacy concerns because nothing is automatically sent unless you tell it to always give that site your location. Also, the location isn’t even completely accurate – it’s just an estimate. When I tried it, it gave an area of several hundred km as my location (although apparently it’s capable of being with several meters in select areas).

    I don’t see how this is so bad, since it could be really useful for providing more relevant advertising. It would be cool to see ads for local businesses rather than random crap from other countries that I have no interest in using at all…

  5. Rusky

    It would be more useful for things like google maps. I would never, ever want a random advertising company to have that information, no matter how inaccurate it is.

  6. Sari

    Thanks for tip. Wondered what geo.enable was for.

  7. programa

    I have read a few of the posts in your blog at this moment. And I love your style of blogging. I added your site to my bookmark and will also be checking quickly. Take a look at my own web site as well and let me know what you think about it.

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!