Firefox: change/disable default keyboard shortcut configuration

I have installed the Keyconfig add-on and configured it to toggle Offline Mode on Firefox, whenever I press Ctrl + Shift + O. It worked fine on previous versions of Firefox (before version 28.0).

However, now, when I have the Developer Tools pane open, pressing Ctrl + Shift + O causes the pane to switch to the Toolbox Options tab and consequently my 'toggle offline' option does not get triggered. (This happens only when the keyboard is 'focused' on the Developer Tools pane; if I'm actually working on a web page (i.e. some web page element is in focus), Ctrl + Shift + O always works regardless of whether the Developer Tools pane is open or not.)

I don't think a plugin or add-on would help in this regard, because the Ctrl + Shift + O shortcut assignment seems to be part of Firefox's Developer Tools pane itself. (After all, Keyconfig, via which I customized that shortcut, is also an add-on!)

As such, I'm looking for a possible way of altering the configurations of the Developer Tools toolbox (or Firefox itself, for that matter) in order to regain control of my keyboard shortcut Ctrl + Shift + O. (Well, I know it would be easier to change my shortcut to a different one, but I'm so accustomed to pressing Ctrl + Shift + O whenever required, that I cannot get rid of it now. :) ) I have been looking up the issue on the web for quite a long time, but still could not arrive at a satisfactory solution.

Any ideas/suggestions are highly appreciated.


Extensions you can use with Firefox Quantum: Saka Key, Shortkeys

However any extension seems to be limited and does not work in various situations:

  • privileged pages such as https://addons.mozilla.org/
  • new tab page,
  • internal pages such as about:config,about:newtab,about:addons
  • outside of the webpage such as in the url bar/ search bar
  • before the page has finished loading

So from time-to-time your keyboard shortcuts will stop working, and you might run a totally different command that does something bad. Thanks Mozilla.

Credit: the list of limitations was gathered from the project pages of the two extensions.

Complex options requiring coding skills

  • userChrome.js for example the following code to remove the Ctrl+B keybinding. (Credit)
var key = document.getElementById('viewBookmarksSidebarKb');
if (key) key.remove();
  • Write your own js, see code at bottom var _mappings = { (and paste it into [Browser Console] after you launch Firefox)

  • Binary hacking firefox (re-run the hack script after every Firefox upgrade)


Time to refresh the answer. The official support page now is good enough and also points to a new extension to customize kyeboard shortcuts called Saka that's experimental but kind of official and works great for me (Firefox 60 developer edition / Ubuntu Linux)