Forum: Ruby on Rails [OT] Google's historyFrame

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2007-03-12 21:50
(Received via mailing list)
Does anyone know how the Google services historyFrame works? If you
Firebug
Google's services that make extensive use of AJAX (for example, Google
Calendar), you'll eventually come across a hidden iframe called the
historyFrame. This frame enables the user to use the back and forward
buttons even though the site is primarily AJAX based. All it contains is
this:

<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body onunload="return false">
<script type="text/javascript">
var h = location.hash;
h = h.substring(1, h.length);
h = parseInt(h,10);
parent._goHist(h);
</script>
</body>
</html>

Trying to find parent._goHist() in the deliberate maze of Google's page
source is a bit more difficult. I'm wondering if anyone's already done
it,
written anything similar, or reckons they can have a pretty good guess
at
what it contains.
-Nathan
This topic is locked and can not be replied to.