`
zuroc
  • 浏览: 1307264 次
  • 性别: Icon_minigender_1
  • 来自: 江苏
社区版块
存档分类
最新评论

163,126,youdao 通行证 的实现

阅读更多
在link rel="stylesheet"引入css的http头中为各自的网站设置cookie

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<link rel="stylesheet" href="http://reg.yodao.com/setcookie.jsp?username=subdragoncn@126.com&loginCookie=xWL6rUGfT4MSCg1g6qyrw48Km0dqXT6Wb8PmHkQpKfwQXXuWlavNqAIjTHGaz.h3F3ecEOk73yZP79Nj7TY8BbsRc9jBGUBfj&domain=yodao.com" type="text/css" />
<link rel="stylesheet" href="http://reg.youdao.com/setcookie.jsp?username=subdragoncn@126.com&loginCookie=xWL6rUGfT4MSCg1g6qyrw48Km0dqXT6Wb8PmHkQpKfwQXXuWlavNqAIjTHGaz.h3F3ecEOk73yZP79Nj7TY8BbsRc9jBGUBfj&domain=youdao.com" type="text/css" />
<link rel="stylesheet" href="http://passport.126.com/setcookie.jsp?username=subdragoncn@126.com&loginCookie=xWL6rUGfT4MSCg1g6qyrw48Km0dqXT6Wb8PmHkQpKfwQXXuWlavNqAIjTHGaz.h3F3ecEOk73yZP79Nj7TY8BbsRc9jBGUBfj&domain=126.com" type="text/css" />

<title>跳转提示</title>
<style type="text/css">
<!--
*{margin:0;padding:0;}
body{margin:50px;background:#fff;line-height:130%;}
div{width:560px;border:5px solid #f5f5f5;padding:10px;}
h1{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #bbb;font-size:16px;color:blue;font-weight:normal;}
h2{font-size:18px;line-height:150%;}
p{font-size:14px;}
img{margin:10px 0;}
a{color:blue;}
a:hover{color:red;}
-->
</style>

</head>

<body>
<p id="login_hint" style="visibility : hidden">正在登录...请稍等</p>
<div id="block_hint" style="visibility : hidden">

<h1>如果您看到这个页面,说明网速缓慢或者浏览器阻止了您的页面转向。请您点击<a href="http://entry.mail.126.com/cgi/ntesdoor?lightweight%3D1%26verifycookie%3D%26style=%3D11%26hid%3D%26bCookie%3D%26RmbUser%3D&username=subdragoncn@126.com"><strong><font color=red>这里</font></strong></a>继续。</h1>

</div>
<script language="JavaScript">
<!--
setTimeout( function(){
document.getElementById("login_hint").style.visibility = 'visible';
}, 3000);
setTimeout( function(){
document.getElementById("login_hint").style.visibility = 'hidden';
document.getElementById("block_hint").style.visibility = 'visible';
}, 10000);
// -->
</script>
<script language="JavaScript">
window.location.replace("http://entry.mail.126.com/cgi/ntesdoor?lightweight%3D1%26verifycookie%3D%26style=%3D11%26hid%3D%26bCookie%3D%26RmbUser%3D&username=subdragoncn@126.com");//remain for popo ,don't del
</script>
<META HTTP-EQUIV=REFRESH CONTENT="0;URL=http://entry.mail.126.com/cgi/ntesdoor?lightweight%3D1%26verifycookie%3D%26style=%3D11%26hid%3D%26bCookie%3D%26RmbUser%3D&username=subdragoncn@126.com">
</body>
</html>

1
0
分享到:
评论
1 楼 shiren1118 2008-12-18  
收了~~~~

相关推荐

Global site tag (gtag.js) - Google Analytics