This is the same question like trying to use console of a new window.
my project requires me to do so and i need solution:
For example:
var popup = window.open("https://www.google.de");
popup.alert("Hello GOOGLE!"); // this work fine!
popup.console.log("Hello Google!"); // this won't display in Console Panel Chrome!
How can i get using only with Javascript to put some text in opening window and display in Console Panel?
Please enlighten me!