Javascript history problem with Server-side Integration of GFC

0 views
Skip to first unread message

George Moschovitis

unread,
Dec 21, 2009, 6:06:51 AM12/21/09
to Google Friend Connect Developer Forum
I followed the instructions for server-side GFC integration as stated
here:

http://code.google.com/apis/friendconnect/serverside_integration.html

everything works as advertised, except for a minor annoyance. On the
pages where I have installed the inline javascript code the history
mechanism stops working. Ie, when I press the back/forward buttons of
my browser I stay on the same page.

In the beginning I thought it was the window.timesloaded++ trick, but
after some examination this doesn't seem to be the problem.

thanks in advance for any help,
-g.

Bob Aman

unread,
Dec 21, 2009, 2:13:28 PM12/21/09
to google-friend-co...@googlegroups.com

I'm pretty sure this is a known issue. I'll reply back when we have a fix.

-Bob

George Moschovitis

unread,
Dec 21, 2009, 3:45:24 PM12/21/09
to Google Friend Connect Developer Forum
>
> I'm pretty sure this is a known issue.  I'll reply back when we have a fix.
>

Interesting, can you elaborate please?

*thank* you in advance,
George.


> -Bob

Bob Aman

unread,
Dec 21, 2009, 5:03:44 PM12/21/09
to google-friend-co...@googlegroups.com
>> I'm pretty sure this is a known issue.  I'll reply back when we have a fix.
>>
>
> Interesting, can you elaborate please?

I'm assuming it's related to this issue. It's not exactly as you
reported but it's close enough that the issues are probably related.
http://www.google.com/support/forum/p/friendconnect/thread?tid=64d13c7ff29802a5&hl=en

I've also noticed the problem myself on some of the Friend Connect
integrations I'm responsible for, so it looks like it's a fairly
wide-spread issue right now. I'll get back to you as soon as I know
more.

-Bob

Bob Aman

unread,
Dec 21, 2009, 5:08:34 PM12/21/09
to google-friend-co...@googlegroups.com
>> Interesting, can you elaborate please?

Can you provide a site URL and exact steps to reproduce? I want to
make sure that when we fix the problem we test our fix against your
site to ensure it's actually resolved.

-Bob

Brian Clifton

unread,
Dec 21, 2009, 5:47:15 PM12/21/09
to Google Friend Connect Developer Forum
I am not sure if this person is having the same issue as I am, but
here goes...

1) go here: http://www.brianclifton.com/
2) make sure you are not signed into GFC. You will know because you
will see a "Loading..." then see the sign in button
3) click "About me" towards the top
4) hit back. Expected behavior is that it will go to original URL.
However, rendering the sign in is forcing a redirect which breaks the
back button.

Brian

George Moschovitis

unread,
Dec 21, 2009, 5:21:12 PM12/21/09
to Google Friend Connect Developer Forum
OK, here is an example:

www.long.gr

click on any link on the page and then try to click the browser's back
button (nothing happens, you stay on the same page).

thank you,
-g.

Bob Aman

unread,
Dec 21, 2009, 5:52:41 PM12/21/09
to google-friend-co...@googlegroups.com
What browser are you guys using?

-Bob

Brian Clifton

unread,
Dec 21, 2009, 8:03:52 PM12/21/09
to Google Friend Connect Developer Forum
Wow, I could have sworn it wasn't working before...

I was experiencing the problem in IE and Chrome. I tried in these
browsers:
-Chrome 3.0.195.38
-IE 6 / 7 / 8
-FF 3.5.5

I tried again in all of the browsers. It only happens in Google
Chrome now...

Brian Clifton

unread,
Dec 21, 2009, 8:10:24 PM12/21/09
to Google Friend Connect Developer Forum
I tried yours, it works for me in everything except Google Chrome :(

On Dec 21, 3:21 pm, George Moschovitis <george.moschovi...@gmail.com>
wrote:

Bob Aman

unread,
Dec 21, 2009, 8:11:18 PM12/21/09
to google-friend-co...@googlegroups.com
> Wow, I could have sworn it wasn't working before...

Ok, cool! I'm glad I'm not the only one who did a double-take. It's
only breaking for me in Chrome as well. Just wanted to make sure.

-Bob

George Moschovitis

unread,
Dec 22, 2009, 2:46:30 AM12/22/09
to Google Friend Connect Developer Forum
I am using chrome (of course ;-))

-g.

Bob Aman

unread,
Dec 22, 2009, 3:06:29 PM12/22/09
to google-friend-co...@googlegroups.com
> I am using chrome (of course ;-))

Ok, so I guess it's a Chrome-specific bug then. I'm hoping we'll have
a fix for this shortly.

-Bob

Brian Clifton

unread,
Dec 23, 2009, 11:48:49 PM12/23/09
to Google Friend Connect Developer Forum
I downloaded Safari on Windows. It has the same problem :( So,
Chrome and Safari issue. I think they use the same engine, might be a
bug with that

Ben Regenspan

unread,
Dec 24, 2009, 1:47:08 PM12/24/09
to google-friend-co...@googlegroups.com
Hi Bob,

Just to add on since I'm guessing it's the same issue, on Huffington Post we're now seeing the history problem in Safari 3 and 4 (replicated in 3.0.4 just now, but also received a report re: 4).  Attached a screenshot which makes it appear like it's a crossdomain communication IFRAME or similar involved in the issue.  The issue can be replicated by clicking any story linked on the homepage of www.huffingtonpost.com .

Thanks,
Ben


-Bob

--

You received this message because you are subscribed to the Google Groups "Google Friend Connect Developer Forum" group.
To post to this group, send email to google-friend-co...@googlegroups.com.
To unsubscribe from this group, send email to google-friend-connect-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-friend-connect-developers?hl=en.



Picture 3.png
Reply all
Reply to author
Forward
0 new messages