Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Twitter Tracking You in Incognito Mode – Using Window.Alert() (twitter.com/marknadal)
11 points by marknadal on April 11, 2019 | hide | past | favorite | 3 comments


Isn't this a Chrome-specific "Smart-Lock" or "Auto Sign-In" dialog? It shows multiple selectable users in a modal dialog, AFAIK Windows.Alert() is not able to do this.


That is correct, it is just opening Chrome's password manager:

  await navigator.credentials.get({password:true})
https://developers.google.com/web/fundamentals/security/cred...

I do think it is odd that this API will present the UI without any user interaction first. (Doesn't require a tap/click to open.)


As mentioned in the tweet's replies, this isn't true at all. I definitely was a bit shocked to see my username appear in incognito, but this isn't a window.alert. Twitter has no access to your username in incognito.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: