3 ms·
If the browser can decrypt it then it is a simple matter to get at the decrypted code. If you want to make it really difficult to "steal" code just run it thro
by Saavedro 15y ago
If the browser can decrypt it then it is a simple matter to get at the decrypted code.
If you want to make it really difficult to "steal" code just run it through a minifer. You'll never really be able to hide what a script is doing though. If you want logic not to be user-known and very likely user-modifiable you -must- make it server side. If this weren't the case DRM would actually work ;)