Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

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

详细了解

How to set the default search engine under Mozilla.cfg for Firefox 38.4.0 ESR

  • 1 个回答
  • 2 人有此问题
  • 31 次查看
  • 最后回复者为 cor-el

more options

Using the following options to set the default Search Engine under Mozilla.cfg doesn't work in Firefox 38.4.0 ESR

pref("browser.search.countryCode", "US"); pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=Google"); pref("browser.search.geoSpecificDefaults", false); pref("browser.search.highlightCount", 0); pref("browser.search.region", "US"); pref("browser.search.selectedEngine", "Google");

Using the following options to set the default Search Engine under Mozilla.cfg doesn't work in Firefox 38.4.0 ESR pref("browser.search.countryCode", "US"); pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=Google"); pref("browser.search.geoSpecificDefaults", false); pref("browser.search.highlightCount", 0); pref("browser.search.region", "US"); pref("browser.search.selectedEngine", "Google");

所有回复 (1)

more options

I think that the data structure is only required if you set the default of a pref via defaultPref();

Did you try this?