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....automatically when Firefox calls one of their WebExtensions API events...background page, you can specify one. You then specify your script...