Skip to content

How to sign the extension for Personal Use on Firefox

Deepjyoti Barman edited this page May 16, 2020 · 6 revisions

Firefox Building & Signing

To make the startpage extension permanent and not have to re-add the extension every time you restart Firefox, you must build the extension/your config and get it signed by Mozilla.

Building the extension

Install node.js/npm from nodejs.org so we can install the web-ext tools.

To install the web-ext tools so we can build the extension, run this command in a terminal after installing npm:

npm install -g web-extension

Then change directory into the same directory as the startpage extension files. Example: cd startpage Then use web-ext to build the extension:

web-ext build

This will create a directory called web-ext-artifacts and in which there will be a zip file. This file is your built extension.

Signing the built extension

To get the extension signed by Mozilla you have to go to the Mozilla Developer Hub and sign in with a Firefox Account.

Select "Distribute on my own"

Then click "Upload File" and select the startpage directory, then web-ext-artifacts, then the zip file that was just created.

Then select compatibility with Firefox and Firefox for Android

Then hit "Sign add-on", Click "No" for source-code distribution and then wait 5-10 minutes.

Downloading the signed extension

Once you've waited 5-10 minutes your extension should have been signed.

To download the extension go to the Developer Hub and click the button that says "View All Submissions"

Then click "minimal-startpage"

Then on the left sidebar click "Manage Status & Versions"

Tip: To update the extension change the extension's version number in manifest.json, build the extension, and then click "Upload a new version" on this page, then follow the steps below.

Then in the top version number's section check the "Status" if it says "Approved" then you are good to go!

Then click the top version number

Then under files, click the .xpi file and install it!

You're done!

Written by Reese

Clone this wiki locally