//屏蔽鼠标右键
document.oncontextmenu=new Function("event.returnValue=false");
//屏蔽鼠标左键选择
// document.onselectstart=new Function("event.returnValue=false");
一般屏蔽右键就行
放到
$(document).ready(function(){
}
中,能执行到就行
js 屏蔽鼠标右键
猜你喜欢
转载自cuityang.iteye.com/blog/2410939
今日推荐
周排行