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

103
Views
Google Chrome - Remove Class inside Iframe

How do I remove a class="js-action-group" from an Iframe after it fully loads?

<iframe src="https://000.maps.arcgis.com/apps/dashboards/000" style="width: 100%; height: 100%; border: 0"></iframe>

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You cannot alter contents of an iframe that are loaded from a different domain. This is a restriction in place by browser security. if you are on same domain you can try this

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>contents demo</title>
  <script src="https://code.jquery.com/jquery-3.5.0.js"></script>
</head>
<body>
 

<iframe src="https://000.maps.arcgis.com/apps/dashboards/000" style="width: 100%; height: 100%; border: 0" id="frameDemo"></iframe>
 
<script>
$( "#frameDemo" ).contents().find( ".js-action-group" ).remove();
</script>
 
</body>
</html>
about 4 years ago · Juan Pablo Isaza Report
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!