Files
webextensions-examples/commands
2016-03-07 15:21:01 -08:00
..
2016-03-07 15:21:01 -08:00
2016-03-07 15:21:01 -08:00
2016-03-07 15:21:01 -08:00

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.