one way is to - include your java script file in to your page.
by this method script file doesn't get visible to the user.
 
<script langauage="JavaScript" src="hardeep.js">
</script>
 
------------------------------------------
Thanks & Regards,
Kailash,
Aithent Technologies (p) Ltd., Plot No.8&9 ,
Electronic City, Sector 18 , Gurgaon 122015,
Tel : + 91 124 6455504/11 ( Ext .205 )
DO TAKE VERY GOOD CARE OF YOUR HEALTH
----- Original Message -----
Sent: Wednesday, August 08, 2001 11:54 PM
Subject: Offtopic: Hiding Javascript

Hi,

I am sending this question to this list because I dont know about more
appropriate ones. I want to hide javascript code from the user, i.e, he
should not be able to do view source and see the code. I know that it is
impossible to hide java script code from the user but is there any way to
make it too hard?

Hardeep Singh
http://SeeingWithC.cjb.net

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to