程式碼如下:
<script> <BR>function SaveAs5(imgURL) <BR>{ <BR>var oPop = window.open(imgURL,"","width=1, var oPop = window.open(imgURL,"","width=1, cight =1, top=5000, left=5000"); <BR>for(; oPop.document.readyState != "complete"; ) <BR>{ <BR>if (oPop.document.readyState == "complete" )break; <BR>} <BR>oPop.document.execCommand("SaveAs"); <BR>oPop.close(); <BR>} <BR></script>