Skip to content

Commit d6f2cc5

Browse files
committed
Remove the console logs
1 parent 83f6019 commit d6f2cc5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/background.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,17 @@ chrome.commands.onCommand.addListener(async (command) => {
9595

9696
// Listener for tab updates, like navigation.
9797
chrome.tabs.onUpdated.addListener((tabId, _changeInfo, tab) => {
98-
console.log("canova tab update", tab.url);
9998
state.updatePopupForTab(tabId, tab.url);
10099
});
101100

102101
// Listener for tab activation (e.g., switching tabs)
103102
chrome.tabs.onActivated.addListener(async (activeInfo) => {
104-
console.log("canova tab activation");
105103
const tab = await chrome.tabs.get(activeInfo.tabId);
106104
state.updatePopupForTab(activeInfo.tabId, tab.url);
107105
});
108106

109107
// Listener for when the extension is installed or updated
110108
chrome.runtime.onInstalled.addListener(async () => {
111-
console.log("canova on installed");
112109
const tab = await getCurrentTab();
113110
if (!tab || !tab.id) {
114111
console.error("Failed to find the current tab");

0 commit comments

Comments
 (0)