Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 892 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 892 Bytes

🦊 mozid

a command-line tool for retrieving the extension ID from a Firefox .xpi add-on package. It automates the process of downloading a .xpi file from Mozilla's Add-ons website, extracting the manifest.json, and displaying the extension's unique ID.

This tool was inspired by the difficulty of retrieving the extension ID when non-declarative installations are blocked in Firefox, as discussed in this thread.

Usage

Run the script by passing it a Firefox add-on URL as an argument:

nix run github:tupakkatapa/mozid -- <url>

Without Nix

Clone the repository and make the script executable:

git clone https://github.com/tupakkatapa/mozid.git
cd mozid
chmod +x mozid.sh

Run the script by passing it a Firefox add-on URL as an argument:

./mozid.sh <url>