Background scripts or a background page enable you to monitor and react to events in the browser, such as navigating to a new page, removing a bookmark, or closing a tab....}, ); Filter events Use APIs that support event filters to restrict...webNavigation.onCompleted event with filters instead, as the tabs API does...