title: How to access cross-domain iframe wrapping contents
body: <p>I have an <code>&lt;iframe&gt;</code> like this-</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;iframe id="iframe" src="https://www.producthunt.com/" width="800" height="600" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to get the wrapping names of "div" in that product hunt website.
  Let's say product hunt website have a div name "products", How to I get that? For example, If a user click on a  tag , I want to know that user clicked a  tag or <p> tag etc</p>
  
  <p>I  know it's a basic question, but please help me.</p>