This is a little script that will not allow users to right-click and save a picture or view source by right-clicking their page.  It only has one component that goes into the HEAD of the document as shown below.

Try it by right-clicking on this page.

Remember that they can still always click on View...Source.

here's the script:


<HEAD>
<title>Your page title</title>

<SCRIPT language="JavaScript">
function click() {

if (event.button==2) {

alert('Ouch, that Hurts' + '\n' +'© AMI');
}}
document.onmousedown=click
</SCRIPT>

</HEAD>

<BODY>


Back