Get to know MDN better
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 PreferenceManager interface of the User Preferences API provides access to PreferenceObject objects used to query and modify user preferences.
The PreferenceManager for the current document can be accessed via the Navigator.preferences property.
The PreferenceManager interface inherits from EventTarget.
A PreferenceObject used to override the user's preference for the color scheme of the site.
PreferenceManager.contrast Read onlyA PreferenceObject used to override the user's preference for the contrast of the site.
PreferenceManager.reducedMotion Read onlyA PreferenceObject used to override the user's preference for the reduced motion of the site.
PreferenceManager.reducedTransparency Read onlyA PreferenceObject used to override the user's preference for the reduced transparency of the site.
PreferenceManager.reducedData Read onlyA PreferenceObject used to override the user's preference for the reduced data of the site.
This example demonstrates how to query the user's preferred color scheme.
| Media Queries Level 5 # preference-manager |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 6, 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.