I can't check right now, but this should work:
var w = window.open(...); w.document.body.innerHtml = 'from parent';
This, of course, will not work if the open site is not in the same origin.
If this is the site you are managing, you can pass a parameter to the URL that you can read and act on.
source share