[javascript] 새로고침(F5), 전체창(F11) 막기
로빈아빠
본문
<scRIPT LANGUAGE="Javascript">
<!--
function processKey()
{
if( (event.ctrlKey == true && (event.keyCode == 78 || event.keyCode == 82)) ||
(event.keyCode >= 112 && event.keyCode <= 123) || event.keyCode == 8)
{
event.keyCode = 0;
event.cancelBubble = true;
event.returnValue = false;
}
}
document.onkeydown = processKey;
-->
</script>
<!--
function processKey()
{
if( (event.ctrlKey == true && (event.keyCode == 78 || event.keyCode == 82)) ||
(event.keyCode >= 112 && event.keyCode <= 123) || event.keyCode == 8)
{
event.keyCode = 0;
event.cancelBubble = true;
event.returnValue = false;
}
}
document.onkeydown = processKey;
-->
</script>
관련링크
댓글목록
등록된 댓글이 없습니다.