Hi all.

I do not know what do I do wrong in this script. I can save nearly ANY
value using GM_setValue except of value of Date object.

I have tried this script:

I have variable defined as follow:

var my_date = new Date();

Then I try to save it using GM_setValue. I have tried this 4 different
solutions:

#1 GM_setValue('my_date', my_date);
#2 GM_setValue('my_date', my_date.getTime());
#3 var temp = my_date.getTime(); GM_setValue('my_date', temp);
#4 var temp = my_date; GM_setValue('my_date', temp);

Any ideas why it doesn't work?

Please, help...

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to