Bookie
Bookie copied to clipboard
let chrome extension keyboard shortcut be customizable
I want to have the ability to change my keyboard shortcut in the extension options.
I'm all for this, but not sure how best to go about letting the keys be customized since it's basically executed JS code.
https://github.com/mitechie/Bookie/blob/develop/extensions/chrome_ext/shortcut.js
If anyone has any ideas/implantations I'd definitely like to try it out, but making wishlist for now.
See if this helps us get this working. We can include the library in the shipped extension:
https://github.com/madrobby/keymaster
I don't think linking to a third party extension (and thereby, bulking up the Bookie extension ) is necessary. Latest chrome releases allow for the keyboard shortcut (that which triggers the extension's popup page) to be customized in the Keyboard Shortcuts dialog. (chrome://extensions -> Keyboard Shortcuts )
The original workflow can be followed. Instead of clicking on the extension icon, one is allowed to use a key combination now.