A
A
Artem2016-10-20 15:01:36
JavaScript
Artem, 2016-10-20 15:01:36

How to encrypt, protect your Chrome browser extension?

I was engaged in the development of an extension for the chrome browser and was faced with the following question: can competitors merge my extension, change it or improve it, or resell it as it is?
Are there any options for protecting js code other than obfuscation? I saw that it’s quite possible to go into the extensions folder, edit the code (if not obfuscated), in particular, remove license checks and the like and enjoy the free extension, or I just haven’t seen sensible protection implementations yet. Thank you in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SergeySkokov, 2016-10-20
@SergeySkokov

Google does not allow code to be encrypted, which is why they can block the extension:
- extension violate single-purpose policy (the extension must perform one function)
- extension violate policy related with hidden code (the code must be without any ciphers)

A
Anton, 2016-10-20
@SPAHI4

Try Asm.js and webassembly

A
Alexander Taratin, 2016-10-23
@Taraflex

Rewrite to c++ and compile to PNaCL
https://developer.chrome.com/native-client/nacl-an...
Example https://chrome.google.com/webstore/detail/pnacl-ex...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question