Web Vitals Inspector 作者: MrGoatsy
Measures LCP, INP, CLS, FCP and TTFB on the sites you enable and lists the elements behind them in a DevTools panel. Click an element to outline it on the page.
扩展元数据
关于此扩展
Adds a Layout Shifts panel to the Firefox developer tools (F12). It shows the page's Largest Contentful Paint (LCP), Interaction to Next Paint (INP), Cumulative Layout Shift (CLS), First Contentful Paint (FCP) and Time to First Byte (TTFB), colored by the Core Web Vitals thresholds.
Every layout shift is listed with its score, time and the elements that moved, including how far. The slowest interactions are listed with the element that was clicked or typed in. Click any element to scroll to it and outline it on the page. The LCP card links to the LCP element.
CLS uses the same session windows as Core Web Vitals (1 second gap, 5 second maximum). Shifts within 500 ms of a click or key press are shown but not counted. INP needs Firefox 144 or later.
How to use:
1. Open the site to test and press F12
2. Open the Layout Shifts panel
3. Click "Enable on this site". The page reloads and recording starts from the first paint
The add-on stays off on sites that are not enabled.
Firefox does not report layout shifts natively. The add-on compares element positions frame by frame and scores them following the Layout Instability specification. Results can differ slightly from Chrome and PageSpeed Insights where Firefox lays out the page differently. LCP, INP, FCP and TTFB come straight from Firefox's own performance APIs.
Github:
https://github.com/MrGoatsy/web-vitals-inspector
Every layout shift is listed with its score, time and the elements that moved, including how far. The slowest interactions are listed with the element that was clicked or typed in. Click any element to scroll to it and outline it on the page. The LCP card links to the LCP element.
CLS uses the same session windows as Core Web Vitals (1 second gap, 5 second maximum). Shifts within 500 ms of a click or key press are shown but not counted. INP needs Firefox 144 or later.
How to use:
1. Open the site to test and press F12
2. Open the Layout Shifts panel
3. Click "Enable on this site". The page reloads and recording starts from the first paint
The add-on stays off on sites that are not enabled.
Firefox does not report layout shifts natively. The add-on compares element positions frame by frame and scores them following the Layout Instability specification. Results can differ slightly from Chrome and PageSpeed Insights where Firefox lays out the page differently. LCP, INP, FCP and TTFB come straight from Firefox's own performance APIs.
Github:
https://github.com/MrGoatsy/web-vitals-inspector
评分 0(1 位用户)
权限与数据
更多信息