The context menu has its own event. You just need to catch it and stop it from propagating.
window.oncontextmenu = function(event) {
event.preventDefault();
event.stopPropagation();
return false;
};
The context menu has its own event. You just need to catch it and stop it from propagating.
window.oncontextmenu = function(event) {
event.preventDefault();
event.stopPropagation();
return false;
};