Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to protect source code of chrome packaged app?

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?

like image 227
31415926 Avatar asked Jan 29 '14 09:01

31415926


People also ask

What is a Chrome packaged app?

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.

How do I change my Chrome extension ID?

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.

What is Chrome app ID?

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.


2 Answers

You could try to put most of your app's functionality into a NaCL module. Good luck with that :-)

like image 183
kzahel Avatar answered Oct 06 '22 01:10

kzahel


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

like image 42
Alexey Sh. Avatar answered Oct 06 '22 00:10

Alexey Sh.