搜尋 Mozilla 技術支援網站

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

了解更多

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?