Paulo Lopes wrote:
> Is there a way to protect javascript code?
No and there can't be.
The browser must see the cleartext Javascript code to execute it, and if
the browser can decode it, a user can as well.
--
"They that can give up essential liberty to obtain a little temporary
safety deserv
Ben's right. The only way to keep a user from reading the source code of
your script is not to put scripts on your web pages. If you send the
script over the wire, you've given it to the user, whether our browser
allows you to display it or not. One doesn't even need a browser to read
your scr
Henrik Gemal wrote:
> Paulo Lopes wrote:
>
>> Is there a way to protect javascript code?
>> Something like microsoft script encoder, but that aplies to Mozilla?
>
> Nope. MS Script encode is stupid and very easy to decode.
I think it's impossible. Mozilla is open-source. I can always hack my
M
Paulo Lopes wrote:
> Hi,
>
> Is there a way to protect javascript code?
> Something like microsoft script encoder, but that aplies to Mozilla?
Nope. MS Script encode is stupid and very easy to decode.
--
Henrik Gemal
Mozilla Evangelist
Get the latest and greatest Mozilla web browser at:
http: