Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chrome.identity.getProfileUserInfo((userInfo) => {
- accountInformation = userInfo
- //This alert shows the data
- alert('Account Information in JSON format' + accountInformation)
- });
- //this always has the variable undefined. Unfortunately this is where I need the variable for other parts of the script.
- alert('Account Information in JSON format' + accountInformation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement