JS屏蔽鼠标右键
<html><head><title>禁止点击鼠标右键</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><script language="javascript">function click() {if (event.button==2) { //button==1为左键alert('右键被禁用啦……')}}document.onmousedown=click</script></head><body></body></html>