<html>
<head>
<script type="text/javascript">
function test() {
setTimeout(function () {
this.focus();
this.blur();
alert(1);
}, 2000);
}
</script>
</head>
<body οnlοad="test()">
abc
</body>
</html>
转载于:https://www.cnblogs.com/ouwenlingzhi/p/6116448.html