General Question

pleiades's avatar

How does one disable right clicking or prevent dragging image to desktop on Tumblr?

Asked by pleiades (6581points) January 17th, 2013

As asked. Thanks!

Observing members: 0 Composing members: 0

5 Answers

phaedryx's avatar

You can capture right-click actions with javascript, but visitors can disable javascript when viewing your page. You can hide an image behind a transparent image to make it harder to drag an image, but viewing the html source makes that easy to get around.

Ultimately, when a browser visits a website, that webserver is sending a copy of the image back and the user of the browser can get the image.

pleiades's avatar

@phaedryx So… do you happen to know where I can grab that java script or where try the transparent image thing out?

Response moderated (Spam)
phaedryx's avatar

@pleiades just add a watermark to your images, it’s much easier that trying to stop somebody.

If I wanted to get an image:
1. right-click (oh, they’ve disabled it with javascript)
2. drag the image to my desktop (oh, they put a transparent images over it)
3a. cmd+shift+4 (on a mac), select the image and now I have it on my desktop
3b. grab it out of my browser cache
3c. look at the page html source and look at the image source url


That’s just off of the top of my head.

What I’m saying is that I don’t think you should spend a lot of effort on something that is easy to work around.

SavoirFaire's avatar

@pleiades You can find the technical answer to your question here, but I must admit that I completely agree with @phaedryx. Disabling right-clicking seems to me a violation of netiquette. Here is one article making the case against it. Plus, your protections won’t carry over to anything that has been reblogged.

Answer this question




to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
Knowledge Networking @ Fluther