附加组件

这篇文章需要文法复核。如何帮忙。

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

附加组件允许开发者去扩展和修改 firefox 的功能。开发者们使用标准的 Web 技术 - JavaScript,HTML 以及 CSS - 再加上一些专用的 JavaScript API 来开发附加组件。除此之外,附加组件还能:

  • 改变指定网站的外观或者内容
  • 修改 Firefox 的用户界面
  • 给 Firefox 加上新功能

开发新附加组件

目前有几种工具用于开发的 Firefox 附加组件, 但是 WebExtensions 将会在 2017 年年末后成为事实上的标准。其余的都会在同一时期被弃用

在这里你会找到一些有用的用于开发附加组件的信息,这样就可以决定是现在和将来的最适合你的根据。

创建一个附加组件

如果你正在写一个新的附加组件,我可推荐你可以选择以下其中之一,在过渡到WebExtenions完成之前, 在每个方法中将会有优点和缺点. 请阅读选项来决定哪一个最适合你.

迁移现有附加附加组件

在要来的一年里,Firefox的一些改善,将带给用户更加可靠的浏览体验,也使得开发者们更加便捷的创建插件。你的插件可能需要进行更新,来维持它的兼容性,一旦更新和过度完成,你的插件将会变得空前的安全,易于交互。

We've created resources, migration paths, office hours, and more, to ensure you have the support you need to get through the transition.

To get started, use the add-on compatibility checker to see if your add-on will be affected.

发布附加组件

Addons.mozilla.org, commonly known as "AMO," is Mozilla's official site for developers to list add-ons, and for users to discover them. By uploading your add-on to AMO, you can participate in our community of users and creators, and find an audience for your add-on.

You are not required to list your add-on on AMO, but starting with Firefox 40, your code must be signed by Mozilla or users won't be able to install it.

For an overview of the process of publishing your add-on, see Signing and distributing your add-on.

其他类型的附加组件

Generally, when people speak of add-ons they're referring to extensions, but there are a few other add-on types that allow users to customize Firefox. Those add-ons include:

  • Lightweight themes are a simple way to provide limited customization for Firefox.
  • Mobile add-ons are add-ons for Firefox for Android. Note, though, that we intend to deprecate some of the technology underlying these APIs. In the future, WebExtensions will be fully supported on Firefox for Android.
  • Search engine plugins add new search engines to the browser's search bar.
  • User dictionaries are add-ons that let you spell-check in different languages.
  • Language packs are add-ons that let you have more languages available for the user interface of Firefox.

联系我们

你可以从以下链接获得帮助,时刻关注add-ons的动态,并反馈我们。

附加组件论坛

Use the Add-ons Discourse forum to discuss all aspects of add-on development and to get help.

邮件列表

Use the dev-addons list to discuss development of the add-ons ecosystem, including the development of the WebExtensions system and of AMO:

IRC

If you're a fan of IRC, you can get in touch at:

  • #addons (discussion of the add-ons ecosystem)
  • #extdev (general discussion of add-on development)
  • #webextensions (discussion of WebExtensions in particular)