diff options
Diffstat (limited to 'src/background/index.js')
-rw-r--r-- | src/background/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/background/index.js b/src/background/index.js new file mode 100644 index 0000000..ee02f63 --- /dev/null +++ b/src/background/index.js @@ -0,0 +1,4 @@ +browser.runtime.onMessage.addListener((request, sender, sendResponse) => { + console.log("Pressed " + request.which); + sendResponse({ response: "Response from background script" }); +}); |