user.js
Firefox privacy, security and anti-tracking: a comprehensive user.js template for configuration and hardening
A privacy-hardening configuration file for Firefox that blocks tracking and browser fingerprinting, download and place it in your Firefox profile folder and it applies automatically every time the browser starts.
Firefox browsers store their settings in various places, and one way to configure them is through a special file called user.js. When Firefox starts up, it reads this file and applies whatever settings are listed inside. The arkenfox user.js project provides a carefully crafted version of this file that sets Firefox to prioritize privacy, reduce tracking, and block fingerprinting (a technique websites use to identify you based on your browser's unique characteristics).
The goal is to protect people from being tracked across the web while keeping the browser usable. The project acknowledges upfront that some websites will break or behave unexpectedly when these settings are active, because the settings restrict behaviors that many sites depend on. Some loss of functionality is unavoidable.
This is not a browser extension you install from a store. It is a configuration template file you download and place in your Firefox profile folder. The project includes a wiki with explanations of individual settings, an interactive web tool for browsing the current configuration options, and changelogs tracking each update.
The project is built specifically for the desktop version of Firefox and is not recommended for other Firefox-based browsers, including the Tor Browser, which ships with its own separate privacy configuration. If you need to browse over the Tor anonymity network, the maintainers recommend using the official Tor Browser rather than this configuration file.
The README is intentionally brief and directs most users to the wiki for guidance on specific settings and how to apply them correctly.
Where it fits
- Apply a battle-tested privacy configuration to Firefox to reduce cross-site tracking and browser fingerprinting.
- Use the wiki and interactive tool to understand and selectively enable or disable individual privacy settings.
- Create a user-overrides.js file to restore functionality on specific sites without editing the main configuration.