title: cordova/phonegap InAppBrowser passing data to opened window
body: <p>I want to pass some object data to opened window, which can not be passed with parameters in url.</p>
  
  <p>How can I do that? Thanks.</p>
  
  <p>[update]<br>
  Now what I do is, implement some functions <code>setSomeData(...)</code> in that html, to set some value. Because I have a complicated object to pass to new window, I should add many that kind of functions.   </p>
  
  <p><code>
      var win = window.open('some_page.html', '_blank');
      win.addEventListener('loadstop',
        function() {
          console.log("call in loadstop");
          win.executeScript({code: "setFormData(" + theObject.somevalue + ")"});
          // setFormData(..) is a function in some_page.html
        });
  </code></p>