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

214
Visualizações
Can a tampermonkey script run in a Chrome pop-up window?

I am writing a little tampermonkey script to click a button called "Close Contact" in the Amazon AWS Connect softphone (used for customer service) if it appears because I keep forgetting to do it after calls at work. The problem is, the softphone is in a popup window. I can see the URL (although I will not disclose it for privacy reasons of my work), but as with most pop-up windows, you cannot even see the installed extensions. Is it possible for tampermonkey to detect / run scripts in pop-up windows like this, and if so, is anything special needed to do so? (I am mostly a python/java developer and am not particularly familiar with the DOM/front-end development beyond basics).

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

As wOxxOm said in his comment: Yes, it can.

The most common problems can often be solved by wrapping your script in a setTimeout or using Brock's waitForKeyElements utility. Or, if you prefer, mutationObserver.

Links:

https://stackoverflow.com/a/11197969/1447509

https://stackoverflow.com/a/17872564/1447509

https://stackoverflow.com/a/39332340/1447509

https://stackoverflow.com/a/72667050/1447509

about 4 years ago · Santiago Gelvez 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