I get asked a lot how to disable certain buttons in preferences like Make Firefox the default browser or the various buttons in the Startup groupbox. Firefox does have a way to disable these buttons, but it’s not very obvious. This post will attempt to remedy that.
These buttons are controlled through preferences that have the text “disable_button” in them. Just changing the preference to true isn’t enough, though. The preference has to be locked, either via the CCK2 or AutoConfig. What follows is a mapping of all the preferences to their corresponding buttons.
- pref.general.disable_button.default_browser
- Advanced->General->Make Firefox the default browser
As a bonus, there’s one more preference you can set and lock – pref.downloads.disable_button.edit_actions. It prevents the changing of any actions on the Applications page in preferences.
Leave a Reply