Taming Unwanted Firefox Messages on Mac OS X
I use Firefox occasionally on my Mac for some websites where Safari doesn’t cut it. Some sites have render problems and/or sluggish JavaScript. Yesterday I came across a blog article by Vasilis on Taming unwanted Firefox messages. He doesn’t mention it, but these instructions are obviously specific to Linux. So I thought of translating these instructions for Firefox users on Mac OS X.
Turns out there is a technical reason why JSON doesn’t work. They implemented a system based on Mac OS X’s native defaults system instead. There is also documentation on all policy options. My use-case is different from Vasilis’, because I use Firefox interactive. So The lines I ran from the terminal are, to stop the nagging (I put remarks for the settings I didn’t want):
set_firefox() {
sudo defaults write /Library/Preferences/org.mozilla.firefox $1 -bool $2
}
### First enable policies
set_firefox EnterprisePoliciesEnabled TRUE
#set_firefox DisableProfileRefresh TRUE
set_firefox UserMessaging__ExtensionRecommendations FALSE
set_firefox UserMessaging__FeatureRecommendations FALSE
set_firefox UserMessaging__UrlbarInterventions FALSE
set_firefox UserMessaging__SkipOnboarding TRUE
set_firefox UserMessaging__MoreFromMozilla FALSE
set_firefox UserMessaging__FirefoxLabs FALSE
#set_firefox UserMessaging__Locked TRUE
set_firefox IPProtectionAvailable FALSE
#set_firefox DisableAppUpdate TRUE
#set_firefox TranslateEnabled FALSE
### Remove function from environment again
unset -f set_firefox
