If you visit my present website in my signature area, and view any of the graphics, on any of the pages, and try to 'Right Click to Save Picture As..' you will notice that the function has been disabled. Because I own over 250 copyrighted graphic images my self, publicize other artist's works by permission, I have to protect their investments, as well as mine, from 'The Image Grabbers'. I do have the .htaccess webot, crawler and spider info ready, but feel that this will protect me against the Human versions, that are not automated.
The script, for all to share...
<script type="text/JavaScript">
function disableRightClick(e)
{
var message = "Right click disabled";
if(!document.rightClickDisabled) // initialize
{
if(document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = disableRightClick;
}
else document.oncontextmenu = disableRightClick;
return document.rightClickDisabled = true;
}
if(document.layers || (document.getElementById && !document.all))
{
if (e.which==2||e.which==3)
{
alert(message);
return false;
}
}
else
{
alert(message);
return false;
}
}
disableRightClick();
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
Thanks to all for the continuing support and I hope this meager donation offsets the help I have received previously.
Bookmarks