AdguardFilters icon indicating copy to clipboard operation
AdguardFilters copied to clipboard

Cleanup duplicate rules in MobileFilter (specific_web.txt)

Open SKEIDs opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I checked the documentation and found no answer;
  • [X] I checked to make sure that this issue has not already been filed;
  • [X] This is not an ad/bug report.

Problem description

There are multiple duplicate rules in the filters.

###ad-top-2
###article-1_5
##.article-mobile-ad
##.ccmcss_oas_top
##.center-spot
##.displayAd
##.div_sticky2
##.header-fixed-area
##.infeed
##.metro-amp-ad
##.single_ads
###.top
##div[class^="TwoColumnsWithHorizontalAdMosaicWrapper"]
##iframe[width="300"][height="100"]
gptoday.net###gptoday_ros_bravo_mobile
4gamers.com.tw##.mobile-bottom-ads
4gamers.com.tw##.interstitial-ads
m.winfuture.de#?##articleBody > div:has(> div[id^="div-gpt-ad"])

Proposed solution

Consolidate or remove rules if possible.

Additional information

These rules are grouped by domain, so I was unable to determine whether the rules should be merged. If necessary, please merge the rules on the maintainer side or send a comment on the pull request. Here are some examples of such rules:

##.ad-inread
##.adsbygoogle
##.amp-flying-carpet-text-border
##.pop-fade
##amp-fx-flying-carpet
##article[data-teaser-type="unspecified_group"]
##style[type="text/css"] + div[class]:not([id]):not([style]):not([class*=" "])
m.formel1.de##.b-top-container
formel1.de##.b-top-container
wetter.com##div[id^="somtag-container"]
wetter.com#?#div[id^="somtag-container"]

SKEIDs avatar Apr 17 '24 20:04 SKEIDs