第一步找到:viewthread_node.htm 文件 在 template\default\forum 里面
第二步查找:以下代码- <!--{hook/viewthread_endline $postcount}-->
复制代码 三步将以下代码复制其上面 也就是 <!--{/if}--> 和<!--{hook/viewthread_endline $postcount}--> 这句话的中间- <!--// 帖子防复制自动加版权代码开始-->
- <script type="text/javascript">
- document.body.oncopy = function () {
- setTimeout( function () {
- var text = clipboardData.getData("text");
- if (text) {
- text = text + "\r\n本文来自: $_G['setting']['bbname'] {$boardurl} 详细文章参考:"+location.href;
- clipboardData.setData("text", text);
- }
- }, 100 )
- }
- </script>
- <!--// 帖子防复制自动加版权代码结束-->
复制代码
|