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!

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

set default search engine in Mozilla.cfg

  • 3 balasan
  • 1 ada masalah ini
  • 1 paparan
  • Balasan terakhir oleh Mike Kaply

more options

Hi all, I use mozilla.cfg to customize the deploy of firefox in my LAN so I would like to change the default search engine for all my firefox installation, I don't trust google. Please can I know the settings I have to add to my mozilla.cfg to set the default search engine?

Thank you very much

Best regards

Piviul

Hi all, I use mozilla.cfg to customize the deploy of firefox in my LAN so I would like to change the default search engine for all my firefox installation, I don't trust google. Please can I know the settings I have to add to my mozilla.cfg to set the default search engine? Thank you very much Best regards Piviul

All Replies (3)

more options

After each update, my mozilla.cfg contains the following entry: defaultPref("browser.search.selectedEngine","Google.com"); I used to change it but since I couldn't find the setting in my about:config I have just deleted that entry. (I backup the file before editing it.) I don't have the Google search engine installed and have set another as the default.

more options

See also:

Most Search policies are only available for ESR versions, so it might not be easy to achieve this if there are release versions used (you posted with 78 ESR).

I've moved the thread to Firefox for Enterprise in case Mike Kaply has suggestions.

Diubah oleh cor-el

more options

You can't set the default search engine via mozilla.cfg.

As cor-el indicated, you can set the default search engine via policy but only on the ESR.