I use the following code in VSD (it does work for both IE and FireFox)...All you have to do in VSD is put it in the Header HTML (Edit > Edit Header > Header HTML). You can also change where it says "This page is copy protected." to any verbiage you want your message to say...
Here's the code:
<script language="JavaScript">
var msg="This page is copy protected.";
function disableIE()
{
if (document.all)
{
alert(msg);return false;
}
}
function disableNS(e)
{
if (document.layers||(document.getElementById&&!document.all))
{
if (e.which==2||e.which==3)
{
alert(msg);return false;
}
}
}
if (document.layers)
{
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS;
}
else
{
document.onmouseup=disableNS;document.oncontextmenu=disableIE;
}
document.oncontextmenu=new Function("alert(msg);return false")
</script>
You can see the code 'in action' on
http://www.collinsinteriors.biz
(on every page per the client's request.)
And here:
http://www.masondixonghosthunters.com/Photos.html (just the one page for now)
And here:
http://www.sassydesigns.org (various pages, depending on the content)
Those are three good examples of the code 'in action' changing the verbiage per site...
Like it's been mentioned before, the basic rule of thumb is if you don't want people 'taking' your images, don't put them on the internet - but at least we can deter those that aren't completely computer savvy with a Right-Click Protect, and to slow the others down if nothing else...
Hope that helps!
Stacy
stacyuncorked.com
princessnagger.com
sassydolls.com
Dance like no one's watching...
Love like you'll never be hurt...
Sing like no one's listening...
And live like heaven on earth.