Like a shadow <iframe> Put another document on my website with the class I need, and then turn it off?</iframe>



  • My job is that. There's no calculator on my website, but it's on another website. I'm not gonna write the knowledge from scratch, so I want to download it from someone else's website on my own with the iframe and turn off the extra class seclators by display:none, but I can't tell you how to do it?

    <style>
    

    .header {display: none;}
    .headertop {display: none;}
    .sidebar {display: none;}

    </style>

    <iframe name="constr" id="InlineFrame1" style="width:700px; height:740px;" src="http://profitability-calculator-ethereum-miners/" scrolling="no" frameborder="0" > </iframe>



  • If I'm not mistaken, the security policy prevents working with iframe downloaded from another site, so these references can read more detail:

    1. http://javascript.info/tutorial/same-origin-security-policy
    2. http://www.bielousov.com/2012/iframe-same-origin-script-policy/

    Even though the hammer goes into the sky.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2