Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any Better ways to protect your code?

Status
Not open for further replies.

khanza

Technical User
Feb 20, 2003
70
US
is there any better way to password your code???
currently i'm using.....
Thanks in advance,
-=Alex=-

<script language=&quot;javascript&quot;>
var strIndex='if (parent.location.href!=strIndex) parent.location.replace(strIndex)

var browser=window.navigator.appName;

function onMouseDownHandler(e)
{
if (e.which==3) { return false; }
}

if (browser=='Netscape')
{
if (document.layers)
{
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=onMouseDownHandler;
}
}
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top