163,126,youdao 通行证 的实现

[size=large]在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>

[/size]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值