Esta tradução está incompleta. Por favor, ajude a traduzir este artigo do Inglês.

Once you've finished writing and testing your extension, you'll probably want to share it with other people. Mozilla operates a website: (commonly abbreviated to AMO), where developers can publish add-ons and users can find them. By publishing your extension on AMO, you can participate in our community of users and creators, and find an audience for your extension.

You don't have to publish your extension on AMO. However, even if you are not intending to publish your extension on AMO, you do have to submit it to AMO so it can be reviewed and signed. Release versions of Firefox will refuse to install extensions that are not signed by AMO.

So the process for publishing an extension is, in outline:

  1. zip up your extension's files
  2. create an account on AMO
  3. upload your zip to AMO for signing and review, and select listing option
  4. fix any problems that are found in review
  5. if you chose not to publish on AMO, retrieve the signed extension, and publish it yourself

When you're ready to release a new version of your extension, you can update it by visiting the extension's page on, and uploading the new version there. Note that you must update it on the extension's page, so AMO recognizes it as an update to an existing extension, and not a brand-new one.

If you chose to publish your extension on AMO, then Firefox will automatically check for updates. If you chose to publish it yourself, you'll need to include the applications key in your manifest.json, with the update_url attribute set to point to an update manifest file.

As extensões empacotadas no Firefox são chamadas de "ficheiros XPI", que são apenas ficheiros ZIP com uma extensão diferente.

Não tem de utilizar a extensão XPI quando a submeter para AMO.

1. Comprimir os seus ficheiros da extensão

At this point your extension will consist of a directory containing a manifest.json and any other files it needs - scripts, icons, HTML documents, and so on. You'll need to zip these into a single file for uploading to AMO.

One trick is that the ZIP file must be a ZIP of the extension's files themselves, not of the containing directory.


  1. Abra a pasta com os seus ficheiros da extensão.
  2. Selecione todos os ficheiros.
  3. Clique direito e escolha "Enviar para" → Pasta Comprimida (zipped).

Mac OS X

  1. Open the folder with your extension's files.
  2. Select all of the files.
  3. Right click and choose Compress n Items.

Linux / Mac OS X Terminal

  1. cd path/to/my-extension/
  2. zip -r -FS ../ *

2. Criar uma conta em

Visite Extras da Mozilla. Se já tiver uma Conta do Firefox, pode-a utilizar para iniciar a sessão. Caso contrário, clique em "Registar" e ser-lhe-á pedido para criar um conta do Firefox.

3. Enviar o seu zip

Next, upload the zipped extension to AMO for signing and review, and choose whether to publish it on AMO or not. A tutorial is available to guide you through the submission process. You may also see Submitting to AMO for submission details.

Note that once you have uploaded your extension to AMO, you can't then update the extension to use the Add-on SDK or legacy XUL/XPCOM techniques. If you do switch to one of these platforms, you must submit it as a completely new extension.

That is: porting from legacy extension systems to use WebExtension APIs is a one-way street.

Before uploading, double-check that the ZIP contains exactly the contents you want to submit, with no extra redundant files.

4. Corrigir problemas da verificação

As soon as you upload the extension, the AMO server will run some basic checks and immediately notify you about any problems. Problems are presented in two categories: "errors" and "warnings". If you have errors, you must fix them and resubmit. If you only have warnings, it's advisable to address them, but not mandatory: you can continue with the submission.

If the automated checker doesn't report any errors, the extension will go for a more detailed review. You'll be contacted with the review results and will need to fix any problems and resubmit.

If you have chosen to have the extension hosted on AMO, this is the end of the publication process. AMO will sign the extension and publish it, and users will then be able to download and install it.

5. Publicar a sua extensão

Se optar por não publicar em AMO, obtenha a extensão assinada, e publique-a.


Etiquetas do documento e contribuidores

Contribuidores para esta página: mansil
Última atualização por: mansil,