Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active February 25, 2026 12:26
Show Gist options
  • Select an option

  • Save avoidik/0e5319b71188bdfce12930f13d8a3138 to your computer and use it in GitHub Desktop.

Select an option

Save avoidik/0e5319b71188bdfce12930f13d8a3138 to your computer and use it in GitHub Desktop.
Firefox policies
{
"policies": {
"DisableTelemetry": true,
"DisableFirefoxStudies": true,
"ManualAppUpdateOnly": true,
"AutofillAddressEnabled": false,
"AutofillCreditCardEnabled": false,
"DisableFormHistory": true,
"NetworkPrediction": false,
"OfferToSaveLogins": false,
"OfferToSaveLoginsDefault": false,
"SearchSuggestEnabled": false,
"DisableBuiltinPDFViewer": true,
"DontCheckDefaultBrowser": true,
"DisablePocket": true,
"SearchBar": "separate",
"UserMessaging": {
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false,
"SkipOnboarding": true,
"MoreFromMozilla": false,
"FirefoxLabs": true,
"Locked": false
},
"FirefoxSuggest": {
"WebSuggestions": false,
"SponsoredSuggestions": false,
"ImproveSuggest": false,
"Locked": false
},
"GenerativeAI": {
"Enabled": false,
"Chatbot": false,
"LinkPreviews": false,
"TabGroups": false,
"Locked": false
}
}
}
@avoidik
Copy link
Author

avoidik commented Aug 9, 2024

@avoidik
Copy link
Author

avoidik commented Sep 23, 2024

MacOS

$ mkdir -p /Applications/Firefox.app/Contents/Resources/distribution
$ curl -fsSL https://gist.githubusercontent.com/avoidik/0e5319b71188bdfce12930f13d8a3138/raw/0c5068e499d9b33c5b9dc7a2257138b4b9494964/policies.json \
  -o /Applications/Firefox.app/Contents/Resources/distribution/policies.json
# ~/.bash_aliases
alias firefox-policies='mkdir -p /Applications/Firefox.app/Contents/Resources/distribution; curl -fsSL https://gist.githubusercontent.com/avoidik/0e5319b71188bdfce12930f13d8a3138/raw/0c5068e499d9b33c5b9dc7a2257138b4b9494964/policies.json -o /Applications/Firefox.app/Contents/Resources/distribution/policies.json'

Linux

# mkdir -p /etc/firefox/policies
# curl -fsSL https://gist.githubusercontent.com/avoidik/0e5319b71188bdfce12930f13d8a3138/raw/0c5068e499d9b33c5b9dc7a2257138b4b9494964/policies.json \
  -o /etc/firefox/policies/policies.json

@avoidik
Copy link
Author

avoidik commented Aug 12, 2025

Windows - create a distribution directory and put policies.json file in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment