Re: Anyone knows how to hide the html page source
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Peter Sitero on November 7, 2003 at 16:7:34:
In Reply to: Re: Anyone knows how to hide the html page source posted by sivaramaprasad on July 6, 2000 at 8:13:18:
<script language="JavaScript">
var dontlookmessage="This function has been disabled to protect copy rights...";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(dontlookmessage);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(dontlookmessage);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
function HideStatus() {
window.status = " ";
return true;
}
</script>
Follow Ups:
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]