tabGroups.TAB_GROUP_ID_NONE

The tab group ID value returned when a tab isn't in a tab group.

Its value is -1.

This value can appear as groupId in these API functions:

The tabGroups.TAB_GROUP_ID_NONE constant is part of the tabGroups namespace, which is only available when the tabGroups permission is granted. If your extension doesn't require the tabGroups permission, use -1 instead of tabGroups.TAB_GROUP_ID_NONE.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
TAB_GROUP_ID_NONE
Chrome – Full support
Chrome 89 (Release date: 2021-03-02)
footnote Full support
Edge – Full support
Edge 89 (Release date: 2021-03-04)
footnote Full support
Firefox – Full support
Firefox 139 (Release date: 2025-05-27)
footnote Full support
Opera – Full support
Opera 75 (Release date: 2021-03-24)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support