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

270
Views
¿Cómo recuperar el valor de un script JS público?

Estoy investigando sobre Crypto API y quiero obtener el precio actual de una moneda. Usé el widget TradingView para mostrar todos los gráficos y datos en mi página web. Entonces ahora solo quiero recuperar el precio actual del widget, ¿es posible? ingrese la descripción de la imagen aquí

Lo que he intentado:

Este widget está en iframe , así que traté de llamar a document.getElementsByTagName('iframe')[0].contentWindow.document.body.innerText; Pero desafortunadamente, mostró Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame . ¿Alguien sabe formas de recuperar estos valores del script JS?

Para ver el código completo, no puedo pegarlo aquí porque stackoverflow lo bloqueó, puede ir a esta página para generar el widget

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!