Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

settings from firefox.cfg not applying

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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

Được chỉnh sửa bởi tcosgrove1 vào

Giải pháp được chọn

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/

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

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.