AdguardFilters
AdguardFilters copied to clipboard
Cleanup duplicate rules in AnnoyancesFilter (Popup/antiadblock.txt) part 4
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.
##.adb
##.adb-def
##.adblock
##.adblock_floating_message
##.adblocker
##.ads
##.information-container
##.no-adb
##.noticeContainer
##.special-message-wrapper
##body > div[id][class][style*="z-index: 9999"]
##body > div[id][class][style*="z-index: 9999"] + div[class][style*="z-index: 9999"]
#%#//scriptlet("abort-on-property-read", "adBlockDetected")
#%#//scriptlet("abort-on-property-read", "adsBlocked")
#%#//scriptlet("prevent-setTimeout", "test.offsetHeight")
#%#//scriptlet("set-constant", "adblock", "false")
#%#//scriptlet("set-constant", "adsbygoogle.loaded", "true")
#%#//scriptlet("set-constant", "alert", "undefined")
#%#//scriptlet('abort-on-property-read', 'Object.prototype.renderDirect')
#%#//scriptlet('json-prune', '[].slot')
#%#//scriptlet('json-prune', 'ads')
#%#//scriptlet('json-prune', 'direct rtb')
#%#//scriptlet('prevent-setTimeout', '#rbm_block_active')
#%#//scriptlet('set-constant', 'google_ad_modifications', 'emptyObj')
#@##adframe:not(frameset)
maximum.ru,rusradio.ru,dfm.ru##.ad-blocked-message
maximum.ru##.ad-blocked-message
Proposed solution
Consolidate rules if possible.
Additional information
No response