0

Possible Duplicate:
How can I obfuscate JavaScript?

I built a web app for a client running in javascript. What is the best way to "protect" my code? All of the code for the app can be seen in FireBug etc ?

Is there any way?

Community
  • 1
  • 1
Harry
  • 13,091
  • 29
  • 107
  • 167
  • The best way to protect your code is to keep it visible only to yourself (jk). No, you can't do any total protection. However, you can minify and pack it, to make it harder for the newbies to come and steal from you. – Shef Aug 08 '11 at 09:30

1 Answers1

1

You could try to make it hard to anyone to understand the code by using an obfuscator.

Vlad
  • 10,602
  • 2
  • 36
  • 38