How to set single key shortcut for using extension?
-
Hi, I want to use this extension with single key shortcut. While the browser doesn't allow me to do so without modifier keys, I know they are for avoiding unintentional triggers but I am ok with that. Is there any workaround for it?
Thanks for your inputs. -
@abhimanyu It looks like that extension uses the chrome.commands API to implement keyboard shortcuts. Unfortunately, that method doesn't allow for single key shortcuts. The only way to make that possible is to move keyboard shortcut handling away from the API to a custom solution.
The extension is open-source and on GitHub, so it would be possible to modify it for that functionality, but that does require some experience.
I made a rough version that allows single key shortcuts in my video speed extension and then further refined it in modifying a spatial navigation extension. I don't know if you have any coding experience, but maybe looking at how someone else did it could help.
-
@nomadic thanks for the help. I don't have any coding knowledge.
For now, mouse clicks will do.
Thanks again. -
Ppafflick moved this topic from Vivaldi for Windows on