[Greasemonkey] Memory Leaks
Joe la Poutre
jsixpack at gmail.com
Fri Nov 11 11:51:43 EST 2005
On 11/9/05, John Plsek <jplsek at iinet.net.au> wrote:
>
> I use the following - can't recall where I got it from, but I'm 99.9999%
> sure the code was in the public domain
>
> EventManager= {
A quick Google search turns up this blog post by Keith Gaughan:
http://talideon.com/weblog/2005/03/js-memory-leaks.cfm
IMHO this would be an excellent candidate for a GM_ core function, b/c
almost any user script will suffer from this issue in FF 1.5 pending
the bug fix:
https://bugzilla.mozilla.org/show_bug.cgi?id=241518
The script is licensed under the Common Public License
(http://www.opensource.org/licenses/cpl.php), not sure how this
relates to GM itself.
Drilling down across the net a bit more, I found more similar
approaches. The Event Cache by Mark Wubben looks also very promising
to me. Check it out here:
http://novemberborn.net/javascript/event-cache/
http://novemberborn.net/javascript/event-cache/follow-up
This code is licenced LGPL.
And, see Aaron Boodman's comments: http://youngpup.net/2005/0221010713
Joe.
More information about the Greasemonkey
mailing list