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

搜索 | 用户支持

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

详细了解

Search bar suggestions from Google are broken

  • 7 个回答
  • 9 人有此问题
  • 1 次查看
  • 最后回复者为 longsliver

more options

Updated to 55.2.2, unfortunately Google search suggestions are broken and do not work when searching via Search Bar. "Show Suggestions" is definitely checked. Changing to Bing results in suggestions being displayed as normal. Utilizing Google will only display past searches from my history.

I noticed this started after the last update when Mozilla decided to change the default search provider to Qwant without my permission or knowledge.

Updated to 55.2.2, unfortunately Google search suggestions are broken and do not work when searching via Search Bar. "Show Suggestions" is definitely checked. Changing to Bing results in suggestions being displayed as normal. Utilizing Google will only display past searches from my history. I noticed this started after the last update when Mozilla decided to change the default search provider to Qwant without my permission or knowledge.

被采纳的解决方案

I don't understand why your google.xml is different from the Firefox default. You could ask Waterfox support.

You cannot edit built-in searchplugins. Instead, you can select an alternate search plugin for Google. For example, from:

定位到答案原位置 👍 0

所有回复 (7)

more options

longsliver said

I noticed this started after the last update when Mozilla decided to change the default search provider to Qwant without my permission or knowledge.

Mozilla did no such thing  ! Could it be that you inadvertently downloaded Quant or installed
the add-on  ? Would you check Options => Add-ons => Extensions  ?

more options

Note that you are using an unofficial Waterfox build (55.2.2) instead of an official Firefox build from the Mozilla server that may behave differently.

more options

cor-el said

Note that you are using an unofficial Waterfox build (55.2.2) instead of an official Firefox build from the Mozilla server that may behave differently.

Yes, thanks for mentioning that. It was only in the latest update to 55.2.2 that this occurred. Prior to this it's been working fine for the last several years in every iteration I've ever used

由longsliver于修改

more options

If you have the U.S. English build of Firefox, you can inspect the built-in search plugins using this internal address:

resource:///chrome/en-US/locale/browser/searchplugins/

The google.xml file should have this in the template, which is the address used to fetch suggestions:

<Url type="application/x-suggestions+json" method="GET" template="https://www.google.com/complete/search?client=firefox&q={searchTerms}"/>

Assuming that is present and you are using the default Google search plugin rather than one acquired elsewhere, can you think of any extensions or external filters that could be blocking that feature?

more options

I found this in the google.xml file:

<Url rel="self" type="application/opensearchdescription+xml" template="https://www.google.com/searchdomaincheck?format=opensearch"/>
<Url rel="suggestions" type="application/x-suggestions+json" template="https://www.google.com/complete/search?q={searchTerms}&inputencoding={inputEncoding}&outputencoding={outputEncoding}"/>
<Url type="text/html" template="https://www.google.com/search?q={searchTerms}&ie={inputEncoding?}&oe={outputEncoding?}"/>

The bing.xml file has:

-<Url type="application/x-suggestions+json" template="https://www.bing.com/osjson.aspx"><Param name="query" value="{searchTerms}"/>

<Param name="query" value="{searchTerms}"/>
<Param name="form" value="OSDJAS"/>
<Param name="language" value="{moz:locale}"/>

I am also noticing that Yahoo does not return any results. yahoo.xml looks a lot like google.xml:

<Url rel="results" type="text/html" method="get" template="https://search.yahoo.com/search?p={searchTerms}&fr=opensearch"/>
<Url rel="suggestions" type="application/json" template="https://search.yahoo.com/sugg/os?command={searchTerms}&output=fxjson&fr=opensearch"/>
<Url rel="self" type="application/opensearchdescription+xml" template="https://search.yahoo.com/opensearch.xml"/>

Wikipedia search returns suggestions, and its xml file closely resembles the bing.xml file:

<Url type="application/x-suggestions+json" method="GET" template="https://en.wikipedia.org/w/api.php">
<Param name="action" value="opensearch"/>
<Param name="search" value="{searchTerms}"/></Url>

So am I guessing the google.xml file needs to be edited, any idea how I can go about doing that?

由cor-el于修改

more options

选择的解决方案

I don't understand why your google.xml is different from the Firefox default. You could ask Waterfox support.

You cannot edit built-in searchplugins. Instead, you can select an alternate search plugin for Google. For example, from:

more options

Thank you, I appreciate all of your help guys. I ended up using another plugin to search Google