Is it possible to disable a single keyboard shortcut in firefox quantum? I would very much like to disable
ctrl-n (or at least be able to capture and
event.preventDefault() it) in firefox 57. Previous solutions use add ons that do not support firefox quantum.
Overwriting existing keybinds is not supported in Firefox Quantum (yet).
If a key combination is already used by the browser (for example, "Ctrl+Shift+R"), or by an existing add-on, then you can't override it. You will be allowed to define it, but your event handler will not be called when the user enters it.
See this bug report for more information.