I want keystrokes to trigger some javascript code. I found Capture key press without placing an input element on the page? and it works, except that the browser gets those keystrokes, too, and does a lot of unwanted things, for example, it starts "Quick Find" and takes the focus away.
So how can I tell the browser to ignore a range of keys for a specific window?