js 拦截alert对话框
<script>?var myAlert=alert;?window.alert=function(msg){?????? ???//your code???????? ??myAlert?(msg+"-TEST");?}?function opened(msg){??alert(msg);?}</script>