YouTube ads are back

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
Locked
rhanajoy
AdBlock Community Manager
AdBlock Community Manager
Posts: 292
Joined: Fri Jul 03, 2015 10:40 am

YouTube ads are back

Post by rhanajoy »

Hi! Rhana, AdBlock Community Manager, here. We're suddenly getting lots of reports that pre-roll and in-video ads are appearing in YouTube videos again. It may or may not be related to a recent Chrome upgrade. I searched the forums here and didn't find any other posts about this, so forgive me if I'm telling you something you already know. :)
Rhana
AdBlock Community Manager

Posting on behalf of AdBlock (not ABP), when users come to us first and we have some reason to get involved with the discussion. http://help.getadblock.com
KGrizzle
Guest

Post by KGrizzle »

Yeah, I noticed this today. They also play every 15min for longer videos. I got a 5 minute ad in the middle of a 30 min video game play. VERY frustrating. Help, please, Adblock masters! D:
NicoTheSerperior
Guest

Post by NicoTheSerperior »

I'm having the same issue! Everything was working fine... and then ads started popping up!

Please, AdBlock! Save us! D:
User avatar
LanikSJ
Site Owner
Site Owner
Posts: 1806
Joined: Thu Feb 15, 2007 7:44 am
Location: /dev/null

Post by LanikSJ »

"If it ain't broke don't fix it."
NicoTheSerperior
Guest

Post by NicoTheSerperior »

Could this have been caused by a recent update in Chrome? I'm not sure.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

Here too I receive many complaints about Youtube ads from the store. Someone filed an issue a while ago with Chrome >44 (beta/dev) while it was still in beta: https://github.com/gorhill/uBlock/issues/594#. I have not been able to reproduce ever. It does appear something changed in Chrome 45, as the user was not able to reproduce using Chrome 44, but was able to reproduce systematically using Chrome 46 -- and other users with Chrome 45.

No such issue with Firefox/Nightly.
intense
Contributor
Contributor
Posts: 10494
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

CubanBoi
Guest

Post by CubanBoi »

rhanajoy wrote:Hi! Rhana, AdBlock Community Manager, here. We're suddenly getting lots of reports that pre-roll and in-video ads are appearing in YouTube videos again. It may or may not be related to a recent Chrome upgrade. I searched the forums here and didn't find any other posts about this, so forgive me if I'm telling you something you already know. :)
Are there any plans to fix this, or is this just something we'll have to deal with due to the new chrome?
NicoTheSerperior
Guest

Post by NicoTheSerperior »

I tried the suggestions on the fourms (Minus reinstalling chrome, of course.)

I'm still not sure why this is happening.
intense
Contributor
Contributor
Posts: 10494
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

a user reported on ABP forum:
I manually added the filter "youtube.com##video[src="blob:https%3A//www.youtube.com/eac9235f-3159-4e72-946c-3c22db48290a"]" and that seem to work.
https://adblockplus.org/forum/viewtopic ... 70#p137870
NicoTheSerperior
Guest

Post by NicoTheSerperior »

intense wrote:a user reported on ABP forum:
I manually added the filter "youtube.com##video[src="blob:https%3A//www.youtube.com/eac9235f-3159-4e72-946c-3c22db48290a"]" and that seem to work.
https://adblockplus.org/forum/viewtopic ... 70#p137870

I don't know how to make it work; it fails everytime for me.
rhanajoy
AdBlock Community Manager
AdBlock Community Manager
Posts: 292
Joined: Fri Jul 03, 2015 10:40 am

Post by rhanajoy »

CubanBoi, please see our Knowledge Base article for everything we know about this right now: http://support.getadblock.com/kb/recent ... -in-chrome. (NicoTheSuperior, that article also explains how to add the filter in AdBlock. I think it will work similarly in ABP or other ad blockers.)

This appears not to be exclusive to AdBlock but is happening with all ad blockers. That suggests Google has found a way around the EasyList filters, which aren't maintained by AdBlock.
Rhana
AdBlock Community Manager

Posting on behalf of AdBlock (not ABP), when users come to us first and we have some reason to get involved with the discussion. http://help.getadblock.com
intense
Contributor
Contributor
Posts: 10494
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

if

Code: Select all

youtube.com##video[src="blob:https%3A//www.youtube.com/eac9235f-3159-4e72-946c-3c22db48290a"]
does not work, try:

Code: Select all

youtube.com##video[src^="blob:https"]
NicoTheSerperior
Guest

Post by NicoTheSerperior »

intense wrote:if

Code: Select all

youtube.com##video[src="blob:https%3A//www.youtube.com/eac9235f-3159-4e72-946c-3c22db48290a"]
does not work, try:

Code: Select all

youtube.com##video[src^="blob:https"]
The second filter just makes the video go all black.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

Code: Select all

blob:http%3A://www.youtube.com/eac9235f-3159-4e72-946c-3c22db48290a
This is the sort of URL one gets when using URL.createObjectURL(). However, this must be fed a Blob object, and surely the data for this blob object comes from somewhere. I am wondering if Youtube might be using a web socket connection to download this data: Chromium's webRequest API does not allow extensions to listen to web socket connections (Chromium issue 129353)
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 »

please unlock this topic viewtopic.php?f=62&t=25052 it is an adware infection :? not Youtube ads.

Thanks!
Med
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

Confirmed to be a Chrome 45+ issue: https://code.google.com/p/chromium/issu ... =526413#c6
Confirmed that this happens with all adblockers [...] I think I've figured this out. It was a security fix tracked in bug 510802 which we can't make public yet, but it has the details.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

Somebody left a tip on my issue tracker:
This happens if you have youtube app in chrome, remove it and uBlock starts working.

The new webrequest filtering code treats those apps like extensions and filters the requests out.
I can't confirm this workaround myself, as I have never been able to reproduce the issue so far.
intense
Contributor
Contributor
Posts: 10494
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

it seems to work removing YT app from chrome:
https://adblockplus.org/forum/viewtopic ... 67#p137967
InfiniteIce
Guest

Post by InfiniteIce »

Confirmed Chrome bug, the youtube app is being treated as a full extension and therefore not being filtered by any ad-blocking service (ABP, ublock, etc).

Individual ads can still be blocked via page inspection of ad elements & manual filtering of these elements, but you will still see other ads after blocking these individually. So unless you want to block them all individually, each time they appear, you need to disable the youtube app in chrome.

https://code.google.com/p/chromium/issu ... ?id=526413

-Navigate to chrome://apps
-Right click the Youtube app, click remove.

You don't need the YouTube app to use youtube.com and this can safely be disabled either permanently or untilt he next Chrome update that fixes the underlying security vulnerability causing the app to be treated as a full browser extension.
Zahndethus
Guest

Post by Zahndethus »

Removing YT app seems to have worked! :banana:
Locked