Your Ad Here

No Right Clicking on your Website

Do you have an image you want to try and protect beyond placing a watermark on it? You can put javascript into your source to tell the user they cannot right click on your web page. This script is not unbeatable, but most Internet users will not know how to get around the script. There will always be a way for people to grab what they want from your website. The only bulletproof way to keep your material and images from being taken from your site is to simply not put them up at all.

However if you want some security then you can copy and paste this code into your source:

<body oncontextmenu=”alert(’You may not right click’); return false;”>

If you want to change what is displayed when the user right clicks just change the area that says ‘You may not right click’. Only change the text in this area, do not change anything else.

VN:F [1.6.4_902]
Rating: 5.0/5 (1 vote cast)
VN:F [1.6.4_902]
Rating: +1 (from 1 vote)




Leave a Reply