搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

settings from firefox.cfg not applying

  • 2 回覆
  • 1 有這個問題
  • 116 次檢視
  • 最近回覆由 tcosgrove1

more options

I am attempting to change configuration settings for all users in Firefox 60.4.0. I am currently deploying on Windows 10 (1803).

The autoconfig file sits here: C:\Program Files\Mozilla Firefox\defaults\pref and is written as follows:

pref("general.config.obscure_value", 0); 
pref("general.config.filename", "firefox.cfg");

The firefox.cfg file sits here: C:\Program Files\Mozilla Firefox and is written as follows:

//Firefox Default Settings

// set Firefox Default homepage

pref("browser.startup.homepage","https://www.google.com");

// disable default browser check

pref("browser.shell.checkDefaultBrowser", false); 

pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates

pref("app.update.auto", false); 
pref("app.update.enabled", false);

// disables the 'know your rights' button from displaying on first run

pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying

pref("toolkit.telemetry.prompted", 2); 
pref("toolkit.telemetry.rejected", true);

// enables proxy auto detect

pref("network. enablePad", true);

//force prompt for download location every time

pref("browser.download.useDownloadDir", false)

//set proxy setting to 'Auto-detect proxy settings for this network'

pref("network.proxy.type", 5);


None of these preferences are set when I check about:config in my firefox browser. Any insight would be helpful

I am attempting to change configuration settings for all users in Firefox 60.4.0. I am currently deploying on Windows 10 (1803). The autoconfig file sits here: C:\Program Files\Mozilla Firefox\defaults\pref and is written as follows: pref("general.config.obscure_value", 0); pref("general.config.filename", "firefox.cfg"); The firefox.cfg file sits here: C:\Program Files\Mozilla Firefox and is written as follows: //Firefox Default Settings // set Firefox Default homepage pref("browser.startup.homepage","https://www.google.com"); // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.auto", false); pref("app.update.enabled", false); // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true); // enables proxy auto detect pref("network. enablePad", true); //force prompt for download location every time pref("browser.download.useDownloadDir", false) //set proxy setting to 'Auto-detect proxy settings for this network' pref("network.proxy.type", 5); None of these preferences are set when I check about:config in my firefox browser. Any insight would be helpful

由 tcosgrove1 於 修改

被選擇的解決方法

When you go to about:config, do you see the values for general.config.filename and general.config.obscure_value?

I did a blog post that should give you tips on debugging this

https://mike.kaply.com/2016/09/08/debugging-firefox-autoconfig-problems/

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

When you go to about:config, do you see the values for general.config.filename and general.config.obscure_value?

I did a blog post that should give you tips on debugging this

https://mike.kaply.com/2016/09/08/debugging-firefox-autoconfig-problems/

more options

Thank you for the suggestions, you guided me to the source of my problem.

general.config.filename was set to cert.cfg which I was finding from another .js file in the pref folder. That file is being applied by our Group Policy. If I remove the file, the Firefox applies the settings from my .js file.