Mozilla.com

  1. MDC
  2. Main Page
  3. FUEL
  4. Extension
Table of contents
  1. 1. Method overview
  2. 2. Attributes
  3. 3. Methods
  4. 4. See also
Table of contents
  1. 1. Method overview
  2. 2. Attributes
  3. 3. Methods
  4. 4. See also

This article covers features introduced in Firefox 3

Method overview

Attributes

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"

Methods

See also

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

Files (0)