1.右键弹框
=function(e) {
alert(“我是鼠标右键弹框”);
return false;
}
2.右键无操作
=new Function(“return false”);
解除方法
javascript: (function() {
function R(a) {
ona = "on" + a;
if () (a,
function(e) {
for (var n = ; n; n = ) n[ona] = null;
},
true);
window[ona] = null;
document[ona] = null;
if () [ona] = null;
}
R("contextmenu");
R("click");
R("mousedown");
R("mouseup");
R("selectstart");
})()