/*********************************************************** Google+ ***********************************************************/ var name="Google+"; var ver="2014-01-04"; var hostString="gmail.com"; var supportMulti=true; var isGoogle=true; function init(){ this.initStage=ST_PRE; this.loginData=["https://accounts.google.com/ServiceLoginAuth?service=oz", "Email","Passwd","PersistentCookie=yes"]; this.baseURL="https://plus.google.com/"; this.viewDomain=".+?.google.com"; this.dataURL="https://plus.google.com/u/0/_/n/gcosuc"; this.viewURL=this.baseURL; } function getIconURL(){ return "http://ssl.gstatic.com/s2/oz/images/faviconr2.ico"; } function getURL(url,n){ if(n==null)return url; else return url.replace(/(?:\?(\S*))?$/,function(){return "?authuser="+n+(RegExp.$1?"&"+RegExp.$1:"");}); } function checkLogin(aData){ switch(this.stage){ case ST_CHECK: this.getHtml(this.baseURL); return false; case ST_CHECK+1: var fnd=aData.match(/https:\/\/accounts.google.com\/SignUp/); if(fnd){ this.stage=ST_PRE; return this.process(""); } ++this.stage; case ST_CHECK+2: var fnd=aData.match(/