This question asks for a way to open a new window using window.open and then inject it with a script. It was not possible because of cross-domain security issue
window.open
Yes...
var w = window.open(); w.document.write('......');