Skip to content
tabs-broadcast
Live demo

Messages between your tabs

Open this page in two or three tabs. The primary tab emits events and every tab counts them. Close or reload the primary tab and another one takes over.

Connecting…
Emit events

Only the primary tab can emit (emitByPrimaryOnly is on by default). Secondary tabs receive and count.

Counter
0

Simple event and payload

Layer 1
0

Listens in APP_LAYER_0

Layer 2
0

Listens in APP_LAYER_1

Install it with npm install tabs-broadcast. The library page has the quick start, and the source is on GitHub.

Newsletter

Occasional notes on engineering, game tech, and new tools — no spam, unsubscribe anytime.

Ravy

Engineering manager, founder, and software developer building web platforms, game systems, real-time services, and automation tools. 15 years of shipped work — currently at Gaijin.net.

Get in Touch

Building an MVP, shipping a game feature, or automating a team workflow? Open source or paid — let's talk.

Contact Me
© 2020-2026 XPLOIT FZE. All trademarks, names and logos belong to their respective copyright holders.