关闭网页窗口后直接跳转到新的页面

<HTML>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onbeforeunload="popwin('http://www.alixixi.com/firefox/','_blank');">

<script language="javascript">
var aw = screen.availWidth;
var ah = screen.availHeight;
window.moveTo(0,0);
window.resizeTo(aw+1,ah);

</script>
<SCRIPT language=javascript>

function popwin(popurl,target)
{
    stb.DOM.Script.window.open(popurl,target);
 
}
</SCRIPT>
<OBJECT id=stb height=1 width=1 classid=clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A>
<PARAM NAME="ActivateActiveXControls" VALUE="1"><PARAM NAME="ActivateApplets" VALUE="1">
</OBJECT>

<br><br><br><br>
关闭窗口试试?
不知道是否支持火狐浏览器.
<a href="/firefox/" style="color:red">点击下载火狐浏览器</a> 试试

<br><br><br></body>
</html>

你可能感兴趣的:(跳转)