快捷搜索:

Aboutconfig

The correct title of this article is. It appears incorrectly here due totechnical limitationsin the wiki software.

about:configis a feature of Mozilla applications which lists application settings (known aspreferences) that are read from the profile filesprefs.jsanduser.js, and from application defaults. Many of these preferences are not present in the Options or Preferences dialog. Using about:config is one ofseveral methodsof modifying preferences and adding other hidden ones.

This article is acompanion articleforabout:config entrieswhere the most importantabout:configvariables are described.

Warning: Modifying preferences can, in rare circumstances, break Firefox, Thunderbird or the Mozilla Suite, or can cause strange behavior. Only do so if you know what you are doing or are following trustworthy advice.

Adding modifying and resetting preferences

in the Location Bar (address bar) and press Enter to display the list of preferences, as shown below in Firefox on Windows 7. If you see a page with the warning message,

, click the button labeled I accept the risk or Ill be careful, I promise! to continue. (In fact, there is no warranty whatsoever, its more a joke to ensure that users are aware of what they are about to do.)

Use the checkbox there to avoid the warning in the future.

, about:config is accessed viaTools -

OptionsAdvanced -

General -

Config Editor (button). To access this and other about:* functions more easily in Thunderbird, you can useViewAbout add-on.

Adding modifying and resetting preferences

To add a new preference, context-click (right-click) anywhere in the list of preferences. In the context menu, selectNewthen select the type of preference you are adding.

To modify an existing preference, context-click (right-click) on the preference. For string or integer preferences, selectModifyin the context menu and type in the new value. For boolean (true-false) preferences,Togglewill be the selection offered.

To reset a preference to its default value or to remove an added preference, context-click (right-click) on the preference and selectReset. If you added the entry via about:config, the preference will no longer be listed after restarting the program. (For more information about resetting preferences, seethis article).

You can use the Search bar at the top of theabout:configpage (Filter bar in older versions) to filter the preferences that you want to inspect.The search bar is case-insensitive, unlike the actual configuration variables.

Regular Expressions:Starting with Firefox 3, the Filter bar also accepts wildcards and aregular expressionin the form of/regexp/ito filter preferences.[1]Theiswitch is for ignore case. That is the default for normal searches, but you need to specify it if you want theRegExpmatch to be case insensitive. The RegExp tests for a match ofname;valueof a preference.

Some examples ofregular expressions(RegExp) to filter results

/^security[.]ssl3.*rsasecurity[.].*tls/i

/^(?!gecko[.]handlernetwork[.]IDNnetwork[.]protocolprintsecurity[.]ssl)/i

/^(?=browser[.]dom[.]network[.](?!IDNprotocol))/i

The articleabout:config entriescontains a list of valid about:config entries and their possible values. The article is a reference for what each preference does; it is not the place to actually edit your preferences! (See the sectionOpening about:configabove.)

About protocol links other about: pages.

A Brief Guide to Mozilla Preferences - MDN

How To Modify Hidden Preferences Using about:config MozillaZines step by step guide with screenshots (from )

SeaMonkey Help: Editing config files (from ilias.ca)

Configuration Editor for Firefox(Mozilla Support)

Config Editorfor Thunderbird (Mozilla Support)

Categories:ConfigurationConfiguration (Thunderbird)

This page was last modified 01:59, 10 February 2017. This page has been accessed 11,143,130 times.About MozillaZine Knowledge Base-Disclaimers

您可能还会对下面的文章感兴趣: