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

206
Vistas
How to pass variable from content script to injected script and after execution pass variable from injected to content script?

In my chrome extension I need to pass a variable to the injected script before execution. This is important because the variable that the user is inputting in the chrome extension is needed to run the injected script. When the injected script has finished it should pass one variable to the content script. I´ve tried to find answers on the internet for so long but nothing helped me. I tried local storage, sendRequest, addEventListener and so on. So I want to know if there is a way for me to do that? If so I would appreciate it if you could give me an example and/or an article.

Note: I found quite similiar question here on stackoverflow but nothing helped me for my problem.

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