[Greasemonkey] RE: Perform GM_xmlhttpRequests in parallel?

Edward Hibbert Edward.Hibbert at dataconnection.com
Mon Oct 2 00:11:53 EDT 2006


On 9/30/06, Edward Hibbert <Edward.Hibbert at dataconnection.com
<http://mozdev.org/mailman/listinfo/greasemonkey> > wrote:
> I have a script which issues lots of GM_xmlhttpRequest calls.  So far
as
> I can tell, these are satisfied serially.  Is there any way to make
them
> occur in parallel?

The behavior you want already exists. In fact, only parallel
(asynchronous, in XMLHttpRequest terms) is supported by
GM_xmlhttpRequest.
I understand that the requests complete asynchronously, and the call
returns straight away.  But they still seem to complete sequentially in
the background, or pretty much sequentially, if I monitor them using the
Tamper extension.
This may be a question of tuning the Firefox network.http.* config,
perhaps?  But I've tried suggestions like those in
http://www.freerepublic.com/focus/f-news/1299854/posts, without much
effect.


More information about the Greasemonkey mailing list