HTML+JS语言:
屏蔽用户鼠标右键
01
<html>
02
<head>
03
<title>屏蔽用户鼠标右键
</title>
04
<script
language=
"javascript"
>
05
<!--
06
function
hideContextmenu
(){
07
window
.
event
.
returnValue
=
false;
08
}
09
//-->
10
</script>
11
</head>
12
<body
οncοntextmenu=
'hideContextmenu()'
>
13 屏蔽用户鼠标右键
14
</body>
15
</html>
02
03
04
05
06
07
08
09
10
11
12
13
14
15