Sample chrome.commands.extension

This commit is contained in:
Matthew Wein
2016-03-07 15:21:01 -08:00
parent df875e0189
commit 3feec32b67
3 changed files with 42 additions and 0 deletions
+11
View File
@@ -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.