How to make this ?

I saw this crazy thing on LinkedIn. I am wondering how this is done. can explain this to me?
3 Replies
Jochem
Jochem7mo ago
They use the ScreenDetails API to get the screen's position and apparently according to the tweets I saw from the original dev exchange state between the windows using localstorage There's some extra details in the original tweet https://twitter.com/_nonfigurativ_/status/1727322594570027343
Jochem
Jochem7mo ago
Wes Bos did a quick video on this multiwindow thing with some extra info and a link to the code in the description @Manish Karki https://youtu.be/3Hye_47c0Pc
MarkBoots
MarkBoots7mo ago
Broadcast Channel API would even work more efficient instead of local storage