[lug] javascript question...

Shannon Johnston nunar at nunar.com
Fri Jun 21 16:20:38 MDT 2002


A little while back I was exploring a way to disable or have the history
on the back button erased. I couldn't do what I wanted, but I did find
out that there was a way to modify the contents of the history attached
to the back button (with the exception of the first entry, i.e. the
single push back.) 
My only work around was to have my link go to an automatic redirector
page then use javascript to modify all the other history entries.
The result? If you pushed 'back' you would automatically be redirected
to the page you were just at, if you pushed 'back' multiple times, or
used the menu, you would only go where I wanted. 

That's as close as I got. 


There's some good references at
http://www.htmlgoodies.com/beyond/js.html

Hope this helps a bit.

Shannon



On Fri, 2002-06-21 at 15:04, Chip Atkinson wrote:
> Greetings,
> 
> I'm trying to figure out how to make the "back" button on a browser
> (netscape in this case) go back to a starting page and not the previous
> page.  Does anyone know how to do this?  I'm assuming it's in Javascript,
> but I'm not sure where to look.  Alternatively, a URL to a site that does
> this would be helpful too.
> 
> Thanks!
> 
> Chip
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug




More information about the LUG mailing list