Reputation: 733
Is there a way to hide the Javascript files from being seen when we open the developer window. Users have become smarter and they google and find a way to see the code by opening the developer window. Is there a way to avoid this?
Upvotes: 1
Views: 378
Reputation: 6473
JavaScript code is going to be visible no matter what you do. It's client side script. Never store any sensitive code or data in anything on the client side. Your only option is to have anything that you wish to be obfuscated from users on the server side. You can't do that with JS, as that's on the client side.
Upvotes: 8