新增加blogger登录入口
刚才把 http://www.blogger.com的登录入口迁移到页面的侧边栏上,这样6apples团队的朋友们就可以不必跳转到www.blogger.com再登录了,可直接通过边栏里的登录入口直接进入控制台,希望大家喜欢^o^ 实现方法: <div style="padding:0px 0px 0px 25px "> <form id="start-login" action="https://www.google.com/accounts/ServiceLoginBoxAuth" name="login" onsubmit="onlogin()" method="post">
通过 HTML/JavaScript 页面元素 添加如下代码:
(声明:这段代码是www.blogger.com登录入口的代码,我只是做了部分调整)
<script type="text/javascript">
<!--
function setFocus() {
if (document.forms[0].Email.value == null
document.forms[0].Email.value == "") {
document.forms[0].Email.focus();
} else {
document.forms[0].Passwd.focus();
}
}
//-->
</script>
<script type="text/javascript">
<!--
function onlogin() {
return;
}
//-->
</script>
请使用您的 Google 帐户登录
<input value="http://www.blogger.com/loginz?d=%2Fstart" name="continue" type="hidden"/>
<input value="blogger" name="service" type="hidden"/>
<input value="8" name="nui" type="hidden"/>
<input value="8" name="naui" type="hidden"/>
<input value="2" name="fpui" type="hidden"/>
<input value="3" name="uilel" type="hidden"/>
<input value="true" name="skipvpage" type="hidden"/>
<input value="false" name="rm" type="hidden"/>
<input value="zh_CN" name="hl" type="hidden"/>
<input value="true" name="alwf" type="hidden"/>
<input value="https://www.blogger.com/login.g" name="roeu" type="hidden"/>
<input value="WbnRqO_ScZo" name="GA3T" type="hidden"/>
<div class="input-holder">
<label for="Email">
用 户 名: <input id="Email" tabindex="1" value="" name="Email" size="10" type="text"/>
</label>
</div>
<div class="input-holder">
<label for="Passwd">
密 码:(<a href="https://www.google.com/accounts/ForgotPasswd?fpOnly=1&continue=http%3A%2F%2Fwww.blogger.com%2Floginz%3Fd%3D%252Fstart&service=blogger&hl=zh_CN&fpui=2" target="_top" title="忘记了密码?">?</a>)
</label>
<input id="Passwd" tabindex="2" autocomplete="off" name="Passwd" size="10" type="password"/>
</div>
<div id="PersistentCookie-holder">
<input id="PersistentCookie" tabindex="3" value="yes" name="PersistentCookie" type="checkbox"/>
<label for="PersistentCookie"> 记住我</label>
(<a href="http://help.blogger.com/bin/answer.py?answer=737" target="_top" title="什么是“记住我”?">?</a>)
<script type="text/javascript">
document.write(" \u003cdiv id\u003d\"signin-btn\" style\u003d\"float:right; padding:0px 60px 0px 0px\" onclick\u003d\"if (this.className.indexOf("ubtn-disabled") \u003d\u003d -1) {var e \u003d document['login'].submit;(e.length) ? e[0].click() : e.click();}\" class\u003d\"ubtn\"\> \u003cdiv class\u003d\"i\"\> \u003ca href\u003d\"javascript:void(0)\" onclick\u003d\"return false;\" tabindex\u003d\"0\"\>\u003cspan\>登录\u003c/span\>\u003c/a\> \u003c/div\> \u003c/div\>");
</script>
<script type="text/javascript">
document.write(" \u003cinput style\u003d\"position:absolute; display:block; width:0; padding:0; z-index:-1; border:none; top:-5000px; left:-5000px\" name\u003d\"submit\" value\u003d\"登录\" type\u003d\"submit\" id\u003d\"signin-btn-hidden\" tabindex\u003d\"-1\"\> ");
</script>
<noscript>
<input id="signin-btn-ns" tabindex="0" value="登录" class="ubtn ubtn-block" name="submit" type="submit"/>
</noscript>
</div></form>
</div>
没有评论:
发表评论