Forum Moderators: open

Message Too Old, No Replies

Disabling right click

Code for disabling right click

         

Adam5000

9:20 am on Mar 9, 2006 (gmt 0)

10+ Year Member



Greetings all. I've heard there's code that I can put in a web page that disables the right click. Is this true and does anyone know what it is? It needs to work in MSIE and Netscape too.

andrea99

9:34 am on Mar 9, 2006 (gmt 0)



Such code exists and when I visit a website that has disabled right-click I think "what an idiot, clueless web designer!"

Disabling right click does nothing but annoy your legitimate visitors. It does not stop people from stealing things. People who want to steal your images will do it without right-clicking.

jbinbpt

9:39 am on Mar 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Searching on right click disable returns a bunch of options

asquithea

9:00 pm on Mar 9, 2006 (gmt 0)

10+ Year Member



I use the right-click (context) menu to go back and forward between pages. Any site that forces me not to do that loses my custom immediately.

Thankfully, such sites are few and far between these days.