Events

TwitterFacebook
Get flash to fully experience Pearltrees
This article is for XUL / JavaScript developers who want to have custom code executed each time a new page is loaded in browser/mail. https://developer.mozilla.org/en-US/docs/Code_snippets/On_page_load

On page load - MDC

Mobile/Fennec/CodeSnippets

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 architecture between Firefox and Fennec is different. https://wiki.mozilla.org/Mobile/Fennec/CodeSnippets

Detecting page loads in a Firefox Extension

http://www.timrosenblatt.com/blog/2008/09/15/detecting-page-loads-in-a-firefox-extension/ Posted: September 15th, 2008 | Author: Tim | Filed under: coding , firefox extensions | Tags: addeventlistener , detecting , event , Firefox Extension , gbrowser , page loads | 4 Comments »
https://developer.mozilla.org/en-US/docs/Code_snippets/Progress_Listeners

Progress Listeners - MDC

Progress Listeners Progress listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events. Progress listeners implement the nsIWebProgressListener interface.
This is frustrating me. How come the progress listener does not get called for a page loading in a tab that does not have focus?! I can't figure out why the Mozilla interface doesn't support this.

addProgressListener for ALL Tabs?!

http://forums.mozillazine.org/viewtopic.php?t=618215
There are a lot of events that can be fired in Mozilla code. Some of these are standard events, such as those created by the DOM. https://developer.mozilla.org/en-US/docs/DOM/Mozilla_event_reference

Gecko-Specific DOM Events - MDC

Events - MDC

https://developer.mozilla.org/en-US/docs/XUL/Events « XUL Reference home The following tables describe the event handler that are valid for most XUL elements. The events listeners can be attached using addEventListener and removed using removeEventListener .

Getting a Progress Listener to work

Following from the Event listeners & logging browsing session this topic is about the NSIWebProgressListener object. And then tried to incorporate a progress listener to my overlay. http://forums.mozillazine.org/viewtopic.php?p=3159528

Event listeners & logging browsing session

Hello, I am developing an extension that should log user browsing behavior. Things that I am interested in are parameters like: url's browsed link clickthrough time spent on page isbookmarked etc