javascript当中document方法
2.document方法
例 2.1(documentBodyEventIEFF.html)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</HEAD>
<body>
</body>
<script>
document.onmousedown = function() {
alert("don't 拷贝!")
document.body.style.backgroundColor='red';
}
</script>
</HTML>
更多内容请见原文,文章转载自:https://blog.csdn.net/qq_43650923/article/details/100331587