logoalt Hacker News

rendaw05/03/20251 replyview on HN

Interaction between elements in different iframes is very restricted.


Replies

danans05/03/2025

IIRC, you can communicate entire JSON objects between an iframe and it's host frame with PostMessage.

The host can then act as a server for the iframe client, even updating it's state or DOM in response to a message from the iframe.