disya2 wrote:
> Is there a way to block HTTP GET requests initiated by HTTP redirect
> responses?

You can register an nsIChannelEventSink in the "net-channel-event-sinks" 
category.  See 
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/build/nsNetCID.h&rev=1.71&mark=857-863#854
 
and nsIChannelEventSink.idl.

Note that this won't hook you into <meta> redirects, just HTTP 3xx redirects.

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

Reply via email to