This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 6 replies
  • 0 have this problem
  • 19 views
  • Last reply by 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

All Replies (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

Modified by Mozilla cheese

more options

petergroft said

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

I'm on Linux. :)