2 different forms are available
First type:
<script> function SaveAs5 (imgurl) {var opop = window.open (Imgurl, "", "width=1, Height=1, top=5000, left=5000"); for (; OPop.document.readyState!= "complete";) {if (OPop.document.readyState = = "complete") break; } oPop.document.execCommand ("SaveAs"); Opop.close (); } </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
The second type:
<script> function SaveAs5 (imgurl) {var opop = window.open (i Mgurl, "", "width=1, Height=1, top=5000, left=5000"); for (; OPop.document.readyState!= "complete";) {if (OPop.document.readyState = = "complete") break; } oPop.document.execCommand ("SaveAs"); Opop.close (); </script> Click here to download the picture
[ctrl+a All selected note: If you need to introduce external JS need to refresh to perform]