I have a URL, which points to an image and returns a response with content-disposition: attachment
.
This prompts the browser to display a "Save As" prompt to download the image.
Is it possible, using javascript, to open that image in a new tab instead of downloading it?