title: Trying to access some website's HTML and transfer it to an popup IFRAME - but cannot get it
body: <p>i am trying to get a website's HTML doucument through iframe and google chrome extention which injects JS to the website
  i am able to pop up the window , but i cannt get the &quot;parent&quot; document - only the childs.
  this is the code i inject to the website :</p>
  <pre><code>   let msg = window.document;
  let child_url = &quot;https://localhost:3000&quot;
  function sendData(){
  let ref=window.open(child_url,&quot;pop&quot;,&quot;width=450,height=650,resizable=1&quot;);
    ref.postMessage('here i want to send the html document', 'https://www.ikea.co.il');
      
  }
  sendData();
  </code></pre>
  <p>this is the event listener in my index.html (this is a vue app)</p>
  <pre><code>&lt;script&gt;
    window.addEventListener(&quot;message&quot;, function(e) {
      console.log(e);
    });
  &lt;/script&gt;
  </code></pre>
  <p>somehow the console only logs the childs html document
  i added proxy server and they are both HTTPS Protocol</p>