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

169
Visualizações
__vue__ object undefined on content_script but present on browser console

First of all I'm not developing on Vue, I'm writing some code and injecting it on a Vue developed website through a chrome extension. I tested first with Tampermonkey injecting a script and accesing the vue object of a chat window and a button so i could simulate sending messages, and it worked perfectly. So I proceded to port the code to a "content script" that is injected into the site by chrome and so far so good, except that for some reason when i try accessing the vue object it's undefined. If i go to the console and query the element of the page and check the object it's in fact there while the script is running. So any idea why i can see it on a script injected with TamperMonkey, on the browsers console, but not on the content script of a chrome extension?

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