mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-05-05 23:27:50 +02:00
284 B
284 B
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.