5

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.

  • Have you tried the ShortKeys addon? It seems to need many permissions, so I've not installed it, myself. – DrMoishe Pippik Nov 28 '17 at 17:36
  • @DrMoishePippik shortkeys is not working. Thanks for the suggestion though. – Marcel Nov 28 '17 at 19:45
5

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.