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