Editing configurationFrom MozillaZine Knowledge BaseMozilla applications are highly customizable, and there are a number of ways to change their appearance and behavior, such as through extensions and themes. Basic settings can be changed using the application's own dialog boxes. The main Options or Preferences dialogs can be reached from the "Tools" or "Edit" menus (see menu differences in Windows, Linux, and Mac). This article describes more advanced methods of customizing Mozilla applications, by editing the configuration files.
[edit] Modifying preferencesPreference settings that are modified from default values are saved in the prefs.js file. Instead of directly editing this file, Mozilla applications include a configuration editor that can be accessed from the application interface. [edit] about:configTo modify a preference in a browser application such as Firefox or SeaMonkey, type about:config into the Location Bar (address bar) and press Enter. In Thunderbird, choose Tools –> Options –> Advanced –> General and press the Config Editor... button. You will be brought to a long list of preferences. To change an existing preference, double click on it. To add a new preference, context click (right-click on most systems) anywhere and choose New and the type of preference. You will be prompted for the preference name and initial value. For more detailed information, see the about:config article. While it's easier to use about:config for a single profile, it may be easier to use a user.js file if you need to make the same changes in many profiles (see the linked article for more information). [edit] Developer ToolbarStarting in Firefox 16 [1], now you can modify preferences from Developer Toolbar (Tools -> Web Developer -> Developer Toolbar) using the command line pref set <preference name> <value> for example pref set javascript.enabled false To reset a preference to its default value, use command line pref reset <preference name> To show current value of a preference, use command line pref show <preference name> [edit] Modifying appearanceTo modify the way in which Web pages and e-mails are displayed, you should edit the userContent.css file. To modify the appearance of the application itself, you should edit the userChrome.css file. [edit] How to edit configuration files[edit] ChromEdit extensionThe ChromEdit Plus extension provides a convenient way of editing your configuration files. ChromEdit Plus is an unofficial, updated version of the original ChromEdit extension [2], with more features. [edit] Manual editingIf instead you choose to edit your configuration files using your own text editor, you should consult the Manual editing advice. [edit] TroubleshootingIf you experience problems when editing configuration files, consult the Troubleshooting article. [edit] See also[edit] External links |