Kevin Newman said the following on 8/4/2005 10:22 PM:
Randy said:
I created a script that keeps a bookmarkable history for AJAX and flash
apps. It does this by creating a new hash value on the url string. There
are various bugs and quirks associated with this - IE 5.0 doesn't take a
new hash value unless their is a corresponding anchor on the page, IE
5.5 and 6.0 do not generate a history when the hash is set, so you have
to use the iframe method as a backup - the iframe method doesn't work in
Opera or Mozilla, because of various security and history bugs. Various
things keep any of these methods from working in Safari (I haven't found
a fix for that yet)
There is not effective way to check for all of these bugs and quirks, so
I created a generic code path that should work in most browsers (I'm
guessing that just setting the hash should work, though I haven't been
able to find a standard that defines this behavior), then I added
special cases for workarounds on various browsers. Currently there are
only fixes for IE, which could be hidden from others with conditional
comments, but there will be other fixes for other platforms, so I just
used the navigator strings for consistency, since I will be adding more
fixes for other platforms when I figure out how to get it to work (like
Safari).