Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

277
Views
How to add chrome tab group in javascript?

I'm currently working on my first chrome extension (MV3) and I wanted to add a new tab group through js. The documentation say it's possible, but I just can't figure out how to do it. All help is appreciated! :)

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

I took a look at a similar chrome extension and managed to figure it out. You do something along the lines of:

aync function test() {
  var groupId = await chrome.tabs.group({ tabIds: tabId });
  chrome.tabGroups.update(groupId, { collapsed: false, title: "title", color: "blue" });
}

about 4 years ago · Juan Pablo Isaza Report

0

So, as I can understand, if you're not passing groupId, then it will create one for you, and return it's the id as a result of the promise.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!