I have a very similar requirement specified here.
I need to have the user’s browser start a download manually when
But I cannot use the
window.href method, since it replaces the current page contents with the file you’re trying to download.
Instead I want to open the download in new window/tab. How is this possible?