JavaScript Needed to Protect a Page
From Right-Mouse Click Copying


No Right-Mouse Click Script

Hover your cursor over the script, and triple-click to highlight the script. Copy (Ctrl+C) the script to the clipboard. In FrontPage, go to the page you want to disable and, in Code view, paste it in the heading (Ctrl+V).

 

<SCRIPT language="JavaScript">
<!--
var message="Right-mouse click has been disabled.";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</SCRIPT>