<html> <head> <title>阿里西西网页特效 - 禁用鼠标左右键</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <script language="javascript"> function click() { if (event.button==1) { //改成button==2为禁止右键 alert('对不起,禁止使用左键.') } } document.onmousedown=click </script></head> <body> <SCRIPT LANGUAGE="JavaScript"> <!-- hide function goHist(a) { history.go(a); } //--> </script></center> <br> <br> </body> </html> |