This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 پاسخ
  • 2 have this problem
  • 31 views
  • آخرین پاسخ توسّط 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");

All Replies (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?