自动为您调用IE浏览器打开网站

<!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 http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>360安全浏览器提示</title>
<style>
body,div,p,h1,h2{ padding:0; margin:0;}
body{ background:#ebebeb; font-size:12px; line-height:1.8;}
a{ color:#165aa6; text-decoration:none;}
a:hover{ text-decoration:underline;}
.wCon{ width:714px; height:341px; padding-top:20px;  background:url(http://img.qihoo.com/images/2008/360se/lj/bg.gif) no-repeat; margin:40px auto 0;}
.author{ width:714px; text-align:right; margin:0 auto; padding-top:12px;}
.author a{ color:#000;}
.con{ width:604px; margin:0 auto;}
h1{ line-height:2; background:url(http://img.qihoo.com/images/2008/360se/lj/line.gif) repeat-x bottom; font-size:22px; font-weight:bold; padding:10px 0;}
.text{ clear:both;}
.text h2{ font-size:16px; height:20px; line-height:20px; padding:15px 0 15px 12px;}
.text p{ text-align:center; color:#808080;}
.btn{ width:343px; height:46px; background:url(http://img.qihoo.com/images/2008/360se/lj/btn.gif) no-repeat; display:block; font-size:14px; text-align:center; font-weight:bold; line-height:43px; margin:0 auto 2px;}
.text span{ display:block; padding-top:50px; font-size:14px; text-align:center;}
</style>
</head>

<body>
<script>
var getParameter = function(name)
{
 var r = new RegExp("(\\?|#|&)"+name+"=([^&#]*)(&|#|$)");
 var m = (document.location+"").match(r);
 return (!m?"":m[2]);
}
var openByIE = function(t)
{
 try
 {
 var sid = external.twGetSecurityID(window);
 external.twExtSendMessage2(sid,"ExtDoctor","OpenUrlByIE",t,"");
 }
 catch(e){}
}
var t = decodeURIComponent(getParameter("t"));
</script>

<div class="wCon">
 <div class="con">
     <h1><img src="http://img.qihoo.com/images/2008/360se/lj/h01.gif"/></h1>
        <div class="text">
    <h2>您可以设置为</h2>
        <p><a href="javascript:openByIE(t);" class="btn">自动使用IE打开QQ空间</a></p>;
            <p>为了让您可以正常访问QQ空间,在QQ空间与360浏览器兼容之前,我们将自动为您调用IE浏览器打开QQ空间。</p>
        </div>
    </div>
</div>
</body>
</html>
<!-- *** generated by qihoo *** -->

猜你喜欢

转载自baijinshan.iteye.com/blog/804498