Hacker News new | ask | show | jobs
by alasdairking 33 days ago
This bug comes from a programmer trying to fix one problem - users press Control S and get a save dialog - by altering some fundamental and bug-prone behaviour.

Imagine the damage programmers could do if they had more options to meddle easily! They have low-level APIs if they need them to hook keys. Best leave it at that.

Meanwhile, there is the accesskey attribute in HTML to let you customise shortcut keys: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

1 comments

> the accesskey attribute

Holy crow what a mess. No wonder I'd never heard of this.