1、function vv()
{
if(event.button==2)
{
alert('防止服务器负担过大,右键功能被屏蔽!')
}
}
document.onmousedown=vv
2、document.oncontextmenu = new Function("return false;")
3、<body oncontextmenu="return false" >
1、function vv()
{
if(event.button==2)
{
alert('防止服务器负担过大,右键功能被屏蔽!')
}
}
document.onmousedown=vv
2、document.oncontextmenu = new Function("return false;")
3、<body oncontextmenu="return false" >