Chrome extension tabs onUpdated event
问题 I am building a chrome extension that should get notified every time a new tab has opened and load page, and for that purpose I'am using chrome.tabs.onUpdated event. The problem is that in case an iframe is inserted on that page/tab that is hosted on some domain(has src), onUpdated event is trigered. Is there a way to differentiate these events for "real" tab load from those triggered for iframe load? 回答1: tabs.onUpdated triggers when state changes between loading to complete . Presumably,