ITeye博客

内容复制后增加版权信息

haimav · 2009-09-28 18:08 · asp · Markdown

<body >
www.xinwanglu.cn 新网路
<!-----插入的版权信息广告内容(当别人复制的时候显示------->

<script type="text/javascript">
document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text + "\r\n本篇文章来源于心奇网 (www.yy66.net) 原文出处:"+location.href; clipboardData.setData("text", text); } }, 100 ) }
</script>

</body>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。