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]
# 1 Re: Source Code
The reason I am asking is because awile back I went to some german site and did a right click and a little box came up I just couldn't read it also when I goto some sites when I right click nothing happens I figured they must have some kind of thing to hide their HTML code.

-=ViSionSinD=-
ViSionSinD at 2007-11-10 3:01:29 >
# 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
javaman at 2007-11-10 3:02:29 >
# 3 Re: Source Code
[javacode]
function disableRightClick()
{
if (event.button==2)
{
alert('Copyright for XZY Company for 1999 -2000');
}
}
[javacode]

Meher
meherss at 2007-11-10 3:03:25 >
# 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
meherss at 2007-11-10 3:04:30 >