|
<script> function getimg() { event.returnValue=false; show.window.location.href=event.srcElement.src; timer=setInterval(checkload,100) } function checkload(){ if(show.readyState!="complete") {show.document.execCommand("SaveAs"); clearInterval(timer)} }
</script> <img src="xxx" oncontextmenu="getimg()"> <iframe src="" name=show style="width:0;height:0"></iframe>
利用一个框架保存图片,然后可以执行savaas命令
|