网站防止用户复制的js方法
<script type="text/javascript">
function stop() {
return false;
}
document.oncontextmenu = stop;
document.onselectstart = stop;
document.oncopy = stop;
document.oncut = stop;
document.onpaste = stop;
</script>
posted on 2015-03-08 09:09 liuwenbohhh 阅读(147) 评论(0) 编辑 收藏 举报