Web Vitals

Measure metrics for a healthy site

ما هو Web Vitals؟

Web Vitals هو إضافة Chrome تم تطويرها بواسطة addyosmani، والميزة الرئيسية لها هي "Measure metrics for a healthy site".

لقطات شاشة التمديد

screenshot
screenshot
screenshot

تحميل ملف CRX للإضافة Web Vitals

قم بتنزيل ملفات الامتداد Web Vitals بتنسيق crx ، وقم بتثبيت الامتدادات يدويًا في متصفح Chrome ، أو شارك ملفات crx مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        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.                    

معلومات أساسية عن التمديد

الاسم Web Vitals Web Vitals
ID ahfhijdlegdabablpippeagghigmibma
عنوان URL الرسمي https://chromewebstore.google.com/detail/web-vitals/ahfhijdlegdabablpippeagghigmibma
الوصف Measure metrics for a healthy site
حجم الملف 393 KB
عدد التثبيتات 177,911
النسخة الحالية 1.4.0
آخر تحديث 2023-08-09
تاريخ النشر 2020-06-30
تقييم 4.03/5 مجموع تقييمات 38
المطور addyosmani
البريد الإلكتروني [email protected]
نوع الدفع free
موقع الإضافة https://github.com/GoogleChrome/web-vitals-extension
عنوان صفحة المساعدة https://github.com/GoogleChrome/web-vitals-extension/issues
اللغات المدعومة 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;"
    }
}