arozwalak
11/6/2013 - 1:55 PM

Javascript: Disable Right Click

Javascript: Disable Right Click

jQuery('img').bind('contextmenu', function(){
  return false;  
});
function disableclick(event)
{
  if(event.button==2)
   {
     return false;
   }
}

document.onmousedown=disableclick;