Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

555 B

sidebar_label
sidebar_label
Realm.extension

Realm.extension() method

Returns the Extension that created this realm, if applicable. This is typically populated when the realm was created by an extension content script injected into a page.

Signature

class Realm {
  abstract extension(): Promise<Extension | null>;
}

Returns:

Promise<Extension | null>

A promise that resolves to the Extension or null if not created by an extension.