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

#1 2012-02-24 03:19:57

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

A back link!

Back to thread list

Code:

[url]javascript:window.history.go(-1)[/url]

Can anyone get this working, or is it not possible?

Last edited by ssss (2012-02-24 03:20:19)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#2 2012-02-24 03:25:39

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: A back link!

That's not going to work that way. Don't you need javascript <>s?
And what's the point of this? All I need to do is hold right mouse button and drag left.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#3 2012-02-24 03:27:22

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: A back link!

what-the wrote:

That's not going to work that way. Don't you need javascript <>s?
And what's the point of this? All I need to do is hold right mouse button and drag left.

You can use javascript:var test = "blah blah blah"; alert(test);... all on one line and put it in the address bar or make a link go to that.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#4 2012-02-24 03:30:34

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: A back link!

Use this:

Code:

[url]javascript:history.go(-1)[/url]

EDIT: Oh and I just remembered that JavaScript does NOT work in the forums. It is insecure.

Last edited by nathanprocks (2012-02-24 03:32:00)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#5 2012-02-24 03:39:25

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

Re: A back link!

What do you need it for?


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

#6 2012-02-24 03:39:39

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: A back link!

nathanprocks wrote:

Use this:

Code:

[url]javascript:history.go(-1)[/url]

EDIT: Oh and I just remembered that JavaScript does NOT work in the forums. It is insecure.

It used to  tongue


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#7 2012-02-24 03:40:15

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: A back link!

Eh, upload to a webpage, link to the webpage and it  might work, but change it to -2 or else it would just bring you back to the forums.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#8 2012-02-24 03:52:47

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: A back link!

WindowsExplorer wrote:

Eh, upload to a webpage, link to the webpage and it  might work, but change it to -2 or else it would just bring you back to the forums.

That would work! Forgot about that  tongue


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#9 2012-02-24 16:06:21

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: A back link!

Does Javascript work in the forums?


http://trinary.tk/images/signature_.php

Offline

 

#10 2012-02-24 22:38:42

MelRabang
New Scratcher
Registered: 2011-05-26
Posts: 2

Re: A back link!

I'm not an expert on javascript but you can find guides all over the web to get help.

Offline

 

#11 2012-02-24 23:43:03

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: A back link!

This can be done with redirects.

Refresh The Page

Code:

[url=http://dl.dropbox.com/u/60598636/back_through_redirect/refresh.html]Refresh The Page[/url]

Go Back

Code:

[url=http://dl.dropbox.com/u/60598636/back_through_redirect/back1.html]Go Back[/url]

Modified from an example on wikipedia.

Alt-Click (or Option-Click) to download the source code.

Last edited by zippynk (2012-02-24 23:46:24)


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#12 2012-02-24 23:57:10

analytic
New Scratcher
Registered: 2012-02-20
Posts: 90

Re: A back link!

I don't think Javascript works on the forums... hmm

Offline

 

#13 2012-02-25 00:34:47

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: A back link!

zippynk wrote:

This can be done with redirects.

Refresh The Page

Code:

[url=http://dl.dropbox.com/u/60598636/back_through_redirect/refresh.html]Refresh The Page[/url]

Go Back

Code:

[url=http://dl.dropbox.com/u/60598636/back_through_redirect/back1.html]Go Back[/url]

Modified from an example on wikipedia.

Alt-Click (or Option-Click) to download the source code.

Hmm. Not bad. Very good.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#14 2012-02-25 13:17:01

resiliency
Scratcher
Registered: 2012-02-06
Posts: 16

Re: A back link!

Doesn't work  sad

Offline

 

#15 2012-02-25 13:20:31

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: A back link!

Yay!  tongue


http://i46.tinypic.com/6yd4c0.png

Offline

 

#16 2012-02-25 13:30:41

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: A back link!

I've done this before.


yes, yes i do.

Offline

 

#17 2012-02-25 21:59:06

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: A back link!

resiliency wrote:

Doesn't work  sad

As discussed, you need to make a web-page which has (-2) rather than (-1) to make it work, and link to the webpage  wink   smile


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

Board footer