SomeGuyOnAComputer
SomeGuyOnAComputer

Reputation: 6208

How to overwrite with fake data or disable "fingerprinting" by user identifying js object: navigator

The navigator object is used to identify users browsing. Even if you have extensions installs which help block a lot of identifying scripts, it seems that the navigator object is always available.

Some identifying characteristics I'd like to feed fake data to (or disable)

navigator.geolocation
navigator.plugins
navigator.battery
navigator.oscpu
navigator.platform
navigator.userAgent
navigator.(etc)

There was no effect when attempting to overwrite the object using GreaseMonkey.

Upvotes: 0

Views: 987

Answers (1)

SomeGuyOnAComputer
SomeGuyOnAComputer

Reputation: 6208

Edit: X-Agent unofficial extension overrides navigator


I could not find a way to overwrite the navigator object permanently or disable it. However, I came across the VikingVPN's post and GHack's post on hardening Firefox.

  1. Open about:config
  2. Set the following (excerpt)
    • To disable fingerprinting by addon installations set plugin.scan.plid.all to false
    • To disable location services set geo.enabled to false
    • To disable battery checks set dom.battery.enabled to false
  3. Install Stop Fingerprinting addon for Firefox

Upvotes: 0

Related Questions