document.oncontextmenu = function(){ return false; }; document.body.oncontextmenu = "return false;"