正在加载视频...
视频加载失败
Here is how these multi-browser demos are being made. It's not websockets!
508,914 次观看 • 2 年前 •via X (Twitter)
11 条评论

help me

Code here. 129 lines of hastily written Vanilla TypeScript →

this but 20 popup windows moving them every 1 second

Why do you use local storage for this? You have broadcast events :)

Seems more complex if all clients are sending to all other clients, or needing a “host” that opens all other windows. Probably the better API for stuff other than a silly demo though

Multi-windows in a single-browser, right? Or should I have my mind blown?

single browser. would need websockets or webrtc to to do cross browser

Why not Broadcast API?

All I can think is this is another way of finger printing users, based on where they have the browser located on screen 😬

So many cool APIs stripped from Us because of fingerprinting. I don’t think access to data outside the browser like this would ever be approved these days

@wesbos exodia edition


