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

96
Visualizações
Accessing a web page's source rather than DOM for my Google Chrome Extension?

I'm writing a Chrome Extension and need to access information that seems only to exist in the webpage's source (i.e: seen under "view Page Source"), but not the DOM (seen in chrome's "Inspect" tool). In Python I can easily scrape the page and find what I'm looking for, but not so in JavaScript.

The information in question is in the "js-store" class of the Page Source:

</head>
<body style="background-color: #111; margin: 0" >
            
                

            <div class="js-page js-global-wrapper">
                    </div>
        <div class="js-cmp"></div>
                                <div class="js-store" data-content="{&quot;config..."></div>

When viewed with the Inspector, the js-store class does not exist.

Thanks for your help!

Note: this is my first JavaScript project so I apologize if there is an obvious answer

Edit: I can load the data if I turn off JavaScript with the Google Inspector. Also, I have specified in the manifest to run the script at "document_start" but still no success there

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