Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

225
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda