CSS 方案
.banCopy {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
user-select: none;
}
JS 方案
document.oncopy = function(){ return false; }
HTML 方案
<body oncopy="return false;"></body>
网友评论