[Greasemonkey] Userscript not working on 0.6.3
Jeremy Dunck
jdunck at gmail.com
Wed Jan 4 17:45:47 EST 2006
On 1/4/06, Nando Vieira <fnando.vieira at gmail.com> wrote:
> Hello guys!
>
> I made this userscript [1] some time ago.
> After installing 1.5 and gm 0.6.3 it just stopped from working.
Please use 0.6.4:
http://userscripts.org/greasemonkey-0.6.4.xpi
> Can someone tell me why?
>
> [1] http://www.simplesideias.com.br/greasemonkey/nandovieira.yahoo.user.js
It's using .onload instead of the DOM-way:
imgs[i].onload = function() {...}
should be:
imgs[i].addEventListener('load', function() {...}, false);
And more info:
http://dunck.us/collab/GreaseMonkeyUserScripts#head-4ac4d1e80f8bbd66bf4f1fbea77ea2390b6a2870
More information about the Greasemonkey
mailing list