ابحث في الدعم

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 (رد واحد)
  • 1 has this problem
  • 22 views
  • آخر ردّ كتبه 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