Skip to content

Does anybody have a Javascript extension? (Personal Use) #627

Closed Answered by Flappy25
BlueDome77 asked this question in Q&A
Discussion options

You must be logged in to vote

I wrote this up just now in this post!!
ur welcome!

just copy the below code into turbowarp or make ur own file
REMEMBER TO LOAD UNSANDBOXED

(function (Scratch) {
    'use strict';

    class JavaScriptConsole {
        getInfo() {
            return {
                id: 'javascriptConsole',
                name: 'JavaScript Console',
                blocks: [
                    {
                        opcode: 'runJavaScriptCode',
                        blockType: Scratch.BlockType.COMMAND,
                        text: 'Run JavaScript code [code]',
                        arguments: {
                            code: {
                                type: Scratch.ArgumentType.STRING,

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@BlueDome77
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BlueDome77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants