Today's Featured Artist: Michael Godard

Transform your photos into one-of-a-kind, hand painted masterpieces!

Return to Main Discussion Page


Main Menu | Search Discussions

Search Discussions


Isabella F Abbie Shores

4 Years Ago

No Right Click

We were talking about theft from websites.

If you have your own html (or PHP) based site and know what you are doing, just use this to help

It will NOT stop, but can deter

No Right Click

Put this just after the HEAD tag

<script language=JavaScript> var message="I am sorry but Right Click is disabled on this page!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script>

You can see this one in action by clicking here

Hope this helps

Reply Order

Post Reply

Chuck Staley

4 Years Ago

Thanks, Beth, I'm going to use that right now. Or maybe not. Don't believe I have that option.


Warren Thompson

4 Years Ago

Would it work on our Artist site?


No, because you cannot get into the head

We already have no right click on the image pages


Heather Applegate

4 Years Ago

This works on Tumblr! GENIUS! Thanks Beth :) Just made my day.


If people wish to use it then they should be allowed to use it without harrassment.

That is why we have Facebook Like buttons etc.

I actually do not use a No Right Click but, I completely understand those people who do

I am glad it is working for people who want it :)

I have deleted the message saying how to countermand this.... the less help thieves get, the better

We all know this is not the be all and end all of safety features. It is a deterrent only


This discussion is closed.

Browse Through Millions of Images from the World's Greatest Artists and Photographers

Thai Temple Statues - Adrian Evans

Thai Temple Statues

Adrian Evans

Ota - Corsica - Joana Kruse

Ota - Corsica

Joana Kruse

Boardwalk - Carlos Caetano


Carlos Caetano

Velvet Stag - Mike Dawson

Velvet Stag

Mike Dawson