- Jun 16, 2010
- 992
- 131
Is there any way we can protect or mask our javascript, so no one can see it or reuse it?
I think it’s difficult to fully protect JavaScript because it runs on the user’s browser.Is there any way we can protect or mask our javascript, so no one can see it or reuse it?
you can’t 100% protect any code. everything can be decompiled and debugged. but there are ways to make it so difficult that it’s not worth the effort. for js, look into code obfuscation. there are ready-made solutions on github.Is there any way we can protect or mask our javascript, so no one can see it or reuse it?