Re: standalone xul app start another window

[email protected]
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
On Wednesday, February 6, 2013 6:46:22 PM UTC+8, [email protected] wrote:
> Hi,
> 
> 
> 
> I make a standalone xul app on windows which is only a browser. (the aim is to force a website).
> 
> 
> 
> But, in the website, there is a link which open a new window (<a> tag).
> 
> 
> 
> on standalone app, this stop the app
> 
> on firefox xull app, it load in the same page.
> 
> 
> 
> Do you know how to open a new window in the standalone version?
> 
> 
> 
> regards,
> 
> Phil

You need to provide a browser.chromeURL in your default settings.

e.g. pref("browser.chromeURL", "chrome://yourapp/content/blankwindow.xul");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.