是否允许混淆 WebExtension?
Obfuscate WebExtension allowed?
我已经使用 WebExtension api 开发了我的第一个插件。
是否允许混淆我的背景和选项 javascript 文件? (例如删除所有换行符 and/or 重命名我的描述性变量名称)
"Signing and distributing your add-on" 文档中有一点注释:
You should not obfuscate your code to bypass validation warnings. That practice can lead to your add-on being rejected and
potentially blacklisted.
https://developer.mozilla.org/en-US/Add-ons/Distribution
但如果我理解正确的话,这只是关于绕过警告的混淆。
是的,允许混淆或最小化您的代码。 Mozilla 的 Review Policies are quite clear regarding Review Policies:Source Code Submission:
Listed and unlisted add-ons may contain binary, obfuscated and minified source code, but Mozilla must be allowed to review a copy of the human-readable source code upon request. In such cases, the author will receive a message from Mozilla asking for their assistance in the review. The submitted source code will be reviewed by an administrator and will not be redistributed in any way. The code will only be used for the purpose of reviewing the add-on.
Instructions for reproducing obfuscation are also required, please read the details of this guideline to ensure a swift review.
If your add-on contains code that you don't own or can't get the source code for, you may contact us for information on how to proceed.
事实上,有一个页面专门用于描述 Source Code Submission(链接在上面的引用中)。
基本要求是,如果您选择最小化或混淆代码,则需要:
- 上传未最小化和未混淆的代码作为提交给 AMO 的一部分(此版本的代码未分发;仅用于审核)。
- 提供有关如何生成 minimized/obfuscated 代码的详细说明。他们必须能够准确重现您提供的 minimized/obfuscated 代码。
提供 minimized/obfuscated 代码会增加审核所需的时间。您的评论将是一个“管理员”评论,它的评论者人数要少得多,这是导致它花费更长时间的部分原因。
我已经使用 WebExtension api 开发了我的第一个插件。
是否允许混淆我的背景和选项 javascript 文件? (例如删除所有换行符 and/or 重命名我的描述性变量名称)
"Signing and distributing your add-on" 文档中有一点注释:
You should not obfuscate your code to bypass validation warnings. That practice can lead to your add-on being rejected and potentially blacklisted.
https://developer.mozilla.org/en-US/Add-ons/Distribution
但如果我理解正确的话,这只是关于绕过警告的混淆。
是的,允许混淆或最小化您的代码。 Mozilla 的 Review Policies are quite clear regarding Review Policies:Source Code Submission:
Listed and unlisted add-ons may contain binary, obfuscated and minified source code, but Mozilla must be allowed to review a copy of the human-readable source code upon request. In such cases, the author will receive a message from Mozilla asking for their assistance in the review. The submitted source code will be reviewed by an administrator and will not be redistributed in any way. The code will only be used for the purpose of reviewing the add-on.
Instructions for reproducing obfuscation are also required, please read the details of this guideline to ensure a swift review.
If your add-on contains code that you don't own or can't get the source code for, you may contact us for information on how to proceed.
事实上,有一个页面专门用于描述 Source Code Submission(链接在上面的引用中)。
基本要求是,如果您选择最小化或混淆代码,则需要:
- 上传未最小化和未混淆的代码作为提交给 AMO 的一部分(此版本的代码未分发;仅用于审核)。
- 提供有关如何生成 minimized/obfuscated 代码的详细说明。他们必须能够准确重现您提供的 minimized/obfuscated 代码。
提供 minimized/obfuscated 代码会增加审核所需的时间。您的评论将是一个“管理员”评论,它的评论者人数要少得多,这是导致它花费更长时间的部分原因。