addon.account

Available in userscripts ✔️
Available in popup scripts
Required manifest permissions None

Description

Allows addons to execute actions in the currently logged in Scratch user.

Methods

getMsgCount

Return value Promise<Number | null>

Gets the unread message count of the currently logged in user.
The promise will resolve to null if addon.auth.isLoggedIn is false.


Last updated at 15 January 2022 by lisa-wolfgang on commit e11db85. Improve this page.