Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

84
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!