How does one disable right clicking or prevent dragging image to desktop on Tumblr?
Asked by
pleiades (
6617)
January 17th, 2013
Observing members:
0
Composing members:
0
5 Answers
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.
@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)
@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
or
3b. grab it out of my browser cache
or
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.
@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
This question is in the General Section. Responses must be helpful and on-topic.