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);
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.