Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » ScratchJS - An extension with over 250 blocks!
- IronBill05
-
Scratcher
100+ posts
ScratchJS - An extension with over 250 blocks!
ScratchJS - An extension with over 250 blocks!
I've been making a block extension called ScratchJS, and it adds over 250 different blocks to the editor!
Some of the categories:
One of the most useful blocks we have is this block:
It runs the JavaScript code within and returns the value. Some other blocks include:
We're looking for developers to help us add blocks and fix bugs! If you're interested, go to our GitHub repo.
We also have a website here.
You can get the bookmarklet that adds the extension to your project at either the above website or on this project.
We're also looking for block ideas! Feel free to post an idea below.
I've been making a block extension called ScratchJS, and it adds over 250 different blocks to the editor!
Some of the categories:
- JSON
- JavaScript
- Input
- Local Storage
- Temporary Variables
One of the most useful blocks we have is this block:
Get return value of [JavaScript code here]::reporter #FF6600
It runs the JavaScript code within and returns the value. Some other blocks include:
when <ARRAY | Array (Get all pressed keys::#FF6600) contains [e]::#FF6600> is true::hat #FF6600
Set temporary [myTemporaryVariable] to [something]::#FF6600
Show alert (Get temporary [myTemporaryVariable]::#FF6600)::#FF6600
We're looking for developers to help us add blocks and fix bugs! If you're interested, go to our GitHub repo.
We also have a website here.
You can get the bookmarklet that adds the extension to your project at either the above website or on this project.
We're also looking for block ideas! Feel free to post an idea below.
Last edited by IronBill05 (July 8, 2026 03:58:45)
- IronBill05
-
Scratcher
100+ posts
ScratchJS - An extension with over 250 blocks!
How to use ScratchJS
If you don't already have the bookmarklet, you need to get it here.
First, you'll want to click the bookmarklet on the project you want to use ScratchJS on.
┃ IMPORTANT: Make sure to load the extension BEFORE you start the project!
It will show a screen telling you about the dangers of ScratchJS. Don't run this extension on projects you don't trust. If you want to review the project's code without it being able to run anything, click “View Mode”.
If you are okay with running the extension on this project, click “Okay”.
The project now has access to JavaScript features, and other blocks in the extension.
If you don't already have the bookmarklet, you need to get it here.
First, you'll want to click the bookmarklet on the project you want to use ScratchJS on.
┃ IMPORTANT: Make sure to load the extension BEFORE you start the project!
It will show a screen telling you about the dangers of ScratchJS. Don't run this extension on projects you don't trust. If you want to review the project's code without it being able to run anything, click “View Mode”.
If you are okay with running the extension on this project, click “Okay”.
The project now has access to JavaScript features, and other blocks in the extension.
Last edited by IronBill05 (July 8, 2026 04:34:51)
- -JustACoder
-
Scratcher
100+ posts
ScratchJS - An extension with over 250 blocks!
Oh yes, because we need more xss/j
Really cool extension tho, local storage would be a really nice feature to have in scratch, (even though it would be confusing to younger kids)
Also more input is good.
Really cool extension tho, local storage would be a really nice feature to have in scratch, (even though it would be confusing to younger kids)
Also more input is good.
- IronBill05
-
Scratcher
100+ posts
ScratchJS - An extension with over 250 blocks!
Oh yes, because we need more xss/jxss is definitely a thing… that's why i added view mode
Really cool extension tho, local storage would be a really nice feature to have in scratch, (even though it would be confusing to younger kids)
Also more input is good.
- Discussion Forums
- » Developing Scratch Extensions
-
» ScratchJS - An extension with over 250 blocks!
