Bug of element hiding rules

Posting here is no longer possible, please use the corresponding product forum.
Locked
knight00931
Posts: 62
Joined: Fri Aug 27, 2010 5:53 am
Location: Taiwan

Bug of element hiding rules

Post by knight00931 »

I am using ABP dev build 2.0.4b.3043 with Firefox Nightly 20120410 on Win7 Enterprise x64 sp1.

Steps to reproduce:

1. Go en/
2. Add ##body ,page content is hided.
3. Add ~adblockplus.org##body then refresh. Page content isn't hided now (but it shoud be).
4. disable ##body , then enable it.
5. Refresh the Page. Content is hided again.
6. disable ~adblockplus.org##body , then enable it.
7. Refresh the Page. Page content isn't hided now, but it shoud be.

I believe ##body should hide everything even there is another filter like ~adblockplus.org##body.
So could you fix it?Thanks.
Last edited by knight00931 on Wed Apr 11, 2012 4:30 pm, edited 1 time in total.
Lain_13
Posts: 114
Joined: Fri Dec 18, 2009 5:24 pm
Location: Wonderful World, Ubuntu Linux
Contact:

Re: bug of element hiding rules

Post by Lain_13 »

I actually would like to have opposite thing like hide merging functionality.

So if we have 3 rules:
#body
~adblockplus.org,~another.site##body
~something.else,~another.site##body
they will be represented as ~adblockplus.org,~another.site,~something.else##body
This function must not merge '~domain' and 'domain' rules! So if we have rule domain.name##body then it must not be merged with exceptions.

Such functionality will allow to make exceptions for hiding rules from main subscription in regional subscriptions without necessity to modify main subscription.
dindog
Posts: 14
Joined: Sun Dec 12, 2010 7:07 pm

Re: Bug of element hiding rules

Post by dindog »

I agree with Lain_13. In fact, I even make a feature request about whitelist existing rule...( I even come up with a not so well implement.)
forum/viewtopic.php?f=11&t=9660

why would you want that? It would helpful for us, making Easylist false positive rule ( in non-English regions ) inactivate accurately instead of putting a universal whitelist like $elemhide.
Last edited by dindog on Mon Apr 16, 2012 9:44 pm, edited 1 time in total.
knight00931
Posts: 62
Joined: Fri Aug 27, 2010 5:53 am
Location: Taiwan

Re: Bug of element hiding rules

Post by knight00931 »

I am now talking about a BUG, the same filters but different behavior.
If you have any suggestions, just use another topic, OK?
Last edited by knight00931 on Mon Apr 16, 2012 9:53 pm, edited 2 times in total.
dindog
Posts: 14
Joined: Sun Dec 12, 2010 7:07 pm

Re: Bug of element hiding rules

Post by dindog »

err.. it probably relates to the recent change that make pattern.ini async
Locked