JavaScript keyCode Reference

By Dag, on December 30th, 2016

This list is quoted from www.javascript.net for reference.
Common key codes that are relatively safe to use across browsers are shown in black.
Key codes that differ across browsers are shown in red.
Do not use this table for character codes of keypress events: keypress character codes
are not key-specific and may be entirely different from keydown/keyup key codes.