Skip to content

fix(ext): drop dynamic innerHTML in popup; require Firefox 140 (AMO warnings)#76

Merged
paperhurts merged 1 commit into
mainfrom
fix/amo-warnings
Jul 4, 2026
Merged

fix(ext): drop dynamic innerHTML in popup; require Firefox 140 (AMO warnings)#76
paperhurts merged 1 commit into
mainfrom
fix/amo-warnings

Conversation

@paperhurts

Copy link
Copy Markdown
Owner

Render the tab title via textContent/title-attribute assignment on a
statically-templated element instead of interpolating escaped strings
into innerHTML — the AMO validator flags any dynamic innerHTML and the
escape helpers are now dead code, removed. Bump the Firefox
strict_min_version to 140.0, the first version that understands
data_collection_permissions, so the consent UI is guaranteed to show
(current ESR is 140, so the reach cost is nil).

Closes #75

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

…arnings)

Render the tab title via textContent/title-attribute assignment on a
statically-templated element instead of interpolating escaped strings
into innerHTML — the AMO validator flags any dynamic innerHTML and the
escape helpers are now dead code, removed. Bump the Firefox
strict_min_version to 140.0, the first version that understands
data_collection_permissions, so the consent UI is guaranteed to show
(current ESR is 140, so the reach cost is nil).

Closes #75

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@paperhurts paperhurts merged commit 90a4a25 into main Jul 4, 2026
2 checks passed
@paperhurts paperhurts deleted the fix/amo-warnings branch July 4, 2026 16:38
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.

AMO validation warnings: strict_min_version predates data_collection_permissions; dynamic innerHTML in popup

1 participant