Comments by Brandon Goldsworthy on scripts

4 comments

Comment on:
Google Account Multi-Login

Apr 8, 2008

alright. now I'm just hogging things here. I've resolved my issues by removing

else
{return 'mail';}

in getService and replacing it with

else if (document.location.href.indexOf("/reader") != -1)
{return "reader";}
else if (document.location.href.indexOf("/mail") != -1)
{return "mail";}
else
{return "";} //this directs to the homepage

This seems to work fine for me, but I don't know how it would integrate with apps, or other ways of accessing gmail (I'm assuming there was a reason that was caught under else, instead of with the if-clause I've suggested above).

Comment on:
Google Account Multi-Login

Apr 8, 2008

I'll just add to my previous statement. Switching from my @gmail account to my non-gmail account works fine in docs and calendar, but forwards me to the gmail new account page for reader and on the homepage.

Switching from my non-gmail account to my @gmail account always works as expected.

Comment on:
Google Account Multi-Login

Apr 8, 2008

It looks like the google apps support is interfering with my login which is myname@mydomain.com and doesn't have an associated gmail account. Note that this isn't a google apps account, just a regular google account that I use for everything except gmail. Perhaps there's another way to identify google apps accounts than using the domain of the login email?

Also, the login script seems to forward a successful login of my non-gmail enabled account to the gmail new account page, instead of reloading the current app as the new user, though the other direction (non-gmail account to gmail account) works fine. It seems like that could be avoided?

@Champ: Besides the above wrinkle with the non-gmail enabled account. This script is working fine in Flock for me.

Comment on:
Boston Public Library

Dec 16, 2005

Updated. Now works again. Thanks.