On 3/26/06, HJ <[EMAIL PROTECTED]> wrote: > Nickolay Ponomarev wrote: > > On 3/26/06, HJ <[EMAIL PROTECTED]> wrote: > >> navigatorWindow.functionName() > >> > > This won't work if there are no navigator windows working. > > Correct, and that is why I check for chrome windows first (this will > open a new window when needed) but what I want is in function for all JS > functions that I need from that chrome window. > You got me confused with this sentence.
> > I would not > > do this, instead package the functions you need in a separate js and > > include that in your dialogs. > > No, all newly opened files slow down startup of windows i.e. my dialogs, > and that is exactly why Mozilla Firefox packs tons of code in browser.js > It is better to include (small) JS code in the XUL files, because that > saves time. > That was the reason for browser.js being such a big file, true. Not sure if it makes sense to optimize here today. Anyways, I now have no idea what you were asking for. Nickolay _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
