back to Noise icon Noise: Firefox Extension 中文版

Events Reference

Events have Status as "Default" or "OK" are ready for use.
The "Freak" ones do fire, but fire at strange timing so they are not friendly for use.
And the "Test" and "Unsure" label events I've never captured successully... so (developers) don't bother unless you like to test.

Noise-Specific events don't exist in original Firefox, you can't capture them without Noise.

Events were split into 4 tables by type: Event topic, Browser event, Window event, and Browser/Window event.

Table 1. event type: Event topic (via addObserver)
NameEvent StringStatusSummary
Findbar wrappednoise-TypeAheadFind.FIND_WRAPPEDDefaultNoise-Specific.
Toggle sidebarnoise-toggleSidebarDefaultNoise-Specific.
Alert notificationboxnoise-alert-loadedDefaultNoise-Specific; Include download finished, new update found,
and others which use alert box slide from the bottom-right area of browser.
Start navigationnoise-WebProgress-startDefaultNoise-Specific; Fires when starting navigation on every page.
Stop navigationnoise-WebProgress-stopOKNoise-Specific; Fires when stopping of navigation (completion of a request.)
Change locationnoise-WebProgress-locationChangeDefaultNoise-Specific; Also fires when changing selected tab.
Download startednoise-dl.addDefaultNoise-Specific; Firefox 26 (and above) only.
Download removednoise-dl.removeDefaultNoise-Specific; Firefox 26 (and above) only.
Download stoppednoise-dl.stopOKNoise-Specific; Firefox 26 (and above) only.
Download failednoise-dl.errorDefaultNoise-Specific; Firefox 26 (and above) only.
Session restoredsessionstore-windows-restoredDefaultFires when Firefox starting.
Clear session historybrowser:purge-session-historyDefault
Clear cachecacheservice:empty-cacheDefault
Open windowtoplevel-window-readyDefaultAll windows include dialogs, fire this.
Close windowdomwindowclosedDefaultSame as above.
Download starteddl-startDefault
Download faileddl-failedDefault
Download canceleddl-cancelDefault
Download donedl-doneDefaultMay clash with "Alert notificationbox" sound (one would be aborted by another.)
Site permission changedperm-changedDefaultFor example, block a site from loading images.
Xpinstall install blockedxpinstall-install-blockedDefaultFor example, extension not compatible with Firefox version.
Noise log newnoise-logDefaultWhen useing Noise.log() function of Noise.
Remove download itemdownload-manager-remove-downloadOKAlso fires when a download finish. remove from Default since 1.0b4
Extension manager actionsem-action-requestedOKActions such as enable, install, etc. See Observer Notifications
Change search enginebrowser-search-engine-modifiedOK
Flush chrome cachechrome-flush-cachesOK
Charset menucharsetmenu-selectedOK
Open windowbrowser-window-before-showOKSimilar as toplevel-window-ready
Window openeddomwindowopenedOKSame as above.
View page info new3.5page-info-dialog-loadedOK
Password form found new3.5passwordmgr-found-formOKSee Observer Notifications - Login Manager
http modify requesthttp-on-modify-requestOKOK, But fires too frequently...
http examine responsehttp-on-examine-responseOKOK, But same as above.
cookie changedcookie-changedOK
cookie changedcookie-rejectedOK
Private browsingprivate-browsingOKOK, But sound may abort due to Firefox auto restart.
Private browsing (vote)private-browsing-cancel-voteOKAsk for entering/exiting private browsing mode.
Fires before every try of toggling the mode.
Offline requset newoffline-requestedOKTo enter offline mode.
Quit applicationquit-applicationOKOK, But sound may abort when quit.
Quit applicationquit-application-requestedOKOK, But same as above.
Quit application (granted)quit-application-grantedOKOK, But same as above. This fires when restarting Firefox.
???nsWebBrowserFind_FindAgainFreakFires when "view source code".
???xpinstall-download-startedFreakFires when installing xpi from desktop.
???dom-window-destroyedFreakRepeatly fires at application start...
???a11y-init-or-shutdownTest
???xul-overlay-parsererrorTest
???accessible-eventTest
???chrome-flush-skin-cachesTest
???network:offline-about-to-go-offlineTest
???network:offline-status-changedTest
???memory-pressureUnsure
???plugins-list-updatedUnsure
???xpcom-shutdownUnsure
???xpcom-autoregistrationUnsure
???signonChangedUnsure
???prefservice:before-resetUnsure
???prefservice:before-read-userprefsUnsure
???refresh-blockedUnsure
???final-ui-startupUnsure
???earlyformsubmitUnsure
???signonSelectUserUnsure
???TabMoveUnsure
???app-startupUnsure
???download-startingUnsure
???xpcom-startupUnsure
???agent-sheet-addedUnsure
???user-sheet-addedUnsure
???agent-sheet-removedUnsure
???user-sheet-removedUnsure
FoxAge2ch messagefoxage2ch-show-messageOKSee TOPIC_SHOW_MESSAGE in chrome://foxage2ch/content/foxage2ch.js
FoxAge2ch tree rebuildfoxage2ch-rebuild-treeOKSame as above, TOPIC_REBUILD_TREE
FoxAge2ch globalfoxage2ch-globalOKSame as above, TOPIC_GLOBAL
LastTab TabList ItemActiveLastTab.TabList.ItemActiveOKFires when mouse moving hover on a tablist item,
see chrome://lasttab/content/lasttab.browser.js
LastTab TabList ItemInactiveLastTab.TabList.ItemInactiveOKFires when mouse moving out of a tablist item.
Table 2. event type: Browser event (via gBrowser.addEventListener)
NameEvent StringStatusSummary
Popup BlockedDOMPopupBlockedDefault
Plugin not foundPluginNotFoundDefault
CommandcommandOK
???DOMUpdatePageReportFreakFires when closing a page.
???ValueChangeFreak
???NewPluginInstalledTest
???PluginBlocklistedUnsure
???AppCommandUnsure
???NewTabUnsure
Table 3. event type: Window event (via window.addEventListener)
NameEvent StringStatusSummary
Toggle fullscreenfullscreenDefault
Before unloadbeforeunloadOKFires before a window close.
Open modal dialogDOMWillOpenModalDialogOKFor example, open Firefox preference window.
Window closedDOMWindowCloseOKHas some differences from domwindowclosed.
FocusfocusOK
MenuItem activeDOMMenuItemActiveOKFires when a menu or menuitem is hovered over or highlighted.
MenuItem inactiveDOMMenuItemInactiveOKFires when a menu or menuitem is hovered out or lost from highlighted.
???DOMModalDialogClosedUnsure
???PopupWindowUnsure
Online updatedonlineOK
Offline updatedofflineOK
Text input updatedtextInputUnsureSame as keypress, but not supported.
Table 4. event type: Browser event (via gBrowser.addEventListener) or Window event (via window.addEventListener)
NameEvent StringStatusSummary
Open tabTabOpenDefault
Close tabTabCloseDefault
Popup BlockedDOMPopupBlockedDefault
Information bar alert updatedAlertActiveDefaultInclude remember password, popup blocked, plugin not found, etc.
CopycopyOK
CutcutOK
PastepasteOK
ChangechangeOKFires when losing focus if a field value changed.
Checkbox toggledCheckboxStateChangeOK
radio button toggledRadioStateChangeOK
Form submitsubmitOK
Form resetresetOK
ClickclickOKIncluded middle and right clicks.
Double clickdblclickOKIncluded double right click.
KeydownkeydownOK
KeypresskeypressOKNot include keys such as Ctrl, Alt, and so on.
KeyupkeyupOK
MousedownmousedownOK
MousemovemousemoveOK
MouseoutmouseoutOK
MouseovermouseoverOK
MouseupmouseupOK
Drag gesturedraggestureOK
Window resizeresizeOKNot include minimize/maximize window.
Set event type to browser/window seems a little direffent.
OverflowoverflowOKContent larger than display space.
UnderflowunderflowOKContent not larger than display space.
Scroll rollscrollOK
???blurTest
Context menucontextmenuFreakFires when right clicking some place (ex: status bar).
Show pagepageshowOK
Content loadedDOMContentLoadedOK
Frame content loadedDOMFrameContentLoadedOKIf set event type to 'window', this also fires when normal content loaded.
Page title changedDOMTitleChangedOKFires when setting page title (include reloads.)
If event type is 3, this also happens when switching between tabs.
Mouse scrolledDOMMouseScrollOK
???DOMSubtreeModifiedFreak
???DOMNodeInsertedFreak
Link element addedDOMLinkAddedOK
???DOMLinkRemovedUnsure
???DOMNodeRemovedUnsure
???DOMNodeRemovedFromDocumentUnsure
???DOMNodeInsertedIntoDocumentUnsure
Attribute modifiedDOMAttrModifiedOKCaptures in more cases when event type is set to 'window'.
???DOMCharacterDataModifiedUnsure
???DOMElementNameChangedUnsure
???DOMAttributeNameChangedUnsure
???DOMActivateUnsure
Focus inDOMFocusInUnsureNot supported
Focus outDOMFocusOutUnsureNot supported
???windowZLevelUnsure

Other References