on 10/3/00 2:46 AM, Dan Haley at [EMAIL PROTECTED] wrote:

> access to it.  The point here is that if I have something that is "cool" and
> I "obscure" it, the people who are going to be able to get to it could have
> figured out how to do the "cool" thing in the first place!

The easiest way to obfuscate javascript is to strip all carriage
returns/linefeeds, spaces and comments from the code and then use it as an
external javascript file.

The script is still there for all to see if they want, but a simple "view
source" is not going to reveal much - they'll have to be pretty keen to
re-assemble it in a text editor.

-- 

Rob Keniger

big bang solutions

<mailto:[EMAIL PROTECTED]>
<http://www.bigbang.net.au>

------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to