If a chrome app can work offline it means that source code is downloaded somewhere.
My question is how to protect it?
The only thing that comes to my mind is minification of javascript code. Is there anything else?
Chrome apps can be hosted or packaged. Hosted apps have their background web pages on a remote server and the app acts like a bookmark or shortcut; packaged apps have off-line functionality making use of local storage.
Once uploaded to the Chrome Web Store, your extension ID is fixed and cannot be changed any more. The ID is derived from the . pem file that was created the first time you (or the Chrome Web Store) packed the extension in a . crx file.
Every app and extension in the Chrome Web Store has its own unique identification (ID) that doesn't change across versions. So, if a user installs a specific app or extension on multiple devices, it has the same ID on all devices. Each ID is 32 characters long.
You could try to put most of your app's functionality into a NaCL module. Good luck with that :-)
There is nothing to protect it as all in the web.
But you can add a license text ;)
––––– Update: you can try to use snapshot if you use the nw.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With