Self.focus() and ie8

hi,

i have problem with this code in ie8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<script type="text/javascript">

<!--
var opened;
function myPopup()
{

	window.open("http://www.google.com/", "mynew", "status = 1");
	self.focus();
}
//-->
</script>
</head>

<body onclick="myPopup()">
dfdf
</body>
</html>

this popup working with all browsers except ie8

any help ?

Looks like a security thing: http://social.technet.microsoft.com/Forums/en-US/itprovistaie/thread/5b95f363-03e0-472f-87e1-ef19c94e34b6

see the last comment.

In any case, popunders are extremely antisocial so it’s not really a bad thing that this fails.

Good for Microsoft…