njmacinnes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-12 19:49 UTC
[OT] Google''s historyFrame
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---