5 lines
167 B
JavaScript
5 lines
167 B
JavaScript
/* eslint-disable no-undef */
|
|
chrome.runtime.onMessage.addListener((message, sender, reply) => {
|
|
window.receivedMessage = message;
|
|
reply({ message, sender });
|
|
});
|