Hi,
Is it possible to make a global keyboard shortcut for a chrome
extension? Based on the API documentation, I don't think that it is.
If not, are there plans to?
I realize that you can get some semblance of this by adding a content
script to each page, but that only covers cases where the content area
is focused.
Two example use cases that I can think of where this is necessary:
1. Extensions which manipulate tabs. For example, say I wanted to be
able to add a keyboard shortcut that would group tabs by domain, or
sort them in alphabetical order, etc. Such a shortcut shouldn't apply
only when the content area is focused.
2. An extension which adds a keyboard shortcut that moves focus to
the content area.
Ideally, the API would be as simple as:
chrome.addGlobalShortcut("<C-y>", function() {...});
This would be incredibly useful.
Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---