Hi,
yes this is possible, if the pages you host in the separate windows are from the same domain. This is what restricts Javascript in communication.
If you don't want to code the communication layer yourself, there are libraries providing a corresponding API ... like
https://github.com/diy/intercom.js[
^]
Best
T.