I'm new to writing Mozilla extensions and would like to write a
Javascript extension which selectively modifies the URL of an HTTP
request before the request is performed. Rewriting the links after a
page has been loaded won't work because I also need to intercept URLs
which are dynamically generated by Javascript (yuck) -- so it needs to
happen on-the-fly.

I've looked at handling the "http-on-modify-request" notification, but
there doesn't seem to be a mutable URL on the nslHttpChannel.

Does anyone have any idea if it's possible to do this from an
extension? Any pointers or sample code would be greatly appreciated!

Thanks!

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to