Skip to content

Commit e916b7a

Browse files
authored
flags: disable privacy sandbox dialog (#328)
1 parent e1d8d5b commit e916b7a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/chrome-flags-for-tools.md

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Here's a **[Nov 2022 comparison of what flags](https://docs.google.com/spreadshe
5858
* `--disable-external-intent-requests`: Disallow opening links in external applications
5959
* `--disable-features=GlobalMediaControls`: Hide toolbar button that opens dialog for controlling media sessions.
6060
* `--disable-features=ImprovedCookieControls`: Disables an improved UI for third-party cookie blocking in incognito mode.
61+
* `--disable-features=PrivacySandboxSettings4`: Disables "Enhanced ad privacy in Chrome" dialog (if it wasn't disabled through other means).
6162
* `--disable-notifications`: Disables the Web Notification and the Push APIs.
6263
* `--disable-popup-blocking`: Disable popup blocking. `--block-new-web-contents` is the strict version of this.
6364
* `--disable-prompt-on-repost`: Reloading a page that came from a POST normally prompts the user.

src/flags.ts

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export const DEFAULT_FLAGS: ReadonlyArray<string> = [
2929
'CertificateTransparencyComponentUpdater',
3030
// Disables autofill server communication. This feature isn't disabled via other 'parent' flags.
3131
'AutofillServerCommunication',
32+
// Disables "Enhanced ad privacy in Chrome" dialog (though as of 2024-03-20 it shouldn't show up if the profile has no stored country).
33+
'PrivacySandboxSettings4',
3234
].join(','),
3335

3436
// Disable all chrome extensions

0 commit comments

Comments
 (0)