This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-01-22 19:50:08

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

about:text

It used to be: you could type in "about:" and add text after it to show a website with that text. Unfortunately, that doesn't work anymore.

Now, you have to use this code:

Code:

data:text/javascript,Type text in your navigation bar.

Try it out!


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

#2 2010-01-24 18:19:36

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

Re: about:text

(bump)
Sigh...


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

#3 2010-01-24 18:20:11

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: about:text

Dunno what you mean.

Offline

 

#4 2010-01-24 18:22:49

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

Re: about:text

BWOG wrote:

Dunno what you mean.

Type the code you see in the box into your URL box, then modify the code to your liking.


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

#5 2010-01-25 05:26:46

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: about:text

you can also try text/plain or text/html.

Code:

data:text/html,<h1>welcome to my inline website</h1><a href="http://scratch.mit.edu/">Scratch</a> | <a href="javascript:history.go(-1)"> Go back</a>

Paste it to address bar to see my inline website.

Last edited by filo5 (2010-01-25 05:28:14)


Converting my Scratch projects to Python!

Offline

 

#6 2010-01-26 20:39:26

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

Re: about:text

Ah! Maybe you could copy/paste source code...?


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

Board footer