Skip to content

@halone/sdk / BrowserState

Interface: BrowserState ​

A web window's tabs and navigation, as its browser chrome shows them.

Properties ​

activeDownloads ​

ts
activeDownloads: number;

Downloads still in progress, in every window.


activeTab ​

ts
activeTab: number;

bookmarked ​

ts
bookmarked: boolean;

Whether the active tab's page is bookmarked.


canGoBack ​

ts
canGoBack: boolean;

canGoForward ​

ts
canGoForward: boolean;

loading ​

ts
loading: boolean;

prompt ​

ts
prompt: PermissionPrompt | null;

The first permission the active tab is waiting on, if any.


tabs ​

ts
tabs: BrowserTab[];

webApp ​

ts
webApp: InstallableApp | null;

The active tab's page, when its manifest lets it be installed as an app.

Released under the MIT License.