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

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