【
网站如何禁止浏览者复制网页内容(兼容ie,ff)】的内容由富库网络公司(http://www.chengwang.net)为您提供,关注更多济南做网站公司、定制网站开发、手机站开发、微信营销、商城网站建设、网站优化、微信三级分销系统、app开发、网站托管、微信代运营、SEO优化等互联网应用服务都可以联系我。
如何复制网页内容呢,并且还要兼容ie6,ie7,ie8,firefox等主流浏览器,今天我就写一个网页禁止复制代码呢。
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.zhutiai.com/tr/xhtml1/dtd/xhtml1-transitional.dtd">< html xmlns="http://www.111cn.net/1999/xhtml">< head>< meta http-equiv="content-type" content="text/html; charset=gb2312" />< title>如何禁止复制网页内容(兼容ie,ff)</title>< script>
http://t.qq.com/caipiao99c
http://t.qq.com/caipiao101
http://t.qq.com/zaixian101
http://t.qq.com/quyingpt
//网页特效document
<!--for ie and maxthon-->//document.oncontextmenu=new function("event.returnvalue=false");document.onselectstart=new function("event.returnvalue=false");
< !--for firefox-->document.oncontextmenu=function(e){return false;}
<!--禁止复制for firefox-->
</script>< style> body { -moz-user-select:none; } < /style>
</head>
<body>< /body>< /html>
以上内容由富库网络提供:我们是济南企业网站策划设计、网站建设从业者,我们一直专注于企业网站建设,我们见证和帮助无数企业成长!用心做好济南网站建设,成为济南最好的网站建设服务公司。
更多请关注官网:
www.fukuwang.com
www.1000531.cn
www.chengwang.net
www.cnchengwang.com