[Greasemonkey] hCard and Gmail

Jeremy Dunck jdunck at gmail.com
Wed Jul 12 11:12:16 EDT 2006


On 7/11/06, Roberto De Almeida <roberto at dealmeida.net> wrote:
> The solution I found was to steal the cookie when the user visits
> mail.google.com, and store it using GM_setValue. Later, the script can
> use GM_getValue and read the cookie from other domains. Is there a
> better solution?

I'd say try using the value from GM_getValue, and if it fails, inform
the user that they should go  re-auth at gmail to get it working.

I think adding GM support for direct cross-domain cookie-ing would be
pretty surprising to users.  But I dunno, cross-domain XHR is v.
useful.

Any other thoughts on this?


More information about the Greasemonkey mailing list