@@ -187,7 +187,6 @@ chrome.runtime.onConnect.addListener((port) => {
187
187
break ;
188
188
}
189
189
}
190
- return true // added 7/30/23
191
190
} ) ;
192
191
193
192
// listen for message containing a snapshot from devtools and send it to contentScript -
@@ -410,7 +409,6 @@ chrome.tabs.onRemoved.addListener((tabId) => {
410
409
delete tabsObj [ tabId ] ;
411
410
delete reloaded [ tabId ] ;
412
411
delete firstSnapshotReceived [ tabId ] ;
413
- return true ; // added 7/30/23
414
412
} ) ;
415
413
416
414
// when a new url is loaded on the same tab,
@@ -438,7 +436,6 @@ chrome.tabs.onUpdated.addListener((tabId, changeInfo) => {
438
436
tabsObj [ tabId ] = createTabObj ( changeInfo . title ) ;
439
437
}
440
438
}
441
- return true ; // added 7/30/23
442
439
} ) ;
443
440
444
441
// when tab view is changed, put the tabid as the current tab
@@ -458,7 +455,6 @@ chrome.tabs.onActivated.addListener((info) => {
458
455
}
459
456
}
460
457
} ) ;
461
- return true ; // added 7/30/23
462
458
} ) ;
463
459
464
460
// when reactime is installed
@@ -469,7 +465,6 @@ chrome.runtime.onInstalled.addListener(() => {
469
465
title : 'Reactime' ,
470
466
contexts : [ 'page' , 'selection' , 'image' , 'link' ] ,
471
467
} ) ;
472
- return true ; // added 7/30/23
473
468
} ) ;
474
469
475
470
// when context menu is clicked, listen for the menuItemId,
@@ -484,5 +479,4 @@ chrome.contextMenus.onClicked.addListener(({ menuItemId }) => {
484
479
url : chrome . runtime . getURL ( 'panel.html' ) ,
485
480
} ;
486
481
if ( menuItemId === 'reactime' ) chrome . windows . create ( options ) ;
487
- return true ; // added 7/30/23
488
482
} ) ;
0 commit comments