<html>
<head>
<script type="text/javascript">
function test() {
setTimeout(function () {
this.focus();
this.blur();
alert(1);
}, 2000);
}
</script>
</head>
<body onload="test()">
abc
</body>
</html>