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

277
Vistas
How to retrieve value from a public JS script?

Im doing a research on Crypto API and want to get the current price of a coin. I used TradingView widget to display all the chart and data on my webpage. So now I only want to retrieve the current price from the widget, is it possible? enter image description here

What've tried:

This widget is in iframe, so i tried to called document.getElementsByTagName('iframe')[0].contentWindow.document.body.innerText; But unfortunately, it showed Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame. Does anyone know ways to retrieve these value from the JS script?

For the full code I cant paste it here because stackoverflow blocked it, can go to this page to generate widget

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