Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8324399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:03:31+00:00 2026-06-09T00:03:31+00:00

I need to know if the chrome tabId is unique across all the open

  • 0

I need to know if the chrome tabId is unique across all the open windows. Incognito and normal. Is it guaranteed that non of the open tabs in all the windows will have the same tabId ?

I searched the documentation but could not find any reliable answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:03:37+00:00Added an answer on June 9, 2026 at 12:03 am

    Yes, the tab ID is unique within a browser session. It’s also mentioned in the documentation of chrome.tabs:

    Tab
    ( object )
        id ( integer )
           The ID of the tab.
    Tab IDs are unique within a browser session.

    If you still don’t believe it, create an extension which has the tabs permission, and the right to run in an incognito window. Then run the following code in the background page:

    // Create incognito window
    chrome.windows.create({incognito: true, url:'about:blank'}, showTabId);
    // Create normal window
    chrome.windows.create({incognito: false, url:'about:blank'}, showTabId);
    
    function showTabId(_window) {
        console.log(_window.tabs[0].id);        // Or alert, whatever.
        chrome.tabs.remove(_window.tabs[0].id); // Closes tab & window, user-friendly
    }
    

    The logged numbers are increasing (if you consider two numbers as a too small sample, run the chrome.windows.create method in a loop, until you believe it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a way in my Chrome extension to know when the browser is
I need to do a cross-domain request in a chrome extension. I know I
Need to know this so that i could send DTMF and that is going
I need to know a couple of things, concerning IRC servers that I couldnt
First, you'll need to know the context. Browser: Chrome HTML: <ul> <li> <div>Hi!</div> </li>
I've started on chrome extension development and I need to know how to fetch,parse
I'm currently developping a Chrome extension (which means that I don't need a cross
I need to test flash crashing in Chrome... Anyone know how to make Flash
Need to know which event triggered after text selection done in Apple iPad. It
I need to know how to change background of expanded list item when it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.