Is there a list of preferences that can be set with autoconfig?
I am trying to set up all the preferences (home page, show the home icon, show the printer icon, set search engine to google, save to the desktop, etc) on the Mac version of FF 60. I have the autoconfig.js set correctly, as it is recognizing and trusting our local certificate authority.
I also have the policies.json working nicely, and there is a very handy list of all possible settings, on github (https://github.com/mozilla/policy-templates/blob/master/README.md).
I can't seem a similar list for preferences that can be set with autoconfig's javascript files. Google has some stale links, from 14 years ago, but those aren't helping me. This seems to be a major gap in documentation. Please help!
被選擇的解決方法
There are way too many prefs and not all of them appear on the about:config page when they have the default value (i.e are hidden prefs that have a default as set in the Firefox source code).
What features are you interested in?
You can read the comments in the source code for prefs that appear by default on the about:config page.
- https://dxr.mozilla.org/mozilla-release/source/modules/libpref/init/all.js
- https://dxr.mozilla.org/mozilla-release/source/browser/app/profile/firefox.js
Note that there are platform differences.
從原來的回覆中察看解決方案 👍 1所有回覆 (3)
Hi, you are not mentioning how many systems you are trying to do.
You also may want to be running the esr version of Firefox instead. Also group policies would work for you if running multiple systems.
You may want to find out more information for the Enterprise Version :
Should start here with some info :
- https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/
- https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars
So ya please decide if changing direction of version of Firefox and if going the usserChrome or another way as well as what you have mentioned and group policy.
選擇的解決方法
There are way too many prefs and not all of them appear on the about:config page when they have the default value (i.e are hidden prefs that have a default as set in the Firefox source code).
What features are you interested in?
You can read the comments in the source code for prefs that appear by default on the about:config page.
- https://dxr.mozilla.org/mozilla-release/source/modules/libpref/init/all.js
- https://dxr.mozilla.org/mozilla-release/source/browser/app/profile/firefox.js
Note that there are platform differences.
cor-el said
There are way too many prefs and not all of them appear on the about:config page when they have the default value (i.e are hidden prefs that have a default as set in the Firefox source code). What features are you interested in? You can read the comments in the source code for prefs that appear by default on the about:config page. Note that there are platform differences.
AH! So, any of the preferences in about:config can be set in autoconfig.js? So, if I use CCK2 on FFv52 ESR to generate those settings, I can modify one of the .cfg files to add any prefs I see in about:config.
I think I can work with that!
Big help from both of you - thanks!