Typeabout:configinto the address bar.
Click theI accept the riskbutton if necessary to continue.
SelectShow All, then look forgeo.enabledor search for it in the search bar.
Double-press it when you find it.
Geo IP is off when theValuecolumn saysfalse.
Double-clickgeo.enabledagain to change the value back totruewhen you want to re-enable Geo IP.
Continue browsing as usual.
What is Geo IP in Firefox?
Considerations
Firefox, by default, asks whether you wish to supply geolocated data to a website.
Firefox does not providelocation datato websites without a user’s explicit consent using a notification requesting permission.