H5页面屏蔽用户长按复制黏贴
防止文字复制黏贴
*:not(input){
-webkit-touch-callout: none; /系统默认菜单被禁用/
-webkit-user-select: none; /webkit浏览器/
-khtml-user-select: none; /早期浏览器/
-moz-user-select: none; /火狐/
-ms-user-select: none; /IE10/
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
:not(input)作用,input便签还是要允许用户可以选中的,如果user-select:none,那么用户将无法输入
防止图片保存
img {
pointer-events:none;
}