26 results for tag “webextensions”

  1. Testing persistent and restart features

    Testing persistent and restart features When testing your extension, you may notice that some features reset themselves or stop working when you load an updated version or after you restart Firefox. For example, you may be using local storage and notice that previously saved...

    /documentation/develop/testing-persistent-and-restart-features/

  2. Porting a legacy Firefox extension

    Porting a legacy Firefox extension If you have developed a Firefox extension using XUL/XPCOM or the Add-on SDK, this page will help you migrate your extension to use WebExtensions APIs. The standard to build extensions for Firefox is to use WebExtensions APIs. It will...

    /documentation/develop/porting-a-legacy-firefox-extension/

  3. Comparison with the Add-on SDK

    Comparison with the Add-on SDK This article is a technical comparison of the Add-on SDK and WebExtensions technology. It's intended to help orient people who have an add-on that uses the SDK, and who are planning to port it to use WebExtension APIs. Support...

    /documentation/develop/comparison-with-the-add-on-sdk/

  4. Comparison with XUL/XPCOM extensions

    Comparison with XUL/XPCOM extensions This article is a technical comparison between the WebExtensions technology and "classic" extensions developed using direct XUL manipulation and direct access to XPCOM. It's intended to help orient people who maintain an add-on like this, and who are planning to...

    /documentation/develop/comparison-with-xul-xpcom-extensions/

  5. Test permission requests

    Test permission requests Your extension may contain two types of permission request: install time and runtime permission requests. This page explains how you can test the way your users will see requests for these permissions. Contents Permission grant behavior during testingObserve or verify install...

    /documentation/develop/test-permission-requests/

  6. Best practices for collecting user data consents

    Prompt users for data and privacy consents If your extension uses cookies or collects user data, it needs to comply with the requirement of the Data Disclosure, Collection and Management section of the Add-on Policies. A common developer question about these policies is how...

    /documentation/develop/best-practices-for-collecting-user-data-consents/

  7. Build an accessible extension

    Accessibility guidelines When it comes to accessibility, extensions should follow the same guidelines as websites. However, extensions have unique features that deserve consideration when designing for accessibility. Here is a breakdown of extension features and how they should be used to make an extension...

    /documentation/develop/build-an-accessible-extension/

  8. Submitting an add-on

    Submitting an add-on This article walks through the process of publishing an add-on. If you just want to get started, head to the Submit a New Add-on page on AMO. Contents Listing on AMOSelf-distributionGet help To start, familiarize yourself with the Add-on Policies and...

    /documentation/publish/submitting-an-add-on/

  9. Porting a Google Chrome extension

    Porting a Google Chrome extension The browser extension APIs are designed to promote cross-browser compatibility among extensions. The WebExtension APIs is therefore, to a large extent, code-compatible with the extension API supported by Google Chrome and Opera. Extensions written for these browsers will, in...

    /documentation/develop/porting-a-google-chrome-extension/

  10. Browser compatibility

    Browser compatibility Contents NamespaceAsynchronousAPI CoverageManifest keysMore information While work continues to standardize the APIs used for browser extension development, there remain differences between Chromium-based browsers—such as Chrome, Opera, and the Chromium-based Microsoft Edge—and Firefox. These differences, summarized on this page, include: Namespace: In Chromium-based...

    /documentation/develop/browser-compatibility/

  11. About the WebExtensions API

    About the WebExtensions API WebExtension APIs provide a user-controlled, web-focused extension development platform used to extend the features of Firefox. The APIs strike a balance between the functionality extensions bring to Firefox and the risks they introduce to the user experience. Designed to offer...

    /documentation/develop/about-the-webextensions-api/

  12. Extensions and the Add-on ID

    Extensions and the add-on ID Firefox add-ons contain a unique ID which is used to distinguish this add-on from any other Firefox add-on. This article describes how add-on IDs are handled for extensions that are built with WebExtensions APIs. Firefox add-ons contain a unique...

    /documentation/develop/extensions-and-the-add-on-id/

  13. What does review rejection mean to users?

    What does review rejection mean to users? This article explains how users and people looking for your extension are affected should you get a rejection from the Mozilla review process. Contents Review overviewImpact of review rejectionBlocklisting Review overview Any extension you submit to addons.mozilla.org...

    /documentation/publish/what-does-review-rejection-mean-to-users/

  14. Temporary installation in Firefox

    Temporary installation in Firefox This article describes how you can temporarily install an extension in Firefox for testing and debugging. The extension stays installed until you remove it or restart Firefox. For extension development, automate the processes described on this page by using web-ext....

    /documentation/develop/temporary-installation-in-firefox/

  15. Debugging

    Debugging This article explains how to use the Firefox developer tools to debug extensions. An extension can consist of several components—background scripts, popups, options pages, content scripts, sidebars, and alike—and you'll use slightly different workflows to debug each component. Each component has a section...

    /documentation/develop/debugging/

  16. Community

    Join the developer community Tap into the worldwide network of Firefox developers help improve the Firefox add-ons ecosystem. Contents Who is part of the community? Connect with the community Get involved in the community Who is part of the community? Firefox extension developers are...

    /community/

  17. Browser Extension Development Tools

    Browser Extension Development Tools Mozilla and the Firefox browser extension developer community have created a range of tools that can simplify and speed up your browser extension development. This page provides a summary of those tools including details on the features each offers, how...

    /documentation/develop/browser-extension-development-tools/

  18. Firefox workflow overview

    Firefox workflow overview Prepare Code Publish* Enhance Retire Choose a Firefox version for web extension development Code your extension Package your extension with web-ext build Responded to Mozilla extension review Retire your extension Choose your IDE or code editor Run your extension with web-ext...

    /documentation/develop/firefox-workflow-overview/

  19. Onboard, upboard, offboard users

    Best practices for onboarding, upboarding, and offboarding users The first few minutes after someone installs your extension can be critical to its success. Your new user needs to know where to start and how to use the features of your browser extension. Contents OnboardingUpboardingOffboarding...

    /documentation/develop/onboard-upboard-offboard-users/

  20. Unique Firefox Capabilities

    Unique Firefox Capabilities Take advantage of features unique to Firefox to extend the Web even further. Firefox is a great place to begin your browser extension development. To start, you get the highest compliance with the proposed browser extension API including use of the...

    /documentation/develop/unique-firefox-capabilities/

  21. Build a secure extension

    Security best practices Here is a list of best practices you should follow to keep the users of your extension safe. If you don't follow these best practices your extension may fail the reviews on addons.mozilla.org (AMO), preventing you from distributing your add-on or...

    /documentation/develop/build-a-secure-extension/

  22. Developing extensions for Firefox for Android (Fennec)

    Developing extensions for Firefox for Android version 68 and earlier Legacy guide to developing extensions for Firefox for Android version 68 and earlier ("Fennec") Contents Set up your computer and Android emulator or deviceSet up your computer and Android emulator or deviceCheck for Firefox...

    /documentation/develop/developing-extensions-for-firefox-for-android-fennec/

  23. Developing extensions for Firefox for Android

    Developing extensions for Firefox for Android Learn more about developing extensions for Firefox for Android Contents Set up your computer and Android emulator or deviceCheck for Firefox for Android compatibilityInstall and run your extension in Firefox for AndroidDebug your extension In August 2020, Mozilla...

    /documentation/develop/developing-extensions-for-firefox-for-android/

  24. Differences between desktop and Android extensions

    Differences between desktop and Android extensions There are some important distinctions to know when developing an extension for Android Contents IntroductionUser interfaceNative application interactionPermissionsOther notes In August 2020, Mozilla launched a new, reimagined Firefox for Android experience (codenamed "Fenix"). The browser for Android has...

    /documentation/develop/differences-between-desktop-and-android-extensions/

  25. web-ext command reference

    web-ext command reference This page lists all the commands and options available under the web-ext command line tool. Contents CommandsGlobal optionsSetting option environment variablesSee also Commands web-ext has the following commands; options specific to these commands are included as subsections. web-ext build Packages an...

    /documentation/develop/web-ext-command-reference/

  26. Differences between desktop and Android extensions

    User Experience Guidelines for Mobile Extensions Make your extension seamlessly integrate with Firefox for Android Contents IntroductionThe basicsThe extra mileThe last mile Introduction In August 2020, Mozilla launched a new, reimagined Firefox for Android experience (codenamed "Fenix"). The browser for Android has been rebuilt...

    /documentation/develop/user-experience-guidelines-for-mobile-extensions/