Skip to content

Add Firefox extension support#5

Open
pzep1 wants to merge 1 commit intoT3-Content:mainfrom
pzep1:feature/firefox-support
Open

Add Firefox extension support#5
pzep1 wants to merge 1 commit intoT3-Content:mainfrom
pzep1:feature/firefox-support

Conversation

@pzep1
Copy link

@pzep1 pzep1 commented Jan 2, 2026

Summary

  • Add Firefox Manifest V3 support with cross-browser build system
  • Split manifest.json into manifest/{base,chrome,firefox}.json
  • Replace setInterval with chrome.alarms API for Firefox compatibility
  • Add web-ext dev dependency for Firefox development

- Split manifest.json into manifest/{base,chrome,firefox}.json for cross-browser builds
- Replace setInterval with chrome.alarms API for Firefox Event Page compatibility
- Add build:chrome and build:firefox scripts with separate output directories
- Add web-ext dev dependency for Firefox testing
- Update .gitignore to exclude dist-chrome/ and dist-firefox/

Firefox MV3 uses Event Pages that can suspend, breaking setInterval timers.
The alarms API survives suspension and wakes the extension when needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant