I want to disable Ctrl+H keyboard shortcut (toggles History sidebar)
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)
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.
- /questions/1376993 Key binds
cor-el said
See this thread for code you can use with autoconfig.js and autoconfig.cfg.
- /questions/1376993 Key binds
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
Измењено
petergroft said
Steps to disable or enable Ctrl key shortcuts in CMD on Windows 10:
I'm on Linux. :)