How to get chrome logged in user's email id through website


How to get chrome logged in user's email id through website



I visited wishfin.com and one minute later I received their promotional email. I know this could be by chance but I am curious to know that if it is possible to get chrome logged in user's email id through website e.g. javascript?
Sorry, if this question is not relevant but I Googled it too, I have got no clue.


javascript




1 Answer
1



Access to the chrome profile information is controlled through the chrome.identity API - specifically getProfileUserInfo. Docs



It returns the email & a UUID for the signed in profile.



However you must give the website permission for them to get this data, specifically the identity.email permission.



Unless you gave them the permission, the website did not receive your email from google chrome.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Render GeoTiff to on browser with leaflet

using states in a react-navigation without redux