Keyboard Commands
commandsTechnical Context
Allows the extension to register global keyboard shortcuts that work across the browser. Users can customize these shortcuts through chrome://extensions/shortcuts.
What This Means For You
The extension can respond to keyboard shortcuts you press, even when you are not clicking on it. You can customize these shortcuts in Chrome's extension settings.
Related APIs
This permission enables access to these Chrome APIs:
chrome.commandsCommon Use Cases
- ✓Quick-access tools
- ✓Screenshot extensions
- ✓Productivity apps
How to Declare in manifest.json
Add the "commands" permission to your extension manifest:
{
"manifest_version": 3,
"name": "My Extension",
"permissions": [
"commands"
]
}Related Permissions
Side Panel
sidePanelThis provides a sidebar companion that stays open while you browse, making it perfect for taking notes or doing research. It prevents you from having to constantly click an icon to reopen the extension's window.
Context Menus
contextMenusThe extension can add new options to the menu that appears when you right-click on a page. This makes it easy to use the extension's features without leaving what you are doing.
Notifications
notificationsThe extension can show popup notifications on your desktop even when Chrome is minimized. This is useful for alerts and reminders but can be annoying if overused.
Omnibox
omniboxThe extension adds a special keyword you can type in the address bar to access its features quickly. For example, typing "dict word" might look up a definition.
Theme
themeThe extension can change how Chrome looks, like the colors of tabs and toolbars. It cannot see what websites you visit or read any of your data.