9107157073
* feat: [extensions] support extension.getBackgroundPage * cleanup * how does c++ * tests * test for runtime.getBackgroundPage too
5 lines
164 B
JavaScript
5 lines
164 B
JavaScript
/* eslint-disable no-undef */
|
|
chrome.runtime.onMessage.addListener((message, sender, reply) => {
|
|
window.receivedMessage = message
|
|
reply({ message, sender })
|
|
})
|