How to Disable Geolocation in Firefox, Chrome and Microsoft Edge

toggle-button

Disable geolcoation in your browser

Most modern browsers geolocation services within the browser. Geolocation attempts to locate you based on your IP address, Wi-Fi, or network location. Here’s how to disable it in Chrome, Firefox and Microsoft Edge.

Geolocation is useful in many ways but also has some privacy issues. If you'd rather not broadcast your location, it can be disabled.
In addition to blocking geolocation, here’s how to disable those annoying notifications in Chrome, Firefox and Microsoft Edge. If you’re tired of seeing the seemingly endless notifications pop up, here’s how to turn them off.  

Google Chrome
Disable geolocation:
Select the three vertical dots in the upper right corner of the browser (or pressing Alt+F) and choose Settings > Privacy and Security > Site Settings > Location. Ask before accessing is on as the default, sites can be blocked or allowed on a per site basis with this option on. To block geolocation, slide the button to the left.
Disable Notifications:
Notifications from websites are an ongoing part of modern browsers. They can be turned off in the same area of Settings. A few entries below Location you’ll see Notifications. Click on the entry and choose the options you prefer. Moving the button to the left turns them off entirely. There’s an option to prevent notifications from interrupting you called quieter messaging, and sites can be allowed or blocked on a per site basis.

Firefox
Disable geolocation:
Click on the three vertical bars in the upper right corner and choose Options > Privacy & Security. Scroll down to the Permissions heading. Next to Location, select Settings. In the pop up box, you may see a list of sites that have requested access to your location. You can remove any sites from the list. To disable geolocation, check the box next to “Block new requests asking to access your location’ and click Save Changes.
It’s also good to turn off geolocation in the about:config settings. To access the settings, type about:config into the address bar. Accept the warning message. In the Search box, type geo.location and set it to False by double clicking the entry. If geo.location doesn't show as an option, use geo.enabled and set it to false.
Disable Notifications:
Notifications can be turned off by clicking on the three vertical bars in the upper right corner and choosing Options > Privacy & Security. Scroll down to the Permissions heading. Next to Notifications, select Settings.
You may see a list of sites, remove any you don’t want and then check the box next to Block new requests asking to allow notifications. Disabling notifications entirely requires a small modification in the about:config settings. To change the setting, type about:config into the address bar. Accept the warning message. In the Search box, type 'dom.notifications.enabled’. If it’s not set, click on Boolean and set the entry to false by clicking on the plus sign and double clicking the entry so it changes to false (you can also click the double arrow to change the setting). Close the tab and you’re done.

Microsoft Edge
Disable geolocation:
Managing site permissions in Edge is similar to Google Chrome.
Click the three horizontal dots in the upper right corner of the browser (or press Alt+F). Select Settings > Site Permissions > Location.
Ask before accessing is the default. To completely block geolocation slide the button to the left. If Ask before accessing is left on, sites can be blocked or allowed on a per site basis.
Disable Notifications:
Notifications from websites are an ongoing part of modern browsers. and can be turned off in the same area of Settings. A few entries below Location you’ll see Notifications. Click on the entry and choose the options you prefer. Moving the button to the left turns them off entirely. There’s an option to prevent notifications from interrupting you called quieter messaging, and sites can be allowed or blocked on a per site basis.
Microsoft Edge is based on the same code and Google Chrome, but there are some differences in design and function. This article by Ed Bott has some good suggestions on fine tuning Edge.


You can find more Tech Treats here.

 

 

Please rate this article: 

Your rating: None
4.09091
Average: 4.1 (11 votes)
toggle-button

Comments

Don't ALL VPNs hide user location? How about WireGuard?

My understanding is that VPNs are supposed to give you a different virtual location. I'm not familiar with Wireguard.

rhiannon, I don't have a "geo.location" setting in about:config in Firefox 77.0.1
What I did do is set "geo.enabled" to false and "geo.provider.ms-windows-location" to false.

That's interesting, I'm running Firefox 77.0.1 as well and geo.location appears, as do the others you listed. I've updated the article, I added geo.enabled as an option. Thanks for the heads up. :)