Skip to content

Loading…

How to block a div by class inside an iframe? #337

Closed
BernardoLima opened this Issue · 4 comments

2 participants

@BernardoLima

Could someone help me with that?

@gorhill

Currently the element picker doesn't work inside an iframe: issue #88. I don't see technical difficulty in implementing this, it's just being busy with other things.

Current workaround would be to use the browser's element inspector, or maybe open the URL of the iframe into it's own web page and from there use the element picker as usual.

What's the URL of the iframe and div class name?

@BernardoLima

I've tried to go to the iframe page directly, but it won't load when accessed directly.
This is the page:
http://br.advfn.com/bolsa-de-valores/bovespa/petrobras-PETR4/grafico/tempo-real?mode=html5

I've created an account only for you login:
User: disporegister
Password: 123456

I would like to know how to block the following element:
<div class="onchart-tv-logo wrapper">

Thanks for your help and this awesome extension.

@gorhill

This filter works for me: br.advfn.com##.onchart-tv-logo.wrapper

@BernardoLima

Awesome, thank you very much for your help :)

@andre-hub andre-hub pushed a commit to andre-hub/uBlock that referenced this issue
@gorhill gorhill this addresses #337 ba0ff8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.