A macOS and Windows policy to clean up FireFox
  • Python 97.9%
  • Makefile 2.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-08 00:31:18 -06:00
scripts Added windows 2026-11-05 02:05:28 -06:00
.gitignore Initial commit 2026-11-03 01:33:21 -06:00
definition.json :P 2026-11-08 00:31:18 -06:00
Makefile Added windows 2026-11-05 02:05:28 -06:00
README.md Update README.md 2026-11-06 02:28:30 +00:00

foxcleaner

A macOS and Windows policy to clean up FireFox

  • AI
  • Telemetry and studies
  • Sync and sign-in
  • Saving and autofilling passwords, addresses and cards
  • The VPN and other upsells
  • Every search engine except DuckDuckGo
  • Default shortcuts on the new tab page

Everything lives in definition.json. make turns it into the policy files for each platform in build/<platform>/.

Usage

make          # build every platform
make macos    # build/macos/: foxcleaner.mobileconfig, policies.json
make windows  # build/windows/: foxcleaner.reg, foxcleaner-uninstall.reg, policies.json
make clean    # delete build/

Restart Firefox afterwards and check about:policies.

macOS

Open build/macos/foxcleaner.mobileconfig and approve it in System Settings > Device Management, or copy build/macos/policies.json to /Applications/Firefox.app/Contents/Resources/distribution/.

Windows

Double-click build/windows/foxcleaner.reg and accept the UAC prompt. It writes the policies to HKLM\SOFTWARE\Policies\Mozilla\Firefox. This is the same place Group Policy uses, so Firefox updates leave it alone. Installing it replaces anything already under that key. Run foxcleaner-uninstall.reg to remove it.

You can also copy build/windows/policies.json to C:\Program Files\Mozilla Firefox\distribution\ instead. Registry policies take priority if both are present.