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

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