We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

I want to disable Ctrl+H keyboard shortcut (toggles History sidebar)

  • 6 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 smartsage77

more options

On my Firefox (in Linux, at least), doing Ctrl+H toggles the History sidebar (opening it on the left side, or, hiding the sidebar completely).

How can I disable this?

Firefox 104.0.2 Linux Mint 20.3

On my Firefox (in Linux, at least), doing Ctrl+H toggles the History sidebar (opening it on the left side, or, hiding the sidebar completely). How can I disable this? Firefox 104.0.2 Linux Mint 20.3

所有回复 (6)

more options

Firefox does not have a built-in feature to disable keyboard shortcuts (with very rare exceptions).

Is the problem that a page that uses Ctrl+H isn't working as expected?

If you just want Ctrl+H to do nothing, maybe one of these add-ons can do it (I don't use these myself):

more options

jscher2000 - Support Volunteer said

Is the problem that a page that uses Ctrl+H isn't working as expected?

Oh, it is working as expected. But every time I hit Ctrl + H is accidental. :) In other words, I don't intend to do Ctrl+H.


jscher2000 - Support Volunteer said

If you just want Ctrl+H to do nothing, maybe one of these add-ons can do it (I don't use these myself):

I guess I could install another extension, but I try to be minimal in my use of addons, especially if tweaking some file in the Firefox code would do the job. :)

more options

If you are into advanced hacking, a startup script can remap keyboard shortcuts. I have a general page on that, but r/FirefoxCSS would be a good place to get a specific recommendation:

more options

This is about the key command with ID "key_gotoHistory".

See this thread for code you can use with autoconfig.js and autoconfig.cfg.

more options

cor-el said

See this thread for code you can use with autoconfig.js and autoconfig.cfg.


Dear cor-el, I found your reply in this "key binds" post that mentions autoconfig.js and autoconfig.cfg: https://support.mozilla.org/en-US/questions/1376993#answer-1505522

由Mozilla cheese 于修改

more options

petergroft said

Steps to disable or enable Ctrl key shortcuts in CMD on Windows 10:

I'm on Linux. :)