HTML\Javascript - get ATL\CTRL\SHIFT key press
<p>Is there the ability to capture any key press? i.e. <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Alt</kbd> key press (with no other key press).</p>

<p>In the snippet below (checked under Chrome), I am able to capture the shift only when other "regular" key was pressed.</p>

<p><strong>UPDATE</strong>:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;script&gt;
        function onKeyPressed(event) {
            event = event || window.event;
            var code = event.keyCode;
            var key = String.fromCharCode(event.keyCode);
            var shift = event.shiftKey;
            var alt = event.altKey;
            var ctrl = event.ctrlKey;
            var which = event.which;
            var str = "code = " + code + "\n" +
                      "key = " + key + "\n" +
                      "shift = " + shift + "\n" +
                      "alt = " + alt + "\n" +
                      "ctrl = " + ctrl + "\n" +
                      "which = " + which;
            alert(str);
        };

        function onClick(event) {
            event = event || window.event;
            var x = event.clientX;
            var y = event.clientY;
            var str = "x = " + x + "\n" +
                      "y = " + y;
            alert(str);
        };

        function onKeyUp(event) {
            alert("onKeyUp");
        };

        function onKeyDown(event) {
            alert("onKeyDown");
        }
    &lt;/script&gt;
&lt;/head&gt;
&lt;body onmousedown="onClick(event)" onkeypress="onKeyPressed(event)" onkeyup="onKeyUp(event)" onkeydown="onKeyDown(event)"&gt;&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>How can those keys be captured?</p>
