The perfect extension for Scratch.
Explore the docs »
Feature Showcase
·
Report a Bug
·
Request feature
We're a browser extension for the Scratch website that makes Scratch look, work, and feel even better. We're fully customizable, so you can build the Scratch website based on just how you want it to look! We're the fastest-growing browser extension for Scratch, and we're run by the community! Anyone can build a feature!
There are multiple ways of installing.
- Chrome: You can download from Chrome here. Then just press the Add to Chrome button, and you've downloaded ScratchTools!
- Firefox/Mozilla: You can download for Firefox here. You can then just add it to Firefox, and then you have ScratchTools!
- Microsoft edge: You can download for Edge here. You can then just add it to Edge, and then you have ScratchTools!
- Safari (macOS, iPadOS and iOS): You can build the extension by typing
make
for macOS, andmake ios
for the iOS app (you will have to sign it on Xcode), make sure you have enabled Developer mode and allowed unsigned extensions. - GitHub: Download from GitHub here. If it downloads a
.zip
file, unpack it. Then, with the folder, go tochrome://extensions
, make sure you have developer mode enabled (switch in the top right corner), and drag the downloaded folder onto the page. Make sure you've disabled other versions of ScratchTools.
It's not very hard to build a feature, and if you're ever having trouble, our developers are always here to help you! For ideas, code help, beta testing for your features, and more, you can join our Discord server. Now, here's how to build a feature!
- Fork the repository. (The STForScratch/ScratchTools repository). Now you have your own version of ScratchTools that you can edit, and, when ready, send us your changes so we can add your changes into ScratchTools. Forking the wrong repo can lead to problems, such as having an outdated version.
- Add your
.js
file to the/features/
folder. Name it something related to your feature, and something different from the rest of the features. This file will run whenever the feature is enabled. As of right now, it must be a JavaScript file (ending with.js
). - Edit the
/features/features.json
file. This is one of the most important files. Make sure you understand JSON before you edit this, or use a JSON validator after editing to make sure it's all correct. In this file, you'll notice each and every ScratchTools feature. Follow the formatting, and add your feature to the bottom of the list. Make sure that the file name is correct, along with the credits, urls, description, and, of course, the title. - Go to the main repository (the one you're currently in), and create a pull request with the changes from your fork. If you don't know how to do this, you can quickly read this article from GitHub. Now, our developers can review your changes and make sure everything works well! You'll get credit for all of your changes as well!
Remember, our developers are always there for you. If you ever need help or have questions, feel free to ask us. You can create an issue or join our Discord server. If you need code help, we can help you as well. Also ScratchTools has a YouTube channel with tutorials such as how to make the website use a custom font or how to install the Beta version of ScratchTools to test out features before they are released to the public.
Our APIs are growing slowly, but, as of right now, we have two main ones that we use. As long as your feature's world isn't set to "ISOLATED", these APIs will work for you!
Using ScratchTools.Auth
, you can access the authentication info for the signed in user. This includes the session ID, username, profile picture, and more. This is the only API that requires you to wait for a value when using it immediately after your userscript has loaded. You can also use await ScratchTools.Session()
to get the same information.
Using ScratchTools.Scratch.blockly
and ScratchTools.Scratch.vm
, you can access the Blockly and Virtual Machine from inside the editor (or on the project page with vm). Blockly must wait for the editor to load, but the virtual machine is ready instantly.
If you want to control what appears in a context menu, you easily can with the ScratchTools.Scratch.waitForContextMenu()
API. The only input you need is JSON, which must include the block ID for the context menu, the ID you want to set for the context menu option (lets you change the context menu option, so don't use the same ID as another feature), and the callback for when the context menu is opened. The callback function will also have an input, which is the context menu itself. That way, you can add the context menu option when the context menu is opened.
Using ScratchTools.Scratch.scratchSound
and ScratchTools.Scratch.scratchGui
, you can return sound from the editor as well as access Graphical User Interface inside the editor. ScratchTools.Scratch.scratchPaint
can be used in selecting the paint editor mode.
Logging can be very important, especially when testing. You can use ScratchTools.console.log()
, ScratchTools.console.warn()
, and ScratchTools.console.error()
to log, warn, and error in the console, specifically for ScratchTools.
Not only do you have to be a developer to code for ScratchTools (technically, we would teach you if you wanted help), but you can also be a beta tester, suggest ideas, design our website, create art, and more! Here are some common things people like to help with:
- Beta testing. You can search for bugs and then report them here. Just download the newest changes from GitHub, and add them to your browser! Here's how to add Chrome Extensions without the Chrome Webstore.
- Website. If you know HTML or CSS, we could really use your help on our website! We aren't looking for big changes, but we'd love your help with it anyways! Let us know by creating an issue or contacting a developer!
- Graphic Designer. If you're an artist or designer, you can help us! We need banners, cool art, and more! We love all kinds of styles, you can contact us by creating an issue or contacting a developer!
- Brainstorming. If you have ideas, you can suggest them on our feedback section!
- Posting. Feel free to post about us on social media! We'd love to help as many Scratchers as possible, so every post helps!