# Download from: https://www.mozilla.org/en-US/firefox/developer/
# Or use package manager (Windows):
winget install Mozilla.Firefox.DeveloperEdition
npm install --global web-ext # ✅ Already installed (v8.10.0)
cd extension-firefox
npm run dev
Command | Description |
---|---|
npm run dev |
Launch Firefox with extension loaded |
npm run build |
Create distribution package |
npm run lint |
Validate extension code |
npm run test |
Open debugging interface |
extension-firefox/
├── manifest.json ✅ Firefox-compatible
├── popup/ ✅ UI components
├── background/ ✅ Service worker
├── content/ ✅ Content scripts
├── lib/ ✅ Core libraries
├── assets/ ✅ Icons and resources
├── package.json ✅ Development config
├── web-ext-config.js ✅ Firefox settings
└── test-firefox-setup.js ✅ Validation script
npm run dev
to testnode test-firefox-setup.js
to validate setup