84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Problems encountered when making a chrome plug-in:
Is it possible to monitor shortcut keys (such as ctrl s) when the input focus is on the address bar to operate documents on the page?
Shortcut key registration
{ "name": "My extension", ... "commands": { "toggle-feature-foo": { "suggested_key": { "default": "Ctrl+Shift+5" }, "description": "Toggle feature foo", "global": true } }, ... }
Monitor input
chrome.omnibox.onInputStarted.addListener(function callback)
Change some flags when typing, save them to storage.local, and then detect them during the shortcut onCommand
Shortcut key registration
Monitor input
Change some flags when typing, save them to storage.local, and then detect them during the shortcut onCommand