[Greasemonkey] Storing large integers with GM_setValue overflows?

Matthias Bauer ml-greasemonkey-42imk83y at moeffju.net
Wed Jun 29 20:16:44 EDT 2005


Hi all,

I'm storing a timestamp (Date.getTime()) with GM_setValue, but when I
read the value back, it's overflowed to about -900000000, when it should
be something like 1120065286250.

Storing the value as string would probably solve the issue, but still,
should this happen? Is it a known bug?

-Matt


More information about the Greasemonkey mailing list