Gecko-Specific DOM Events
From MDC
Contents |
[edit] DOMContentLoaded
Fired on a Window object when a document's DOM content is finished loaded, but unlike "load", does not wait till all images are loaded. Used for example by GreaseMonkey to sneak in to alter pages before they are displayed.
This event, as many others on this page, is dispatched to "trusted" targets only; for example, it is not dispatched to the content of the main browser object in Firefox, even if it comes from a chrome:/ URI.
[edit] DOMFrameContentLoaded
Same as above, but also fired for enclosed frames.
[edit] DOMWindowClose
Fired when the window is about to be closed by window.close(). See [1]
[edit] Others
There appear to be many other sparsely documented events. See bug 286013:
- DOMLinkAdded
- DOMLinkRemoved
- DOMWillOpenModalDialog
- DOMModalDialogClosed
- DOMWindowClose
- fullscreen
- PopupWindow
- DOMContentLoaded
- DOMTitleChanged
- PluginNotFound
- ValueChange
- DOMMenuItemActive
- DOMFrameContentLoaded
- windowZLevel
[edit] Example
window.addEventListener("DOMFrameContentLoaded", myeventhandler, true);