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

91
Visualizações
Inegrating my React-Chrome Extension with the current opened tab

I'm currently developing a Chrome Extension by my own. By far, I designed the front-end using the React App and it has no functionality yet. At this moment, I'm willing to add to a button an 'on click' functionality that will be able to act by the following steps:

  1. Scan the window object (and window.document) of the current opened tab

  2. Open a new temporary tab (at the same host, with no violation of Same-Origin policy), and there also scan the window object (and window.document) and then close this temporary tab.

  3. Sending the relevant extracted data to a remote log server.

The problem that I'm currently faced with is that any script of the extension is running at the context of the extension itself, and not at the context of the currently opened tab. What I'm wondering is how can I slove this context issue (so the code will run where I expects it to run), and also what kind of permissions and other properties should I add to my manifest.json file?

Thanks in advance!

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