PDA

View Full Version : Disable right click


ewriter
04-25-2007, 05:05 AM
How can i Disable right click even so noone can save images of my website? Is it possible using javascript? Is this a good idea to implement on my website?

vahsi000
04-25-2007, 05:58 AM
yes javascript would be the way to go on stopping people from right clicking and saving your images, but that will only stop people who don't have some technical knowledge to work around it.

Firstly even if you do block right mouse click, anyone can still access their browsers cache and you'll see that the image you're trying to protect has been already downloaded onto the users pc before they even get a chance to right click and try to save.

Secondly, even if you did have the best script on the WWW any amatuer designer can easily use their Print Screen button on their keyboards to save the image of what they're seeing into their computers memory then they only need to open up MsPaint to paste the image, do a bit of editing and TA DA, it's good as new.

The only way you can protect your image (like logo's and other graphics) would be to put a watermark on it and still if another designer wants, they can still copy your concept.

Personally I don't use watermarks normally unless I have put alot of effort into a graphic and I believe it's worth quiet a bit. At the end it's upto you on what you want to do but also keep in mind that in this digital world of WWW there's nothing that can't be stolen or copied (except for your credit card details, I hope).

young_ss
05-02-2007, 11:16 AM
Yes you can do it using javascript very easily..

http://javascript.internet.com/page-details/no-right-click.html
Hope this will help you...

hotdogs
05-02-2007, 11:34 AM
Not a good idea it makes your site look bad. You don't see any TOP sites with right click protect do you and if a picture doesn't load you need to refresh the page to see it.

jazzer01
05-03-2007, 12:11 AM
I'm agreeing with hotdog on this one - there really isn't much use in spending the time and effort even just copying and pasting a no right click script - its so easy for the user to get the graphic anyway, the only real solution is watermarks!!

sirjavabean
05-05-2007, 05:02 PM
I have to side with everyone else here - there's no point in trying to disable right-click because the browser has to download the image anyway. If I want to protect my images, I watermark them or put a very faint (invisible unless image is zoomed in lots and lots) pattern across the whole image, that way if I wanted I could prove it was mine.

mullerrwd
05-05-2007, 11:29 PM
Thats one option, second option is to encode your script. Every noob knows this:View=>Page source (leftklik) and there you have it. By encoding you script you make it harder, but I have to agree with hotdags and sirjavabean that even top sites dont have right klik disabled and that a slight waterproof is an only option.(for prooving its yours)

Myth
05-19-2007, 08:50 PM
Javascript is a good way to do it, but personally I wouldn't ever use it on my websites as it's plain annoying to users and is far from efficient for e.g. copyright protection. Depending on what you want to achieve you may not want to disable the right mouse click.