henrik / bookmarks_bar_keyboard_shortcuts

Chrome/Chromium extension. Trigger the first ten Bookmarks Bar items with Ctrl+1 through Ctrl+0.
https://chrome.google.com/extensions/detail/omgmmhpgegfcifjmhpenmjpignkegpal/
12 stars 6 forks source link

Shortcuts not triggering when no page is loaded in Chrome for Mac #2

Open mbhutton opened 14 years ago

mbhutton commented 14 years ago

The keyboard shortcuts are triggering from most web pages, but they don't trigger when no page is loaded.

To reproduce, either

(A)

(B)

I haven't tested in Win/Linux, so this may or may not be Mac specific.

My environment:

Thanks for sharing this great extension, really useful!

Regards, Matt

henrik commented 14 years ago

I'm afraid the only way to support keyboard shortcuts in Chrome extensions currently is to put them in a content script, which is injected into web pages. So when there is no actual webpage, they don't work.

I would like them to work everywhere, but before that happens, it needs to be supported in Chrome.

I'll leave the ticket open since I do want to fix it if/when it becomes possible.

Thanks!

mbhutton commented 14 years ago

Thanks for the quick and informative response. Hopefully the chrome team adds support for global shortcuts soon.

Cheers