PageSourceSearch

https://www.ourbus.com/resources/js/google-login-callback.js

js ourbus.com collected 2026-10-01 11:32:38 UTC 1,694 bytes, 1 lines download raw bytes

1window.onSignIn=function(f){ClickLogin();var k=(f&&typeof f.select_by==="string")?f.select_by:null;var a;if(k==="btn"){a="other social button"}else{if(k==="user"||k==="auto"||k==="known"){a="google one tap"}else{a=(window._gisClickSource==="google_button")?"other social button":"google one tap"}}const b=decodeJwtResponse(f.credential);if(reschedulingData&&reschedulingData.email&&reschedulingData.email!=b.email){alertMessage("Please use the same email id that you used to make the booking.","");return}if(clicked){var l=b.sub;$("#social_id").val(l);var h=b.name;$("#social_name").val(h);var d=b.picture;$("#social_image").val(d);var g=b.email;$("#social_email").val(g);var m=f.credential;$("#social_token").val(m);$("#social_type").val("google");var c=readCookie("_socialTokenCheck");var j=readCookie("_socialtype");var e="";if(c==0&&j=="google"){signOut();delete_cookie("_socialTokenCheck");delete_cookie("_socialtype")}else{if(socialSignupOnly){signuptabCall=false;firstLoginCheck();e={source_name:pageURL,medium:"google",screen_name:"Signup"}}else{if($("#signupTab_cmpp").is(":visible")){e={source_name:pageURL,medium:"google",screen_name:"Signup"};signuptabCall=true;firstLoginCheck()}else{signuptabCall=false;if($("#forking_fb_ggle_pop").is(":visible")){e={source_name:pageURL,medium:"google",screen_name:"Complete Login"}}else{e={source_name:pageURL,medium:"google",screen_name:"Login"}}if($("#forking_fb_ggle_wltact").is(":visible")){wlt_link_scl_act=true}else{wlt_link_scl_act=false}CheckSociallogin()}}e.user_name=h;e.user_email=g;e.auth_source=a;var i={Site:{Name:h,Email:g,"MSG-email":true,"MSG-push":true,"MSG-sms":true}};setProfile(i);tapNormalEvent("social_button_click",e)}}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.