On Mon, 24 Nov 2003 22:16:47 +0530, Raj Saini <[EMAIL PROTECTED]> wrote:
>Hi All, > >I am working on a Mozilla Firbird extension. Purpose of the application >is to display the encryptd contents from server with a no standard >content type say text/x-html-xxx. > >The application have two parts. First part is to decrypt the contents >and second is two render them in a stripped down browser window. > >For the first part I have written a Stream Converter to convert the the >user-defined content type to text/html and it is working prefectly. > >For the second part, I want the main browser window to open a stripped >down window with operations like copy, selcect, view source, print etc >disabled. This new window should open when content are of >text/x-html-xxx are received as a result of hiper link click in the main >browser window. > >After going throgh the documentation I have the following understanding >of how this can be achieved. > >1. I write a implentation of the nsIURIContentListener and register with >nsIURILoader during xomponent registration. > >2. Use the DoContent method of the nsIURIContentListener to pump up the >contents in the new window. Do you have any of this working? I'm trying to do something similar (although not too worried about the new window), and although I try registering a content listener, it never seems to get called at a later stage. Matthew Wilson _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib