网页防复制功能实现方法 禁止右键查看功能
发布时间:2016:05:30 12:27:21 | 已阅: | 来源:智唯网络
扫一扫
手机访问
导语
style type=text/css media=screen body {-moz-user-select: none;-webkit-user-select: none;}/stylescript type=text/javascriptdocument.onselectstart = function(e) { return false;}document.oncontextmenu = function(e) { return false;}/script 挺实<style type="text/css" media="screen"> body {-moz-user-select: none;-webkit-user-select: none;}</style><script type="text/javascript">document.onselectstart = function(e) { return false;}document.oncontextmenu = function(e) { return false;}</script> |
挺实用的,分享一下,CSS+JS结合使用还不错,CSS是针对FIREFOX,JS是针对IE的,大家看着来用

专业建站 免费排名(有什么疑问的请留言或咨询在线客服)
- 全部评论(0)
还没有评论,快来抢沙发吧!
相关资讯更多资讯+