网页 综合 更新时间 2026-11-09 17:02:22

Create extensions for Firefox and Firefox for Android | Firefox Extension Workshop

自动蜘蛛 extensionworkshop.com 正文约 2829 字
Support your development workflow with these straightforward tools and guides.
All you need to create extensions for Firefox is a text editor and a version of Firefox to support your testing. Mozilla and the Firefox extension developer community have also created a number of extension development tools that can simplify the coding and testing of your extension.
The web-ext tool can help you by:
Having an exceptional user experience is crucial to attracting, and retaining, users of your extension.
RememBear is a great example of an extension with an outstanding user experience.
Focus on a slick onboarding flow that gets users up to speed with your extension quickly.
If your extension collects user data during onboarding, make sure you follow the best practices for collecting user data consent. And, it’s important that you request the right permissions.
Keep your users engaged and follow the user experience best practices. And, don’t forget to build an accessible extension, so that everyone can make use of it.
Lastly, building a secure extension is fundamental to delivering an excellent user experience.
Users are less likely to install an extension if they don’t understand what it does and what value it adds to their browsing experience. Find out best practices for putting your best foot forward with your extension.
To offer your extension to Firefox for Android users, you need to consider some differences between Firefox for the desktop and Android.
Get started with everything you need to know about developing for Firefox for Android.
If you develop Android apps, when you want to include a browser experience in your app you can take advantage of the browser engine that underpins Firefox using the GeckoView Extensions Android library.
The Firefox extension environment is highly compatible with Chromium-based extension technology. Your extension might already be capable of running on Firefox, or need only a few changes.
Check out our porting guide to get started.
Test and debug your code by temporarily installing it in Firefox.
Understanding extensions and the Add-on ID will help you test more effectively. You will also want to test persistent and restart features along with permission requests.
You can use web-ext to automatically install and update your extension while making coding changes.
Contributors: caitmuenster rebloor
Last update: rebloor Aug 05, 2026
For developers: @mozamo
For end users: @rockyourfirefox
Stay up-to-date on news and events for Firefox extension developers.
If you haven’t previously confirmed a subscription to a Mozilla-related newsletter you may have to do so. Please check your inbox or your spam filter for an email from us.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.
访问原文 返回搜索 https://extensionworkshop.com/documentation/develop/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。