禁止复制和选中
2016-07-25 15:30 夜半花开 阅读(232) 评论(0) 编辑 收藏 举报在需要禁止复制和剪切、选中的地方加入以下事件
oncopy="return false;" oncut="return false;" onselectstart="return false"
或者加样式控制:
.cs_right-box{padding:0px 5px 0px; -moz-user-select:none;-webkit-user-select:none;user-select:none; }