Press any key. Get its JavaScript keycode.
I built a free keycode finder: event.key, event.code and keyCode, the if check for any shortcut, and a live keydown/keyup log.
No ads, no sign-up.
markodenic.com/tools/keycode/
Press any key. Get its JavaScript keycode. I built a free keycode finder: event.key, event.code and keyCode, the if check for any shortcut, and a live keydown/keyup log. No ads, no sign-up. markodenic.com/tools/keycode/
0 views
Published on 12/11/2026 21:30
Press any key. Get its JavaScript keycode.
I built a free keycode finder: event.key, event.code and keyCode, the if check for any shortcut, and a live keydown/keyup log.
No ads, no sign-up.
markodenic.com/tools/keycode/
1 comment
?
Showing event.key and event.code side by side is handy, those two trip people up all the time. Does the if check handle combos like Cmd+Shift+K too?