Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at



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

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


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



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


There are changes coming to Firefox in the next year that will make browsing more reliable for users, and creating add-ons easier for developers. Your add-on may require updating to maintain its compatibility, but once this is done and the transition is complete, your add-on will be more interoperable, secure, and future-proof than ever.

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.

发布附加组件, 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.


You can use the links below to get help, keep up to date with news around add-ons, and give us feedback.


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:


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)