Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sisk
· 1y ago · 0 comments
If I understand this correctly, the `BroadcastChannel` API solves a similar purpose.
https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_C...
Comments
[–]
l1am0
1y ago
Oh, did not know about it :D Thank you! Added a link to this to the TabSub landingpage
[–]
sisk
OP
1y ago
My pleasure—happy to share an alternative. Thanks for making and sharing a thing!
[–]
nchmy
1y ago
I came to say this as well. Surely it is the proper way to do this. Could be combined with weblocks if you want some master/leader event bus tab or web worker