移动端H5页面禁止长按保存图片,禁止长按选个文本
1.禁止长按保存图片:
pointer-events:none;
2.禁止长按选择文本:
css代码:
-webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;
温馨提示 : 非特殊注明,否则均为©李联华的博客网原创文章,本站文章未经授权禁止任何形式转载;IP地址:18.118.37.25,归属地:俄亥俄州Dublin ,欢迎您的访问!
文章链接:https://www.ooize.com/it-is-forbidden-to-long-press-to-save-a-picture-and-select-a-text-on-the-h5-page-of-the-mobile-terminal.html
文章链接:https://www.ooize.com/it-is-forbidden-to-long-press-to-save-a-picture-and-select-a-text-on-the-h5-page-of-the-mobile-terminal.html
订阅
登录
0 评论