224615

It sets the title on the web page so projects can show you information even when you change tabs

Peach_SSBU

I'm Confused, Could you rephrase that?

224615

It changes the text that says “{Project Name} on Scratch” to whatever you choose

Vercte

Support, sometimes the On Scratch gets on my nerves.
Maybe it could look like this?
Change page title to [] :: looks stack

Vibrato

Vercte wrote:

Support, sometimes the On Scratch gets on my nerves.
what? why?

Vercte

Vibrato wrote:

Vercte wrote:

Support, sometimes the On Scratch gets on my nerves.
what? why?
For some reason, It just ruins some experience.

You can also use this block to make some cool stuff, like a tab timer on scratch so you can see it counting down from another tab.

mybearworld

That's something nice.
Here's why!

When you're in another tab, when you win for example:
play sound [Win v] until done
set title to [You scored] for (1) secs :: looks // maybe add that?
Or a timer:
forever
set title to (join [Game - ] (join (timer) [ secs played])) :: looks

So useful! Support.

Peach_SSBU

This makes no sense so no support.

MeIzAwezomeDede

Vercte wrote:

Vibrato wrote:

Vercte wrote:

Support, sometimes the On Scratch gets on my nerves.
what? why?
For some reason, It just ruins some experience.

You can also use this block to make some cool stuff, like a tab timer on scratch so you can see it counting down from another tab.
It ruins the experience..? It's just a tab, they're meant to show information, not some random “FUN COLORFULLED PLATFORM XD” text.

evanultra01

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)

mybearworld

evanultra01 wrote:

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)
What?
set title to [<script>alert("Hello");</script>]
would just set the title to…
<script>alert("Hello");</script>

PkmnQ

mybearworld wrote:

evanultra01 wrote:

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)
What?
set title to [<script>alert("Hello");</script>]
would just set the title to…
<script>alert("Hello");</script>
set title to [</title><script>alert("Hello");</script><title>]

JackK211424

mybearworld wrote:

evanultra01 wrote:

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)
What?
set title to [<script>alert("Hello");</script>]
would just set the title to…
<script>alert("Hello");</script>
I tested this. If you put this:

<HTML>
<head>
<title><script>alert(“Hello”);</script></title>
</head>
</HTML>

Into a plain text file (.txt) and rename it to .html it will show <script>alert(“Hello”);</script> as the title.


Although I support this as some things take a while to load and I will have to come back and check how far it is in loading. With this block, I might just check the tab and it would say, (loading… 14 seconds remaining) or whatever the creator chose!

Entrancing support

Im tired my word choice is… odd

mybearworld

PkmnQ wrote:

mybearworld wrote:

evanultra01 wrote:

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)
What?
set title to [<script>alert("Hello");</script>]
would just set the title to…
<script>alert("Hello");</script>
set title to [</title><script>alert("Hello");</script><title>]
Remember the check mark bug?
It changed every instance of < to &lt; etc, causing the signature not to cuase poper HTML.
So do that too here.

mybearworld

JackK211424 wrote:

mybearworld wrote:

evanultra01 wrote:

No support. This would allow for hackers to execute JavaScript in your browser. (XSS)
What?
set title to [<script>alert("Hello");</script>]
would just set the title to…
<script>alert("Hello");</script>
I tested this. If you put this:

<HTML>
<head>
<title><script>alert(“Hello”);</script></title>
</head>
</HTML>

Into a plain text file (.txt) and rename it to .html it will show <script>alert(“Hello”);</script> as the title.


Although I support this as some things take a while to load and I will have to come back and check how far it is in loading. With this block, I might just check the tab and it would say, (loading… 14 seconds remaining) or whatever the creator chose!

Entrancing support

Im tired my word choice is… odd
No it doesn't, I tested it, it sets the title to nothing and actually alerts.