禁止复制网页

一段非常实用的禁止复制网页代码,直接上代码:

<script language=”JavaScript”>

document.oncontextmenu=new Function(“event.returnValue=false;”);

document.onselectstart=new Function(“event.returnValue=false;”);

</script>

评论

此博客中的热门博文

FreeBSD安装Pure-FTPd及user manager for PureFTPd

debian lighttpd php ssl

解决nginx出现File not found的问题