[javascript] 複製程式碼程式碼如下: 程式碼如下: <BR>function clickIE4(){ <br> if (event.button==2){ <br> } <BR><BR>函數clickNS4(e) { <BR> if (document.layers||document.getElementById&&!document.all){ <BR> 返回false; <BR> } <BR> } <br>} <br><BR>function OnDeny(){ <BR> if(event.ctrlKey event. && event.keyCode==115){ <BR> 返回false; <BR> document.captureEvents(Event.MOUSEDOWN); <br> document.onmousedown=clickNS4; <br> document.onkeydown=OnDeny(); <BR>}el if.p. usedown=clickIE4; <BR> document.onkeydown= OnDeny(); <BR>} <BR><BR>document.oncontextmenu=new Function("回傳false"); <BR></腳本> <BR> <br><script type="text/javascript"><br>函數clickIE4(){<BR> if (event.button==2){ }<P>} <BR><BR>函數clickNS4(e){<BR> if (document.layers||document.getElementById&&!document.all){<BR> <BR> 回中false;<br> 🎜><br>function OnDeny(){<BR> if(event.ctrlKey || event. keyCode==78 && 事件。ctrlKey | | event.altKey || event.altKey && event.keyCode==115){<BR> 返回false;<BR> }> 🎜> document. captureEvents(Event.MOUSEDOWN);<BR> document.onmousedown=clickNS4;<BR> document.onkeydown=OnDeny(); 文檔。 onmousedown=clickIE4;<BR> document.onkeydown=OnDeny();<br>}<br><BR>document.oncontextmenu=new Function("return false>; ><BR>