The following information is from this page that discusses the “useless empty window” problem, while trying to create a script that starts the zip file download:
<script>window.open('archive.zip','_self')</script>
The above download loads correctly, but the page is full, the content is not displayed. I see that the whole source is loaded, but not displayed.
How can I use js to start asynchronous downloads when loading page content without a "useless window"?
source
share