Chrome.tabs.onUpdated.addListener does not start when a page is retrieved from the cache

I have the following listener:

chrome.tabs.onUpdated.addListener(function(tabId, change, tab) {
  if (change.status == "complete") {
    // Do something
  }
});

After updating the Chrome browser from 16.x to 17.x, I noticed that this listener is not always fired. For example, when it seems that the page is being fetched from the cache (loading very fast), it does not work. Then, if I reload the page, it starts as usual.

Are there any changes to this API method in 17.x?

Thank!

+5
source share
1 answer

. tabs.onActiveChanged, , , , . , , .

0

All Articles