I already included the tabs permissions on the JSON file
chrome.tabs.onUpdated.addListener((tabId, tab) => {
if (tab.url && tab.url.includes("youtube.com/watch"))
console.log("Hello")
});
}
});
I already included the tabs permissions on the JSON file
chrome.tabs.onUpdated.addListener((tabId, tab) => {
if (tab.url && tab.url.includes("youtube.com/watch"))
console.log("Hello")
});
}
});