[Greasemonkey] Bug in GM_xmlhttpRequest?
Mark Pilgrim
pilgrim at gmail.com
Wed May 4 13:16:16 EDT 2005
On 5/4/05, Jeremy Dunck <jdunck at gmail.com> wrote:
> On 5/4/05, Mark Pilgrim <pilgrim at gmail.com> wrote:
> > I'm calling GM_xmlhttpRequest and my onload callback function is
> > getting called twice. Is this expected behavior?
>
> No. It is possible that I'm not seeing what you're seeing, because
> I'm running a version that has a patch against GM_xmlhttpRequest;
> however, I expect that that patch only affected onreadystateload.
>
> That said...
>
> > code snippet:
>
> I changed to this:
>
I am still seeing the problem: I see all the log messages (including
the error on the last iteration of the for loop), then I see all the
same log messages again (including the error, agin). Windows XP,
Firefox 1.0.3, GM 0.3b. Testing on http://diveintogreasemonkey.org/
GM doesn't execute scripts on stylesheets and such, does it?
--
Cheers,
-Mark
More information about the Greasemonkey
mailing list