Source Code
Please help I have spent the last 12 hours searching the web for a way to hide my source code from prying eyes I need a java script or html to pop up a displayed message saying access denied or something of the sort when people try to view my source code please help or direct me to the right person who can help me thanks.
-=ViSionSinD=-
[348 byte] By [
ViSionSinD] at [2007-11-15 19:14:57]

# 2 Re: Source Code
That's a short Javascript code that you can search in Javascripts.com.
But I cannot guarantee you that your web page source can't be viewed.
You can still view in IE's View|Source or Netscape's View|Document/Frame Source
# 4 Re: Source Code
Sorry I messed up.. here we go.
You need to add this code to the html page.
For more codes like this visit javascripts.com
function disableRightClick()
{
if (event.button==2)
{
alert('Copyright for XZY Company for 1999 -2000');
}
}
Meher