Hi all,

I am a newbie here, so please excuse me for my mistakes.
In a Firefox Add-on, I would like to intercept requests sent by the browser, change the URI and then to send the request. To do that I interecpt the requests thanks to the Observer service. I destroy the current request object, and make a new one with the new URI, then I send it using the asyncOpen method.

This is working, but the problem is that the new request is sent, but the data is not displayed in the browser. Does the display functionality have to be implemented in the listener object passed to asyncOpen (maybe in the onDataAvailable method?) ?

Can anybody help me, or give me some pointers?

Thanks.

Rémi

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to