To open another page without reloading through the console?

You need to otobrazhat another page, after you paste the code into the console, without rebooting
March 23rd 20 at 19:10
1 answer
March 23rd 20 at 19:12
To request it via ajax (xhr or fetch) to analyze the response to parts (headers, body, all of it)
poudalyat almost all of the current content, then insert the result.

The server kotorggo you are requesting should be fine (see cors).
Otherwise, nothing will work, and a lot of divorced Fisher.

Find more questions by tags HTMLJavaScript