GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MDN
  • HTML: Markup language
  • Elements
  • Global attributes
  • Attributes
  • See all…
  • Responsive images
  • HTML cheatsheet
  • Date & time formats
  • See all…
  • SVG
  • MathML
  • XML
  • CSS: Styling language

This view

  • Original page
  • New address

GeezerVison is showing developer.mozilla.org — PreferenceObject - Web APIs | MDN

PreferenceObject

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

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 Navigator.preferences) to get access to the PreferenceObject objects representing each available preference.

The PreferenceManager interface inherits from EventTarget.

Instance properties

PreferenceObject.override Read only

The override value if set, null otherwise.

PreferenceObject.value Read only

The override value if set, the UA default otherwise.

PreferenceObject.validValues Read only

The valid values for the override.

Instance methods

PreferenceObject.clearOverride()

Resets any previously set override to null and fires the change event.

PreferenceObject.requestOverride()

Requests an override of the preference and fires the change event on success.

Events

change

Fired when the override is set or reset.

Specifications

Specification
Media Queries Level 5
# preference-object-interface

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on May 7, 2026 by MDN contributors.

View this page on GitHub • Report a problem with this content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.