W3cubDocs

/Web Extensions

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

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet

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

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/privacy