privacy

Access and modify various privacy-related browser settings.

To use the privacy API, you must have the "privacy" API permission.

Properties

privacy.network
Access and modify privacy settings relating to the network.
privacy.services
Access and modify privacy settings relating to the services provided by the browser or third parties.
privacy.websites
Access and modify privacy settings relating to the behavior of websites.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
network.networkPredictionEnabledChrome Full support YesEdge Full support 79Firefox Full support 54Opera Full support YesFirefox Android Full support 54
network.peerConnectionEnabledChrome No support NoEdge No support NoFirefox Full support 55Opera No support NoFirefox Android Full support 55
network.webRTCIPHandlingPolicyChrome Full support YesEdge Full support 79Firefox Full support 54
Notes
Full support 54
Notes
Notes Starting in Firefox 70, a value of disable_non_proxied_udp requires a proxy if one is configured, but allows connections to go through if no proxy is set up. Previously, in this mode WebRTC could only be used if a proxy was configured and TURN over TCP was available; this behavior is now exposed as proxy_only.
Opera Full support YesFirefox Android Full support 54
services.autofillAddressEnabledChrome Full support 70Edge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.autofillCreditCardEnabledChrome Full support 70Edge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.autofillEnabled
DeprecatedNon-standard
Chrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.alternateErrorPagesEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.passwordSavingEnabledChrome Full support 38Edge Full support 79Firefox Full support 56Opera Full support YesFirefox Android Full support 56
services.safeBrowsingEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.safeBrowsingExtendedReportingEnabledChrome Full support 42Edge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.searchSuggestEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.spellingServiceEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
services.translationServiceEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
websites.cookieConfigChrome No support NoEdge No support NoFirefox Full support 59
Notes
Full support 59
Notes
Notes The behavior property value "reject_trackers" was introduced in version 64.
Opera No support NoFirefox Android Full support 59
Notes
Full support 59
Notes
Notes The behavior property value "reject_trackers" was introduced in version 64.
websites.firstPartyIsolateChrome No support NoEdge No support NoFirefox Full support 58Opera No support NoFirefox Android Full support 58
websites.hyperlinkAuditingEnabledChrome Full support YesEdge Full support 79Firefox Full support 54Opera Full support YesFirefox Android Full support 54
websites.protectedContentEnabledChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
websites.referrersEnabledChrome Full support YesEdge Full support 79Firefox Full support 56Opera Full support YesFirefox Android Full support 56
websites.resistFingerprintingChrome No support NoEdge No support NoFirefox Full support 58Opera No support NoFirefox Android Full support 58
websites.thirdPartyCookiesAllowedChrome Full support YesEdge Full support 79Firefox No support NoOpera Full support YesFirefox Android No support No
websites.trackingProtectionModeChrome No support NoEdge No support NoFirefox Full support 57Opera No support NoFirefox Android Full support 57

Legend

Full support  
Full support
No support  
No support
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.
Acknowledgements

This API is based on Chromium's chrome.privacy API.