[Greasemonkey] GM 0.6.3 and new Image()
Johan Sundström
oyasumi at gmail.com
Sat Dec 3 22:31:31 EST 2005
> the line in the script causing the failure
>
> var img=new Image();
>
> change to var img=document.createElement("IMG");
>
> all good. Any reason for this?
Educated guess: no XPCNativeWrapper is installed for
the Image constructor, hence breaking anything that
relies on instantiating new Image objects this way.
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
More information about the Greasemonkey
mailing list