You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api.get.user_email = function() {
if(api.tracker.globals.length == 0 && GLOBALS !== "undefined" && GLOBALS.length > 11)
api.tracker.globals = GLOBALS;
let user_email = api.tracker.globals[10];
if (user_email) {
return user_email;
}
const elements = document.getElementsByClassName("eYSAde");
for (const el of elements) {
if (el.innerHTML.indexOf("@") === -1) {
return el.innerHTML;
}
}
return null;
};
Location: api.get.user_email
There is a simple fix explained in the comment that worked for me. Just wanted to make a separate issue to make sure this doesn't fall through the cracks 😉
Problem
The api.get.user_email method always returns null
Testing Conditions
Problem can only be reproduced by using a gmail account ending in @gmail.com.
The text was updated successfully, but these errors were encountered:
As explained in this comment: #779 (comment)
Location:
api.get.user_email
There is a simple fix explained in the comment that worked for me. Just wanted to make a separate issue to make sure this doesn't fall through the cracks 😉
Problem
The
api.get.user_email
method always returnsnull
Testing Conditions
Problem can only be reproduced by using a gmail account ending in
@gmail.com
.The text was updated successfully, but these errors were encountered: