1

I already included the tabs permissions on the JSON file

    chrome.tabs.onUpdated.addListener((tabId, tab) => {
      if (tab.url && tab.url.includes("youtube.com/watch"))
        console.log("Hello")
    });
  }
});
Ivar
  • 6,138
  • 12
  • 49
  • 61
叶彬铭
  • 11
  • 1

0 Answers0