Thanks for the tip about the BroadcastChannel API. I have generated a unique cryptographically strong identifier for the channel, and arranged both windows to have it. Now they can communicate without any interference.

The course of history is determined by the spreading of ideas. I’m spreading the good ones.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store