Hey DWers -
I've been looking into adding a no right-click option to my website. I know that's a bit churlish and flies in the face of the community spirit that has made the Internet what it is today but at the same time, I've paid for all but one of my images (got permission for that one), and have spent hours writing content. It's a bit frustrating that someone can come along and just take something I've worked hard to create.
I know there is no way to totally disable the right-click option, but most of the "bleeps" are lazy (hence, they steal) so they may not be willing to implement a bypass. Right now it's like I'm leaving the key in the ignition of my car and making it easy to steal. I'd like to at least make them break the window and go through the work of hotwiring the ignition.
I've done some research and it look like a java script is the way to go. Is this correct? Does it matter to DW? Will it affect a responsive design? Just add it to the head area of the source code?
I'd love to hear your opinions on this as well. As I mentioned - I realize it's a bit mean-spirited. Thanks.
The ONLY way to keep people from taking your images displayed online is not to display them online, period.
In order for an image, or literally any part of a website, to be viewed on a user's computer, the code and images (and any other media) is downloaded to their machine. Since it is downloaded to their machine, they have access to every part of it.
The best option to avoid actual theft of images displayed online (not just some guy saying "hey this is nice, I want to use it as a desktop background") is to watermark your images. Look at all of the image vendors out there, they do not make the full high rez versions without watermarks available until you purchase them, otherwise there is always a ghost image of their logo over their products.
Anything less is EASILY defeated.
here my "two cents" and some voices from other persons stored in my library:
If you really want to try it, here my draft: http://hansgd.de/AdobTest/alertBox/alertBox.php. I'll give you here the link to a German website (no problem to adapt the source code) where you can create an alert box (BUT I remember David Powers "substantiation of opposition" to it): http://www.6webmaster.com/homepagetools/klicksperre/do.php
Rechte Maustaste sperren Generator > (der Albertbox-Text erscheint bei Rechtsklick eines Besuchers) > Gewünschter Text für Alertbox:
means something like:
Right Mouse Button Lock Generator > (Albertbox the text appears when right-clicking a visitor) > Suggested text for alert box:
To discourage theft, use watermarks, lower quality images and/or digital watermarking like
Anything you publish on the web can be downloaded and saved. If you have fears about copyright infringement...
1) If you don't have rights, don't publish it.
2) If you own it, Watermark it with your URL or Logo.
3) Digitally register content.
4) Post disclaimers.
5) Cross fingers & hope for the best....
Good luck, Nancy O.
Thereover there is a wonderful philosophical discussion: http://webhome.idirect.com/~bowers/copy/copy1.htm.
From a usability standpoint, disabling right click prevents people from accessing advanced browser features which is never a good thing. It won't stop pirating for those who are intent on doing it and serves to annoy regular visitors who mean no harm. Don't do it.