document.oncontextmenu = function(){
return false;
}
document.onkeydown = function(){
if (event.ctrlKey && window.event.keyCode==67){
return false;
}
if (event.ctrlKey && window.event.keyCode==86){
return false;
}
}
document.body.oncopy = function (){
return false;
}
document.onselectstart = function(){
//return false;
}
js控制ctrl+c 和 ctrl+v 不可使用
最新推荐文章于 2024-05-08 10:49:00 发布