网站防止用户复制的js方法
2015-03-08 09:09
211 查看
<script type="text/javascript">
function stop() {
return false;
}
document.oncontextmenu = stop;
document.onselectstart = stop;
document.oncopy = stop;
document.oncut = stop;
document.onpaste = stop;
</script>
function stop() {
return false;
}
document.oncontextmenu = stop;
document.onselectstart = stop;
document.oncopy = stop;
document.oncut = stop;
document.onpaste = stop;
</script>
相关文章推荐
- javascript 密码框防止用户粘贴和复制方法
- 禁止删除、修改共享文件,防止局域网用户私自复制共享文件到本地的方法
- 防止网站被JS,iframe挂马的防范方法
- 防止网站内容被复制的方法
- JS防止页面被其他网站iframe使用方法
- [Web]防止用户复制页面内容和另存页面的方法
- 常见JS挂马方法及如何防止网站被黑客挂马?
- js防止用户多次提交,可以做成公共方法供其他js调用
- 防止用户多次点击提交方法一:在js中的处理
- [Web]防止用户复制页面内容和另存页面的方法
- [Web]防止用户复制页面内容和另存页面的方法
- 不同编码网站内容之间的JS调用方法
- 防止网站内容被拷贝的一些方法与优缺点好处与坏处分析
- 防止网站内容被小偷采集的js代码
- Asp.net如何防止论坛用户重复登录的方法?
- 防止一个用户登录多次的方法
- Asp.net中防止用户多次登录的方法
- 防止一个用户登录多次的方法
- asp.net防止一个用户登录多次的方法
- ASP.NET 2.0防止同一用户同时登陆方法二(转)