diff --git a/files/en-us/web/api/navigator/globalprivacycontrol/index.md b/files/en-us/web/api/navigator/globalprivacycontrol/index.md index 8262b33f9c30aa6..a87d3e15ec80170 100644 --- a/files/en-us/web/api/navigator/globalprivacycontrol/index.md +++ b/files/en-us/web/api/navigator/globalprivacycontrol/index.md @@ -18,17 +18,14 @@ The value of the property reflects that of the {{httpheader("Sec-GPC")}} HTTP he ## Value -- `1` - - : User _does not_ provide consent to sell or share their data. -- `0` - - : User either _does_ provide consent to sell or share their data, or has not indicated a preference. +`true` if the user explicitly _does not_ provide consent to sell or share their data. +`false` if the user either grants consent, or has not indicated a preference. ## Example ```js console.log(navigator.globalPrivacyControl); -// prints "1" indicating user does not want their data shared or sold. -// prints "0" if the user consents to their data being shared or sold. +// "true" if the user has specifically indicated they do not want their data shared or sold, otherwise "false". ``` ## Specifications diff --git a/files/en-us/web/api/workernavigator/globalprivacycontrol/index.md b/files/en-us/web/api/workernavigator/globalprivacycontrol/index.md index 4d981cebaa61012..9a916c05fc7c6dd 100644 --- a/files/en-us/web/api/workernavigator/globalprivacycontrol/index.md +++ b/files/en-us/web/api/workernavigator/globalprivacycontrol/index.md @@ -18,17 +18,14 @@ The value of the property reflects that of the {{httpheader("Sec-GPC")}} HTTP he ## Value -- `1` - - : User _does not_ provide consent to sell or share their data. -- `0` - - : User either _does_ provide consent to sell or share their data, or has not indicated a preference. +`true` if the user explicitly _does not_ grant consent to sell or share their data. +`false` if the user either grants consent, or has not indicated a preference. ## Example ```js console.log(navigator.globalPrivacyControl); -// prints "1" indicating user does not want their data shared or sold. -// prints "0" if the user either consents or has not indicated a preference. +// "true" if the user has specifically indicated they do not want their data shared or sold, otherwise "false". ``` ## Specifications