Firefox Tomorrow

web api interface

PreferenceObject

View on MDN ↗

Limited availabilitySecure context

The PreferenceObject interface of the User Preferences API provides attributes and methods for reading and overriding user preferences.

Use the document’s PreferenceManager (accessed via preferences) to get access to the PreferenceObject objects representing each available preference.

The PreferenceManager interface inherits from EventTarget.

Instance properties

  • override Read only Experimental
    • : The override value if set, null otherwise.
  • value Read only Experimental
    • : The override value if set, the UA default otherwise.
  • validValues Read only Experimental
    • : The valid values for the override.

Instance methods

Events

  • change Experimental
    • : Fired when the override is set or reset.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.