mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 06:48:37 +02:00
* convert chrome. to browser. Issue #165 * fix browser-polyfill * convert chrome.* to browser.* (#166) * convert chrome.* to browser.* * change chrome to browser * change the callback-style to promise-style * change the callback-style to promise-style
14 lines
290 B
Markdown
14 lines
290 B
Markdown
# commands
|
|
|
|
This extension includes:
|
|
|
|
* a background script, "background.js"
|
|
|
|
All it does is:
|
|
|
|
* register a shortcut (Ctrl+Shift+U) to send a command to the extension (Command+Shift+U on a Mac).",
|
|
|
|
It shows:
|
|
|
|
* how to use browser.commands to register keyboard shortcuts for your extension.
|