Question about default state of certain FLAGS

I’d like to ask about the default state of certain FLAGS. Whether it’s enabled or disabled by default.


Does this help? I don’t think they are all there (just glanced through, didn’t confirm), but will give you a start. You can go to Brave GitHub and search for any missing.

Source for this list was:
Collapse HTML elements with blocked image/iframe requests #9144 under the heading components/brave_shields/common/

const base::Feature kBraveAdblockCnameUncloaking{
“BraveAdblockCnameUncloaking”, base::FEATURE_ENABLED_BY_DEFAULT};

const base::Feature kBraveAdblockCollapseBlockedElements{
“BraveAdblockCollapseBlockedElements”, base::FEATURE_ENABLED_BY_DEFAULT};

const base::Feature kBraveAdblockCosmeticFiltering{

const base::Feature kBraveAdblockCosmeticFilteringNative{
“BraveAdblockCosmeticFilteringNative”, base::FEATURE_DISABLED_BY_DEFAULT};

const base::Feature kBraveAdblockCspRules{
“BraveAdblockCspRules”, base::FEATURE_ENABLED_BY_DEFAULT};

// When enabled, Brave will block domains listed in the user’s selected adblock
// filters and present a security interstitial with choice to proceed and
// optionally whitelist the domain.
// Domain block filters look like this:

const base::Feature kBraveDomainBlock{“BraveDomainBlock”,

// When enabled, network requests initiated by extensions will be checked and
// potentially blocked by Brave Shields.

const base::Feature kBraveExtensionNetworkBlocking{
“BraveExtensionNetworkBlocking”, base::FEATURE_DISABLED_BY_DEFAULT};

Oh, thank you! Going to check that out.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.