API > wxt/browser > Browser > runtime
Namespace: runtime
Use the Browser.runtime API to retrieve the service worker, return details about the manifest, and listen for and respond to events in the extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
Index
Enumerations
Interfaces
- ConnectInfo
- ContextFilter
- ExtensionConnectEvent
- ExtensionContext
- ExtensionMessageEvent
- InstalledDetails
- LastError
- ManifestAction
- ManifestBase
- ManifestIcons
- ManifestV2
- ManifestV3
- MessageOptions
- MessageSender
- PlatformInfo
- Port
- PortDisconnectEvent
- PortMessageEvent
- RequestUpdateCheckResult
- RuntimeEvent
- RuntimeInstalledEvent
- RuntimeRestartRequiredEvent
- RuntimeUpdateAvailableEvent
- SearchProvider
- UpdateAvailableDetails
- UpdateCheckDetails
Type Aliases
Variables
- id
- lastError
- onBrowserUpdateAvailable
- onConnect
- onConnectExternal
- onInstalled
- onMessage
- onMessageExternal
- onRestartRequired
- onStartup
- onSuspend
- onSuspendCanceled
- onUpdateAvailable
- onUserScriptConnect
- onUserScriptMessage
Functions
- connect
- connectNative
- getBackgroundPage
- getContexts
- getManifest
- getPackageDirectoryEntry
- getPlatformInfo
- getURL
- openOptionsPage
- reload
- requestUpdateCheck
- restart
- restartAfterDelay
- sendMessage
- sendNativeMessage
- setUninstallURL
Generated using typedoc-plugin-markdown and TypeDoc