原理<script> document.addEventListener('copy',(e)=>{ e.preventDefault(); e.clipboardData.setData('text/plain','禁止复制'); console.log(e.target); }) </script> 解决办法选择元素、点击时间监视器、copy点击删除即可 Last modification:November 8, 2023 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得我的文章对你有用,请随意赞赏