Another view in the extension, such as a popup, calls runtime.getBackgroundPage.A content script or other extension sends a message.The background page was listening for an event, and the event is dispatched.The extension is first installed or updated to a new version.Extensions monitor these events in their background script, then react with specified instructions.Ī background page is loaded when it is needed, and unloaded when it goes idle. Events are browser triggers, such as navigating to a new page, removing a bookmark, or closing a tab. You will find a section on upgrading in the navigation tree at the left, including the Manifest V2 support timeline.Įxtensions are event based programs used to modify or enhance the Chrome browsing experience. Please use Manifest V3 when building new extensions. The Chrome Web Store no longer accepts Manifest V2 extensions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |