- "A justification for host permission use is required." - 这意味着你需要为你的扩展程序请求的 host 权限提供一个理由。你需要在"Privacy practices"选项卡中明确说明为什么你的扩展程序需要这些权限,并且你如何使用这些权限。
- "The single purpose description is required." - 这意味着你需要提供一个描述,说明你的扩展程序的主要目的是什么。这个描述需要清晰地说明你的扩展程序的功能和用途。
- "To publish your item, you must certify that your data usage complies with our Developer Program Policies." - 这意味着你需要确认你的扩展程序的数据使用方式符合 Google 的开发者计划政策。你需要在"Privacy practices"选项卡中确认这一点。
这些信息是必须的,因为它们帮助用户理解你的扩展程序如何使用权限和处理数据,从而使用户能够做出明晰的决策。如果你没有提供这些信息,你的扩展程序可能无法在 Chrome Web Store 上发布。
填写 Single purpose
An extension must have a single purpose that is narrow and easy-to-understand.
在这个字段中,你需要简洁明了地描述你的扩展的主要功能和目的。一个好的"single purpose"描述可以帮助用户快速理解你的扩展的主要功能和用途,这对于决定是否安装扩展非常重要。
这个扩展的主要功能是向 Bard 文本编辑器添加中文翻译支持。所以,一个可能的"single purpose"描述可能是:
"Bard Translator: This extension enhances the Bard text editor by providing instant Chinese translation for the entered text."
填写 Permission justification
A permission is either one of a list of known strings, such as "activeTab", or a match pattern giving access to one or more hosts. Remove any permission that is not needed to fulfill the single purpose of your extension. Requesting an unnecessary permission will result in this version being rejected.
在 "Permission justification" 部分,你需要明确解释你的扩展为什么需要特定的权限,以及如何使用这些权限来实现你的扩展的单一目的。
根据我们之前的讨论,你的扩展需要从 Google 翻译 API 获取翻译结果,然后将这些结果插入到 Bard 文本编辑器中。为了完成这个任务,你可能需要以下权限:
-
"activeTab" 或 "tabs" 权限:这些权限允许你的扩展访问和修改当前活动标签页的内容。你的扩展需要这个权限来读取用户在 Bard 文本编辑器中输入的文本,然后将翻译的结果插入到文本编辑器中。
-
"https://translate.googleapis.com/" 主机权限:这个权限允许你的扩展向 Google 翻译 API 发送请求。你的扩展需要这个权限来获取翻译结果。
因此,一个可能的 "Permission justification" 描述可能是:
"This extension requires 'activeTab' or 'tabs' permissions to access and modify the contents of the Bard text editor, and 'https://translate.googleapis.com/' host permission to send requests to the Google Translate API for translation results. These permissions are necessary for providing instant Chinese translation for the entered text in the Bard text editor."