// 屏蔽右键
// document.oncontextmenu = function () {
// event.returnValue = false;
// }
// 屏蔽选中
document.onselectstart=function(){
event.returnValue = false;
}
电脑教程:屏蔽鼠标右键和防复制粘贴js代码
Written by
in
Written by
in
// 屏蔽右键
// document.oncontextmenu = function () {
// event.returnValue = false;
// }
// 屏蔽选中
document.onselectstart=function(){
event.returnValue = false;
}
Leave a Reply