commands

Define commands and bind them to a keyboard shortcut.

Types

commands.Command
Object representing a command.

Functions

commands.getAll
Get all commands registered by this extension.

Events

commands.onCommand
Fired when a command is executed using the associated keyboard shortcut.

Browser compatibility

Chrome incompatibilities

None.

Example add-ons

Acknowledgements

This API is based on Chromium's chrome.commands API.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,