how do you stop people right clicking and saving?

AshleyC

Suspended / Banned
Messages
2,956
Name
...
Edit My Images
No
Do people even worry about such things if youve watermarked? I dont think its too hard to stick a bit of script on your page to kill the right click menu but i think its been mentioned before you could be doing other things with it.

Just wondering of peoples tactics for stopping the saving of images. at the end of the day you can always do an alt-print screen anyway so theres no real way round it. Unless you trap those keys too :)
 
You can't stop people, so don't worry about it. Make your pics just big enough for your needs and then don't worry. If you are that bothered, don't put them on the internet in the first place! Scripts can be got round, some browsers ignore them.
 
Drop this in the head of your doc

<SCRIPT language=JavaScript>

var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
</SCRIPT>

You can edit the message. its more of a deterrent to the casual right click cowboy and as mentioned earlier won't stop the determined.
 
Drop this in the head of your doc

<SCRIPT language=JavaScript>

var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
</SCRIPT>

You can edit the message. its more of a deterrent to the casual right click cowboy and as mentioned earlier won't stop the determined.

But disabling right click, was dismissed above for a variety of reasons.:thinking:

The best options are.

If the risk of having your work stolen outweighs the benefit of showing it online, don't bother putting it on line.

If you're putting work online to sell it, make sure it's watermarked well enough to make a stolen copy ugly.

If you're displaying work to advertise your services, only post work you've already sold, make it big and gorgeous, otherwise there's no point.
 
For the sake of dropping a tiny bit of code in it would it not be worth it just to stop the ones who don't know about screen print etc?
 
For the sake of dropping a tiny bit of code in it would it not be worth it just to stop the ones who don't know about screen print etc?

I normally use the view source option :)

The point people are making is don't think your work is safe by disabling right click, make it safe in another way that they can't get round.
 
Anyone who knows how to read HTML will know all this stuff already.
I'm hopefully making it abundantly clear that right click protection is not effective.

What I posted is relatively common knowledge.
People who really know their stuff have got WAY more tricks than I know about.
I get defeated by Flash and would resort to printscreen, but I know it isn't a problem for many people. :suspect:
 
Last edited:
It is pretty easy to save photos when viewing websites on a mobile phone, most people know that simply touching the screen an option opens to save the photo. Oh and most people screen print on phones also. No right click does not apply to mobile phones.
 
Last edited:
You could stop the first 10 folk you meet down your local high street and ask them what HTML stands for and you'd be lucky if any of them knew, let along how it works or what it's for.

I don't think this is as common knowledge as you think.

"However, it was a simple job to locate the IMG tag using Firefox Web Developer and open the image on its own in a separate tab".
 
Yeah you can make it more difficult for the average internet user to copy your images, but if somebody knows what they're doing there's not much you can do to stop them. I think your best protection is to watermark your images.
 
You could stop the first 10 folk you meet down your local high street and ask them what HTML stands for and you'd be lucky if any of them knew, let along how it works or what it's for.

I don't think this is as common knowledge as you think.

"However, it was a simple job to locate the IMG tag using Firefox Web Developer and open the image on its own in a separate tab".

This is what I was thinking. It's far from perfect but for the tiny effort of popping in some code it does at least deter some people surely?
 
Trying to stop it is like locking your door. There are people who know how to pick locks, there are people who will ram your door down and there are people who will come in through the window - but locking the door stops any random person from opening it and waltzing in with no effort.
 
Sorry but how silly is all this? In order to view a picture it has to be downloaded to your computer... You already have it.. you dont have to steal it.. the owner already gave it you! It's in your browser cache..

Nothing works! :)


I probably have the worse most orrible watermark ever on all my pictures.. yet still they use them as facebook profiles :)

Its like looking for the holy grail :)
 
I'm sure that streaming video (the proper kind) doesn't save on your computer, would there not be some way of implementing this with imagery? Or am I asking too much!
 
Screen grab works around anything you can display.

Big watermark right across the middle so it can't be cropped around?
 
Trying to stop it is like locking your door. There are people who know how to pick locks, there are people who will ram your door down and there are people who will come in through the window - but locking the door stops any random person from opening it and waltzing in with no effort.

now lock picking i do enjoy!!!! padlocks mostly. not securing anything i dont have keys for, mostly work and home but its such a relaxing thing to do!!! cant say i would be so calm if i was in a scrape mind you.
i have used the no right click thing before as i know not everyone knows or probably cares about any other way of getting to an image to save it. and the ones that can will, end of. like i said, just a deterrent to the uninitiated
 
For the sake of dropping a tiny bit of code in it would it not be worth it just to stop the ones who don't know about screen print etc?

The point isn't the 'simple bit of code', it's 'is the number of people I'll stop nicking my photo's worth p1ssing off a small number of potential customers?'

If the answer is yes, then disable right click - simples.

For me, an intelligent attitude to what I share and how I share it makes more sense. Managed risk / better user experience.
 
I'm sure that streaming video (the proper kind) doesn't save on your computer, would there not be some way of implementing this with imagery? Or am I asking too much!

There's plenty of apps out there that'll capture streaed video. If you're not sure; ask a teenage boy;)
 
Trying to stop it is like locking your door. There are people who know how to pick locks, there are people who will ram your door down and there are people who will come in through the window - but locking the door stops any random person from opening it and waltzing in with no effort.

Not quite, in this case the lock you're using on your door might upset people you've invited in who want to spend money with you. So it's more like a turnstyle than a lock - it will spoil the experience for some of your invited guests.
 
Damn I find it hugely annoying when someone adds a script to stop right clicking! It's easy to get around but normally just means I leave the site. I only ever seem to find it on badly made amateur websites though.
Right click is used for more than just copying!
Don't use the script, please!
 
Damn I find it hugely annoying when someone adds a script to stop right clicking! It's easy to get around but normally just means I leave the site. I only ever seem to find it on badly made amateur websites though.
Right click is used for more than just copying!
Don't use the script, please!

This. I use the right click menu all the time and the second I can't use it properly I leave.
 
Just a couple of thoughts on right click
  • I agree, it tends to put me off staying on the website. I tend to use right click for searching selected text.
  • Ask yourself why would people want to steal your images. Who are you protecting them from?
  • Perhaps give low res images to the people you suspect of wanting to reuse them with your website lightly watermarked in. All publicity is good publicity!
  • If you don't watermark, you need to appreciate you can get a reasonable 10"x8" photo from a facebook 100kB image at 720 along the longest edge. If it's up there, and isn't watermarked, you can print a decent sized image that is acceptable to 99% of the population from it. Watermarking is the ONLY way to deter this.
  • If you know how you can download a complete website (and associated images) in one command.
 
Last edited by a moderator:
how about building your site using Flash, with a separate but much smaller 100k image version for phones?
 
It depends on who you are trying to deter - the persistant offender or the casual nabber

If you drop the image in as the backgrouund to a div or table, you can then pop a transparent gif over the image. when they do a right mouseclick, they copy a blank file (nice!)

If you want to hide the file away some more, call it via CSS

however a screen grab will still get it

If you watermark it too, that will slow most down

It depends on what you are trying to achieve
 
Last edited:
how about building your site using Flash, with a separate but much smaller 100k image version for phones?

LOL - on a scale of annoyances.
Right click hassle is about a 6/10.
Flash is about 9/10.

I guess Flash may be OK if you live in the big bad smoke with a decent connection; but out here with 1Mb/s - errrm :thinking:

I recently found a photographer whose stuff I loved.
Problem was they had dreadful Flash website and I only had the patience to look at about 10 images.
I absolutely didn't recommend any of my friends go and have a look.
And no I didn't bookmark it as there is no way I ever want to go back there again.
 
Ah, now opinions like that are easier to understand and are much more constructive! My menu tabs/galleries etc open in new windows but I disable right clicking on images by default.

That's all very well, but on my mac I can just grab an image with a left click of the mouse and drag it to the desktop.
 
Last edited:
how about building your site using Flash, with a separate but much smaller 100k image version for phones?

what difference would it being flash make?.. you can still grab the pictures...

unelss your on a mobile device and you cant even see them to grab them because they are flash :)
 
That's all very well, but on my mac I can just grab an image with a left click of the mouse and drag it to the desktop.

This is not really any different (just a little quicker) to right clicking and selecting "Save As" or whatever. By placing a clear GIF/PNG file over the top of the image it stops either of these working but you can always CMD+SHIFT+4 and copy it that way. It is a way of making it a little more complicated but if it is on the screen it is basically copyable.
 
I've removed references etc to specific sites. If you want to demonstrate something please use your own site or this one. Thanks.
 
Back
Top