Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XULRunner: <browser> not allowing javascript popup windows

261 views
Skip to first unread message

b

unread,
Nov 17, 2006, 2:46:48 PM11/17/06
to
I'm rather new to XULRunner and XUL so please forgive my ignorance. As
a proof of concept, I'm trying to recreate a tabbed browser environment
not unlike that provided by Firefox. One thing I've noticed is that
when using the <browser/> and <tabbrowser/> xul elements javascript
popup windows don't work out of the box. What prefs do I have to set,
or eventListeners, or other functionality do I have to implement in
order to allow popup windows to occur?

Thanks,
B

Neil

unread,
Nov 19, 2006, 7:55:21 AM11/19/06
to
b wrote:

>What prefs do I have to set
>

I believe you need the browser.chromeURL preference - this should be a
XUL document containing a <browser type="content-primary"> element in
which the popup window's content should get loaded.

--
Warning: May contain traces of nuts.

b

unread,
Nov 19, 2006, 9:26:47 PM11/19/06
to
That did the trick! Thanks for the help Neil.
0 new messages