<!--禁止网页另存为: -->
<noscript>
<iframe src=*.html></iframe>
</noscript>
<!-- 禁止选择文本: -->
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
<!-- 禁用右键: -->
<script>
function stop(){
return false;
}
document.oncontextmenu=stop;
</script>
2013年6月27日 下午12:10 6F
过来看看,可以防止复制的,楼主博文不错。
2013年6月27日 下午12:49 B1
@ 免费外链 @免费外链 : 欢迎看看。哈哈。
2013年6月26日 下午9:47 5F
这还真是个防止博客被抄袭的好方法,加上分享道代码,禁止复制
2013年6月26日 下午11:32 B1
@ yzf @yzf : 呵呵 对于真心想抄袭的只是增加了一步繁琐的操作而已。
2013年6月26日 下午9:33 4F
参考一下,或许以后用的着
2013年6月26日 下午11:33 B1
@ 沈梦姿 @沈梦姿 : 那是。呵呵。
2013年6月26日 下午4:21 3F
过来看看。楼主博文不错
2013年6月26日 下午5:00 B1
@ 零点起航 @零点起航 : 欢迎欢迎。
2013年6月26日 下午2:26 2F
博主是程序员,羡慕啊
2013年6月26日 下午5:01 B1
@ 宏骐复合材料 @宏骐复合材料 : 呵呵 非程序员。
2013年6月26日 上午10:28 1F
这不是程序员干的事情@#¥……&
你能防止别人查看网页源程序吗~~
2013年6月26日 上午11:33 B1
@ InBi @InBi : 这只是提供给各位参考。当然会有人需要的。 我是不需要,喜欢的话,随便复制。