You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2020. It is now read-only.
Content script should query the background page every time user presses a hotkey (while also cancelling the event).
If the hotkey is valid, insert the snippet as before. If the hotkey is invalid, use chrome.debugger to dispatch the hotkey event using the key and code properties as usual. (link)
This will avoid the problem of every tab getting a list of hundreds of snippets and loading it in the tab.
So, the whole thing is almost done in branch performance-improvement. Now, we first need to upgrade the hotkey storage in #140 for v3.6.2 upgrade, and then push this upgrade out in v3.6.3. Reason being chrome debugger doesn't support keyCode but rather only key and code.