Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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 change the default search provider through prefs.fs file?

  • 1 reply
  • 1 has this problem
  • 22 views
  • Last reply by cor-el

more options

Hello!

I am making an application in c#. This application have to change the default search provider. I tried to edit the file prefs.js. See it:

user_pref("browser.search.defaultenginename", "Doudol");

user_pref("browser.search.defaulturl", "http://doudol.com/index.php?q={searchTerms}");

But did work. Anybody have Any ideia?

Hello! I am making an application in c#. This application have to change the default search provider. I tried to edit the file prefs.js. See it: user_pref("browser.search.defaultenginename", "Doudol"); user_pref("browser.search.defaulturl", "http://doudol.com/index.php?q={searchTerms}"); But did work. Anybody have Any ideia?

All Replies (1)

more options

See:

  • bug 1029148 - store "current search engine" configuration outside of prefs

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html