Addon API

The addon.* API allows JavaScript addon code to obtain Scratch-related information (for example, get the current logged in user) and also use extension APIs (like sending notifications).


Section Pages

  • addon.self

    Allows addons to get information about themselves or the browser.

  • addon.settings

    Allows addons to change their behavior according to user-specified addon settings.

  • addon.auth

    Allows addons to get information about the current Scratch account session.

  • addon.account

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

  • addon.tab

    Allows addon userscripts to get information about the tab they're currently running on.

  • addon.popup

    Allows addon popup scripts to get information about the popup context.


Last updated at 25 May 2021 by World_Languages on commit e329d03. 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.