canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798
edits
MarkFinkle (talk | contribs) (Created page with 'Here you should find a set of useful code snippets to help you work with Fennec. Although Fennec is built on XUL and JS, like Firefox, the [[Mobile/Fennec/Architecture|architectu...') |
MarkFinkle (talk | contribs) |
||
| Line 71: | Line 71: | ||
== Listening for Tab Events == | == Listening for Tab Events == | ||
The <code>Browser</code> fires a few <code>Tab</code>-specific events. You can use these events to monitor tab browser lifecycle | The <code>Browser</code> fires a few <code>Tab</code>-specific events. You can use these events to monitor tab browser lifecycle: <code>TabOpen</code>, <code>TabSelect</code>, and <code>TabClose</code>. Here's an example of hooking up listeners for the events: | ||
<pre> | <pre> | ||