As a tmux user, there is a lot of Ctrl+b going on. Also a lot of Firefox.
It's safe to say I never, ever want to see the book mark vertical bar. No interest. Never had any in 20 years of computer use.
Is there any way to disable Ctrl+b in Firefox without using a plug-in?
I've been able to disable the Ctrl+B
shortcut by using the Shortkeys extension.
Its configuration can be a little cumbersome, so here's a quick guide:
about:addons
), click the ...
menu next to the Shortkeys entry, and select "Preferences"Note: This only works in the context of a web page. The default Firefox action will still execute if you press Ctrl+B
while the cursor is e.g. in the URL bar or the search bar. But for me it's a great improvement already!
Since Firefox 72, this needs to be done with autoconfig.js. See Firefox documentation and example usage.
OLD WAY: This can be accomplished using userChrome.js
Use the following code:
var key = document.getElementById('viewBookmarksSidebarKb');
if (key) key.remove();
Credit - I found this thanks to this answer https://superuser.com/questions/1318336/how-to-disable-ctrlq-shortcut-in-firefox-on-linux/1348082#1348082
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With