How can I protect my implemented JS methods from user? So that no one could copy these methods. Normally, User can see JS methods in firebug easily. I want to hide methods in firebug also.
Is there any trick to hide methods from users?
Note: I don’t want to use Eval method. so please don’t suggest me to eval based tricks
google closure compiler is a good start
there is also a YUI lib that you can use and many others.
This will make your code pretty much impossible to debug in firebug.
There is no full proof way though to stop users for mucking with your code, since it does run on the client side by definition.