Global privacy controlLimited availability
The Sec-GPC request header indicates that the user does not consent to a website or service selling or sharing their personal information with third parties.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
1–119Not supported
120+Supportedsince Nov 21, 2023
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
4–121Not supported
122+Supportedsince Jan 23, 2024
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Chrome, Edge, Safari, Chrome Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: globalPrivacyControl.
Feature detection
JS · check before using
if ("Navigator" in globalThis && "globalPrivacyControl" in Navigator.prototype) {
// Navigator.globalPrivacyControl is available
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (3). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Navigator.globalPrivacyControl | ✕ | ✕ | 120 | ✕ | ✕ | 122 | ✕ |
| WorkerNavigator.globalPrivacyControl | ✕ | ✕ | 120 | ✕ | ✕ | 122 | ✕ |
| http.headers.Sec-GPC | ✕ | ✕ | 120 | ✕ | ✕ | 122 | ✕ |