Codepen of the sample code (Warning - opens a new window on loading).
The sample code:
var exampleWin = window.open("about:blank", "example");
var docMarkup = "
test" +"
Why is the browser still transferring data? How can I tell it to stop?
";exampleWin.document.write(docMarkup);
It works fine, except that the newly opened window has the browser loading spinner running forever. If I press stop and refresh on the newly opened page, the spinner stops.
How can I tell the page that there is no more data coming and make the spinner stop?
EDIT: In Firefox