8/31/2023 0 Comments Shortcut to reopen closed windowMaybe my JavaScript chops are getting a little rusty. In fact, the browser console does not even register a log message for the T key, as denoted by event.ke圜ode 84. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |