How to to initialize keyboard event with given char/keycode in a Chrome extension?
Incase anyone has the issue I faced with triggering a keyup with a specific keycode. This is one way. First off I tried @RobW‘s answer above with no luck. No Keycode passed, always undefined. So then I looked into @disya2‘s answer, which did work. So here’s some code:- Manifest “permissions”: [ “debugger” ], ContentScript.js chrome.runtime.sendMessage({ … Read more