document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text + "\r\n该文章转载自网络大本营:"+location.href; clipboardData.setData("text", text); } }, 100 ) } 相关文章: