If you have looked at all the other "NO-Right Click" and "Ultimate source code protection" scripts you will find that they are flawed!

How are they flawed you ask? The flaws are rather simple. Click your right mouse button and hold it down, while holding down the right button move the cursor over the alert message and click the ok with the left mouse button, but do NOT let go of the right button! Now move the cursor back over what you wanted to right click on and let go of the right mouse button.

This script solves that flaw by setting it so if the user trys this trick it overloads the stack by recursivly calling itself until there is no more memory left, thus Internet Explorer will blow a gasket and dump, whereas Netscape will have a Recursion Error and not show the right click menu.

In Netscape you can press Control U to view the source of a page.

This JavaScript detects when the Control, Shift, or Caps Lock key has been pressed, in Netscape only since this is not a problem in Internet Explorer, and redirects you to a page called blank.htm so you still can't see this source.

Another problem is that a user can always click View and Source.

To solve that problem make the first page in your website:
<html>
  <head>
    <title>Opening New window</title>
    <meta name="Author" content="Todd Reser">
  </head>
  <body onLoad="window.open('SomeHTMFile.htm','AWindow',config='toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,resizable=yes,');window.close()">
  </body>
</html>
Change SomeHTMFile.htm to the name of your page.

Blank.htm should be something like this:
<html>
  <head>
    <title>Blank</title>
    <meta name="Author" content="Todd Reser">
    <!-- This page intentionally left blank -->
  </head>
  <body>
  </body>
</html>

This script probably has a loophole somewhere, and if you find it e-mail me the problem so I can fix it! Ouija@CyberOculus.Com

Visit my virtual domain Cyber Oculus