My Firefox configuration that allies privacy to practicality and simplicity. This user.js file is based on the work of Yokoffing on Betterfox , to which I've applied a series of tested modifications.
- Increased speed for modern browsing experience, even on bloated sites;
- Better privacy than with default config: language spoofing, timezone spoofing in pb mode, stricter custom tracking protection, Mullvad DoH, disabled Google's Safe Browsing, Location services set to a more private alternative, HTTPS only, clear data on shutdown, no DRM, etc);
- Disabled completely Mozilla's Telemetry;
- Disabled useless features for a distraction-free and clean browsing experience (pocket, ai features, sponsored sites);
- Removed non-private search engines and added more private ones (DuckDuckGo Lite, SearX.be instance, MetaGer and Startpage);
- Maked uBlock Origin install itself automatically;
- Enhanced smooth scrolling (kinetic scrolling, adjusted sensitivity and speed).
WARNING: some parameters I have applied in this compilation breaks certain websites (mainly video communication and social media platforms), mainly because of network.http.referer.XOriginTrimmingPolicy
being set to 2
and media.navigator.enabled
being set to false
as well as Enhanced Tracking Protection being set to Custom with strict settings.
- Backup your profile:
- Open Firefox and go to
about:profiles
; - Check for your actual active profile ("Default Profile" should be "yes");
- On the line displaying "Root Directory", click "Open Directory";
- Close Firefox and copy all the directory's content;
- Go to this profile's parent directory in your file manager and create a new folder;
- Paste the contents into it;
- Rename the folder after the name of your profile (for a profile called
kshj81bf.default
, the backup copy might be calledkshj81bf.default.bak
).
- Clone this repository in your home directory;
- Review the file's content and make changes if needed;
- Move
user.js
to your user's firefox profile directory:
- Open back Firefox and go to
about:profiles
; - For the profile you want to use, on the line displaying "Root Directory", click "Open Directory";
- Paste the user.js file in the directory;
- Restart Firefox.
- Check for an existing directory at /etc/firefox/policies or create it;
- Backup your current policies.json if it exists;
- Move
policies.json
to the directory.
You can test your Firefox configuration from a privacy standpoint using the Electronic Frontier Foundation's tracker and fingerprinting test .
- Yokoffing for their work on Betterfox ;
- Arkenfox for their work on Arkenfox User.js ;
- The Firefox Team for their amazing work on this browser ;
- The Electronic Frontier Foundation for their comprehensive tracker and fingerprinting test ;
THIS CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE CODE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE.