Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

cfg-files with FF65 RR not working with browser.startup.homepage

  • 1 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: cor-el

more options

So, I am deploying the FF65, the RR version - somehow since FF62 there seems to be an issue with the cfg-files. Or did I miss something? I know that the ESR now supports the GPOs, but I am trying to use the latest version.

I have tried to use (i.e I have used "faz.net" for website):

ABC("browser.startup.homepage","https://www.faz.net"); ABC("startup.homepage_override_url","https://www.faz.net"); ABC("startup.homepage_welcome_url","https://www.faz.net");

whereas I used for ABC the listed parameters: lockPref DefaultPref Pref

None of those 3 sets work, the other settings are set. If I verify these settings on "about:config" the above listed entries show "about:homepage" and "about:welcome".

Would anyone of you be able to verify this please? Any ideas how to solve this? Thank you.

So, I am deploying the FF65, the RR version - somehow since FF62 there seems to be an issue with the cfg-files. Or did I miss something? I know that the ESR now supports the GPOs, but I am trying to use the latest version. I have tried to use (i.e I have used "faz.net" for website): ABC("browser.startup.homepage","https://www.faz.net"); ABC("startup.homepage_override_url","https://www.faz.net"); ABC("startup.homepage_welcome_url","https://www.faz.net"); whereas I used for ABC the listed parameters: lockPref DefaultPref Pref None of those 3 sets work, the other settings are set. If I verify these settings on "about:config" the above listed entries show "about:homepage" and "about:welcome". Would anyone of you be able to verify this please? Any ideas how to solve this? Thank you.

모든 댓글 (1)

more options

The function names are case sensitive as is a requirement fir JavaScript. I think that lockPref() should work. The defaultPref() function call needs special handling for localized (complex) prefs.

  • defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.faz.net");
defaultPref();	// set new default value, requires special data: format for localized prefs
pref();	// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

The autoconfig.js file in the "defaults/pref" folder (same folder as channel-prefs.js).

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

The autoconfig.cfg and autoconfig.js files need to start with a comment line (//).

See also: