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

234
Visualizações
Chrome extension to listen for when a "subscriber form" popup is rendered on a site and automatically inject name, email into the popup's form

I am learning to code and starting with browser plugins for practice. I have a plugin project where I have to do the following:

  1. Listen for what tab (and url) the user is currently on
  2. Listen for if a JS popup is rendered (specifically any of the popular popups that help sites grab new subscribers)
  3. Automatically inject the popup's subscriber form the name and email I have pre-approved the plugin to share

I think I have step 1 working right with the code below (I tested it with console.log statements.

chrome.tabs.onActivated.addListener(tab =\> {
chrome.tabs.get(tab.tabId, current_tab_info =\> {

});
});

If this is correct, what code should I add inside the chrome.tabs.get function to make steps 2 and 3 above work as intended?

Thank you for your support.

Best, N

The code above works fine, I am not sure how to proceed with steps 2 and 3 above.

about 4 years ago · Juan Pablo Isaza
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