Performance & CWV Inspector

Chat Widget Weight Checker

98% of website visitors never open the chat box — yet most chat widgets force every visitor to download 150 KB to 850+ KB of JavaScript during page load.

Compare Pokko against:
Pokko
0 KB

0 KB (waits for requestIdleCallback)

⚡ 0 ms blocking
VS
Intercom
415 KB

~1.8 MB to 2.4 MB uncompressed JS

🐢 +1,420 ms mobile delay
Page Load Blocking JavaScriptPokko is 100% lighter
Pokko (0 KB) Intercom (415 KB)
Paste your chat <script> snippet or HTML to auto-detect weight

Traditional live chat widgets load their full UI framework, WebSocket client, and tracker scripts on every pageview — adding 140 KB to 850+ KB of compressed JavaScript (up to 2.4 MB uncompressed) and delaying mobile Largest Contentful Paint (LCP). Pokko uses a two-stage post-idle architecture: 0 KB runs during page load, a ~20 KB Preact launcher mounts inside a Shadow DOM only after the browser is idle, and the ~9 KB chat panel loads only if the visitor clicks the bubble.

How Pokko’s two-stage post-idle loading works (verified from live build)

00

Stage 0: During initial page load (FCP & LCP)

0 KB JS · 0 connections

Nothing runs while your HTML, CSS, hero images, and fonts load. Your Lighthouse LCP and First Contentful Paint face zero competition.

01

Stage 1: Browser idle (requestIdleCallback)

~2.0 KB loader + ~18 KB gzipped teaser

After window.load and browser idle, Pokko mounts its isolated Shadow DOM bubble and teaser card. Still 0 WebSocket connections.

02

Stage 2: Only when the visitor clicks the chat bubble

+9.2 KB gzipped (26.5 KB raw Panel.js)

The full message list, Luhn card masker, and WebSocket connection load on demand only for the ~2% of visitors who actually start a chat.

Live chat widget weight & architecture comparison (November 2026)

Live chat widgetBlocking load (before window.load)Idle download (chat closed)Uncompressed JS parsedCSS / DOM isolationWhen live socket opens
Pokko Chat0 KB (waits for requestIdleCallback)~20 KB gzipped~84 KB raw (+26.5 KB Panel.js on click)Shadow DOM (0 iframe overhead)Only when visitor opens chat
Eloqra~5 KB~5 KB~15 KBInline / CSSOn interaction
Crisp~155 KB gzipped~155 KB gzipped~490 KB uncompressed JSInjected DOM + CSSOn every pageview
Tidio~220 KB gzipped~220 KB gzipped~760 KB uncompressed JSiframe + DOMOn every pageview
tawk.to~255 KB gzipped~255 KB gzipped~890 KB uncompressed JSMultiple iframesOn every pageview
Zendesk~360 KB gzipped~360 KB gzipped~1,400 KB uncompressed JSMultiple iframesOn every pageview
Intercom~415 KB+ gzipped~415 KB+ gzipped~1,800–2,400 KB uncompressed JSMultiple iframesOn every pageview

Want Telegram live chat with zero per-seat tax and 0 KB page-load delay?

Pokko routes website visitor messages straight into Telegram topics, keeps zero message text on our servers, and starts at $0 on the Free plan (Pro $19/month for up to 3 sites coming soon).

Start in Telegram — free

Frequently asked questions

Does Pokko really add 0 KB during initial page load?

Yes. In our production script (ChatWidget.astro), the dynamic import(@pokko/widget) is scheduled inside window.requestIdleCallback after the window "load" event fires. During critical page rendering (FCP and LCP), 0 bytes of widget JavaScript are downloaded or executed.

How big is the Pokko widget once the browser becomes idle?

In our current production build on pokko.chat (verified 7 November 2026), the idle stage downloads the lightweight Preact launcher (~20 KB compressed / ~58 KB raw), and the full chat panel (Panel.js, 26.5 KB raw / ~9.2 KB compressed) is fetched only when a visitor clicks to open the widget.

Why does Shadow DOM matter for a live chat widget?

Without Shadow DOM or an iframe, a widget injects hundreds of CSS rules into your page that can clash with your store’s buttons or fonts. An iframe isolates CSS but requires loading a complete second HTML document. Pokko uses a native Shadow Root — full style isolation with zero iframe document overhead.