document.attachEvent("onkeydown", my_onkeydown_handler); window.history.forward(1); document.attachEvent("onkeydown", my_onkeydown_handler); function my_onkeydown_handler() { switch (event.keyCode) { case 116: // 'F5' event.returnValue = false; event.keyCode = 0; // window.status = "We have disabled F5"; window.event.cancelBubble = true; break; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)