SandCastleIcon.png This page has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the Internet, as we can't guarantee the safety of other websites.
The Console

The developer tools are a feature in most desktop browsers that allow one to play around with code, but in this case we will be viewing the Console of Scratch's Editor to add user generated extensions. We will use the Console to enter code that runs a script that says to add scratchblocks that were not originally there. This adds the blocks to the extension category, but there is also some other info in the coding such as how to run the script, what link to connect to once the help button is pressed, and way more! However, with such an intriguing feature comes some other side effects.

How it Will Work

The Obsolete Blocks

The special extensions run on code. This code is the same code that runs scratchblocks, except these scratchblocks do different things depending on how the code is made. When you put the code in the console, it puts the code wherever it fits in, and in this case it fits into the extensions category beause the code said to go there. This makes the extension scratchblocks appear. It may sound very hard but it gets simple quick. The code has all of the scratchblocks coded into it, the help button coded into it, and all of the functionalities because you can't type a scratchblock and it works, because it will become obsolete.

Finding the Console

When you want to get an extension, you need to know your way to the console. After loading the Project Editor, you can press Customize and Control Google Chrome, then press More Tools, and finally Developer Tools on Google, or Settings, then Developer Tools on Internet Explorer. It is unknown for Mozilla Firefox. Once you are there click the Console Button to open the actual console. Now you just need to get your code.

Finding Your Code

Scratch Forums has an official topic made for these extensions, also called experimental extensions. This forum can be found here. Once you have found your code, copy it to your clipboard and go to the Project Editor's console. Then in the area where you are able to type, paste your code and press enter to activate it. Once that has been done, your extension has been added to the project.

Side Effects

Due to these being unofficial extensions, there are some side effects with activating them. These side effects include the following-

  • If you place them in the project and reload they become obsolete.
  • Uploading a project with the use of a Console Extension causes the project to work incorrectly.
  • The extension will not save to anything, so it must be re-entered into the console every time you exit.

Offline Editor

There is another way to add extensions to the offline editor by going to ScratchX, downloading the ScratchX URL, going to offline Editor, shift-clicking File and pressing Import experimental HTTP extension, and loading it.

See Also