<html οncοntextmenu="doNothing()">
<head>
<title>屏蔽鼠标右键</title>
<script type="text/javascript">
function doNothing(){
window.event.returnValue=false;
return false;
}
</script>
</head>
<body οncοntextmenu="doNothing()">
<div style="width:30px;height:30px;background-color:#12aded;"></div>
</body>
</html>
原账号已注销 https://blog.csdn.net/Jim_Carrey/article/details/50801184?spm=1001.2014.3001.5501