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

94
Vistas
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 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