安庆师范大学科研创新服务平台

  • 电话:  400-800-1636
  • 邮箱:  support@e-plugger.com
#homepage)'; document.body.setHomePage(window.location.href); } else if (window.sidebar) { if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch(e) { ep.alert("该操作被浏览器拒绝,如果想启用该功能,请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true"); } } else{ ep.alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【" + window.location.href + "】设置为首页。"); } var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref('browser.startup.homepage', window.location.href); } else{ ep.alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【" + window.location.href + "】设置为首页。"); } } $(function(){ $("input[name='entity\\.account']").focus(); $("input[name='entity.account']").val(getCookie("account")); $("input[name='entity.password']").val(getCookie("password")); }); /** * 获取cookie值 */ function getCookie(name){ var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"),replaceStr = '\"'; if(arr=document.cookie.match(reg)) { var val = arr[2].replace(new RegExp(replaceStr,'gm'),''); if (name = "account") { val = decodeURIComponent(val); } return (arr[2]=='null' ? "" : val); } else return ""; } function showCheckDigit() { $(".checkDiv").show(); if(weixinAndPhoneLogin){ $(".mainbox").css("height","460px"); $(".loginbox").css("height","408px"); }else{ $(".mainbox").css("height","402px"); $(".loginbox").css("height","340px"); } } /** * 展示扫码登录二维码 */ function scanLogin(){ $("#scanLoginFrame").attr("src", "/userAction!to_scanCodeLogin.action?ck=4J4RZL92M7TWAWM8PQRK90GZPJK0DM7B"); $("#loginByAccount").hide(); $("#loginByPhone").hide(); $("#loginType").hide(); $("#scanLoginFrame").show(); $("#pcBox").show(); $("#phoneBox").show(); $("#weixinBox").hide(); $("#errorMsg").text(""); $("#pcBox").attr("class","pr-10 otherLoginLeft"); } function devLogin(account, password) { $("#userName").val(account); $("#password").val(password); ajaxSubmitForm(); } // ]]>

安庆师范大学科研创新服务平台

  • 电话:  400-800-1636
  • 邮箱:  support@e-plugger.com