不能右击代码
<script>
document.oncontextmenu = function(){
return false;
}
document.onkeydown = function(){
if (event.ctrlKey && window.event.keyCode==67){
return false;
}
}
document.body.oncopy = function (){
return false;
}
document.onselectstart = function(){
//return false;
}
window.ontouchstart = function(e) { e.preventDefault(); };
</script>
时间: 2024-10-06 13:45:39