awindow.openwindow.location
https://img.codeshelper.com/upload/img/2021/03/23/1mvcyczos1u12594.jpg
<a href="https://img.codeshelper.com/upload/img/2021/03/23/1mvcyczos1u12594.jpg" download="img.png">
window.location="https://img.codeshelper.com/upload/img/2021/03/23/1mvcyczos1u12594.jpg";
window.open("https://img.codeshelper.com/upload/img/2021/03/23/1mvcyczos1u12594.jpg");
all of the above three ways are to click to open the picture directly, not to download and save as.
I want to be compatible with IE, ask you the solution, please write the solution, take the online picture as an example, I can test, thank you.