X
點擊此處開啟此網站的行動版。

技術支援討論區

about:config configuration export

已張貼

Can the about:config file be exported on a Mac OS running high sierra for comparison purposes?

I can open about:config but can't seem to copy or export the values.

Can the about:config file be exported on a Mac OS running high sierra for comparison purposes? I can open about:config but can't seem to copy or export the values.
引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:66.0) Gecko/20100101 Firefox/66.0

更多資訊

cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

No, there is no way to export all settings shown on the about:config page and there are also hidden prefs that have an assumed default value and will only appear when you would create them. Firefox stores the user set (bold) prefs in the prefs.js file in the profile folder.

No, there is no way to export all settings shown on the <b>about:config</b> page and there are also hidden prefs that have an assumed default value and will only appear when you would create them. Firefox stores the user set (bold) prefs in the prefs.js file in the profile folder. *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles *https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
這篇文章有幫助嗎?
引用

提出問題者

The ability to save or export the configuration of about:config and preferences to transfer configurations of FF to other workstaitons would be an excellent feature.

Can anyone suggest any reason it doesn't exist?

The ability to save or export the configuration of about:config and preferences to transfer configurations of FF to other workstaitons would be an excellent feature. Can anyone suggest any reason it doesn't exist?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

Exporting all prefs wouldn't make sense because a lot of prefs are profile dependent and wouldn't work in another profile and a other prefs store time stamps as you can see if you order the about:config page by Status to get modify prefs at the top. We never recommend copying a file like prefs.js to other profiles. You can look at prefs.js and decide what prefs you would want to backup and copy these to a text file. Preference settings are only for internal use, hence the warning that is displayed when you open this page.

Exporting all prefs wouldn't make sense because a lot of prefs are profile dependent and wouldn't work in another profile and a other prefs store time stamps as you can see if you order the <b>about:config</b> page by Status to get modify prefs at the top. We never recommend copying a file like prefs.js to other profiles. You can look at prefs.js and decide what prefs you would want to backup and copy these to a text file. Preference settings are only for internal use, hence the warning that is displayed when you open this page.
這篇文章有幫助嗎?
引用

提出問題者

Absolutely exporting about:config and preference settings would make sense.

1. A client who has more than one FF browser on different workstations could ensure consistency between all browsers.

2. If any modifications are made a comparison of the configuration can be made.

FF may not be able to perform this function currently but I will make a suggestion to feed back June-1-2019.

Absolutely exporting about:config and preference settings would make sense. 1. A client who has more than one FF browser on different workstations could ensure consistency between all browsers. 2. If any modifications are made a comparison of the configuration can be made. FF may not be able to perform this function currently but I will make a suggestion to feed back June-1-2019.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

You can use Sync to sync some selected prefs among profile.

  • prefs that have a corresponding services.sync.prefs.sync.<pref-name> pref that is set to true will be synced to other devices
  • prefs that have a corresponding services.sync.prefs.sync.<pref-name> pref that is set to false will be excluded from syncing
  • if you want to sync prefs that are currently not included then create a corresponding Boolean sync pref and set its value to true
You can use Sync to sync some selected prefs among profile. * prefs that have a corresponding <b>services.sync.prefs.sync.<pref-name></b> pref that is set to true will be synced to other devices * prefs that have a corresponding <b>services.sync.prefs.sync.<pref-name></b> pref that is set to false will be excluded from syncing * if you want to sync prefs that are currently not included then create a corresponding Boolean sync pref and set its value to true
這篇文章有幫助嗎?
引用

提出問題者

This is more than syncing. This is for an administrator to view alterations in the configuration of FF.

This is more than syncing. This is for an administrator to view alterations in the configuration of FF.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

You can lock prefs via an autoconfig file if you do not want users to change them or if you want to enforce a specific configuration.

You can lock prefs via an autoconfig file if you do not want users to change them or if you want to enforce a specific configuration. *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig *https://github.com/mozilla/policy-templates/blob/master/README.md
這篇文章有幫助嗎?
引用

提出問題者

My main concern is how can I confirm the configuration of a FF configuration compared to other FF I may have on other operating systems like linux Apple or windows.

My main concern is how can I confirm the configuration of a FF configuration compared to other FF I may have on other operating systems like linux Apple or windows.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

You can compare the prefs.js. All prefs that aren't the default have their values stored in prefs.js. Note that some prefs are platform specific and do not appear on other platforms (e.g. Windows Media Foundation media wmf prefs) or can have a different default value. Prefs that store a time stamp as their value also can't be compared because these pref continuously change. You can make a list of important prefs and use this list to scan a prefs.js file and possibly create a new file with only these user_pref() lines.

You can compare the prefs.js. All prefs that aren't the default have their values stored in prefs.js. Note that some prefs are platform specific and do not appear on other platforms (e.g. Windows Media Foundation media wmf prefs) or can have a different default value. Prefs that store a time stamp as their value also can't be compared because these pref continuously change. You can make a list of important prefs and use this list to scan a prefs.js file and possibly create a new file with only these user_pref() lines.
這篇文章有幫助嗎?
引用

提出問題者

The pref.js contains more than the configuration of FF There is also more than one pref.js on my Mac OS running high sierra.

The recommendation I sent on June-1-2019 is for a export of FF configuration which only includes changes made to about:config and preference changes.

You mentioned that pref.js is platform specific which is not of any purpose to knowing the configuration of FF.

Here a partial example of my pref.js it has items that are not part of the configuration of FF but the operation of FF.

// Mozilla User Preferences

// DO NOT EDIT THIS FILE. // // If you make changes to this file while the application is running, // the changes will be overwritten when the application exits. // // To change a preference value, you can either: // - modify it via the UI (e.g. via about:config in the browser); or // - set it within a user.js file in your profile.


user_pref("browser.migration.version", 80);

user_pref("browser.safebrowsing.provider.google4.lastupdatetime", "1559947191673"); user_pref("browser.safebrowsing.provider.google4.nextupdatetime", "1559948965673"); user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20190504212614");

The pref.js contains more than the configuration of FF There is also more than one pref.js on my Mac OS running high sierra. The recommendation I sent on June-1-2019 is for a export of FF configuration which only includes changes made to about:config and preference changes. You mentioned that pref.js is platform specific which is not of any purpose to knowing the configuration of FF. Here a partial example of my pref.js it has items that are not part of the configuration of FF but the operation of FF. // Mozilla User Preferences // DO NOT EDIT THIS FILE. // // If you make changes to this file while the application is running, // the changes will be overwritten when the application exits. // // To change a preference value, you can either: // - modify it via the UI (e.g. via about:config in the browser); or // - set it within a user.js file in your profile. user_pref("browser.migration.version", 80); user_pref("browser.safebrowsing.provider.google4.lastupdatetime", "1559947191673"); user_pref("browser.safebrowsing.provider.google4.nextupdatetime", "1559948965673"); user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20190504212614");
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8583 個解決方法 70219 個答案

mace2 said

The pref.js contains more than the configuration of FF There is also more than one pref.js on my Mac OS running high sierra.
...
Here a partial example of my pref.js it has items that are not part of the configuration of FF but the operation of FF.

You should find exactly one prefs.js file in each profile.

The items you mention are considered "modified" in about:config, so prefs.js and about:config are consistent in that regard. Obviously a lot of those are not important for configuring Firefox. However, I don't know who has the patience to sit down and write a filter for the file. Perhaps you?

''mace2 [[#answer-1228374|said]]'' <blockquote> The pref.js contains more than the configuration of FF There is also more than one pref.js on my Mac OS running high sierra. <Br>...<br> Here a partial example of my pref.js it has items that are not part of the configuration of FF but the operation of FF.</blockquote> You should find exactly one prefs.js file in each profile. The items you mention are considered "modified" in about:config, so prefs.js and about:config are consistent in that regard. Obviously a lot of those are not important for configuring Firefox. However, I don't know who has the patience to sit down and write a filter for the file. Perhaps you?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17351 個解決方法 156825 個答案

For the troubleshooting information page there is a PREFS_WHITELIST filter available for including some pref branches.

  • resource://gre/modules/Troubleshoot.jsm
For the troubleshooting information page there is a PREFS_WHITELIST filter available for including some pref branches. *resource://gre/modules/Troubleshoot.jsm
這篇文章有幫助嗎?
引用

提出問題者

That does not solve the issue. There are values that do not involve the configuration of FF. Also the file is not the same for all O.S.'s

That does not solve the issue. There are values that do not involve the configuration of FF. Also the file is not the same for all O.S.'s
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題