nsITraceableChannel, Intercept HTTP traffic
Jan Odvarko writes, “Since bug 430155 (“new nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel’s creator”) is now fixed, it’s possible to intercept HTTP traffic from within a Firefox extension!” Jan estimates that this fix will be part of Firefox 3.0.3, and points out that this feature is crucial for Firebug as one of that add-on’s features is the ability to display the response of any HTTP request made by a page. To this point, Firebug has been making use of the Firefox cache and XHR monitoring to implement this feature, but there are several issues with this approach that make it suboptimal. For more information about this new feature, including examples of how to make use of it in Firefox add-ons, read Jan’s article at his Software is hard weblog.
Add-ons, Developer tools, Firefox 3, Firefox development, Platform development
19 Sep 2008 deb 0 comments