>> I am using the loadURI method (nsIWebNavigation) to load a URL, I >> would like to be able to turn on/off the loading of images, CSS and >> any other sub-content on the page. I was told the docShell controls >> this, but how do I get the docShell to do this? > > QI the webnavigation to nsIDocShell. That's assuming you're not looking > at an nsWebBrowser; in that case, QI to nsIWebBrowserSetup and use > SetProperty on that. >
Would this also turn off CSS built into HTML? What's about JS? TIA -jv _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
