Ajax History Support in Safari Possible?
I got a great email from David Bloom today. He says that he has figured out a way to have fragment identifier history in Safari. I haven't gotten a chance to test this myself, since I don't have a Mac, but I'd love to hear folks experiences with it. His email:
"I figured out how to get fragment identifier history to work in Safari...
http://bloomd.home.mchsi.com/histapi/test.html (only works in Safari, tested on version 2.0.3)
It's unoptimized and there are still plenty of ways to make it "mess up", but what matters is that it is a working implementation of back/forward history in Safari with fragment identifiers :-). I think that the flaws (such as forgetting - but still keeping entries in the browser's history for - all but the most recent history state when you leave the site then click Back until you're at it) can be fixed using cookies, cached forms, or something like that."
"I figured out how to get fragment identifier history to work in Safari...
http://bloomd.home.mchsi.com/histapi/test.html (only works in Safari, tested on version 2.0.3)
It's unoptimized and there are still plenty of ways to make it "mess up", but what matters is that it is a working implementation of back/forward history in Safari with fragment identifiers :-). I think that the flaws (such as forgetting - but still keeping entries in the browser's history for - all but the most recent history state when you leave the site then click Back until you're at it) can be fixed using cookies, cached forms, or something like that."
Comments
I've got the leave-the-page-then-come-back bug corrected, as well as several other little quirks.
http://bloomd.home.mchsi.com/histapi/test.html
Geoff: what version of Safari and MacOS X are you running?