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

212
Visualizações
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 à 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