Property | Type | Description
|
---|
id | number | Integer number, unique identifier of the tab. |
index | number | Position of the tab in its window, starting at 1 from the left. |
title | string | Title of the page currently loaded in the tab. |
url | string | URL of the page currently loaded in the tab. |
favIconUrl | string | URL of the page's favicon. |
openerTabId | number | ID of the tab that opened this one (if any). |
status | string | The load status of the page: 'loading', 'loaded' or 'unloaded'. |
active | boolean | Whether the tab is the active one in its window. |
selected | boolean | Whether the tab is selected (by Ctrl+Click on the tab). |
pinned | boolean | Whether the tab is pinned. |
audible | boolean | Whether the tab is playing audio (speaker icon on tab's right edge). |
muted | boolean | Whether the tab is muted. |
incognito | boolean | Whether it's an incognito tab. |
width | number | Width of the tab's viewport in pixels. |
height | number | Height of the tab's viewport in pixels. |
window.type | string | Type of window the tab belongs to: 'normal', 'popup', 'app' or 'devtools'. |
window.state | string | Visibility state of the tab's containing window: 'normal',
'minimized', 'maximized', 'fullscreen', 'hidden'. |
window.focused | boolean | Whether the tab's containing window is focused. |
window.alwaysOnTop | boolean | Whether the tab is in a topmost window. |
window.left | number | X coordinate of the window from the left edge of the desktop, in pixels. |
window.top | number | Y coordinate of the window from the top edge of the desktop, in pixels. |
window.width | number | Width of the window in pixels. |
window.height | number | Height of the window in pixels. |