Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Here is how these multi-browser demos are being made. It's not websockets!

508,981 Aufrufe • vor 2 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

help me

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

Code here. 129 lines of hastily written Vanilla TypeScript →

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

this but 20 popup windows moving them every 1 second

Profilbild von JLarky
JLarkyvor 2 Jahren

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

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

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

Profilbild von flavio
flaviovor 2 Jahren

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

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

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

Profilbild von Ben Harraway
Ben Harrawayvor 2 Jahren

Why not Broadcast API?

Profilbild von Ole-Martin
Ole-Martinvor 2 Jahren

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

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

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

Profilbild von Leo Galante
Leo Galantevor 2 Jahren

@wesbos exodia edition

Ähnliche Videos