mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-23 01:32:51 +02:00
added logging statements
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
chrome.runtime.onMessage.addListener(notify);
|
||||
|
||||
function notify(message) {
|
||||
console.log("background script received message");
|
||||
chrome.notifications.create({
|
||||
"type": "basic",
|
||||
"iconUrl": chrome.extension.getURL("link.png"),
|
||||
|
||||
Reference in New Issue
Block a user