For example, I have this script

```
<button onclick="myFunction()">Try it</button>

<script>
function myFunction() {
var myWindow = window.open("", "myWindow", "width=200,height=100");
myWindow.document.write("<p>This is 'myWindow'</p>");
myWindow.opener.document.write("<p>This is the source window!</p>");
}
</script>

```

Instead of

```
 myWindow.document.write("<p>This is 'myWindow'</p>");

```

I would want to put something like

```
 myWindow.document.write("<script> alert("h");</script>");

```

Due to circumstances, I cannot link to another page with the code in it. Putting the script makes the window not even open. Thanks