tomb<blog>

musings from the dark side

Jul 06, 2009

Javascript History Bugs in Google Chrome

Jul 06, 2009

If you are having problems with google chrome and the infamous history.go() function look no further.

This will not work:

<a onclick="history.go(-1)" href="#">test</a>

This does:

<a href="javascript:history.go(-1)">test</a>

I hate losing time to quirky crap like that since they have been building these things for close to two decades now. Hope I can save someone else time lost.

Comments

Yep - you did in fact save me lost time. Thanks

Write your comment:

(it will not be displayed)
Leave this field empty:

 
Powered by Mango Blog All Content and Media © Copyright MMX
Tomb Multimedia Productions Ltd
All Rights Reserved