Push to the extension

Sends publish('message', { payload }). Fire and forget: the extension buffers it until the popup is opened.

Answer requests from the extension

The snapshot handler reads this field when the request arrives, so the popup always sees the current value rather than a stale copy.

Requests served
0
Last request topic
Handlers registered by this page
  • snapshot — returns the shared value, a timestamp and the counter.
  • echo — returns the request payload, validated as an object.
  • boom — always throws, so the popup shows HANDLER_ERROR.
  • slow — never answers, so the popup shows TIMEOUT.

Event log