I am doing a chrome extension, and my problem is that chrome.tabs.onUpdated.addListener () is called multiple times.
My code is like this
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { if(changeInfo.status == 'complete' && tab.status == 'complete' && tab.url != undefined){ doSomething } });
This is due to Chrome Issue 162543, and it looks to be fixed, but I still have this problem.
user3306690
source share