Bug in Element Hiding Helper?

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
cmmc
Posts: 158
Joined: Fri Apr 22, 2011 8:15 pm

Bug in Element Hiding Helper?

Post by cmmc »

When you use EHH and edit the filter to change the filter to a parent or other element, EHH appends some elements (as I mentioned here: forum/viewtopic.php?f=1&t=45102#p151412) - this seemed a benign though odd behaviour.

But under certain conditions, when you try the above, the filter is changed in such a way that it becomes too broad and filters out more than what you intend it to.
See here: http://www.zerohedge.com/news/2016-06-1 ... on-hillary

Select this element:

Code: Select all

zerohedge.com###ad-sidebarleft-top
Now change the filter to this one:

Code: Select all

zerohedge.com###ad-header
You'll end up with this filter:

Code: Select all

zerohedge.com###ad-header + * + * + * > *
The whole page gets filtered out except for some headers.
Fixing the filter solves the problem, which means the culprit is not the filtered element itself.

For the record, these are the filters I use in that site:

Code: Select all

zerohedge.com##.ad-container
zerohedge.com##.ad-container.ad-box
zerohedge.com##.ad-container.ad-banner-vertical.ad-show-text
zerohedge.com###ad-header
zerohedge.com###ad-mobile-leaderboard
Last edited by cmmc on Fri Jun 17, 2016 10:33 pm, edited 1 time in total.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Bug in Element Hiding Helper?

Post by mapx »

I noted it too, I don't know if it's a bug or intended behaviour.
You should report it on the bug tracker:
https://issues.adblockplus.org
cmmc
Posts: 158
Joined: Fri Apr 22, 2011 8:15 pm

Re: Bug in Element Hiding Helper?

Post by cmmc »

Post Reply