views:

1

answers:

0

Can I listen to hotkeys with safari extension?

I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.

You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject scripts and style sheets into webpages.

No single word about hotkeys, and google doesn't find any article about that. So is it possible at all? If it is possible, where can I get additional info?