| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Scratch Addons combines new and existing features and themes for the Scratch website and project editor into one easy-to-access and configurable browser extension. The mission is to provide a centralized, up-to-date platform for community development of new features and themes for Scratch.
An addon mainly consists of one or more userscripts (written in JavaScript) or userstyles (written in CSS) that run on the Scratch website or project editor.
Each addon declares its own addon manifest (addon.json file). This file specifies under which circumstances each one of its userscripts and userstyles should be injected into the page. It also contains user-facing information, such as the description of the feature, and information about the addon's settings.
Userscripts work similarly to extension content scripts running in the "main world" (the unprivileged context where chrome.* extension APIs are not available). Userscripts have access to addon.* APIs. They can use these built-in utilities for various purposes: waiting until a certain element exists on the page, listening to settings change events, getting a reference to the Scratch VM object, etc.
Addons are designed to be compatible with each other. They are also developed with performance, internationalization, accessibility, and privacy in mind.
Read the documentation for more information about addons.
The Scratch Addons browser extension provides a settings page where users can enable, disable and configure addons. The extension interprets addon manifests, stores the user's settings, and provides APIs to userscripts. A new version of the extension is released to the stores regularly with new addons and features.
Other open-source projects (such as Scratch forks) can also make use of the addons. For example, the TurboWarp and Adacraft project editors allow you to use most of the editor addons without installing browser extensions, and even while offline (TurboWarp Desktop).
No building is required. The best way to download the source is with Git:
git clone https://github.com/ScratchAddons/ScratchAddons.gitFor browser support information and other installation methods, check the documentation.
To load the extension into most Chromium-based browsers, go to chrome://extensions, turn on developer mode, click "Load unpacked", and select the ScratchAddons folder.
Go to about:debugging, select "This Firefox", click "Load Temporary Add-on...", and select the manifest.json file in the ScratchAddons folder.
Note
Firefox extensions loaded this way are removed when the browser is closed.
If you found a bug or have a suggestion create an issue after checking for duplicates. Alternatively, you can use our feedback page instead.
If you found a security vulnerability, please follow the instructions in our Security Policy instead.
Before contributing code, please read our contributing guidelines.
We recommend using Visual Studio Code as the code editor.
Translations are handled by Transifex. If you are interested in translating the extension, read Joining the Localization Team.
The Scratch Addons Docs are available at https://scratchaddons.com/docs/.
Most of the documentation is located in website-v2 (repository of the ScratchAddons.com website) in the /content/docs directory.
Scratch Addons is licensed under the terms of the GNU General Public License v3.0.
Other third-party libraries used are listed on /libraries/README.md.
| Back | FazBrowse Home | New Git URL |