Better HN
topnewbestaskshowjobs
Log inSign up

troy1987

84 karma · joined Mar 31, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

This seems really dumb!

https://foobar.withgoogle.com/staticfiles/js/landing.5252068... : !function(){ "use strict"; function a(){ var a=document.getElementById("login"); a.addEventListener("click",function(a){a.preventDefault(),window.launchPopup()},!1)} window.handleAuth=function(a){ a.logoutUrl ? window.location.href=a.redirectUrl : window.location.reload() }, window.launchPopup=function(){ window.open("/login/","AppLogin","resizable,scrollbars,status,width=600,height=400") }, a() } ();

This script handles the login. a object looks something like this : Object { message: "<span class="term-red">Error(6): Login unavailable. Try again later.</span>", logoutUrl: "https://foobar.withgoogle.com/_ah/logout?continue=…ps://foob..., redirectUrl: "/denied/", allow: false}allow: falselogoutUrl: "https://foobar.withgoogle.com/_ah/logout?continue=https://ww...: "<span class="term-red">Error(6): Login unavailable. Try again later.</span>" redirectUrl: "/denied/" }

handleAuth() function will either take you tohttps://foobar.withgoogle.com/denied/ or just reload the page.

Google is just getting a tonne of analytics data.

2.

eBay user data for sale?(pastebin.com ↗)

94 points · by troy1987 · 12y ago · 106 comments