简体   繁体   English

firefox 插件,隐藏 javascript 源

[英]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?有人能告诉我在创建插件时使用哪些工具/方法来混淆 javascript 代码吗?

We have a problem of another DEV messing with our code, creating some other crap with it and then bad mouthing us:(我们有一个问题,另一个 DEV 弄乱了我们的代码,用它制造了一些其他的废话,然后说我们的坏话:(
(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!谢谢!

If you want to publish your addon in addons.mozilla.org I think that you must not use obfuscated javascript.如果你想在 addons.mozilla.org 中发布你的插件,我认为你不能使用混淆的 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.您可以尝试就您的问题联系 Mozilla 的某个人,如果问题非常严重,他们可以将其他插件列入黑名单。

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.我不太精通 Firefox 特定的 JavaScript,但应该可以通过 JavaScript 压缩器(如http/to obcate your code:// jscompress)运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM