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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
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

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