The Edge keyboard shortcut is still taking precedence. I was hoping to 'cancel' the keyboard events using JavaScript so Edge does not reopen the previously open tab or window. SetTimeout(function(), 200) ĭ('keydown', logKeys) ĭ('keypress', logKeys) ĭ('keyup', logKeys)
I got playing around a little bit, trying to circumvent this using JavaScript: Ĭonsole.log(event.type + ': ' + event.ke圜ode) Reference: Keyboard Shortcuts in Microsoft Edge. The problem is Microsoft Edge hooks in to this key combo to reopen the previously closed tab or window, and then switch to it. We have a web application that defines a bunch of keyboard shortcuts.