Skip to content

user.js file to harden Firefox and optimize privacy, security, and speed

License

Notifications You must be signed in to change notification settings

Square789/Betterfox

 
 

Repository files navigation

GitHub Maintained GitHub Maintained Visitors

Betterfox

about:config tweaks to enhance Mozilla Firefox. Files are updated as needed for your user.js.

Made for everyday browsing

A secure, blazing fast browsing experience. Without breakage.

An opinionated preference list inspired by the law of diminishing returns and the minimum effective dose.

The objective is to make the browser's defaults sufficient enough for privacy-minded users, but remain trouble-free enough that my grandmother could use it. (That puts a whole new twist on being a foxy grandma!) Edit: Sorry for the dad joke 😓

Simple goals

  1. Minimalism: get what isn't needed out of the way
  2. Efficiency: unleash Firefox's ability to be fast and performant
  3. Privacy: protect your data without causing site breakage

Simple configs

List Description
Fastfox Immensely increase Firefox's browsing speed. Give Chrome a run for its money!
Securefox Telemetry blocked. HTTPS-by-Default. Total Cookie Protection with site isolation. Enhanced state and network partitioning. Various other enhancements.
Peskyfox Unclutter the new tab page. Remove Pocket. Restore compact mode as an option. Stop webpage notifications, pop-ups, and other annoyances.
Smoothfox Get Edge-like smooth scrolling on your favorite browser — or choose something more your style.
user.js All the essentials. None of the breakage. This is your user.js.

💡 Fastfox, Securefox, Peskyfox, and Smoothfox are guides to relevant prefs in Firefox. The user.js is curated from the options located in these documents. Please read the guides to understand the various options hidden in Firefox.

While Betterfox is designed to set-and-forget, it contains plenty of options for those who like to tinker.

about:Privacy

Most projects have niche concerns with no regard for speed, annoyances, or mainstream use. But for us, features like WebGL and DRM are still enabled, and you won't find a setting like privacy.resistFingerprinting mentioned here.^why?

Fingerprinting is a high threat model issue that is only reasonably addressed by Tor.1 If your context calls for anonymity and not just reasonable privacy, then please use the Tor Browser.^what's the difference?

Assumptions

Apply preferences from the common overrides sticky if you want to revert the following behavior:

  • Firefox Accessibility Service is disabled to improve resource utilization and security. Override this if you use assistive software.
  • Embedded tweets, instagram, reddit posts, and tiktoks load on webpages, even though these requests are usually blocked when using Strict Enhanced Tracking Protection.
  • The native password manager is disabled. We recommend using KeePass, Bitwarden, or 1Password.
  • Firefox Sync and Firefox View are disabled.
  • Location requests are rejected and site notifications are disabled.

Privacy Suggestions

After applying the user.js and restarting Firefox:

  1. Change your default search engine.
    • You can also choose a different search engine for Private Windows only:
      1. Go to Settings → Search → Default Search Engine
      2. Change your default search engine to DuckDuckGo, or add a premium search engine like Kagi.
  2. Enable sanitize on close (clear browsing data on shutdown).
    • You can allow exceptions if you want to stay logged in to some sites:
      1. Go to Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions
      2. Check Delete cookies and site data when Firefox is closed.
  3. Use uBlock Origin to block ads and trackers with our custom filters. For a quick and easy solution, use Ghostery.
  4. Add DNS-level protection like NextDNS, and check out the configuration guide.

Recognition

User Comments

Browser Integration

YouTube

Podcasts

Articles

Guides

Contributions

Credit

  • Many thanks to the Firefox team and to the people working on Bugzilla, fighting for the open web.
  • This repository benefits from the ongoing research provided by arkenfox. They are the foundation to any worthwhile user.js.
  • Some prefs in Fastfox come from RubenKelevra.
Free Website Counter
since 23 July 2022

About

user.js file to harden Firefox and optimize privacy, security, and speed

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%