PreferencesManager
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 PreferencesManager interface of the User Peferences API provides access to the various PreferenceObject objects.
The PreferencesManager interface inherits from EventTarget.
Instance properties
PreferencesManager.colorSchemeRead only Experimental-
A
PreferenceObjectused to override the user's preference for thecolor schemeof the site. PreferencesManager.contrastRead only Experimental-
A
PreferenceObjectused to override the user's preference for thecontrastof the site. PreferencesManager.reducedMotionRead only Experimental-
A
PreferenceObjectused to override the user's preference for thereduced motionof the site. PreferencesManager.reducedTransparencyRead only Experimental-
A
PreferenceObjectused to override the user's preference for thereduced transparencyof the site. PreferencesManager.reducedDataRead only Experimental-
A
PreferenceObjectused to override the user's preference for thereduced dataof the site.
Specifications
| Specification |
|---|
| Media Queries Level 5> # preference-manager> |