Many services rely on our geographic location to work properly, but others request this information (or rather, read it) without any need. The Spoof Geolocation extension, compatible with Chrome and Firefox, lets us easily modify/fake the browser's geolocation using a classic latitude and longitude coordinate system.
The amount of data we end up sharing in a normal browsing session is enormous, and many users feel that should change. Replacing the browser with a more private alternative is a step in the right direction, but there are also additional resources like VPN access or the Tor network.
Another option is the spoofing technique, that is, reporting false information about our configuration or location, and that last point is what brings us together here today. The Spoof Geolocation extension helps us modify the browser's geolocation easily, entering different coordinates in seconds, and without restarting.
How to alter your browser's geographic location with Spoof Geolocation
Spoof Geolocation can “invent” this information even if the device lacks the necessary hardware. Its developer explains that the extension creates an object called “navigator.geolocation”, which in turn allows effective spoofing of three JavaScript methods: “navigator.geolocation.getCurrentPosition”, “navigator.geolocation.watchPosition”, and “navigator.permissions.query”.
On its first run, Spoof Geolocation asks for latitude and longitude coordinates, but it already includes London as an example, so we don't need to modify anything else if that replacement is suitable. Otherwise, any site like LatLong.net can obtain coordinates for any point on Earth. The extension has reset options, randomization, accuracy, and whitelist support to disable spoofing on specific sites.
Now, Spoof Geolocation can't do anything about the IP address, which creates a rather curious situation of the IP reporting one location and the browser another... but it's up to the user to determine the usefulness of the spoof in each case. Finally, the extension is compatible with Firefox and the Chromium family, and all its code is available on GitHub.
Official site and downloads: Click here