document.body.oncopy=function(){
event.returnValue=false;
var t=document.selection.createRange().text;
var curUrl = window.location.href;
var s="本文来源于灼光的博客(https://www.cnblogs.com/laiyingpeng/) , 原文地址:" + curUrl + "转载请加上原文地址。";
clipboardData.setData('Text','\r\n'+t+'\r\n'+s+'\r\n\r\n\r\n');
}