0

Is there an event or listener that fires when a user logs his Google account out of Chrome (or switches from account)?

When this happens I want to change my Chrome Extension default_icon (from green to red).

Xan
  • 74,770
  • 16
  • 179
  • 206
ShadowHunter
  • 425
  • 3
  • 12

1 Answers1

2

"Fired when signin state changes for an account on the user's profile."

https://developer.chrome.com/extensions/identity#event-onSignInChanged

Daniel Herr
  • 19,083
  • 6
  • 44
  • 61