Encrypt Chrome extension?

Anyway, to encrypt the Chrome extension due to the fact that you did not open the source code?

+5
source share
4 answers

you can hide your code with the obfuscator. There are many available in the market.

There are several tools, such as the Google Closure compiler, and many online javascript ofuscators available on the market. you can use any. but this does not guarantee code confidentiality. any javascript expert can de-obfuscate this code.

: 1. -. . 2. NPAPI, .

, . - , . .

EDIT: NPAPI .

+8

, . , .

( javascript- html-, ( , chrome-extension js/css/html, , , ))

+4
  • ( -)
  • html js iframe ( html )

, .

0

v2 , eval .

, v2- , script, eval() new Function(), JS- , eval() , setTimeout(). , JavaScript, Google Maps , , .

https://developer.chrome.com/extensions/tut_migration_to_manifest_v2#using

. minifiers ( , ) - , , . . , , . , minifiers . minifier UglifyJS.

-1

All Articles