Hi friends, Is there any ways to hide our javascript code? i knew separating javascript code to external js file might help at some level but it is not completely fool proof. Do you know anyother ways to hide it? let me know... Thanks
Thanks tvoodoo for your reply. Mostly we use javascript to avoid a post to the server, like checking,validation. but it can be used for other purposes too like to show/hide etc... when these things are encrypted takes bit more time to access these functions due to decryption , right? so any other ways tvoodoo..
In theory , it makes the code smaller so it should work faster... Have a look at : http://bytes.com/topic/javascript/answers/575251-best-way-protect-javascript-code http://stackoverflow.com/questions/3904141/what-is-the-best-way-to-encode-protect-a-javascript-code
I think by encrypt you mean compressing the js file right? yes, we can make it difficult to read. Nice links tvoodoo, thanks.
You don't quite know what open source means inblues , just talking to make some posts.Javascript is Client Side , thats why it can't be very well protected , open source doesn't have anything to do with it.