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

搜索 | 用户支持

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

详细了解

How to remove/disable the cmd+k shortcut to open search

  • 3 个回答
  • 0 人有此问题
  • 7 次查看
  • 最后回复者为 firefox.4y4qn

more options

Hello community I am trying to remove/disable the cmd+k shortcut that opens the search part of the url bar in firefox. I usually just use cmd+l to focus the url bar and just search from there. The cmd+k sometimes interferes with command palettes of websites.

I have looked through a lot of docs and here a couple website talking about disable other keys but it seems much more complicated that I thought it should be.

https://www.math.cmu.edu/~gautam/sj/blog/20220329-firefox-disable-ctrl-w.html

https://support.mozilla.org/bm/questions/948441

Any help would be great!

Hello community I am trying to remove/disable the cmd+k shortcut that opens the search part of the url bar in firefox. I usually just use cmd+l to focus the url bar and just search from there. The cmd+k sometimes interferes with command palettes of websites. I have looked through a lot of docs and here a couple website talking about disable other keys but it seems much more complicated that I thought it should be. https://www.math.cmu.edu/~gautam/sj/blog/20220329-firefox-disable-ctrl-w.html https://support.mozilla.org/bm/questions/948441 Any help would be great!

所有回复 (3)

more options

The CMD+K shortcut in the Firefox web browser is used to open the search bar. If you want to remove or disable this shortcut, you can follow these steps:

Open Firefox and type "about:config" in the address bar.

Click the "I accept the risk!" button to continue.

In the search bar, type "browser.search.openintab".

Double-click on the preference to toggle its value from "true" to "false".

Close the "about:config" tab.

This will disable the CMD+K shortcut for opening the search bar in Firefox. If you want to re-enable this shortcut in the future, simply repeat the above steps and toggle the "browser.search.openintab" preference back to "true".

more options

You can check the "Override keyboard shortcuts" permission on the "Tools -> Page Info -> Permissions" page.

You can try to hold the Shift key in addition and use "Cmd+Shift+K" for the website.

more options

lazizakhmedov1014 said

The CMD+K shortcut in the Firefox web browser is used to open the search bar. If you want to remove or disable this shortcut, you can follow these steps: Open Firefox and type "about:config" in the address bar. Click the "I accept the risk!" button to continue. In the search bar, type "browser.search.openintab". Double-click on the preference to toggle its value from "true" to "false". Close the "about:config" tab. This will disable the CMD+K shortcut for opening the search bar in Firefox. If you want to re-enable this shortcut in the future, simply repeat the above steps and toggle the "browser.search.openintab" preference back to "true".

It was already false. And this setting does not change the cmd+k value action it:

When performing a search from the Search Bar, open the results in a new tab.

https://kb.mozillazine.org/About:config_entries