Maybe just a postMessage?