演
示
源
代
碼
<script language=JavaScript> if (navigator.appName.indexOf("Internet Explorer") != -1) document.onmousedown = noSourceExplorer; function noSourceExplorer() { if (event.button == 2 | event.button == 3) { alert("
"); location.replace("http://
"); } } </script>
點擊鼠標右鍵到指定頁
警告內容:
轉向網址http://
註釋:放在<body>與</body>之間
當前位置:
首 頁
→
JavaScript
→
鼠標動作
→點右鍵到指定頁
··萬旭網站工作室 設計發佈··