Have a question you need answered? We're here to help.
How can I protect the images on my website? |
|
This article contains information about protecting your website.
You may want to look over here or follow the directions below. <h1>And here is the 'no right clicks' script.</h1> <p>You can stop right clicks with a script (copy and paste it from this page if you want to) in the HEAD section of your page.</p> <p><font color="#cc0000"> <script type="text/javascript"><BR><BR> var msg="mouse right click disabled.nn(or any message you want)";<BR><BR> function click(e) {<BR> if (document.all) {<BR> if (event.button == 2) {<BR> alert(msg);<BR> return false;<BR> }<BR> }<BR><BR> if (document.layers) {<BR> if (e.which == 3) {<BR> alert(msg);<BR> return false;<BR> }<BR> }<BR> }<BR><BR> if (document.layers) {<BR> document.captureEvents(Event.MOUSEDOWN);<BR> }<BR> document.onmousedown=click;<BR><BR> </script><BR></font></p>
Last Updated: 31st of May, 2011 Article ID: 595
|
Can't find the answer to your question? Chat live with a member of our technical support instantly!
Chat Live Now