移动端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地址:3.144.96.66,归属地:俄亥俄州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 评论