Discuss Scratch
- Discussion Forums
- » Suggestions
- » javascript blocks
- Cookiemousee
-
Scratcher
99 posts
javascript blocks
but I want to mix them togetherText-based syntax in ScratchSorry but this suggestion is rejected..
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.
This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects.
- Ham19-01-2011
-
Scratcher
1000+ posts
javascript blocks
That's what the rejection says,you can't have a seperate mode for different languagesbut I want to mix them togetherText-based syntax in ScratchSorry but this suggestion is rejected..
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.
This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects.
- ScolderCreations
-
Scratcher
1000+ posts
javascript blocks
In JS, you can do
That would bypass a rejected suggestion. How would you prevent that?
fetch('https://api.scratch.mit.edu/projects/600000000/loves/count') .then(res => res.json) .then(scratch.say(res))
- Cookiemousee
-
Scratcher
99 posts
javascript blocks
In JS, you can dolets not go off topicThat would bypass a rejected suggestion. How would you prevent that?fetch('https://api.scratch.mit.edu/projects/600000000/loves/count') .then(res => res.json) .then(scratch.say(res))
- Queer_Royalty
-
Scratcher
1000+ posts
javascript blocks
8not saying i support this, but ya'll are misunderstanding the suggestion.
8
In JS, you can doThat would bypass a rejected suggestion. How would you prevent that?fetch('https://api.scratch.mit.edu/projects/600000000/loves/count') .then(res => res.json) .then(scratch.say(res))
You can:commands that are easily exploited likely would not be blocks, because:So much possibility!
- Steal people's cookies and Scratch passwords
- Get people's IP addresses
- Prompt them to download bad stuff
- Open new tabs and windows with bad links
I don't mean the whole javascript just some.and that block could be easily misused so the st would have no reason to add it.
the suggestion is about having scratch blocks that possess the qualities of basic javascript; not having a text-based programming language added as that is a rejection of a suggestion about.That's what the rejection says,you can't have a seperate mode for different languagesbut I want to mix them together-snipsnake-Sorry but this suggestion is rejected..
8
- IndexErrorException
-
Scratcher
500+ posts
javascript blocks
OK this post is full of kids who have no idea what they are talking about. The OP is recommending to add some functions of JS to scratch blocks not recommending adding java script into scratch lol
I support the addition of some fun JS functions that aren't dangerous.
I support the addition of some fun JS functions that aren't dangerous.
- scratchusername40
-
Scratcher
1000+ posts
javascript blocks
This could be dangerous, for example someone could run Also this is just as likely as javascript letting you run python code. Javascript doesn't add anything that scratch wants, and so I doubt it would be added
sendCookieToEvilServer(document.cookies["x-csrf-token"])
- Cookiemousee
-
Scratcher
99 posts
javascript blocks
This could be dangerous, for example someone could runI already said some things and not the dangerous things.Also this is just as likely as javascript letting you run python code. Javascript doesn't add anything that scratch wants, and so I doubt it would be addedsendCookieToEvilServer(document.cookies["x-csrf-token"])
- lisket39
-
Scratcher
100+ posts
javascript blocks
window.alert ();
Scratch reject here but it you can use JavaScript block on snap edu
A modified verson of scratch but it longer usable or not dunno
- Cookiemousee
-
Scratcher
99 posts
javascript blocks
I know snap, but snap is harder for me to code because I'm not used to every button in a different placewindow.alert ();
Scratch reject here but it you can use JavaScript block on snap edu
A modified verson of scratch but it longer usable or not dunno
- Discussion Forums
- » Suggestions
-
» javascript blocks