Today browsers provide a lot of features and configurations. Mozilla Firefox provides a lot of configurations that can be edited via the Advanced Preferences screen. Advanced Preferences also called about:config
which is used to access Mozilla Firefox configuration screen. By using the about:config address or shortcut we can list, read, change, add, delete different Firefox configurations.
如今,浏览器提供了许多功能和配置。 Mozilla Firefox提供了许多可通过“高级首选项”屏幕进行编辑的配置。 高级首选项也称为about:config
,用于访问Mozilla Firefox配置屏幕。 通过使用about:config地址或快捷方式,我们可以列出,阅读,更改,添加,删除不同的Firefox配置。
什么是about:config? (What Is about:config ?)
Simply the about:config is a shortcut that provides easy access to the Advanced Preferences. about is a term used to access different features of the Mozilla Firefox.
只是about:config是一个快捷方式,可轻松访问“高级首选项”。 关于是用于访问Mozilla Firefox的不同功能的术语。
打开about:config (Open about:config)
The most basic and easy way to open Advanced Preferences is using the about:config
address in the address bar like below. Mozilla Firefox stores different low level and critical configurations in the about:config. So during the access to the about:config Firefox will show a precaution like below. It will simply say Changing advanced configuration preferences can impact Firefox performance or security.
.
打开“高级首选项”的最基本,最简单的方法是使用地址栏中的about:config
地址,如下所示。 Mozilla Firefox在about:config中存储不同的低级和关键配置。 因此,在访问about:config期间,Firefox将显示以下预防措施。 简而言之, Changing advanced configuration preferences can impact Firefox performance or security.
。
about:config
![](https://i-blog.csdnimg.cn/blog_migrate/c720aa68b07c61f830f9838b0f0aa57e.png)
When we click to the Accept the Risk and Continue
we will see the Advanced Preferences screen like below. It will simply provide a text box in order to search the configuration features. As there is a lot of different configuration options search inside them will be very helpful.
当我们单击Accept the Risk and Continue
我们将看到如下的高级首选项屏幕。 它将仅提供一个文本框以搜索配置功能。 由于存在许多不同的配置选项,因此在其中进行搜索将非常有帮助。
![](https://i-blog.csdnimg.cn/blog_migrate/370ff5293649215d1baf79454425ec99.png)
在about:config中列出所有首选项 (List All Preferences In about:config)
By default, none of the configuration preferences are listed for performance and user experience reasons. Alternatively, we can use the Show All
button in order to list all configuration options.
默认情况下,出于性能和用户体验的原因,没有列出任何配置首选项。 或者,我们可以使用“ Show All
按钮以列出所有配置选项。
![](https://i-blog.csdnimg.cn/blog_migrate/464932af81c372f60b8861445152eeb3.png)
The listed configuration options will be shown like below.
列出的配置选项将如下所示。
![](https://i-blog.csdnimg.cn/blog_migrate/7f322391490c929f94d9a04418e01bb3.png)
在about:config中搜索首选项(Search Preferences In about:config)
Let’s start using the about:config in order to search a preference. We will just type some text about the preference option. As an example in order to search and find browser.autofocus
configuration we can type “browser” or “autofocus” which will be list related configurations.
让我们开始使用about:config来搜索首选项。 我们将只键入一些有关首选项的文本。 例如,为了搜索和查找browser.autofocus
配置,我们可以键入“浏览器”或“ autofocus”,这将是与列表相关的配置。
![](https://i-blog.csdnimg.cn/blog_migrate/c38db5921e24a0ef147f3c42dcc6ea67.png)
在about:config中更改首选项(Change Preferences In about:config)
Changing preferences can be different according to the preferred type. Boolean type is used to store information like True and False. Text or number preference will store some alphanumeric characters. In order to change the preference, the right side icon like below can be used.
根据首选类型,更改首选项可以有所不同。 布尔类型用于存储True和False等信息。 文本或数字首选项将存储一些字母数字字符。 为了更改首选项,可以使用如下所示的右侧图标。
![](https://i-blog.csdnimg.cn/blog_migrate/b4e9fcb0257f6035eac67666ca7bf1e0.png)
在about:config中添加首选项(Add Preferences In about:config)
Adding preference is a bit different which is related to the search. We will type the new preference name to the preference search box. If there are matched preferences they will be listed and at the bottom of them, the typed preference will be listed with a plus sign like below. We will just select the type of preference where Boolean, Number, and String are our options. In this example, we will create a preference named mybrowser
and set type as String.
添加首选项有点不同,这与搜索有关。 我们将在首选项搜索框中键入新的首选项名称。 如果存在匹配的首选项,则将列出它们,并在它们的底部,键入的首选项将列出,并带有一个加号,如下所示。 我们将只选择首选项类型,其中布尔,数字和字符串是我们的选项。 在此示例中,我们将创建一个名为mybrowser
的首选项,并将类型设置为String。
![](https://i-blog.csdnimg.cn/blog_migrate/f016094075b28e055bf70387f284476b.png)
We will be asked for the preference value we will put “Just Test” for this example. The last step is clicking OK or check icon like below.
在此示例中,我们将被要求输入首选项值“ Just Test”。 最后一步是单击“确定”或选中如下所示的图标。
![](https://i-blog.csdnimg.cn/blog_migrate/54954fdc451a5e7f487288244d5963e1.png)
在about:config中删除/删除首选项(Remove/Delete Preferences In about:config)
Existing preferences can be easily deleted by using the delete button. We will just navigate to the preference we want to delete. We can list by using the search or listing all preferences. In this example, we will delete the preference named mybrowser
like below.
使用“删除”按钮可以轻松删除现有的首选项。 我们将导航到我们要删除的首选项。 我们可以使用搜索列表或列出所有首选项。 在此示例中,我们将删除名为mybrowser
的首选项,如下所示。
![](https://i-blog.csdnimg.cn/blog_migrate/9929bc94156df4e7ba5b8ab35d5ec883.png)
翻译自: https://www.poftut.com/aboutconfig-configuration-editor-for-mozilla-firefox/