I just need to auto clicked F11 when my page is load in Jquery.
Below code is working when i press F11, but i need to auto press F11.
$(document).keyup(function(e){
if(e.which==122){
e.preventDefault();
alert('F11 pressed');
return false;
}
});