mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 10:38:45 -04:00
7 lines
213 B
JavaScript
7 lines
213 B
JavaScript
browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
|
console.log("Received request: ", request);
|
|
|
|
if (request.greeting === "hello")
|
|
sendResponse({ farewell: "goodbye" });
|
|
});
|