js 拦截alert对话框
<script>
?var myAlert=alert;
?window.alert=function(msg){??????
???//your code????????
??myAlert?(msg+"-TEST");
?}
?function opened(msg){
??alert(msg);
?}
</script>
发布时间: 2013-01-23 10:44:49 作者: rapoo
js 拦截alert对话框
<script>
?var myAlert=alert;
?window.alert=function(msg){??????
???//your code????????
??myAlert?(msg+"-TEST");
?}
?function opened(msg){
??alert(msg);
?}
</script>