some filters are redundant...

General information, announcements and questions about the EasyList subscriptions.
Locked
maybee Verified
Corset Author
Corset Author
Posts: 10
Joined: Sat Jan 16, 2010 6:37 pm

some filters are redundant...

Post by maybee Verified »

there are these filters in the easylist.

Code: Select all

||adserver.yahoo.com^
||adserver.yahoo.com^$third-party

Code: Select all

||uimserv.net^
||uimserv.net^$third-party
I think some filters are useless filters.
Michael Verified
Contributor
Contributor
Posts: 4124
Joined: Sun Aug 23, 2009 8:08 pm

Post by Michael Verified »

The presence of both ||adserver.yahoo.com^ and ||adserver.yahoo.com^$third-party is intentional; however, I am struggling to find an example of where ||uimserv.net^ would be required.
MonztA Verified
EasyList Author
EasyList Author
Posts: 8121
Joined: Thu Jul 26, 2007 4:19 pm
Location: Germany

Post by MonztA Verified »

The logout page of web.de ("https://creativeproxy.uimserv.net") needs ||uimserv.net^
Michael Verified
Contributor
Contributor
Posts: 4124
Joined: Sun Aug 23, 2009 8:08 pm

Post by Michael Verified »

Thanks MonztA. This means that all redundancy present in the subscription is intentional; there are two different filters present to properly distinguish between the specific rules required and ones which block third-party tracking domains.
User avatar
Hubird Verified
Adversity Author
Adversity Author
Posts: 1768
Joined: Sun Sep 30, 2007 4:31 am
Location: Australia

Post by Hubird Verified »

You should run EasyList through the redundant filter checker again, I was messing about and it came up with a few redundant filters.


Also you have some redundant hides:
Line 1946: ###leader-sponsor
Line 5032: komonews.com###leader-sponsor

Line 2734: ##.articleEmbeddedAdBox
Line 5432: sbsun.com##.articleEmbeddedAdBox
Line 5141: mercurynews.com##.articleEmbeddedAdBox

Line 2805: ##.cbstv_ad_label
Line 4572: cbs5.com##.cbstv_ad_label

Line 3027: ##.mpuBox
Line 5336: pcpro.co.uk##.mpuBox

Line 3096: ##.remads
Line 4816: filestube.com##.remads

Line 3163: ##.sitesponsor
Line 5544: sunderlandecho.com##.sitesponsor
Michael Verified
Contributor
Contributor
Posts: 4124
Joined: Sun Aug 23, 2009 8:08 pm

Post by Michael Verified »

Thanks for letting me know; I have removed the redundant filters present in EasyList (https://hg.adblockplus.org/easylist/rev/243d686c85f6 and https://hg.adblockplus.org/easylist/rev/6a6bf9bd6b22). Out of interest, how did you discover the redundant hiding rules?
User avatar
Hubird Verified
Adversity Author
Adversity Author
Posts: 1768
Joined: Sun Sep 30, 2007 4:31 am
Location: Australia

Post by Hubird Verified »

Michael wrote:Out of interest, how did you discover the redundant hiding rules?
I have a family member who is a Software Developer, if I do enough nagging they will sometimes create utilities to make my adblocking easier. One to find redundant hides was the most recent.
User avatar
Erunno
Emeritus Contributor
Emeritus Contributor
Posts: 1866
Joined: Fri Dec 05, 2008 5:21 pm

Post by Erunno »

One could probably use ABP's substring search algorithm to detect redundant filter as well.
Zombie Contributor
Locked