I've read the API documentation, but I can't find any way to do this.
Do you know if this currently feasible with Chrome's API? Thanks in
advance for your answers!
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
The capturing part is easy -- see
http://groups.google.com/group/chromium-extensions/browse_thread/thread/479b6e0a43c45b60
for some code to get you started. The changing part will probably be
hard. IE makes the "keyCode" property writeable, which would be a
straightforward way to universally transform keyboard input, but I
don't think other browsers do.
Where in your extension code are you transforming keyboard input
(e.g., the user types "a", you output "z")?
If anyone else has any other information, particularly on things
unique to Chrome, please let me know too.
On Jan 28, 9:57 am, Brian Kennish <bkenn...@chromium.org> wrote:
Should we even be overwriting Chrome's default keyboard shortcuts, to
begin with?
If so, what's the best way to do it?
Should we be creating a shortcut set that would never interfere with
Chrome's defaults?
I've been able to get a keyboard shortcut working (http://
code.google.com/p/delicious-chrome-extension/source/browse/trunk/
addDelicious.js)
and it's in use on the following extension:
https://chrome.google.com/extensions/detail/gclkcflnjahgejhappicbhcpllkpakej
But I've been struggling with what keyboard shortcut to use. In some
cases the shortcut provided overwrites Chrome's default (Alt+D), in
other cases it does not (Ctrl+D).
On Jan 28, 1:28 pm, arry <rbysam...@gmail.com> wrote:
> Looking atshortcut.js and keycode.js, it seems that he's had to jump
> through quite a few hoops to be able to intercept browser key events
> for even a simpleshortcutkeycode, Control+Alt-Shift-N; maybe the
Then make it user-configurable.
On Jan 31, 8:32 pm, "Bill.Keller" <sweater...@gmail.com> wrote:
> I'm interested to know what Chrome developers would suggest doing when
> it comes to creating keyboard shortcuts in our extensions. There seems
> to be no guidelines yet in the extension documentation.
>
> Should we even be overwriting Chrome's default keyboard shortcuts, to
> begin with?
> If so, what's the best way to do it?
>
> Should we be creating a shortcut set that would never interfere with
> Chrome's defaults?
>
> I've been able to get a keyboard shortcut working (http://
> code.google.com/p/delicious-chrome-extension/source/browse/trunk/
> addDelicious.js)
> and it's in use on the following extension:https://chrome.google.com/extensions/detail/gclkcflnjahgejhappicbhcpl...