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

106
Views
difficulty getting data from an iframe

There's an extension which I need to extract data from, and currently the relevant data is copied by hand to a spreadsheet, whereas it'd be faster to copy the data to clipboard and paste as tab-delimited data directly into the spreadsheet.

However, the popup's classes can't seem to be found using getElementByClassName, nor can they be found by id.

This seems to be because they are in an iframe. From elsewhere on SO, I've tried getting the iframe object, and getting the .document attribute, .contentWindow.document, but neither have worked. I was thinking it might be because there is a #document in the html immediately following the iframe before the html starts?

The relevant HTML code looks like:

<iframe ...>
  #document
     <html ...>
<\iframe>

Many thanks for you help

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!