Add Support for More Shortcut Keys (e.g., the slash (/) key) in the commands Manifest Key
Categories
(WebExtensions :: Frontend, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: bugzilla-2, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
The commands manifest key only supports a short list of potential shortcut keys as described at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands#Shortcut_values.
I made an extension that uses the shortcut Ctrl+/ to duplicate tabs prior to the advent of WebExtensions and subsequently ported it to utilize WebExtension technology.
Continuing to use this shortcut has required using the |<all_urls>| |permissions| manifest key permission in conjunction with the JavaScript |addEventListener| method being called in all pages and has the side effect that the shortcut no longer works on browser pages (e.g., about: pages) where it prior to the advent WebExtensions.
Expected results:
More keyboard shortcut options should be supported so that extension authors can reduce the number of permissions required solely to enable additional such shortcuts.
Note: There are already bugs filed specifically requesting support for the semicolon (bug 1396273) and tab (bug 1364251) keys as shortcut keys.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'WebExtensions::Frontend' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Description
•