Skip to content

fix: ensure websites can detect WM support on extension install#1298

Merged
sidvishnoi merged 1 commit intomainfrom
chrome-website-notify-ext-install
Feb 13, 2026
Merged

fix: ensure websites can detect WM support on extension install#1298
sidvishnoi merged 1 commit intomainfrom
chrome-website-notify-ext-install

Conversation

@sidvishnoi
Copy link
Member

Context

See interledger/publisher-tools#560 (comment)
Chromium based browsers don't inject content script to existing tabs on extension installation, only new tabs get new script (or when existing tabs are reloaded).

Changes proposed in this pull request

Manually inject the polyfill in Chromium-based browsers so that the websites can detect WM support and extension being installed (using polling without needing a page reload).

Note: link tag load/monetization events won't work until tab is refreshed, but we'll get polyfill/detection support at this stage.

@sidvishnoi sidvishnoi requested a review from DarianM February 13, 2026 11:12
@github-actions github-actions bot added area: background Improvements or additions to extension background script area: scripts Improvements or additions to custom scripts area: shared Changes to shared libraries and utilities labels Feb 13, 2026
@github-actions
Copy link
Contributor

Extension builds preview

Name Link
Latest commit b852b3a
Latest job logs Run #21984732167
Chrome (1.35MB)Download
Firefox (1.35MB)Download
Safari (2.3MB)Download

@sidvishnoi sidvishnoi merged commit b0979c7 into main Feb 13, 2026
13 checks passed
@sidvishnoi sidvishnoi deleted the chrome-website-notify-ext-install branch February 13, 2026 15:28
@github-project-automation github-project-automation bot moved this from In Review to Done in Web Monetization Extension Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: background Improvements or additions to extension background script area: scripts Improvements or additions to custom scripts area: shared Changes to shared libraries and utilities

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants