addon.account

Available in userscripts✔️
Available in popup scripts
Required manifest permissionsNone

Description

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

Methods

getMsgCount

Return valuePromise<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 22 April 2022 by RedGuy12 on commit 686f6b7. Improve this page.

Comments

Make sure to follow the code of conduct. You can see this comment section on GitHub Discussions, as well as editing and removing your comment.