var imageUrl = "https://author.cnki.net/cnkiobj/preview_136715/2306PS0136715_05.png";
var link = document.createElement("a"); link.href = imageUrl; link.download = "image.png"; link.target = "_blank"; document.body.appendChild(link); link.click(); document.body.removeChild(link);
imageUrl 为图片url,通过检查查看。