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

281
Views
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
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!