BrowserShield is a simple javascript userscript for Firefox that helps you to prevent websites from fingerprinting your browser. Protect your online privacy!

satoi 8c5b0e7c04 Remove license unnecessary title line 1 week ago
README.md b1d476e647 update "README.md" 3 weeks ago
browser-shield.js 8bb8291cf1 fix homepage url 2 months ago
license.txt 8c5b0e7c04 Remove license unnecessary title line 1 week ago

README.md

BrowserShield: Antifingerprinting script for Firefox

BrowserShield is a simple javascript userscript for Firefox that helps you to prevent websites from fingerprinting your browser. Fight the surveillance! Protect your online privacy!

This extension is intended to work in Mozilla Firefox, so it couldn't work in other browsers!

Installation

  1. Install any Firefox extension for user-script support (Ace Script, greasemonkey, etc.)
  2. Go to your userscript extension dashboard.
  3. Install BrowserShield userscript from this URL https://notabug.org/satoi/browser-shield/raw/master/browser-shield.js
  4. Now the script is installed, but it won't work yet! It's necessary to modify some browser preferences.
  5. Type "about:config" in the Firefox address bar.
  6. A warning screen would be shown, don't worry, Firefox does this to prevent you from breaking your browser, but we're just going to disable some "content security policies" that prevent you from executing some userscripts, so click "I accept the risk!" to continue.
  7. Search for the following preferences in the search bar: extensions.webextensions.base-content-security-policy and extensions.webextensions.default-content-security-policy
  8. Replace them all with an empty string/text (yeah, they must be blank).
  9. Now search for the security.csp.enable preference.
  10. Its value is set to "true" by default, so set it to "false" (double-click).
  11. Now you are protected from fingerprinting! Visit http://mybrowserinfo.com/ (or any other web browser info website) and you'll see your device info is now spoofed.

How BrowserShield works

This userscript spoofs some of your browser's javascript "read-only" properties that most of fingerprinting websites use to uniquely identify your computer, this is particularly dangerous if you're using a non-popular browser or OS, so BrowserShield makes your computer appear to be "more common" (example of spoofing: fake your OS to Windows 10, which is a very popular operating system).

Is there any difference between BrowserShield and any privacy Firefox extension?

Yes and no. Surely there are browser extensions made to fake browser properties, however I've found some of them are either closed-source or very difficult to modify, BrowserShield is just a script, so you can easily modify/upgrade it at any time if you want.

Credits & License

BrowserShield was originally written by me (satoi), and it's released under the MIT License. BrowserShield is just a little free software project I started as a hobby to support online privacy, free (libre) software, and learn some git.

Contact me