Skip to content
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

Can't block div and video #2328

Closed
BratSinot opened this issue Jan 22, 2017 · 2 comments
Closed

Can't block div and video #2328

BratSinot opened this issue Jan 22, 2017 · 2 comments

Comments

@BratSinot
Copy link

BratSinot commented Jan 22, 2017

On some site we have HTML5 video-player with ads.
P.S. For example this video.
If we block www.xn----etbbecbrbp5ahkja1ae7v.xn--p1ai/videoreklama advertising will not be displayed.
But in code we have 2 tags div and video with elite_vp_videoPlayerAD class.
Then i try block they, like this "##.elite_vp_videoPlayerAD", or this "##div[class="elite_vp_videoPlayerAD"]" uBlock just didn't seem them.

I use Chromium 58.0.2988.0 and latest uBlock Origin.
scr

@gorhill
Copy link
Owner

gorhill commented Jan 22, 2017

It's inside an iframe, the picker works only on top document, not embedded document.

Duplicate of #1744.

If you know the hostname of the iframe which contains .elite_vp_videoPlayerAD, then just manually add the filter in "My filters" pane: example.com##.elite_vp_videoPlayerAD.

@gorhill
Copy link
Owner

gorhill commented Jan 22, 2017

Looking at your screenshot, you might have been looking for kingisepp-today.ru##.elite_vp_videoPlayerAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants