//In background.js chrome.tabs.onUpdated.addListener(function(tabid, info, tab) { console.log(info); }); I'm try to set it up so onUpdate runs once every time a youtube video page loads. I want wait for load after a youtube video loads. When I load directly from a url I get what I expect, but when I navigate to a suggested video, there are 2 loading/complete cycles. One for the current video, One for the next video.
This is the output for a direct url youtube video.
This is what happens if I navigate to a youtube video while watching another youtube video.
In my manifest I have a simple background.js script, permission for webNaviagtion and Tabs.
I don't know why it's running twice.

