Web Vitals

Measure metrics for a healthy site

Hvad er Web Vitals?

Web Vitals er en Chrome-udvidelse udviklet af addyosmani, og dens hovedfunktion er "Measure metrics for a healthy site".

Udvidelsesskærmbilleder

screenshot
screenshot
screenshot

Download Web Vitals-udvidelses-CRX-fil

Download Web Vitals-udvidelsesfiler i crx-format, installer Chrome-udvidelser manuelt i browseren eller del crx-filer med venner for nemt at installere Chrome-udvidelser.

Brugsanvisning til Udvidelsen

                        Web Vitals are quality signals key to delivering great UX on the web (https://web.dev/vitals). This extension measures the Core Web Vitals, providing instant feedback on loading, interactivity and layout shift metrics. It is consistent with how these metrics are measured by Chrome and reported to other Google tools (e.g. Chrome User Experience Report, Page Speed Insights, Search Console).

The extension captures:
Largest Contentful Paint
Cumulative Layout Shift
First Input Delay
Interaction To Next Paint (experimental)
First Contentful Paint
Time To First Byte

The extension provides three core features:

1) Ambient Badge - This helps check if a page passing the Core Web Vitals thresholds.

Once installed, the extension will display a disabled state badge icon until you navigate to a URL. At this point it will update the badge to green or red depending on whether the URL passes the Core Web Vitals metrics thresholds.

The badge has a number of states:

* Disabled - gray
* Passing - green
* One or more metrics failing - red

If one or more metrics are failing, the badge will animate the values of these metrics.

2) Detailed drill-down in the popup

Clicking the Ambient badge icon will allow you to drill in to the individual metric values. In this mode, the extension will also say if a metric value might change or requires a user action.

For example, First Input Delay requires a real interaction (e.g click/tap) with the page and will be in a waiting for input state until this is the case. We recommend consulting the web.dev documentation for LCP, CLS and FID to get an understanding of when metric values settle.

As of version 1.0.0, the popup combines your local Core Web Vitals experiences with real-user data from the field via the Chrome UX Report (CrUX) API. This integration gives you contextual insights to help you understand how similar your individual experiences are to other desktop users on the same page. We've also added a new option to "Compare local experiences to phone field data" instead, if needed. Note that CrUX data may not be available for some pages, in which case we try to load field data for the origin as a whole.

3) HUD Overlay

The overlay displays a Heads up display (HUD) which overlays your page. It is useful if you need a persistent view of your Core Web Vitals metrics during development. To enable the overlay:

Right-click on the Ambient badge and go to Options.
Check Display HUD overlay and click 'Save'
Reload the tab for the URL you wish to test. The overlay should now be present.                    

Grundlæggende oplysninger om udvidelsen

Navn Web Vitals Web Vitals
ID ahfhijdlegdabablpippeagghigmibma
Officiel URL https://chromewebstore.google.com/detail/web-vitals/ahfhijdlegdabablpippeagghigmibma
Beskrivelse Measure metrics for a healthy site
Filstørrelse 393 KB
Antal Installationer 177,911
Nuværende Version 1.4.0
Senest Opdateret 2023-08-09
Udgivelsesdato 2020-06-30
Bedømmelse 4.03/5 Samlet 38 Bedømmelser
Udvikler addyosmani
E-mail [email protected]
Betalingsmetode free
Udvidelseswebsted https://github.com/GoogleChrome/web-vitals-extension
Hjælpeside-URL https://github.com/GoogleChrome/web-vitals-extension/issues
Understøttede Sprog en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Web Vitals",
    "version": "1.4.0",
    "manifest_version": 3,
    "description": "Measure metrics for a healthy site",
    "homepage_url": "https:\/\/web.dev\/vitals\/",
    "icons": {
        "128": "icons\/vitals128w.png",
        "256": "icons\/vitals256w.png",
        "512": "icons\/vitals512w.png"
    },
    "action": {
        "default_icon": "icons\/default256w.png",
        "default_title": "Web Vitals",
        "default_popup": "src\/browser_action\/popup.html"
    },
    "options_page": "src\/options\/options.html",
    "host_permissions": [
        "*:\/\/*\/*"
    ],
    "permissions": [
        "tabs",
        "storage",
        "activeTab",
        "scripting"
    ],
    "web_accessible_resources": [
        {
            "resources": [
                "src\/browser_action\/viewer.css",
                "src\/browser_action\/web-vitals.js",
                "src\/browser_action\/on-each-interaction.js"
            ],
            "matches": [
                "*:\/\/*\/*"
            ]
        }
    ],
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*\/*"
            ],
            "css": [
                "src\/browser_action\/viewer.css"
            ],
            "js": [
                "src\/browser_action\/lodash-debounce-custom.js"
            ]
        }
    ],
    "background": {
        "service_worker": "service_worker.js"
    },
    "content_security_policy": {
        "extension_pages": "default-src 'self'; connect-src https:\/\/chromeuxreport.googleapis.com;"
    }
}