绑定单机右键事件,返回false
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
return false;
});
});
关闭F12
document.onkeydown=function(event){
var e = event || window.event || arguments.callee.caller.arguments[0];
if(e && e.keyCode==123){
return false;
}
};