Monday, July 6, 2009

Locking your blog photos - Disable Right Click

I have had several requests from people who want to know how to lock their blogs so people don't steal pictures. I was given this site when I asked the same question. It is really easy to do. It only takes 5 minutes.

Here is the raw link if the one above doesn't work:

****Update ****

I noticed that the links above are broken. Here is the HTML code I used to disable right clicking on my blog:

<script language="JavaScript"> <!--//
var message="Please do not use any images without permission from Brett. Feel free to e-mail Brett and ask for permission!";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layersdocument.getElementById&&!document.all){if (e.which==2e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// --></script>

If you have problems, just send me a message and I can help.

No comments: