Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
CompatLens 预览

CompatLens 作者: Faran Ali

Find cross-browser compatibility risks in the page you are inspecting.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
CompatLens open in DevTools, next to the page it's watchingThe findings grid, ranked Breaks or Degrades against your targeted browsersA finding's detail drawer: what users see, first supporting version per browser, and an MDN linkThe Modernise tab: legacy vendor-prefixed CSS you can safely replace
关于此扩展
CompatLens is a DevTools panel for Firefox and Chrome that watches the page you're inspecting and flags cross-browser compatibility risks in its HTML and CSS as you browse.

There's no scan button and no reload step. A MutationObserver in the page reports elements as they're added, and the panel keeps finding issues for as long as it stays open, which means it also works on single-page apps, where a route change never fires a full navigation for a one-shot scan to catch.

Every finding is checked against real browser-compat-data and web-features entries: 34 curated checks covering HTML features like <dialog>, inert and popover, and CSS features like @container, @layer, :has(), anchor-name, subgrid and modern color functions. Findings are ranked Breaks or Degrades from the catalog itself, never guessed, and support that's prefixed, flagged, partial or removed is marked unverified instead of silently passing.

A Modernise tab flags legacy vendor-prefixed CSS you can safely replace, only suggesting a replacement once the modern equivalent already passes on every browser you're targeting.

Pick from three targeting presets, or a custom age window, to match your actual audience, and export the full report as Markdown: every finding with its file and line, the browsers it fails on, and its fallback, ready to hand to a coding agent or drop into a PR description.

CompatLens runs entirely inside DevTools. There's no account, no backend and no analytics. Compatibility data is compiled into the extension at build time, and the only network requests are the page's own stylesheet fetches, which you can watch yourself in the Network panel.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 让开发者工具可以存取您打开的标签页中的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 复制附加组件 ID
版本
1.0.0
大小
171.44 KB
上次更新
7 天前 (2026年8月17日)
相关分类
  • 网页开发
许可证
Apache 许可证 2.0
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。