mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-05-06 07:37:53 +02:00
Sample chrome.commands.extension
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# open-my-page
|
||||
|
||||
This extension includes:
|
||||
|
||||
* a background script, "background.js"
|
||||
|
||||
All it does is: registers a shortcut (Ctrl+Shift+Y) to send an onCommand event (Command+Shift+Y on a Mac).",
|
||||
|
||||
It shows:
|
||||
|
||||
* how to use chrome.commands to register a keyboard shortcut for your extension.
|
||||
Reference in New Issue
Block a user