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
Mozilla to display instead of execute the JS.
Apart from that, it is the wrong thing to do. The script is executed on
the user's machine, so I believe the user has a right to see whst is
being executed. Esp. because websites usually are not (and can not be)
trusted by the visitor.
Ben Bucksch