Events

When Installed

chrome.runtime.onInstalled.addListener(() => {
  //......
});

Bookmarks Created

chrome.bookmarks.onCreated.addListener(function() {
  //......
});

Tab changes

tabs.onUpdated

webNavigation supports filters

 chrome.webNavigation.onCompleted.addListener(() => {
      alert("This is my favorite website!");
  }, {url: [{urlMatches : 'https://www.google.com/'}]});

Last updated