有没有办法关闭 Chrome 扩展程序或 Firefox 插件的源代码?
我见过的最接近封闭源代码的方法是混淆代码。既然混淆不会使逆向工程变得不可能,是否有更好的方法?事实上,逆向工程真的很简单吗?
The closest approach to close sourcing I've seen is to obfuscate the code. Is there a better way since obfuscation doesn't make reverse engineering impossible? In fact, is reverse engineering actually quite simple?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
由于 Javascript 在客户端计算机(而不是服务器)上执行,因此不幸的是,除了混淆之外您无能为力。除非您使用 AJAX 并在某个服务器上运行代码的重要部分,否则它将始终是可逆向工程的。
Because Javascript executes on the client computer (not the server) there's not much you can do beyond obfuscation unfortunately. Unless you use AJAX and run the important bits of the code on a server somewhere then it'll always be reverse engineerable.
将您的代码放入(编译/二进制)NPAPI 插件中。
Put your code in (compiled/binary) NPAPI plugins.