为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改