javascript - How to protect source code of firefox browser extension -


we developing firefox browser extension. able install xpi , access features have developed.

major of logic written in javascript , html files. can unzip xpi file , can see source code. how prevent ? mozilla providing encryption mechanism ?

the same features developed other browsers chrome.

you can obfuscate javascript , xpi still work. javascript obfuscation keeps functionality of code makes harder read , reuse (not impossible, though).

i'll leave here 2 tools i've tried:

free: uglifyjs (only minification ie. removes unnecessary characters make smaller);

not-free: jscrambler (seems best pick if looking obfuscation);

google: [javascript | html5] [~protect | ~obfuscate] find more obfuscation tools.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -