I am listing you a sample of java script which can block your F11 key in the internet browser. You will need to add the below command line or you can refer for practice also. This scripts disables the F11 key and your browser will not go in full screen mode.
Code:
function onKeyDown() {
if ( (event.altKey) || ((event.keyCode == 8) &&
(event.srcElement.type != "text" &&
event.srcElement.type != "textarea" &&
event.srcElement.type != "password")) ||
((event.ctrlKey) && ((event.keyCode == 82)) ) ||
(event.keyCode == 122) ) {
event.keyCode = 0;
event.returnValue = false;
}
}
</script>
<body onkeydown=onKeyDown()>
Try the above script. Best of luck.
Bookmarks