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 No support NoFirefox 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 No support NoFirefox Full support 54Opera Full support YesFirefox Android Full support 54
services.autofillAddressEnabledChrome Full support 70Edge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.autofillCreditCardEnabledChrome Full support 70Edge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.autofillEnabled
DeprecatedNon-standard
Chrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.alternateErrorPagesEnabledChrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.passwordSavingEnabledChrome Full support 38Edge No support NoFirefox Full support 56Opera Full support YesFirefox Android Full support 56
services.safeBrowsingEnabledChrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.safeBrowsingExtendedReportingEnabledChrome Full support 42Edge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.searchSuggestEnabledChrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.spellingServiceEnabledChrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
services.translationServiceEnabledChrome Full support YesEdge No support NoFirefox 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 No support NoFirefox Full support 54Opera Full support YesFirefox Android Full support 54
websites.protectedContentEnabledChrome Full support YesEdge No support NoFirefox No support NoOpera Full support YesFirefox Android No support No
websites.referrersEnabledChrome Full support YesEdge No support NoFirefox 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 No support NoFirefox 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.