KeyboardEvent.which
- UNOFFA legacy KeyboardEvent
property that is equivalent to either KeyboardEvent.keyCode
or KeyboardEvent.charCode
depending on whether the key is alphanumeric.
IE
- 5.5 - 8: Not supported
- 9 - 10: Supported
- 11: Supported
Edge
- 12 - 100: Supported
- 101: Supported
Firefox
- 2 - 99: Supported
- 100: Supported
- 101 - 102: Supported
Chrome
- 4 - 100: Supported
- 101: Supported
- 102 - 104: Supported
Safari
- 3.1 - 4: Not supported
- 5: Support unknown
- 5.1 - 15.3: Supported
- 15.4: Supported
- TP: Supported
Opera
- 9 - 9.6: Support unknown
- 10 - 85: Supported
- 86: Supported
- 87: Supported
Safari on iOS
- 3.2 - 4.3: Support unknown
- 5 - 15.3: Supported
- 15.4: Supported
Opera Mini
- all: Not supported
Android Browser
- 2.1 - 2.2: Support unknown
- 2.3 - 4.3: Supported
- 4.4 - 4.4.4: Partial support
- 101: Supported
Opera Mobile
- 10 - 12.1: Supported
- 64: Supported
Chrome for Android
- 101: Partial support
Firefox for Android
- 100: Partial support
UC Browser for Android
- 12.12: Supported
Samsung Internet
- 4: Not supported
- 5 - 15.0: Partial support
- 16.0: Partial support
QQ Browser
- 10.4: Supported
Baidu Browser
- 7.12: Partial support
KaiOS Browser
- 2.5: Supported
This property is legacy and deprecated. "Some key events, or their values, might be suppressed by the IME in use". On mobile (virtual keyboard), all keys are reported as 229.
- Resources:
- MDN Web Docs - which