Introduction
A user.js is a plain text file dropped into your Firefox profile directory. It gets applied on every startup and overrides whatever Firefox stores elsewhere, one versionable file instead of hand-editing about:config a hundred times. Choose the file below that matches your threat model, or just pick the lines that fit your setup.
The two files shipped here follow opposite philosophies. The first is LibreWolf-inspired but deviates from LibreWolf's actual defaults: LibreWolf still ships full RFP (forced light theme, UTC time), while this file switches to FPP and keeps your theme, timezone and framerate, essentially the direction LibreWolf itself is planning to take. The second takes a Mullvad Browser-inspired posture that favors uniformity (full RFP, look exactly like everyone else, no exceptions, disposable sessions).
How it Works
- Close Firefox completely
- Save the file as user.js in your profile directory
- Launch Firefox, it applies on every startup and survives updates
LibreWolf-inspired user.js
This file applies the FPP migration LibreWolf itself is planning (RFP → FPP, issue #2121) on stock Firefox 160, but with more usability than LibreWolf's current defaults. Where LibreWolf still ships full RFP (forced light theme, UTC clock, 60fps cap), this file runs FPP with +AllTargets and keeps your theme, timezone and framerate. The key line is the overrides — all FPP protections (canvas, fonts, hardware concurrency, locale, etc.) while excluding the three things that actually hurt usability:
LibreWolf-inspired user.js — FPP, comfort-first
[!] Review and adapt it to your needs before using it!
What this gives you vs. stock Firefox:
Area
What changes
Fingerprinting All FPP targets on (canvas, fonts, HW concurrency, locale, speech, etc.), but your dark theme, timezone, and frame rate are preserved Tracking Strict ETP + query stripping WebRTC Single-interface only (no LAN IP leak) Sessions Wiped on close Cache RAM only Network Trimmed referrers, no prefetch, DoH enforced, LNA locked Mozilla's own data Everything off (telemetry, studies, Suggest, AI, Pocket, Shopping) Certs CRL only, no OCSP calls to CAsWhat it does NOT do (vs. actual LibreWolf):
- It is not LibreWolf's default posture: LibreWolf currently ships full RFP, this file deviates from it on purpose
- Can't remove telemetry code at build time (prefs are off, but the code paths exist)
- Can't remove Widevine/DRM entirely
- uBlock Origin is not bundled (install it manually, it's the single biggest practical gap)
- No auto-update (stock Firefox updates normally, which is arguably better)
If sites break with the full +AllTargets, the easiest fix is to add that site to granularOverrides:
user_pref("privacy.fingerprintingProtection.granularOverrides", "[{\"firstPartyDomain\":\"broken-site.com\",\"overrides\":\"-CanvasRandomization,-WebGLRenderInfo\"}]");
Mullvad-inspired user.js
This one takes the opposite bet from the LibreWolf-inspired file above. Mullvad Browser (built by the Tor Project) assumes that protecting the fingerprint mechanics is not enough, the goal is that every user looks identical. So it runs full RFP with zero exceptions: forced light theme, UTC clock, letterboxed windows, standardized video resolution, capped framerate. No comfort exclusions on purpose: every exception puts you back in a crowd of one.
The file below replicates that posture on stock Firefox, using the settings listed on Mullvad's own "hard facts" page:
Mullvad Browser-inspired user.js — full RFP, uniformity-first
[!] Review and adapt it to your needs before using it!
What this gives you vs. stock Firefox:
Area
What changes
Fingerprinting Full RFP, no exclusions: UTC timezone, light theme forced, letterboxing, timer jitter, canvas randomization, video capped at 480p, 60fps Sessions Permanent private browsing mode — history, cookies, cache and logins all vanish when the browser closes Cookies Third-party cookies rejected outright, first-party isolated (Total Cookie Protection) Network Referrers trimmed to origin, no prefetch, LNA locked, optional DoH (see comments in the file) WebGL Disabled (a classic fingerprint surface, re-enable only if a site you need requires it) Mozilla's own data Telemetry, Normandy, Sync/accounts, Suggest, AI, sponsored content: everything offTwo ways to use it:
- Behind a VPN (the intended setup). This mirrors Mullvad Browser's design: the browser normalizes your fingerprint, the VPN masks your IP, and you share the exit IP with other VPN users. Add
network.trr.mode/network.trr.urifrom the comments if you want DNS pinned to the VPN provider's resolver. - Without a VPN. The fingerprint protections still apply, but your real IP is exposed and tied to that (normalized) fingerprint — you are less anonymous than behind a VPN, even if harder to fingerprint. Reasonable for threat models focused on behavioral tracking rather than identity.
Do NOT add extensions to this profile:
Mullvad Browser ships with uBlock Origin and NoScript pre-installed and explicitly asks users not to change anything, because every added extension, every tweaked setting, makes your fingerprint unique, the exact opposite of what this config is for. If you install uBlock Origin on top of this user.js, you leave the "normalized" posture and become identifiable again. Either accept that trade-off knowingly, or use the LibreWolf-inspired file above, which was designed to be paired with uBlock Origin.
What it does NOT do (vs. actual Mullvad Browser):
- You are not in the Mullvad crowd: thousands of identical Mullvad Browser installs vs. one stock Firefox with these prefs. Same mechanics, much smaller anonymity set
- Telemetry code can't be stripped at build time (prefs only turn it off)
- uBlock Origin and NoScript are not bundled (see warning above — deliberately)
- Security level slider and other Tor Browser UI niceties don't exist in stock Firefox
Conclusion: Which One Fits You?
Both files are honest replicas of their parent browsers' philosophy, adapted to stock Firefox. The right pick depends on where the tension between privacy and usability sits for you:
- Daily driver, comfort matters: the LibreWolf-inspired file. FPP keeps your theme, timezone and framerate, breaks fewer sites, and is meant to be paired with uBlock Origin. It protects you well without putting you in a crowd of one, but you blend into a bigger, more varied crowd.
- Anonymity matters, comfort doesn't: the Mullvad-inspired file behind a VPN. Identical-looking sessions, nothing retained, no extensions, at the cost of a light theme, UTC clock and a disposable browser.
Two caveats apply to both: prefs can't remove code the way a purpose-built build does, and neither file rather than abandoning FPP wholesale at the first breakage.