Hi all, I am implementing a simple redirection mechanism: I want to redirect and load PDFs on Google Docs. So I redefined nsIURIContentListener::IsPreferred so that, when I detect an "application/pdf" MIME type, I just mangle the URI to point on google docs and re-issue a nsIWebNavigation::LoadURI on the mangled address.
It works, BUT when clicking on an A node of the form <a target="_blank" href="../pdf/srlabs_corporate-it.pdf">SR Labs brochure aziendale 2008</a> the IsPreferred method is not called, so the whole trick does not work. Any clue about how to implement the thing in a more robust way? PS: I am still working on milestone 1.9.0.10 source code... is this a bug (and maybe has been fixed later and I should get some more recent sources) or this is the correct behavior? Thanks, Aaron _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding