AboutSupportDeveloper GuideVersion 45.148.100.77

APIs for interacting with Chromium extension actions from an initialized ChromeBrowser window.

interface ChromeBrowserActions {
    state: Readable<ExtensionActionListItem[]>;
    getExtensionActions(): Promise<ExtensionActionListItem[]>;
    hideActiveExtensionPopup(): Promise<void>;
    invokeExtensionAction(options: ExtensionActionInvokeOptions): Promise<void>;
}

Properties

Reactive value reflecting the current extension action list. Compatible with React's useSyncExternalStore.

Methods

  • Hides the active extension popup, if any.

    Returns Promise<void>

  • Executes the specified extension action.

    Parameters

    Returns Promise<void>

    This may trigger an extension popup to be shown by the Runtime if the extension has a popup configured for the currently active tab.