On Jul 8 2008, 10:06 am, Neil <n...@parkwaycc.co.uk> wrote: > Greg Marine wrote: > >I've messaged around with prefs. for this, but I keep getting the following > >warning when clicking links which would open in a new window: > > >No chrome package registered for chrome://navigator/content/navigator.xul > > >Anyone know what I should do? > > You have two options: > > 1. You can change the browser.defaultChromeURL pref. This should > point to a XUL window with a <browser type="content-primary"> > element in which the new page can be opened. > 2. You can create an nsIBrowserDOMWindow object. This fields all > window opening calls, and allows you full control over what to do > with them (load in the existing window or a new tab perhaps). > > -- > Warning: May contain traces of nuts.
Correct me if I'm wrong, but there's nothing about this documented? The only way of knowing Xul this deep is studying the low level source code itself? That's not a complaint, if it's the only way, I'll download the source to study, becouse I'm in a big project using Xul now =) ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ XUL News Wire - http://xulnews.com XUL Job Postings - http://xuljobs.com Open XUL Alliance - http://xulalliance.org _______________________________________________ xul-talk mailing list xul-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xul-talk