脚本说明: 把如下代码加入<body>区域中 <script language="JavaScript">
if (navigator.appName.indexOf("Internet Explorer") != -1) document.onmousedown = noSourceExplorer; function noSourceExplorer() { if (event.button == 2 | event.button == 3) { alert("禁止右键...去yahoo!"); location.replace("http://www.yahoo.com"); } } </script>
|