mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-21 00:32:48 +02:00
added logging statements
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
window.addEventListener("click", notifyExtension);
|
||||
|
||||
function notifyExtension(e) {
|
||||
console.log("content script sending message");
|
||||
if (e.target.tagName != "A") {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user