Thank you, Boris.  Is nsIWindowProvider usable from Java?  I'm not finding 
it.

Implementing nsIWindowWatcher looks like it would also do the trick.  Is 
there any way to set the nsIWindowWatcher?


Matt


"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Matt Turkel wrote:
>> I'm trying to get everything with target="_blank" to open in a native 
>> browser while all other targets stay embedded.  Is there any way to 
>> detect the target from within the method
>> nsIWindowCreator2.createChromeWindow2(nsIWebBrowserChrome parent, long 
>> chromeFlags, long contextFlags, nsIURI uri, boolean[] cancel)?
>
> No.
>
> But if you implement nsIWindowProvider, that will be called before the 
> window creator and you can do whatever you want there, right?  That does 
> get the target name.
>
> -Boris 


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to