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

搜索 | 用户支持

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

详细了解

Search engine multiple comma-separated keywords not working

  • 3 个回答
  • 0 人有此问题
  • 3 次查看
  • 最后回复者为 Scoox

more options

This issue was previously discussed on Reddit, please refer to the Reddit post for a very detailed description.

In Firefox > Settings > Search > Search Shortcuts some search engines a have pre-defined search keyword or keywords (mulitple) in some case. For example, DuckDuckGo has two pre-defined keywords:

@duckduckgo, @ddg

Where multiple keywords are present, they are comma-separated. Then, in then search bar, users can type @duckduckgo or @ddg and, either way, Firefox will use DuckDuckGo to perform the search. However, if I add multiple custom keywords, such as:

@duck, @searchduck

the keyword list now displays:

@duck, @searchduck, @duckduckgo, @ddg

but for some reason Firefox interprets the whole "@duck, @searchduck" string as one keyword, rather than "@duck" and "@searchduck" separately. It seems this is broken, so for now I'll just use a single custom keyword, but it would be nice if I could use multiples. Thanks!

''This issue was [https://www.reddit.com/r/firefox/comments/z4ilr6/how_to_add_multiple_keywords_to_a_search_engine/ previously discussed on Reddit], please refer to the Reddit post for a very detailed description.'' In ''Firefox > Settings > Search > Search Shortcuts'' some search engines a have pre-defined search keyword or keywords (mulitple) in some case. For example, DuckDuckGo has '''two''' pre-defined keywords: @duckduckgo, @ddg Where multiple keywords are present, they are comma-separated. Then, in then search bar, users can type @duckduckgo or @ddg and, either way, Firefox will use DuckDuckGo to perform the search. However, if I add multiple custom keywords, such as: @duck, @searchduck the keyword list now displays: @duck, @searchduck, @duckduckgo, @ddg but for some reason Firefox interprets the whole "@duck, @searchduck" string as one keyword, rather than "@duck" and "@searchduck" separately. It seems this is broken, so for now I'll just use a single custom keyword, but it would be nice if I could use multiples. Thanks!
已附加屏幕截图

所有回复 (3)

more options

Found this confirmed bug report from Oct 2021, but no activity.

  • 1738492 - You cannot assign multiple short names to a search engine

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html You can vote for a bug to show your interest
https://bugzilla.mozilla.org/page.cgi?id=voting.html

more options

Note that the title of the column is "Keyword" singular, the built-in ones gives the appearance of multiple keywords but there can only be one custom keyword.

more options

zeroknight said

Note that the title of the column is "Keyword" singular, the built-in ones gives the appearance of multiple keywords but there can only be one custom keyword.

I hadn't noticed that but then that is inconsistent with the fact that multiple keywords are actually supported, it's just that currently only one user-defined keyword is supported. Besides, the user-defined keyword may contain spaces, but (key)word by definition is a string of characters not containing whitespace, otherwise it'd be called a keyphrase I suppose.