.config files for configuring and hardening Firefox privacy, security and anti-fingerprinting.-
Go to file
Narsil ded32efdc5 Delete mozilla.cfg 2023-11-29 20:20:44 +00:00
config Upload files to "config" 2023-11-29 20:20:33 +00:00
LICENSE Initial commit 2022-09-13 09:34:46 +00:00
README.md Upload files to '' 2023-03-23 09:56:38 +00:00


How to Use:

These files has been designed exclusively for Firefox running GNU/Linux on Pinephone and Pinephone Pro.

Settings Protection:

Important settings are enforced/locked within mozilla.cfg, those settings cannot be changed by addons/updates/Firefox or unwanted/accidental manipulation; To change those settings you can easily do it by editing mozilla.cfg.


  • Clone or download zip file and extract it
  • Locate Firefox's installation directory /usr/lib/firefox-esr/ or /usr/lib/firefox/
  • Copy the files contained in config folder to the install directory
  • Start Firefox and test if config was applied browsing to about:config.


  • To uninstall, just remove the files you added to your Firefox's install directory; then restart Firefox.

Mobile view troubleshootings

  • Due to Firefox is a desktop browser and managing addons is complicated the easiest way to have mobile view is disabling privacy.resistFingerprinting and forcing Android UserAgent. Those changes are reversible, though.

Known problems

Some breakage?

Try changing "network.http.referer.XOriginPolicy" from 2 to 1

Infinite loop loading some webs?

This is related to cookies. Block all of them momentarily changing "network.cookie.cookieBehavior" from 5 to 2

Enabling a string with the value defaultPref("browser.contentblocking.category", "strict/standard/custom"); doesn't work and breaks TCP

Nevertheless, by using LockPref instead works. Anyway, I prefer not locking this, for example if you want to block all cookies.