<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命令
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18