2

Signing and distributing your add-on - Mozilla | MDN

 7 years ago
source link: https://developer.mozilla.org/en-US/Add-ons/Distribution
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Publish

Signing and distributing your add-on

Add-ons need to be signed before they can be installed into release and beta versions of Firefox. This signing process takes place through addons.mozilla.org (AMO), whether you choose to distribute your add-on through AMO or to do it yourself.

Here we look at the signing requirements and the related reviews, before discussing how to choose between distributing on AMO or distributing an add-on yourself. We also look at the channels available on AMO and answer questions about code ownership and disputes.

Signing your add-ons

Starting with Firefox 43, add-on extensions and multi-item add-ons that include extensions need to be signed by Mozilla before they can install in release and beta versions of Firefox. This includes themes and language packs; dictionaries don’t need to be signed however.

Unsigned extensions can be installed in Developer Edition, Nightly, and ESR versions of Firefox, after toggling the xpinstall.signatures.required preference in about:config.

Mozilla signs add-ons through the AMO website and provides three methods for submitting your add-on for signing:

All the signing options are subject to the Firefox Add-on Distribution Agreement.

Using the signing API or web-ext returns you signed add-ons, with no distribution listing created on AMO. If you take the option to upload your add-on through the AMO Developer Hub, you’re given a choice between listing on AMO or self-distribution. If you choose self-distribution, at the end of the process you download signed copies of your add-on.

Regardless of the method used all add-ons must pass an automated validation before they are signed. They may also be subject to a manual code review. The review criteria applied to add-ons are found in the Add-on Policies.

Distributing your add-on

You aren’t required to list or distribute your add-on through AMO. You’ll, therefore, need to decide if you want to distribute and list your add-on through AMO or distribute it yourself. Here are some things you should consider:

  • AMO is a very popular distribution platform, with millions of monthly visitors and installations. It’s integrated into the Firefox Add-ons Manager, allowing for easy installation of add-ons published on AMO.

  • When an add-on is listed on AMO, updates to installed copies are handled automatically by Firefox each time a new version is listed on AMO. To enable Firefox to automatically update self-distributed add-ons, the URL where Firefox can find updates needs to be included in the add-on manifest’s update_link key. Self-distributed add-ons that don’t have an update URL check AMO for updates and are updated to a listed version, if one is available.

For more information on how to submit an add-on for distribution on AMO or self-distribution, see Submitting an add-on.

More information about AMO

Ownership

Add-ons on AMO can have multiple users with permission to update and manage the listing. The authors of an add-on can transfer ownership and add developers to an add-on’s listing through the Developer Hub. No interaction with Mozilla representatives is necessary for a transfer of ownership.

To transfer ownership

  • Make sure the new owner has an account on addons.mozilla.org. New accounts can be created using the “Register or Log in” button, after which the owner must confirm their email address.
  • Sign into your account on the Add-on Developer Hub, and click “Edit Listing” for the extension you want to transfer.
  • On the left-hand side of the screen, you will see a blue box labeled “Edit Information”. Click “Manage Authors & License” — from the resulting page you can add and remove authors.
  • Once you have added the new author’s email address, set that person as the extension owner and make sure the “Listed” box has a checkmark. Now you can remove yourself by clicking the “x” next to your email address.
  • When you’re done, click “Save Changes”. The new owner will be able to manage updates, listing information, etc., when logged in.

Code disputes

Many add-ons allow their source code to be viewed. This does not mean that the source code is open source or available for use in another add-on. The original author of an add-on retains copyright of their work unless otherwise noted in the add-on’s license.

If we’re notified of a copyright or license infringement, we will take steps to address the situation per the DMCA, which may include taking down the add-on listing. Details about this process and how to report trademark or licensing issues can be found here.

If you are unsure of the current copyright status of an add-on’s source code, you must contact the author and get explicit permission before using the source code.

Connect With Us

Twitter

For developers:
@mozamo

For end users:
@rockyourfirefox

Extensions Developer Newsletter

Stay up-to-date on news and events for Firefox extension developers.

Email Address
I’m okay with Mozilla handling my info as explained in this Privacy Notice.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK