Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Fw: Hiding/protect java scirpt source code


Message #1 by "Naeem Ali Khan" <naeem@p...> on Wed, 27 Sep 2000 17:21:05 +0500
i think the closest you can come to "hiding your javascript source is using:

<script language="javascript" src="yourPath.js"></script>

with yourPath.js being a javascript... just it's not actually on the html
page..

if you paste it in the browser like:

yourDomain.com/yourPath.js

you can still get to the file to download, but at least it's a step away,
and great for
clarity, reusability etc.

chris

-----Original Message-----
From: Naeem Ali Khan [mailto:naeem@p...]
Sent: Wednesday, September 27, 2000 8:21 AM
To: javascript
Subject: [javascript] Fw: Hiding/protect java scirpt source code



----- Original Message -----
From: "David Long" <davidl@w...>
To: <naeem@p...>
Sent: Tuesday, September 26, 2000 5:40 PM
Subject: RE: Hiding/protect java scirpt source code


> Hi Naeem,
>
> Javascript and Java are two different things; if you want to
> run Javascript in a client web browser but hide the source,
> I'm not sure that's possible.. but you might want to ask the
> question on our Javascript list, as there will be people there
> who know a lot more about it than I do :)
>
> Cheers,
>
> Dave.
>
> --
> David Long <davidl@w...>
> Wrox Press - Programmer to Programmer(tm)
> http://p2p.wrox.com/
>
> -----Original Message-----
> From: Naeem Ali Khan [mailto:naeem@p...]
> Sent: 26 September 2000 13:04
> To: Beginning Java
> Subject: Hiding/protect java scirpt source code
>
>
> Hi Guys
> Please let me know the way
> how javascipt code can be protected/hide
> using java script lang in html.Java source code is stored in seperate file
> Regards
> Naeem
>




  Return to Index