The developer tools are a feature in most Internet Browsers that allow you 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 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.
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 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.
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.