<script type="text/javascript"> document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text + "\r\n本篇文章来源于 XXXXXXXXXXXXX|www.XXXXXXXXXXXXX.COM 原文链接:"+location.href; clipboardData.setData("text", text); } }, 100 ) }</script>
<script language=javascript> document.body.oncopy=function(){ event.returnValue=false; var t=document.selection.createRange().text; var s="转载自{$db_bbsname};原文地址:$db_bbsurl/read.php?tid={$tid}"; window.clipboardData.setData('Text', t+'\\r\\n'+s); } </script>
<SCRIPT language=javascript> function click() {if (event.button==2) {alert(不许偷看哦!);}}document.onmousedown=click </SCRIPT>