Posted in Javascript onJanuary 16, 2013
<input type="button" onclick="opened('ALERT')" value="提示"/> <script> var myAlert=alert; window.alert=function(msg){ //your code myAlert (msg+"-TEST"); } function opened(msg){ alert(msg); } </script>
js拦截alert对话框另类应用
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@