■ 語法主題:鎖滑鼠右鍵(1)

■ 控制碼內容:
將下面複製至 <body> 標籤後
<script language="JavaScript">
<!--
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer(){if (event.button == 2 | event.button == 3)
{
alert("右鍵功能已無法使用\n....................站長敬啟");}}
// -->
</script>

1.按滑鼠右鍵後會顯示自設的對話框
2.因滑鼠右鍵無法使用,請使用Ctrl+C鍵複製控制碼內容