Hi to all!

I'm trying to redirect/rewrite a URL request ? I'm trying to use Mozilla
in a project for cobrowsing and need to capture all the navigations and
redirect them to a new URL.

In IE a use the BeforeNavigate event to cancel the current navigation
and create a new request with the same headers, post data and target
window but a different URL.

In Mozilla I need an event that is triggered before the navigation happens
and as the URL, headers, postdata and target window. I have looked
at the nsIWebProgressListenerInterface events  (OnLocationChange, etc..)
and the OnStartUriOpen event but none fill the requirements. Any other
sugestions ?

Thanks,
Rui.



Reply via email to