搜尋 Mozilla 技術支援網站

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

Learn More

set default search engine in Mozilla.cfg

  • 3 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 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

所有回覆 (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.

由 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.