搜尋 Mozilla 技術支援網站

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

了解更多

How can I disable searching when typing a question mark in the awesomebar?

  • 4 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 zeroknight

more options

I use a lot of keyword search engines. This means I can type something like `kagi foobar` to search Kagi for `foobar`. However the awesome bar has a "feature" where if you type a question mark (?) anywhere it instead uses the default search engine. This means that `kagi How do I cook a turkey?` searches my default search engine for "kagi How do I cook a turkey?" rather than searching Kagi (based on the `kagi` keyword). Is there a way to disable this behaviour?

I have searched about:config and "Search Shortcuts" in preferences doesn't have a `?`. I never use `?` as a shortcut to search (I just type the keyword for the engine I want) so completely removing it would be perfect.

I use a lot of keyword search engines. This means I can type something like `kagi foobar` to search Kagi for `foobar`. However the awesome bar has a "feature" where if you type a question mark (?) anywhere it instead uses the default search engine. This means that `kagi How do I cook a turkey?` searches my default search engine for "kagi How do I cook a turkey?" rather than searching Kagi (based on the `kagi` keyword). Is there a way to disable this behaviour? I have searched about:config and "Search Shortcuts" in preferences doesn't have a `?`. I never use `?` as a shortcut to search (I just type the keyword for the engine I want) so completely removing it would be perfect.

被選擇的解決方法

This should be fixed in Firefox 123 by Bug 1667639.

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

所有回覆 (4)

more options

You can install Kagi as a search engine and assign it a keyword which is not affected by question marks.

more options

Thanks, that is a good workaround!

Unfortunately search engines don't sync via Firefox Sync while keyword search engines do, so it doesn't work well for my use case.

more options

You can avoid triggering the default search engine by adding punctuation immediately after the question mark:

kagi How do I cook a tofurkey?.

kagi "How do I cook a tofurkey?"
more options

選擇的解決方法

This should be fixed in Firefox 123 by Bug 1667639.