Features

How Location Guard protects your location

A close look at what the extension does to the coordinates websites receive, the settings that control it, and the situations it can't cover.

Browser geolocation

The signal Location Guard works on

Browsers expose your position to websites through the W3C Geolocation API. A page calls navigator.geolocation.getCurrentPosition() or watchPosition(), the browser asks for your permission, and — if you allow it — returns a latitude, a longitude and an accuracy radius in metres.

To produce that position, the browser uses whatever the device offers: GPS on phones, nearby Wi-Fi networks and cell towers looked up in a location service, or your operating system's location services. With Wi-Fi alone, the result is often accurate to a few tens of metres — enough to identify a building.

How browser geolocation works in detail

What a website receives

coords.latitudeDegrees, WGS 84
coords.longitudeDegrees, WGS 84
coords.accuracyRadius in metres
coords.altitude, speed, headingOften null on desktop
timestampWhen the fix was taken

Location Guard rewrites latitude and longitude, and, with "Update accuracy" on, enlarges the accuracy value to match the added noise.

Diagram: protection area and accuracy area around a real location, with several possible reported locations Real position Protection area (radius r), dashed Accuracy area (95%) ● possible reported positions
Every point inside the dashed protection area could have produced the same reported position with similar probability. The reported position lands inside the larger grey area 95% of the time.

Obfuscation

Privacy levels backed by geo-indistinguishability

Instead of snapping you to a grid or picking a random nearby point, Location Guard draws noise from a two-dimensional (planar) Laplace distribution. This mechanism comes from the 2013 ACM CCS paper Geo-Indistinguishability: Differential Privacy for Location-Based Systems.

The result is a formal guarantee: within the protection area, all locations are similarly likely to be your real one, so the reported point alone doesn't let a website tell them apart.

  • Low — 200 m protection, ≈ 474 m accuracy, cached 10 minutes.
  • Medium (default) — 500 m protection, ≈ 1,186 m accuracy, cached 30 minutes.
  • High — 2,000 m protection, ≈ 4,744 m accuracy, cached 60 minutes.

Defaults from the extension's source code; accuracy is the radius containing the reported point with 95% probability. On average, the reported point is about one protection radius away from you.

Read the CCS 2013 paper on arXiv (opens in a new tab)

Controls

Everything else you can configure

Fixed location

Choose "Use fixed location" to report one point you set on a map, regardless of where you are. With the default "Fixed location disables geolocation" option, the browser never computes your real position for that site — which also means no permission prompt appears.

Set a fixed location

Website permissions stay in charge

Location Guard doesn't replace the browser's permission system. You still see the normal prompt, can still deny, and can still revoke access in the browser settings. The extension acts only after you allow a request.

Check your permission state

Per-site levels

The default level applies everywhere, and the toolbar popup's "Set level for …" item overrides it for the current domain. Maps can get Low or your real location while everything else stays at Medium or High.

Honest accuracy values

With "Update accuracy" on (the default), the reported accuracy radius grows by the noise's 90% radius, so a website treats the position as approximate rather than precise. Turn it off if a site rejects positions with large accuracy values.

Fake-location cache

Repeated requests within the cache period get the same fake point. Without this, a site could request your location many times and average the noisy answers back towards the truth. The cache can be cleared from the options page.

Pause and hide icon

Pause protection globally from the popup when you need your exact position for a moment. "Hide icon" keeps the toolbar tidy; in Firefox the icon otherwise appears in the address bar when a page uses geolocation.

Real limitations

What Location Guard cannot do

It is a precise tool for one channel. These gaps are inherent to that design, not bugs.

Your IP address still reveals a region

Every site sees your IP address, and IP geolocation databases map it to an approximate city or region. Location Guard doesn't change it; a VPN, proxy or Tor does. Browser vs IP geolocation.

Background knowledge narrows things down

If most of your protection area is water, parkland or farmland, a site can guess you are in the few buildings inside it. Choose a higher level, or a fixed location, where that applies.

Long-term collection can average noise

The cache stops rapid repeated requests from being averaged, but a site that records your fake locations across many separate visits from the same place collects more separate samples. Higher levels and fixed locations reduce what it can learn.

Other signals aren't covered

Time zone, language, addresses you type, account profiles, photo metadata and apps on your device can all reveal location. How websites detect your location.

Comparison

Noise, fixed location, blocking or a VPN?

ApproachPrecise geolocationIP-based locationLocation features keep working
Location Guard — privacy levelObfuscatedNot coveredYes, with reduced precision
Location Guard — fixed locationReplacedNot coveredOnly relative to the fixed point
Deny or block in browserNot sharedNot coveredNo
VPN or TorNot coveredMaskedYes

Combining a VPN with Location Guard (or with blocked geolocation) covers both channels.

Try it with your own location

Install the add-on, then compare the browser test result with and without Location Guard.