Here's how to deteremine tab group Rated 4 out of 5 stars
I saw rsigg's review and your reply in that you were having trouble identifying which group a tab belonged to. You can figure out which group it is by going `tab._tabViewTabItem.parent.id`. This `id` is an integer.
This is how to do it:
var tab = gBrowser.tabContainer.childNodes; //non-sdk code
gBrowser.selectedTab = tab; //non-sdk code
console.log(tab._tabViewTabItem.parent.id) //works both in sdk and non-sdk
Note: pinned tabs dont have the `_tabViewTabItem` property. So thats how you can tell if its pinned.
Thanks for letting us know - you're right there is a way to do this and a new version of OneTab with Panorama tab group support (OneTab v1.9) has just been released to the add-ons store.
Because all new versions are reviewed before going live, to upgrade to v1.9, you need to manually install it from this page https://addons.mozilla.org/en-US/firefox/addon/onetab/versions/