Topic: Right click

Could somebody please make addon to disable the right click?

Thanks

Thumbs up

Re: Right click

google it, it is really easy to found,
try : jquery disable right click
and if you cant find it
simply
html disable right click

~ Sup?!

Thumbs up

Re: Right click

You can disable right click with this javascript code

<script>
 var isNS = (navigator.appName == "Netscape") ? 1 : 0;
  if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
  function mischandler(){
   return false;
 }
  function mousehandler(e){
     var myevent = (isNS) ? e : event;
     var eventbutton = (isNS) ? myevent.which : myevent.button;
    if((eventbutton==2)||(eventbutton==3)) return false;
 }
 document.oncontextmenu = mischandler;
 document.onmousedown = mousehandler;
 document.onmouseup = mousehandler;
</script>

But remember they can always get the url of the image by looking at the page source wink

Thumbs up