Mozilla wants to hear from developers like you. http://www.surveygizmo.com/s3/2737536/440b74c45e94?a=mdn

附加组件准则

这篇翻译不完整。请帮忙从英语翻译这篇文章

本附加组件准则是为促进形成开放和多元化的附加组件开发者社区,同时确保卓越的用户体验而创设。它们适用于所有附加组件及其更新,无论它们托管在何处,同时也适用于通过安装程序而非附加组件对火狐浏览器进行的定制。托管在 AMO 的附加组件还受额外政策的管理。

完全透明

  • 附加组件必须通过附加组件网络安装系统进行安装,否则须弹出安装选择框对用户进行提示并被用户许可。
    • We want our users to know what they are installing so that they are not unpleasantly surprised by changes they did not expect. We also want them to know what to remove if they decide not to keep it.
    • Add-ons installed through application installers should use the Windows Registry or equivalent global install methods so that Firefox displays the opt-in screen. The opt-in screen must not be tampered with in any way, including overlaying additional information or images on top of it.
  • 附加组件必须能随时在附加组件管理器中卸载或禁用。
    • Add-ons installed globally using the Windows registry or global extension directories cannot be uninstalled (bug 640775), but they can be disabled to the same effect.
  • Add-ons must use a single unique ID during their entire lifetime.
    • Using the same ID for multiple products, or multiple IDs for a single product, can lead to problems with automatic updates as well as blocklisting conflicts. Add-ons may change their IDs due to ownership changes, as they commonly use an email address-like format (e.g., personasplus@mozilla.com).
  • Add-ons must not use brand names, trademarks, or other terms in ways that deceive users. Using Mozilla trademarks must follow our trademark policy.
  • 附加组件应当清晰阐述其预期的目的和激活了的功能,包括通过更新推出的功能。
    • While we understand and support add-on developers who choose to monetize their products, this should not come at the expense of users' browsing experience. If an add-on inserts advertisements, affiliate codes, sponsored search results, or the like, into web pages, the user should be made aware of this when the add-on is installed. Likewise, if some features require payment to use, or require payment to remain active after a trial period, users should be made aware of this.

尊重用户

  • 附加组件在被卸载时,必须移除所有介绍性代码、可执行文件和应用程序配置更改。
    • Uninstalling an add-on using the regular uninstall process should generally suffice. This guideline primarily applies to changes made to preferences such as the homepage, default search URL, network settings, and so forth. These preferences should be restored to their previous values when the add-on is uninstalled. Most add-ons can easily accomplish this by making such changes via a default preferences file.
  • 附加组件必须尊重用户的选择,不会做出预料之外的更改,也不会限制用户对其进行复原。
    • For instance, users generally do not expect an add-on to change the Firefox homepage. Asking users to opt-in to such extra changes is recommended.
    • Making settings changes difficult or impossible to revert is prohibited. It's not allowed to block users or other add-ons or installers from changing any settings.
  • 附加组件应当明确用户的隐私数据将如何被使用
    • Add-ons which send user data over the Internet should generally provide a Privacy Policy, ideally concise and easily readable.
  • 附加组件开发者应当提供一种能收到联系的机制。
    • While developers are not required to provide a support channel for users, it is recommended. All add-on developers should have a contact form or public email address so that they can be contacted in case of emergencies, such as guideline violations that could lead to blocklisting.

安全无害

  • 附加组件不得危害用户的数据、系统或在线身份。
  • 附加组件不得以不安全的方式传输用户的隐私数据,或在非必要情况下将其向第三方披露。
    • Private data should always be sent over a secure connection. This includes browsing data such as visited URLs and bookmarks.
    • Making the browser easier to fingerprint by adding text to the User-Agent string or adding custom headers is also a privacy concern, and should be avoided.
  • 附加组件不得创建或暴露的应用程序或系统的漏洞
    • Security bugs happen, but once discovered they need to be addressed immediately. A popular add-on with a security vulnerability is a valuable attack vector for hackers, and in such cases we will move quickly to blocklist the add-on if there is no prompt response from the developer.
  • 附加组件不得篡改应用程序或拦截列表更新系统。
  • 附加组件不应在隐私浏览模式中保留任何浏览数据。
    • It's worth stressing that PBM is about avoiding storinglocal data while browsing, not about sending data elsewhere. To learn more about PBM we recommend reading Ehsan's blog posts about it.

稳如磐石

  • 附加组件不得造成挂起或崩溃
  • 附加组件不应中断或禁用核心应用程序功能。
    • This includes features like tabbed browsing, Private Browsing Mode, and the location bar. Add-ons that are specifically meant to do this are exempt.
  • 附加组件不应造成内存泄漏不必要地消耗大量的内存
  • 附加组件不应显著地拖慢应用程序或系统。
  • 附加组件不应网络资源,使得普通的应用程序使用受到影响。
    • Downloading large amounts of data without user awareness can significantly disrupt regular browsing, and may result in unexpected charges for users who have network usage limitations (notably on mobile).

例外

  • 附加组件如果能够保证其正朝着符合准则而努力,且不存在任何恶意企图,那么可以违反部分准则(例如一个安全漏洞的概念性验证)。
  • 由管理员在工作场所、学校或售货亭等场所内部署的附加组件,免除大多数准则的遵守。
  • As add-ons can only run clean up code if they are uninstalled while Firefox is running and they are enabled, we do not require that they attempt to clean up after themselves when they are uninstalled under other circumstances. Application installers that configure Firefox without add-ons should revert any changes when uninstalled.
  • Add-ons may leave behind preferences changes in private preference branches which do not affect Firefox when the add-on is not active, so that any previous add-on configuration is not lost if the user decides to re-install the add-on in the future.

以及其他必要的例外。

强制性

附加组件若不遵循上述准则,一招违规的严重程度,可能会被我们加入拦截列表。由“必须”“不得”强调的条款极其重要,违反这些条款的附加组件极有可能被我们拦截。

The Add-ons Team will do their best to contact the add-on's developers and provide a reasonable time frame for the problems to be corrected before a block is put in place. If an add-on is considered malicious or its developers have proven unreachable or unresponsive, or in case of repeat violations, blocklisting may be immediate.

Guideline violations should be reported via Bugzilla, under Tech Evangelism > Add-ons. Questions can be posted in the #addons IRC channel.

These guidelines may change in the future. All updates will be announced in the Add-ons Blog.

文档标签和贡献者

标签: 
 此页面的贡献者: xcffl
 最后编辑者: xcffl,