question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cosmetic blocking flag causes shields ad toggle to not work correctly

See original GitHub issue

Description

If you enable the cosmetic blocking flag (you must do this manually on 1.5.x, but it is enabled by default on 1.7.x), and you change the cross site trackers toggle to OFF, ads do not start appearing on web pages as expected. You must toggle shields off entirely.

Note - if you disable cosmetic blocking flag, this is not an issue, the Cross-site trackers toggle works as expected.

Steps to Reproduce

  1. If using 1.5.x, enable the brave://flags/#brave-adblock-cosmetic-filtering flag. If using 1.7.x it should be enabled by default.

  2. Navigate to a site like slashdot.org --> ads not displayed as expected. Default shields - cosmetic blocking flag enabled

  3. Open shields, toggle off Cross-site trackers blocked. –> ads are not displayed on the page ad block toggled off - cosmetic blocking enabled

  4. Toggle shields off entirely. –> now ads are displayed on the page shields off entirely - cosmetic blocking enabled

If you disable the brave://flags/#brave-adblock-cosmetic-filtering, then the Cross-site trackers blocked toggle begins working as expected (after browser restart.

Actual result:

When cosmetic blocking flag is enabled and you toggle Cross-site trackers blocked OFF, sites do not show ads as expected

Expected result:

Toggling Cross site trackers blocked to OFF should show ads regardless of the cosmetic blocking flag setting: ad block toggled off - cosmetic blocking disabled

Reproduces how often:

easily

Brave version (brave://version info)

Brave 1.5.111 Chromium: 80.0.3987.132 (Official Build) (64-bit)
Revision fcea73228632975e052eb90fcf6cd1752d3b42b4-refs/branch-heads/3987@{#974}
OS macOS Version 10.14.6 (Build 18G3020)
Brave 1.7.58 Chromium: 80.0.3987.132 (Official Build) dev (64-bit)
Revision fcea73228632975e052eb90fcf6cd1752d3b42b4-refs/branch-heads/3987@{#974}
OS macOS Version 10.14.6 (Build 18G3020)

Version/Channel Information:

  • Can you reproduce this issue with the current release? 1.4.x n/a, but yes to 1.5.x
  • Can you reproduce this issue with the beta channel? yes
  • Can you reproduce this issue with the dev channel? yes
  • Can you reproduce this issue with the nightly channel? unsure but probably

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? disabling shields entirely is the solution
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

reproduces on other sites like buzzfeed.com, etc.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rebroncommented, May 29, 2020

Closing. No longer valid with fix to https://github.com/brave/brave-browser/issues/8475. Allowing all trackers and ads in the Advanced View of Shields, yields the desired result of showing ads on Slashdot or respecting desire to show ads.

1reaction
ryanbrcommented, Mar 14, 2020

Having a separate shields switch for cosmetic filtering would be helpful for debugging purposes if there an issue with a cosmetic filter we could track down more quickly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Brave browser will support Manifest V2 extensions after ...
Brave says it will support some Manifest V2 extensions even after Chrome drops them. This could include the likes of uBlock Origin.
Read more >
Third-party cosmetic filtering - Brave Browser
Solution: Hide Third-Party Ads, Show First-Party Ads · For each cosmetic rule that applies to a page, periodically check to see if the...
Read more >
How to remove HDCP from HDMI signal - Tweaking4All.com
A short article showing how to remove HDCP from HDMI signal, so non-HDCP devices will work with HDCP content.
Read more >
Update 31.5: Angels of the Zariman - Warframe Forums
The smaller shields on buffed allies do not physically block damage like their Eximus counterpart, but act as a visual indicator that Damage ......
Read more >
10 essential tips and tricks for Chivalry 2 - Digital Trends
Chivalry 2 is a massive multiplayer sword and shield game featuring 40- and 64-player lobbies. On par with the scale of modern Battlefield ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found