Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

204
Visualizações
Using javascript to detect the domains of other tabs?

Is there any way to detect what other domains a user has open with Javascript?

I'm not looking to modify anything in those tabs or have any access to the content from them. I also don't need to know the exact URL, just the domain name each tab is accessing.

I've seen questions here about accessing other tabs via Javascript, but most are wanting to access or modify the data from those tabs - which isn't what I'm wanting to do.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

For privacy reasons, you could only do that in a browser extension, and only if the extension has been given the tabs permission.

See here for more information about the chrome.tabs API.

async function getInactiveTabs() {
    return await chrome.tabs.query({ active: false, currentWindow: true });
}
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda