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.

#brave-adblock-cname-uncloaking
#brave-adblock-collapse-blocked-elements
#brave-adblock-cosmetic-filtering
#brave-adblock-csp-rules
#brave-adblock-default-1p-blocking
#brave-domain-block
#brave-domain-block-1pes
#brave-extension-network-blocking
#brave-first-party-ephemeral-storage
#brave-ephemeral-storage

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/features.cc

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

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

const base::Feature kBraveAdblockCosmeticFiltering{
“BraveAdblockCosmeticFiltering”,
base::FEATURE_ENABLED_BY_DEFAULT};

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:
// ads.example.com^

const base::Feature kBraveDomainBlock{“BraveDomainBlock”,
base::FEATURE_ENABLED_BY_DEFAULT};

// 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.