[javascript] 复代码 代码如下: <br>함수 clickIE4(){ <br> if (event.button==2){ <br> return false; <br> } <br>} <br><br>clickNS4(e) 기능{ <br> if (document.layers||document.getElementById&&!document.all){ <br> if (e.which==2 ||e.which==3){ <br> false를 반환합니다. <br> } <br> } <br>} <br><br>함수 OnDeny(){ <br> if(event.ctrlKey || event.keyCode==78 && event.ctrlKey || event.altKey || event.altKey && event.keyCode==115){ <br> false를 반환합니다. <br> } <br>} <br><br>if (document.layers){ <br> document.captureEvents(Event.MOUSEDOWN); <br> document.onmousedown=clickNS4; <br> document.onkeydown=OnDeny(); <br>}else if (document.all&&!document.getElementById){ <br> document.onmousedown=clickIE4; <br> document.onkeydown=OnDeny(); <br>} <br><br>document.oncontextmenu=new Function("return false"); <br> <br>함수 clickIE4(){<br> if (event.button==2){<br> return false;<br> }<br>} <br><br>clickNS4(e) 기능{<br> if (document.layers||document.getElementById&&!document.all){<br> if (e.which==2||e.which==3 ){<br> false 반환;<br> }<br> }<br>}<br><br>함수 OnDeny(){<br> if(event.ctrlKey || event.keyCode==78 && 이벤트. ctrlKey || event.altKey || event.altKey && event.keyCode==115){<br> return false;<br> }<br>}<br><br>if(document.layers){<br> document.captureEvents(Event.MOUSEDOWN);<br> document.onmousedown=clickNS4;<br> document.onkeydown=OnDeny();<br>}else if (document.all&&!document.getElementById){<br> 문서. onmousedown=clickIE4;<br> document.onkeydown=OnDeny();<br>}<br><br>document.oncontextmenu=new Function("return false");<br>