Not 100% fool-proof
Reviewed byAnonymouson Wed, 13th December 2000
Any programmer with a minimal understanding of JS can figure out that on right-clicking the mouse, you just have to keep it pressed as you manoeuvre the mouse towards the alert box, click the 'OK' to close it, and then release the right button....VOILA! There you have your context menu! There are ways by which this loop-hole can be patched up though....
Preventing view source
Reviewed byAnonymouson Sun, 8th April 2001
This is an okay script, but do not rely on it to help prevent people from viewing your source since by temporaily disabling javascript users can get around it.