There is not way to comment out Javascript so that it would not be
extractable by a determined person.
Javascript is a client side scripting language and as such must be sent by
the server to the browsers.
Even if some browsers supported hiding the code via the view source option,
the client could simple use another http client to get this information. You
could no sooner hide JavaScript then you could hide HTML.
William J. Riley
Administrator
Atlantic Computer Systems & Services
Edge Web Hosting
Phone:(410) 363-4626
Fax:(410) 363-8526
[EMAIL PROTECTED]
http://www.edgewebhosting.net
-----Original Message-----
From: Christian Gustafson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 12:11 PM
To: CF-Server
Subject: RE: Comment out Javascript in browser but not ColdFusion?
> -----Original Message-----
> From: Rob Keniger [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 03, 2000 7:33 AM
>
> 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.
This is a good start, but for serious inspiration on obscuring your code
beyond recognition, please visit The International Obfuscated C Code Contest
at http://www.ioccc.org/
Some of the examples from this page could stunt the growth of a small child.
Christian Gustafson
Senior Software Engineer
Onvia.com
Work. Wisely.
http://www.onvia.com
(p) 206.373.9307
----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com