How can I make JavaScript make (produce) new page?
var w = window.open("");
w.document.writeln("<the html you wanted to write>")
var opened = window.open("");
opened.document.write("<html><head><title>MyTitle</title></head><body>test</body></html>");