<!DOCTYPE html>
<html>
<body>
<button onclick="OpenAndAdd()">Open And Add</button>
<script>
function OpenAndAdd() {
var w = window.open("", "Title", "toolbar=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=600,height=300,top="+(screen.height-700)+",left="+(screen.width-1000));
w.document.body.innerHTML = "<h1>Title</h1> <p>Text text text</p>";
}
</script>
</body>
</html>