Tab activated event

10 views
Skip to first unread message

Erik Vold

unread,
May 18, 2012, 12:55:12 AM5/18/12
to mozilla-labs-jetpack
If I open a new tab, will the `activate` event fire? and if so then does it fire on `open` or on `ready`?

--
E

Wes Kocher

unread,
May 18, 2012, 1:29:16 AM5/18/12
to mozilla-la...@googlegroups.com
Looks like the order is "open", "activate", "ready": https://builder.addons.mozilla.org/addon/1053054/latest/
At least, that's the order those listeners are fired when I use Ctrl-T to open a new tab that is immediately focused. When I middle-click a link to open in a new unfocused tab, I get "open", then "ready", and no "activate" until I actually click the tab to focus it.



--
E

--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To post to this group, send email to mozilla-la...@googlegroups.com.
To unsubscribe from this group, send email to mozilla-labs-jet...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mozilla-labs-jetpack?hl=en.

Reply all
Reply to author
Forward
0 new messages