时间:2021-07-21人气:-
<script type="text/javascript">document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text "/r/n本篇文章来源于 www. baidu.com 原文链接:" location.href; clipboardData.setData("text", text); } }, 100 ) }</script>将代码加到页面的后面即可实现。