[Greasemonkey] Re: greasemonkey && sessionsaver

Nikolas Coukouma lists at atrus.org
Mon Jul 18 00:25:40 EDT 2005


Mark Pilgrim wrote:

>On 7/17/05, Tobias Orterer <orterer at gmail.com> wrote:
>
>>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);
>
Well, that just destroys the information when you leave the page, so you
might as well use a local variable ;)


More information about the Greasemonkey mailing list