<script language="javascript">
document.body.oncopy 
= function () { 
  setTimeout( 
function () { 
    
var text = clipboardData.getData("text");
    
if (text) { 
      text 
= text + " \r\n资料引用:"+location.href; clipboardData.setData("text", text);
    } 
        }, 
100 ) 
}
    
</script>

 

代码复制到<body></body>之间。

相关文章:

  • 2021-10-20
  • 2022-01-24
  • 2021-11-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-12
  • 2021-12-10
  • 2021-09-20
  • 2021-12-10
相关资源
相似解决方案