Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

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

Open
mbhutton opened this issue Feb 12, 2010 · 2 comments
Open

Comments

@mbhutton
Copy link

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

To reproduce, either

(A)

  • Open a new tab

  • Press Ctrl-1 to activate the first bookmark(let)

  • (Doesn't trigger)

    or...

(B)

  • Type about:blank into the address bar and press
  • Press Ctrl-1 to activate the first bookmark(let)
  • (Doesn't trigger)

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

My environment:

  • Bookmarks Bar Keyboard Shortcuts Version: 1.2
  • Google Chrome Beta for Mac 5.0.307.7 (latest beta release for Mac)
  • Mac OS X 10.6.2 (latest Mac OS X)

Thanks for sharing this great extension, really useful!

Regards,
Matt

@henrik
Copy link
Owner

henrik commented Feb 12, 2010

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
Copy link
Author

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

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants