1.) Open Firefox.
2.) Click the address bar at the top, type “about:config” without the quotes and press enter or return if you’re using a Mac.
3.) In the about:config interface, click the search bar and search “geo.enabled” without the quotes. The search result will be one preference name called geo.enabled.
4.) Double clicking or single clicking and then pressing enter or return toggles the value of geo.enabled between true and false. When the value of is true, geolocation is enabled in Firefox, and when the value is false, geolocation is disabled in Firefox.
The following video is a demonstration of the steps mentioned above: