top | item 28625666 (no title) vedosity | 4 years ago The page seems to assume that semicolon's keyCode is 59 so the modifier key in the demo only works with Firefox according to this table on MDN[0]. The keyCode for semicolon varies not only by keyboard layout but also by browser. Mine is 186.[0]: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEve... discuss order hn newest ianthehenry|4 years ago Hey, thanks! TIL. Indeed, I only tested Firefox.
ianthehenry|4 years ago