While just playing with jQuery/JavaScript I ran across this problem. I could capture Alt and Ctrl keys but NOT Del and certainly not all of
I don't think this is possible.
You see, all kinds of user input, be it via keyboard or mouse or whatever IO device, is passed to your application through Windows in the form of messages. However, there are some dedicated messages that are captured and handled at the windows OS level. Ctrl+Alt+Del is one such operation. Windows would not pass on this message any further.
I'm not sure about other operating systems, but I know that on Windows, Ctrl+Alt+Del is a system keystroke, which is intercepted at the top level, always by Windows. As far as I know, it is not passed any further on from there, allowing you to KNOW that whatever comes up from it is official.
I know that for Gnome (and I believe KDE), hitting it pulls up the shutdown dialog, and thus, is captured by the window manager, and not passed on.
So, unless Mac just ignores it, no, you cannot get that particular combination, due to its magic to the OS.
EDIT: just something I noticed, you have alter
not alert
in your code. I don't think it would work either way with it like that.
How can I intercept all key events, including ctrl+alt+del and ctrl+tab?
... probably not.
After searching, I found this, http://www.quirksmode.org/js/keys.html It basically said different browser and different OS will get different behavior for the del key. If Alt+Ctrl+Del is used on Windows, the Windows shows Task Manager before detected, which loses focus which C+A+D is not detected.