鎖滑鼠右鍵
把下列複製至<body>指令後:
<script language="JavaScript">
<!--
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer(){if (event.button == 2 | event.button == 3)
{
alert("右鍵功能已鎖...站長敬啟");}}
// -->
</script>
1. 藍色部份控制碼內容為修改按右鍵後,對話框顯示文字內容
2. 因滑鼠右鍵無法使用,請使用 Ctrl + C 鍵複製控制碼內容