Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Sep 26, 2023
1 parent 492bcbd commit 8d00d45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions files/en-us/web/api/navigator/globalprivacycontrol/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d00d45

Please sign in to comment.