We are having issues on browser init. Is there an event that we can get
once browser is fully initialized?
Thanks in advance,
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"mark bokil" <ma...@markbokil.org> wrote in message
news:mailman.1294.11639790...@lists.mozilla.org...
There's also delayedStartup() function that should finish any
initialization. It doesn't dispatch events though.
> For example, adding a tab
> from
> this thread causes problems.
>
This sounds like a bug, at least a documentation one.
Nickolay
> Alex
>
> --
> alex iskold
> founder & cto
> http://www.adaptiveblue.com
>
>
> "mark bokil" <ma...@markbokil.org> wrote in message
> news:mailman.1294.11639790...@lists.mozilla.org...
> > Alex Iskold wrote:
> >> Hi,
> >>
> >> We are having issues on browser init. Is there an event that we can get
> >> once browser is fully initialized?
> >>
> >> Thanks in advance,
> >>
> >> Alex
> >>
> >>
> > I usually use the strategy of attaching an init script to the
> > window.onload event:
> > <script type="application/x-javascript">
> > <![CDATA[
> > window.addEventListener('load', MyFunction.init, false); ]]>
> > </script>
>
>
> _______________________________________________
> dev-extensions mailing list
> dev-ext...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-extensions
>
Eric Shepherd
Developer Documentation Lead
she...@mozilla.com
As the number of extensions increases - or -
As some extensions take longer to initialize
Some of the functions that we are trying to perform after we are invoked
like calling openTab fail. This leads me to think that code is something
like this:
browser.init {
doPreAddOnStuff();
foreach add-on in list of add-ons do {
add-on.notifyWindowLoad( ); <------- Synchronous call
}
doPostAddOnStuff();
}
so if in my add on, i use callLater( timeout ), where timeout is small
it is possible that [doPostAddOnStuff] has not been done.
Is it possible?
Thanks!
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"Eric Shepherd" <eshe...@mozilla.com> wrote in message
news:mailman.1301.11639860...@lists.mozilla.org...
browser.js: 3059 - TypeError: gGobuttonPrefListener has no properties
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"Alex Iskold" <alex....@adaptiveblue.com> wrote in message
news:f6SdnSF81o6_m_zY...@mozilla.org...
My observation is:
Is it possible?
Thanks!
Alex
_______________________________________________
dev-extensions mailing list
dev-ext...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-extensions
____________________________________________________________________________________
Sponsored Link
Mortgage rates near 39yr lows.
$310k for $999/mo. Calculate new payment!
www.LowerMyBills.com/lre
Thanks,
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"Eric H. Jung" <eric...@yahoo.com> wrote in message
news:mailman.1302.11639870...@lists.mozilla.org...
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"mark bokil" <ma...@markbokil.org> wrote in message
news:mailman.1303.11639952...@lists.mozilla.org...
On 11/20/06, Eric H. Jung <eric...@yahoo.com> wrote:
> What's wrong with using an app-startup observer?
>
>
> ----- Original Message ----
> From: Alex Iskold <alex....@adaptiveblue.com>
> To: dev-ext...@lists.mozilla.org
> Sent: Sunday, November 19, 2006 8:34:25 PM
> Subject: Re: is there a BrowserInitialized event?
>
> My observation is:
>
> As the number of extensions increases - or -
> As some extensions take longer to initialize
>
> Some of the functions that we are trying to perform after we are invoked
> like calling openTab fail. This leads me to think that code is something
> like this:
>
>
> browser.init {
> doPreAddOnStuff();
> foreach add-on in list of add-ons do {
> add-on.notifyWindowLoad( ); <------- Synchronous call
> }
> doPostAddOnStuff();
> }
>
> so if in my add on, i use callLater( timeout ), where timeout is small
> it is possible that [doPostAddOnStuff] has not been done.
>
> Is it possible?
>
> Thanks!
>
> Alex
>
> --
> alex iskold
> founder & cto
> http://www.adaptiveblue.com
>
>
we probably also want to have a compatibility matrix.
have you seen the [Restart button] misbehaving?
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
"mark bokil" <ma...@markbokil.org> wrote in message
news:mailman.1309.11640164...@lists.mozilla.org...