How to disable F1 key?
<p>I want to disable <kbd>F1</kbd> key. I tried to do it, but it's not working in Chrome.</p>

<pre><code>document.onhelp=function() {return false;};
window.onhelp=function() {return false;};
</code></pre>