兼容性
兼容性是一个 BCD 式数据浏览器,回答*「这个特性能在 PWA 里用吗?」*—— 跨操作系统、浏览器、版本,并且独有地按真实浏览器份额加权的国家/地区有效可达率。 它还覆盖决定能力能否真正落地生产的生态政策维度(广告网络、支付、商店接纳), 而不仅是特性是否发布。
按特性单特性支持矩阵:OS × 浏览器 × 版本。
按 OS特性 × 操作系统透视表。
按浏览器特性 × 浏览器家族透视表。
按国家/地区按真实浏览器份额加权的有效 PWA 可达率——差异化所在。
政策维度把广告、支付与商店接纳政策当作一等兼容性数据。
每个特性都有规范页面,包含 OS × 浏览器 × 版本矩阵、生态政策行、完整溯源, 以及机器可读的 JSON 导出。
| 特性 | 类别 | 摘要 | 目标数 |
|---|---|---|---|
| Background Sync | Capabilities | Defer actions until the user has stable connectivity via the service worker. | 7 |
| Badging API | Engagement | Set an app-icon badge (count or dot) on the installed PWA. | 7 |
| File System Access API | Capabilities | Read and write to the user's local file system with explicit permission. | 7 |
| Install Prompt (beforeinstallprompt) | Installation | Programmatic control over the PWA install prompt via the beforeinstallprompt event. | 7 |
| Manifest Protocol Handlers | Manifest | Register a PWA to handle custom or allow-listed URL protocols via manifest.protocol_handlers. | 7 |
| Payment Request API | Commerce | Browser-mediated checkout sheet collecting payment and contact details. | 7 |
| Service Workers | Capabilities | The programmable network proxy that powers offline, caching, and push for PWAs. | 7 |
| Web App Manifest: display | Manifest | The display member chooses the installed app's window mode (standalone, fullscreen, minimal-ui, browser). | 7 |
| Web App Manifest: scope | Manifest | The scope member fences the installed app's navigation boundary. | 7 |
| Web App Manifest: screenshots | Manifest | The screenshots member supplies richer install UI in browsers and store listings. | 7 |
| Web Push | Engagement | Server-sent push messages delivered via the Push API + service worker, even when the app is closed. | 7 |
已收录 11 个特性,持续增长。
兼容性数据由机器可读 JSON 渲染,并以 Dataset JSON-LD 暴露,每个特性的 JSON 导出位于
/compatibility/<feature>.json,方便搜索与 LLM 引用原始数据。