This is a policies.json file for (really) recent Firefox versions (148+ ideally, but in general a lot of these were added around the 140s) that strips it down from slop to my liking.
Reference for all this stuff — https://mozilla.github.io/policy-templates
Deploy to one of:
- Linux:
/etc/firefox/policies/policies.json(system-wide) or<firefox-install>/distribution/policies.json - macOS:
Firefox.app/Contents/Resources/distribution/policies.json - Windows:
<firefox-install>\distribution\policies.json
Verify it loaded at about:policies.
- Remove default bookmarks that may be included by a Linux distribution such as Fedora
- Suppress first-run and post-update pages
- Don't check if default browser
- Use Firefox's default homepage with everything stripped
- Restore the previous session on startup
- Set DuckDuckGo as the default search engine and delete all others
- Disable Firefox Suggest (US only partner feature, not actual search suggestions)
- Don't ask to save passwords or cards
- Disable as much telemetry or privacy-violating features as possible
- Disable most AI features
- Use strict DNS-over-HTTPS with Cloudflare as provider
- Hide some unnecessary messages (address bar tips, onboarding, More from Mozilla in settings)
- Install uBlock Origin
- Don't suggest other search engines
- Don't suggest "top sites" in address bar
- Don't save search and form history (unrelated to actual browsing history)
- Remove some Firefox services (like Monitor) ads in the Accounts panel
- Don't show alerts for passwords for breached websites
^ the reason for any weird/sporadic ordering is because I wrote the list top-to-bottom to how the policies.json is structured