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 | ||||||
|---|---|---|---|---|---|---|---|
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.
Note:
This API is based on Chromium's chrome.privacy API.