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.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.