It doesn't prevent people from copying anything, it just makes them take an additional step.
Heres some javascript to disable right click
Code:
<script type="text/javascript">
function disableRig***lick(e)
{
var message = "You just right clicked!!";
if(!document.rig***lickDisabled) // initialize
{
if(document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = disableRig***lick;
}
else document.oncontextmenu = disableRig***lick;
return document.rig***lickDisabled = true;
}
if(document.layers || (document.getElementById && !document.all))
{
if (e.which==2||e.which==3)
{
alert(message);
return false;
}
}
else
{
alert(message);
return false;
}
}
disableRig***lick();
</script> But this isn't going to prevent people from downloading videos, music, or even pictures. Whenever you go to a website the pictures are saved on their computer in their temporary internet folder. Not to mention if anyone used FF (Im sure other browsers have this too), they can install an extension that will disable javascript from running on certain sites, meaning they disable your right click disable. Also there is always print screens.
So basically dont think this will completly protect you, only make it a slight bit harder for people to copy things. The only way to be 100% secure it to keep it on a computer that isn't connected to the internet