Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

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.