Geolocation API Blocker

About

A simple extension for overriding the browser's Geolocation API. The Geolocation API, a standard feature supported in all major Web browsers, allows sites to infer your precise location. Past research has shown that many sites using this API do not require the most accurate location to work correctly. Yet, there is no native way to make the reported data less accurate. Geolocation API Blocker is an open-source Google Chrome extension that allows the user to modify their reported coordinates for different hostnames in two ways:
  1. A fixed location of their choosing.
  2. A noisy location uniformly distributed inside a circle of specified radius centered around the actual location.

The extension only works with the Geolocation API. It cannot protect against methods that use your IP address.

Video Showcase

Why should I use this extension?

While other extensions offering similar functionality exist, JavaScript can be abused to bypass many of them. Geolocation API Blocker attempts to prevent such problems. If you are running another similar extension, try clicking the test button. The test will perform a relatively simple inspection of the navigator.geolocation object and attempt to circumvent the extension. (Note that running the test requires the Geolocation API permission if the inspection detects tampering.)

Experiencing problems?

You can report problems via email or open a GitHub issue.