HTML禁止复制粘贴

const html =document.querySelector('html');
html.oncopy=()=>false;
html.onpaste=()=>false;

posted @ 2020-09-08 13:29  文采呱呱  阅读(440)  评论(1编辑  收藏  举报