<script language="JavaScript"> <!-- function click() { if (event.button==2) {alert('您好,您鼠标右键已被禁止使用'); }} document.onmousedown=click //--> </script>