Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

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

了解更多

About:home search engine, how can i change it to DuckDuckGo?

  • 5 回覆
  • 3 有這個問題
  • 2 次檢視
  • 最近回覆由 josh522

more options

I want to be able to use the DuckDuckGo search engine on the about:config page, but I've tried everything and I can't get it to work.

I have tried the following: 1. Creating a new Firefox profile with all the default settings, no extensions, plugins, custom settings, NOTHING. 2. made DuckDuckGo my default search engine in the search box 3. verified these settings in about:config

browser.search.selectedEngine;DuckDuckGo browser.search.order.1;DuckDuckGo browser.search.defaultenginename;DuckDuckGo

I have restarted the browser multiple times and all i get is a completely unresponsive search box on the about:home page. Nothing happens at all when i click the search button after i set browser.search.defaultenginename to DuckDuckGo.

Please help

I want to be able to use the DuckDuckGo search engine on the about:config page, but I've tried everything and I can't get it to work. I have tried the following: 1. Creating a new Firefox profile with all the default settings, no extensions, plugins, custom settings, NOTHING. 2. made DuckDuckGo my default search engine in the search box 3. verified these settings in about:config browser.search.selectedEngine;DuckDuckGo browser.search.order.1;DuckDuckGo browser.search.defaultenginename;DuckDuckGo I have restarted the browser multiple times and all i get is a completely unresponsive search box on the about:home page. Nothing happens at all when i click the search button after i set browser.search.defaultenginename to DuckDuckGo. Please help

被選擇的解決方法

It must have been a problem with the search plugin.

My search plugin xml file now reads:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>DuckDuckGo</os:ShortName>
<os:Description>Search DuckDuckGo (SSL)</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,*img data removed*</os:Image>
<os:Url type="text/html" method="GET" template="https://duckduckgo.com">
  <os:Param name="q" value="{searchTerms}"/>
  <os:Param name="kd" value="-1"/>
</os:Url>
</SearchPlugin>


The search-box works now!

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Current Firefox versions use the default search engine (pref: browser.search.defaultenginename) to set the search engine that is used on the about:home page.

Check the browser.search.defaultenginename pref on the about:config page.

  • browser.search.defaultenginename

Currently selected search engine:

  • browser.search.selectedEngine

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
more options

I've already tried all of that, but i tried it again just in case, and the search box still doesn't even function now. I can click search and nothing happens after i changed the browser.search.defaultenginename value to DuckDuckGo.

I've gotten it to change back to google, and i can even get it to change to yahoo, but for some reason when I try to use DuckDuckGo, it just breaks the search box.

help

more options

Do you have DuckDuckGo installed as one of the search engines for the search bar on the Navigation Toolbar?

more options

Yes, it's installed. Here's the xml file:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"> <ShortName>DuckDuckGo</ShortName> <Description>Search DuckDuckGo (SSL HTML)</Description> <InputEncoding>UTF-8</InputEncoding> <Image width="16" height="16">data:image/x-icon;base64,*removed*</Image> <Url type="text/html" method="POST" template="https://duckduckgo.com/html/">

 <Param name="q" value="{searchTerms}"/>

</Url> </SearchPlugin>

more options

選擇的解決方法

It must have been a problem with the search plugin.

My search plugin xml file now reads:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>DuckDuckGo</os:ShortName>
<os:Description>Search DuckDuckGo (SSL)</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,*img data removed*</os:Image>
<os:Url type="text/html" method="GET" template="https://duckduckgo.com">
  <os:Param name="q" value="{searchTerms}"/>
  <os:Param name="kd" value="-1"/>
</os:Url>
</SearchPlugin>


The search-box works now!

由 cor-el 於 修改