[Greasemonkey] Storing large integers with GM_setValue overflows?
Matthias Bauer
ml-greasemonkey-42imk83y at moeffju.net
Wed Jun 29 21:13:07 EDT 2005
On 29.06.2005 20:00 Nikolas Coukouma wrote:
>> It's stored as integer. app.update.lastUpdateDate is set to 1119994042
>> (integer), so it probably is not an XPCOM limitation.
>
> Let us compare these values:
> 1119994042 (value of app.update.lastUpdateDate)
> 1120067261843 (value of (new Date).getTime())
> You might notice that there's a few orders of magnitude difference.
Yeah, I realized that one minute earlier ;)
Dividing by 1000 is fine for my purposes.
-Matt
More information about the Greasemonkey
mailing list