Chrome Eats Javascript Keydown Event Handler On F11 Key Press, When Browser Is Already In Full Screen Mode
Chrome is eating F11 key press event when the browser is already in full screen mode. $(document).on('keydown', function(e) { console.log(e.keyCode); }); Above code prints t
Solution 1:
Chrome prevents this key detection, and not by accident. This is to prevent developer's code from forcing the user to stay in full screen. When Chrome is in full screen mode, there is no way to prevent clicking F11 via Javascript.
Post a Comment for "Chrome Eats Javascript Keydown Event Handler On F11 Key Press, When Browser Is Already In Full Screen Mode"