Re:Synchronize a 3D scene across multiple windows using Thre...
by AustinDev on Tuesday November 28, 2023 @12:46AM
(#38442760)
>I was a bit surprised to see that the browser gives information of where the window is in the window manager as I would have guessed that to be privileged information and a potential security issue, but what do I know.
My browser doesn't do that. Well it always reports. [0,0]
As others have mentioned, you can do this with localStorage, websockets or even Cookies. The novelty is that each window knows its size and location (through `window.*`) and renders something interesting.
I was a bit surprised to see that the browser gives information of where the window is in the window manager as I would have guessed that to be privileged information and a potential security issue, but what do I know.