document.oncopy = function(){
event.returnValue = false;
}
// 或者直接返回整个事件
document.oncopy = function(){
return false;
}
document.oncontextmenu=new Function("event.returnValue=false;");
document.onselectstart=new Function("event.returnValue=false;");
js 鼠标事件的禁止
猜你喜欢
转载自blog.csdn.net/wzwzwz555/article/details/100575641
今日推荐
周排行