4 ms·
It’s an interesting and another way to communicate across JavaScript contexts. By contexts here I’m not specifically talking about different Iframes — then i
by keepamovin 3y ago
It’s an interesting and another way to communicate across JavaScript contexts.
By contexts here I’m not specifically talking about different Iframes — then it would be beholden to the same origin restrictions and probably have to use postmessage - but I mean in the context of a browser extension, where you create a parallel JavaScript execution context that has access to the same DOM
These are also called isolated worlds in the language of the dev tools protocol