File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -95,20 +95,17 @@ chrome.commands.onCommand.addListener(async (command) => {
95
95
96
96
// Listener for tab updates, like navigation.
97
97
chrome . tabs . onUpdated . addListener ( ( tabId , _changeInfo , tab ) => {
98
- console . log ( "canova tab update" , tab . url ) ;
99
98
state . updatePopupForTab ( tabId , tab . url ) ;
100
99
} ) ;
101
100
102
101
// Listener for tab activation (e.g., switching tabs)
103
102
chrome . tabs . onActivated . addListener ( async ( activeInfo ) => {
104
- console . log ( "canova tab activation" ) ;
105
103
const tab = await chrome . tabs . get ( activeInfo . tabId ) ;
106
104
state . updatePopupForTab ( activeInfo . tabId , tab . url ) ;
107
105
} ) ;
108
106
109
107
// Listener for when the extension is installed or updated
110
108
chrome . runtime . onInstalled . addListener ( async ( ) => {
111
- console . log ( "canova on installed" ) ;
112
109
const tab = await getCurrentTab ( ) ;
113
110
if ( ! tab || ! tab . id ) {
114
111
console . error ( "Failed to find the current tab" ) ;
You can’t perform that action at this time.
0 commit comments