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
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
privacy | |||||||
network | |||||||
network.globalPrivacyControl | |||||||
network.httpsOnlyMode | |||||||
network.networkPredictionEnabled | |||||||
network.peerConnectionEnabled | |||||||
network.webRTCIPHandlingPolicy | |||||||
services | |||||||
services.alternateErrorPagesEnabled | |||||||
services.autofillAddressEnabled | |||||||
services.autofillCreditCardEnabled | |||||||
services.autofillEnabled | |||||||
services.passwordSavingEnabled | |||||||
services.safeBrowsingEnabled | |||||||
services.safeBrowsingExtendedReportingEnabled | |||||||
services.searchSuggestEnabled | |||||||
services.spellingServiceEnabled | |||||||
services.translationServiceEnabled | |||||||
websites | |||||||
websites.cookieConfig | |||||||
cookieConfig.behavior | |||||||
cookieConfig.nonPersistentCookies | |||||||
websites.firstPartyIsolate | |||||||
websites.hyperlinkAuditingEnabled | |||||||
websites.protectedContentEnabled | |||||||
websites.referrersEnabled | |||||||
websites.resistFingerprinting | |||||||
websites.thirdPartyCookiesAllowed | |||||||
websites.trackingProtectionMode |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Note:
This API is based on Chromium's chrome.privacy
API.