tab.id
tab.url
chrome.tabs.query({ active: true }, async function (tabs) { var url = tabs[0].url; console.log(url); });
tabs