# Что расширение Chrome может узнать о сайте, а что нет: грабли Manifest V3

DevFeed: [Что расширение Chrome может узнать о сайте, а что нет: грабли Manifest V3](<https://devfeed.tech/articles/chrome-manifest-v3-130477.md>)

Original publisher: [Read original article](<https://habr.com/ru/articles/1106336/>)

Author: irlme

Published: 2026-11-12T15:21:23Z

Content type: article

Language: ru

Sources: [Tagir Valeev](<https://devfeed.tech/sources/tagir-valeev.md>)

Topics: [Chrome extension](<https://devfeed.tech/topics/chrome-extension.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [API](<https://devfeed.tech/topics/api.md>), [WebExtension](<https://devfeed.tech/topics/webextension.md>), [health check](<https://devfeed.tech/topics/health-check.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [chrome-3893c7f046e4](<https://devfeed.tech/tags/chrome-3893c7f046e4.md>), [chrome-extensions](<https://devfeed.tech/tags/chrome-extensions.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [manifest-v3](<https://devfeed.tech/tags/manifest-v3.md>), [rdap](<https://devfeed.tech/tags/rdap.md>), [service-worker](<https://devfeed.tech/tags/service-worker.md>), [ssl-6d6896d22fd3](<https://devfeed.tech/tags/ssl-6d6896d22fd3.md>), [tag-9c16f5836d49](<https://devfeed.tech/tags/tag-9c16f5836d49.md>), [tag-ac5f9f85afad](<https://devfeed.tech/tags/tag-ac5f9f85afad.md>), [tag-cb07c9cab7da](<https://devfeed.tech/tags/tag-cb07c9cab7da.md>), [webrequest](<https://devfeed.tech/tags/webrequest.md>)

## AI overview

The extension can show main-frame response codes and server redirect chains through `webRequest`, with blind spots for memory and service-worker caches, SPA navigation, and some redirects; request timestamps also provide time to first byte. Chrome 156 accepts the documented certificate option, but omits certificate details for ordinary users unless a developer flag is enabled, so the author checks expiry on a server after an explicit click. RDAP can return domain expiry for supported zones, but not `.ru`, `.рф`, `.su` and other zones lacking the needed registry service; those require a server-side WHOIS lookup or showing no data. Manifest V3 service workers sleep, lose globals, and only run while the browser is open, so the described checks store state, register listeners at startup, use alarms, and apply short timeouts. This is a report of tests on Chromium 156 and documentation checked in November 2026.

## Source excerpt

Я написал расширение, которое показывает код ответа страницы на значке, а по нажатию: редиректы, время ответа, срок SSL-сертификата и домена. Задача выглядела простой, но половина пунктов упёрлась в ограничения Chrome. Сертификат расширению не отдают, хотя API для этого описан в документации. Срок домена в зоне .ru из браузера не узнать. Фоновый скрипт засыпает через 30 секунд. Рассказываю, что работает, что нет и чем я это заменил. Что работает, а что нет