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

ChromeEdgeFirefoxFirefox for AndroidOpera
network.networkPredictionEnabled Yes No5454 Yes
network.peerConnectionEnabled No No5555 No
network.webRTCIPHandlingPolicy Yes No5454 Yes
services.passwordSavingEnabled Yes No5656 Yes
websites.firstPartyIsolate No No5858 No
websites.hyperlinkAuditingEnabled Yes No5454 Yes
websites.protectedContentEnabled Yes No No No Yes
websites.referrersEnabled Yes No5656 Yes
websites.resistFingerprinting No No5858 No
websites.thirdPartyCookiesAllowed Yes No No No Yes
websites.trackingProtectionMode No No5757 No

Acknowledgements

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

Document Tags and Contributors

 Contributors to this page: wbamberg, Sheppy
 Last updated by: wbamberg,