mozilla/webextension-polyfill
A lightweight polyfill library for Promise-based WebExtension APIs in Chrome observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 95
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3618
- days_rel: n/a
- days_push: 34
- n_releases_24m: 0
Adoption not part of the score
3069 stars · 238 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A lightweight polyfill that lets browser extensions use the Promise-based `browser` API namespace in Chrome, matching Firefox's WebExtension API style. It is now a no-op on browsers with native support and the project has been retired since Chrome adopted the `browser` namespace.
Use cases
- write chrome extensions using promise-based browser APIs
- make a webextension codebase work across chrome and firefox
- avoid callback-style chrome.* APIs in extension code
- use the same extension API namespace in chrome, edge, and opera
- write cross-browser extensions with typescript support
When to choose
- maintaining an older extension that still targets Chrome versions before 148
- supporting legacy Chrome-based browsers (Edge <79, old Opera) that lack the browser namespace
When to avoid
- starting a new extension targeting modern Chrome (148+) or Firefox, which support the browser namespace natively
- needing a maintained library - the project explicitly will not receive further updates
- building extensions only for Firefox or Safari, where the polyfill is a no-op
Facets
library · maturity abandoned
sdk developer-tools browser-extensions web-development developer-tools browser browser-extension webextension polyfill promise-based-api browser-api chrome-extension cross-browser javascript
2 sources
- readme: https://github.com/mozilla/webextension-polyfill · fetched 2026-08-28 · 8696e6b95f45
- registry_npm: https://registry.npmjs.org/webextension-polyfill · fetched 2026-08-29 · ac53393dd74e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mozilla/webextension-polyfill | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="mozilla/webextension-polyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem