4
submitted 6 months ago* (last edited 6 months ago) by kashara@lemmy.zip to c/browsers@lemmy.ml

I'm creating a TagGroup and trying to update it:

//background.js

chrome.tabs.group({ tabIds: tabIds}, function (groupId) {

  //1
  // chrome.tabGroups.update(groupId, { title: groupTitle });

  //2
  // chrome.tabs.update(groupId, { collapsed: true, title: groupTitle });

   //3
   chrome.tabGroups.update(groupId, { title: groupTitle, color: "blue", collapsed: true });

  //...

For some reason, none of these functions will set title of a TagGroup, nor collapse the tabs into one.

How to do it then?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 22 Dec 2023
4 points (83.3% liked)

Browsers

632 readers
1 users here now

About Community

This is the community to discuss about browsers.

Browsers List

Open Source browsers

Closed Source browsers

List will be updated

founded 3 years ago
MODERATORS