Filtering Tests: Text Ads

This page tests under which conditions Brave hides or shows page elements that look like text ads.

Each section lists whether the "ad" should be show when blocking is off, in the default setting, or in the strict setting.

Main frame tests

Not a text ad

This ad element has too little text to be considered a text ad.

Expected results:

  • Disabled: Shown
  • Default: Hidden
  • Aggressive: Hidden
Not enough text

Is a text ad

This ad element has enough text that we consider it a text ad.

Expected results:

  • Disabled: Shown
  • Default: Shown
  • Aggressive: Hidden
I'm seeing double here; four Krusties!

Handling Script Tags

The contents of <script>

Expected results:

  • Disabled: Shown
  • Default: Hidden
  • Aggressive: Hidden
Brief text

Frame tests

Local frame containing a text ad

This ad element is only text, and has only text, that we consider it a first-party ad, and so only hide it in aggressive mode.

Expected results:

  • Disabled: Shown
  • Default: Shown
  • Aggressive: Hidden

Local frame containing a low-text ad

This ad element has a small enough amount of text that we do not consider it a local "ad" in default modes.

Expected results:

  • Disabled: Shown
  • Default: Hidden
  • Aggressive: Hidden