This article covers features introduced in Firefox 3
| Attribute | Type | Description |
id
| readonly attribute AString
| The id of the extension. |
name
| readonly attribute AString
| The name of the extension. |
version
| readonly attribute AString
| The version number of the extension. |
firstRun
| readonly attribute boolean
| Indicates whether this is the extension's first run after install |
prefs
| readonly attribute fuelIPreferenceBranch
| The preferences object for the extension. Defaults to the "extensions.<extensionid>." branch. |
storage
| readonly attribute fuelISessionStorage
| The storage object for the extension. |
events
| readonly attribute fuelIEvents
| The events object for the extension. supports: "uninstall" |
See extApplication.js line:395 for the implementation of firstRun. A preference "install-event-fired" under your extensions preferences branch (e.g. extensions.YOUR_EXTENSION_ID.install-event-fired) will be set to false after your extension has been installed. You may need to reset this preference in about:config during testing.
Page last modified 02:33, 26 May 2008 by Docwhat