搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 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: