-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube ads - Additional blocking rules #3
Comments
@bbondy I made another sweep here just to make sure that things hadn't changed too much. These are the following CSS selector/element hiding rules that ABP is using for Youtube that we currently don't block;
These are the YT 1p calls, and filters that would work for blocking them:
These are additional filters that blocked in ABP, we're using these already as far as I can tell, but am noting:
I think that if we opened up to allow for 1p blocking, even if only for
|
Follow up from: brave/browser-laptop#7230
I've run comparison checks against uBlock Origin, AdBlock Plus (with Acceptable Ads disabled), and Brave Shields. The data from the comparison checks is included in the following xlsx:
Youtube-blocking-comparison-02172017.xlsx
I ran some additional testing to see if I could apply any new rules in
about:adblock
, and with the following rules applied I am able to visibly see the video ads blocked for the first 7-10 segments I click on (the "Visit Advertiser's Site" overlay briefly shows up and then goes away quickly):The two exceptions applied above were observed in ABP and uBlock, which are likely in place to maintain compatibility with the video player.
However, after about 10-12 playback attempts, I'm seeing an ad appear. This is really strange. The blocking taking place initially matches what is working for users that aren't signed in.
Note: Ads are only observed while authenticated. Users that aren't signed are seeing ad blocking work as expected.
There are the following
ELEMHIDE
rules applied in both uBlock and ABP that I don't believe we are using:I also attempted the
isThirdPartyHost
test we discussed (referenced in Slack), but I am not 100% confident I am testing that correctly.Based on the calls that aren't blocked, I can't tell if we're just not blocking 1st party verbatim EasyList rules, or if I was testing
isThirdPartyHost
incorrectly, as I believe we should be seeing youtube.com requests that contain=adunit&
blocked that I'm not seeing blocked in Brave (I am seeing them blocked in ABP & uBlock).I know there's some objection to css blocking, so it might be worth testing the third party host settings in case I was not testing that correctly.
If that doesn't work, then css ELEMHIDE blocking for YT would likely be the next option.
If neither of those work, I think there could be a larger problem.
I noticed that uBlock is using EasyPrivacy, and that a lot of blocking was taking place from that list. If we're not using that, it might be worth exploring.
Thanks for the help here. This one has been a real pain.
The text was updated successfully, but these errors were encountered: