Search code examples
google-chrome-extension

chrome tabs.query search for new tab


Is it possible to chrome.tabs.query() for new tab only?
As per the documentation I could not find any key in queryInfo object suitable for this.

chrome new tab


Solution

  • Try querying with the url is chrome://newtab/