Monkey patch Broadcast Channel to send messages to current context
Essentially what I want to do is be able to connect to
new BroadcastChannel("test_channel");
which I in the same context want to post messages to and still be able to recieve them.
So if my pretty little drawing helps:
5 Replies
I think you can do that just fine
![](https://utfs.io/f/1e11dd0a-5e71-44b5-99c6-e4d3af62c6ce-4pl4mu.png)
Oh, I'm stupid, it certainly does work. I was sure that it didn't when I tried it before (although that was like a month ago). Thanks!
it worked a month ago
hmm, was probably me doing something wrong then