Initial Commit
This commit is contained in:
7
Shared (Extension)/Resources/content.js
Normal file
7
Shared (Extension)/Resources/content.js
Normal file
@@ -0,0 +1,7 @@
|
||||
browser.runtime.sendMessage({ greeting: "hello" }).then((response) => {
|
||||
console.log("Received response: ", response);
|
||||
});
|
||||
|
||||
browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||
console.log("Received request: ", request);
|
||||
});
|
||||
Reference in New Issue
Block a user