Ryan
Ryan

Reputation: 10049

firefox addon, hide javascript source

Can someone tell me which tools/methods you use to obfuscate the javascript code when you create your addon/s?

We have a problem of another DEV messing with our code, creating some other crap with it and then bad mouthing us :(
(seriously, how low can some people stoop?)

I understand it wont keep truly determined souls at bay, but we want to atleast make him work for it before he gets the source. Frustrate the bugger for a while at least ;)

Thanks!

Upvotes: 1

Views: 902

Answers (3)

AlfonsoML
AlfonsoML

Reputation: 12690

If you want to publish your addon in addons.mozilla.org I think that you must not use obfuscated javascript.

You can try to contact someone from Mozilla about your problem and if the problem is really serious they can blacklist the other add-on.

Upvotes: 1

Karl Nicoll
Karl Nicoll

Reputation: 16419

I'm not well versed in Firefox-specific JavaScript, but it should be possible to run it through a JavaScript minifier like http://jscompress.com/ to obfuscate your code.

Upvotes: 0

Related Questions