[Greasemonkey] Re: greasemonkey && sessionsaver

Mark Pilgrim pilgrim at gmail.com
Sun Jul 17 23:55:53 EDT 2005


On 7/17/05, Tobias Orterer <orterer at gmail.com> wrote:
> On 7/18/05, Jeremy Dunck <jdunck at gmail.com> wrote:
> > This is the expected behavior.  Nik's suggestion to use a session
> > cookie is a good one.
> 
> is there no way to keep a GM_Value just for the session or the FF lifetime?

Just a guess:

window.attachEventListener('unload', function() {
  GM_setValue('auth', '');
}, true);

-- 
Cheers,
-Mark


More information about the Greasemonkey mailing list