标签:js跳转输入邮箱登陆界面
<script>
var hash = { // 邮箱域名对应的邮箱登录地址
'qq.com' : 'http://mail.qq.com',
'gmail.com' : 'http://mail.google.com',
'sina.com' : 'http://mail.sina.com.cn',
'sina.cn' : 'http://mail.sina.com.cn',
'163.com' : 'http://mail.163.com',
'126.com' : 'http://mail.126.com',
'yeah.net' : 'http://www.yeah.net/',
'sohu.com' : 'http://mail.sohu.com/',
'tom.com' : 'http://mail.tom.com/',
'sogou.com' : 'http://mail.sogou.com/',
'139.com' : 'http://mail.10086.cn/',
'hotmail.com' : 'http://www.hotmail.com',
'live.com' : 'http://login.live.com/',
'live.cn' : 'http://login.live.cn/',
'live.com.cn' : 'http://login.live.com.cn',
'189.com' : 'http://webmail16.189.cn/webmail/',
'yahoo.com.cn' : 'http://mail.cn.yahoo.com/',
'yahoo.cn' : 'http://mail.cn.yahoo.com/',
'eyou.com' : 'http://www.eyou.com/',
'21cn.com' : 'http://mail.21cn.com/',
'188.com' : 'http://www.188.com/',
'foxmail.com' : 'http://www.foxmail.com'
};
function exeEmail() {
var email = $("#Email").val();
var url = email.split('@')[1];
if (typeof (hash[url]) !== "undefined") {
window.open(hash[url]);
}
}
</script>标签:js跳转输入邮箱登陆界面
原文地址:http://blog.csdn.net/maskdfe/article/details/38704311