Skip to content

tupakkatapa/mozid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦊 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>