Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer
Denna tråd har arkiverats. Ställ en ny fråga om du behöver hjälp.
Arkiverad

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

Mozilla cheese

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

Alla svar (6)

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):

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. :)

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:

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

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

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

Ändrad av Mozilla cheese

petergroft said

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

I'm on Linux. :)