<SCRIPT LANGUAGE="Javascript"><!--
// ***********************************************
// AUTHOR:
WWW.kamuditechnologies.com, LLC
// URL:
http://www.kamuditechnologies.com
// Use the script, just leave this message intact.
// Place in <head> tags
// ***********************************************
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUS EUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
window.open('http://yourdomain.com', 'Widgetville', 'location=No,menubar=No,resizable=No,scrollbars=No ,status=No,toolabr=No,width=900,height=700');
//-->
</script>
Also disable copy/paste drag/drop put this in the body...
<body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">