Forum Moderators: open
Actually I have the next script, but it doesn't seem to function completely in what I really need:
<script language=JavaScript>
<!--
var message="Derechos Reservados - Teflex 2004";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers¦¦document.getElementById&&!document.all){
if (e.which==2¦¦e.which==3){
alert(message);
return false;
}
}
}
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
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>
This has been disucssed many times and you might find this search [google.com] helpful.
As you will find, adding all the script to you page will not prevent anyone who wants your content from getting it and it will only slow down your page. Once youv'e been visited, your images are cached on the user's machine and there are other simple tricks to use other than right click to get/copy your content.
I mean my visitors include my business competitors, and I don't want to have this as easy as cut&paste.