Repository navigation
feat: Firefox extension - #3
Merged
Merged
Conversation
kermitsxb
marked this pull request as ready for review
October 1, 2026 10:43
2 tasks
* ci: build both extensions and release them on version tags * docs: releases * ci: cut releases with release-please * docs: release-please releases
* ci: reuse already-submitted AMO versions when signing * docs: Firefox signing retries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Firefox support for the GitHub → Orca extension, using the same native host as Chrome and Arc.
npm run buildalso producesextension-firefox/(git-ignored). Its manifest is derived fromextension/manifest.jsonbyscripts/firefox-manifest.mjs. The derived manifest usesbackground.scripts, dropskey, addsoptions_ui, and setsbrowser_specific_settings.gecko(idgithub-orca@stocki, min 128,data_collection_permissions: none).npm run sign:firefoxrunsweb-ext sign --channel=unlistedwithWEB_EXT_API_KEY/WEB_EXT_API_SECRETand writes the.xpitoweb-ext-artifacts/.npm run lint:firefoxrunsweb-ext lint. Both scripts rebuild first.scripts/install.shalso writes~/Library/Application Support/Mozilla/NativeMessagingHosts/com.stocki.github_orca.jsonwithallowed_extensions. Host code is unchanged.port.error. Firefox's "No such native application" and "does not have permission" messages now map to the same toasts as on Chrome..xpi, temporary load, permissions troubleshooting). AGENTS.md is updated.Verification
npm testpasses (229 tests),npm run typecheckis clean andnpm run buildsucceeds.npm run lint:firefoxreports 0 errors and 2 warnings.data_collection_permissionsonly exists from Firefox 140 (Android 142), butstrict_min_versionis 128. Older versions ignore the key, so the warnings are accepted.install.shwas run against a sandboxHOMEin three setups: Chrome and Mozilla dirs, Mozilla only, and no browser dirs. The no-browser setup fails with the expected message. The script was not run against the realHOME.Not verified (manual)
./scripts/install.sh, then loadextension-firefox/viaabout:debugging.npm run sign:firefoxand install the.xpiin Firefox release.