window . addEventListener ( 'message' , ( message ) => chrome . runtime . sendMessage ( message . data ) ) ; chrome . runtime . onMessage . addListener ( ( message ) => window . postMessage ( message , '*' ) ) ;