1

In our extension code I have a listerner added to tabs.onUpdated ( chrome.tabs.onUpdated )

  browser.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
 
    }
  })

In one of the interactions inside extension on button click this event is fired due to changeInfo.status going to --> 'loading' --> 'complete'

What could have possibly happend that status went to loading state ? There is no change in url and this is leading to unecessary call to added listener

0 Answers0