Web browsers fail to capture windows key shortcut. For instance, Windows key + D displays the desktop.
However, in the browser, JS could only detect the keydown event of the Windows key, but is not able to capture the keyboard event of D or the keyup event of the windows key.
What's the deep reason behind it? Is there any document explaining it?
Not an ideal answer but you might need to edit the Windows Registry for this to happen.