title: window.open: is it possible open a new window with modify its DOM
body: <p>I want open a new window：</p>
  
  <pre><code>var my = window.open('iframe.html', '_blank' ,"height=600, width=600");
  </code></pre>
  
  <p>but just when open it, I want modify its DOM, I have tried:</p>
  
  <pre><code>var div = my.document.createElement("div");
  div.innerHTML = "Hello!";
  my.document.body.appendChild( div );
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>var div = $('&lt;div&gt;Hello World&lt;/div&gt;');
  $(my).contents().find('body').append(div);
  </code></pre>
  
  <p>Both of them doesn't work;</p>
  
  <p>So is it possible modify my iframe DOM when I open it?</p>