[Greasemonkey] Bug in GM_xmlhttpRequest?

Jeremy Dunck jdunck at gmail.com
Wed May 4 15:01:01 EDT 2005


On 5/4/05, Aaron Boodman <zboogs at gmail.com> wrote:
> It would be really really easy to add logic to only call onload once,
> but I'd like to understand why it's happening first.

I wasn't talking about making any changes to only call onload once, I
was just listing what I'd found so far.  Mark posed the question about
injection on other page types, and I had data showing that wasn't the
problem.

So here's an interesting finding.  The example script is being
injected twice on http://diveintogreasemonkey.org/ .  I've further
whittled it down to:

// ==UserScript==
// @name          DIG double injection
// @include       http://diveintogreasemonkey.org/
// ==/UserScript==

GM_log('in DIG double injection script');

This prints the log twice.  Ouch.

I have no explanation of why this is happening yet.


More information about the Greasemonkey mailing list