Protecting JavaScript? Or use Something else? [duplicate]
Possible Duplicate:
How can I obfuscate JavaScript?
I have been working on a web app in JavaScript. Nearing complete.
How do I protect me JavaScript code from someone copying it? I mean if you view my page source, it references the .js files and one could really steal these.
Should I be using something else? RoR?
Does Google Maps have a RoR API?
Your closest bet would be to use something like
- A Javascript Obfucator
- A Javascript Minifier
- A Javascript Packer
People will still be able to steal and use your code though, it will just be harder to modify.
精彩评论