mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-03 17:22:54 +01:00
fix: consolidate ad filters (#140)
This commit is contained in:
parent
d7b1bc12fb
commit
8a39551aba
@ -32,17 +32,14 @@ public class GeneralBytecodeAdsPatch {
|
|||||||
List<String> bufferBlockList = new ArrayList<>();
|
List<String> bufferBlockList = new ArrayList<>();
|
||||||
|
|
||||||
if (SettingsEnum.ADREMOVER_AD_REMOVAL.getBoolean()) {
|
if (SettingsEnum.ADREMOVER_AD_REMOVAL.getBoolean()) {
|
||||||
blockList.add("_ad");
|
bufferBlockList.add("/ads.");
|
||||||
blockList.add("ad_badge");
|
bufferBlockList.add("/googleads.");
|
||||||
blockList.add("ads_video_with_context");
|
bufferBlockList.add("/pagead/");
|
||||||
|
|
||||||
blockList.add("cell_divider");
|
blockList.add("cell_divider");
|
||||||
blockList.add("reels_player_overlay");
|
blockList.add("reels_player_overlay");
|
||||||
blockList.add("shelf_header");
|
blockList.add("shelf_header");
|
||||||
blockList.add("text_search_ad_with_description_first");
|
|
||||||
blockList.add("watch_metadata_app_promo");
|
blockList.add("watch_metadata_app_promo");
|
||||||
blockList.add("video_display_full_layout");
|
|
||||||
|
|
||||||
bufferBlockList.add("ad_cpn");
|
|
||||||
}
|
}
|
||||||
if (SettingsEnum.ADREMOVER_SUGGESTED_FOR_YOU_REMOVAL.getBoolean()) {
|
if (SettingsEnum.ADREMOVER_SUGGESTED_FOR_YOU_REMOVAL.getBoolean()) {
|
||||||
bufferBlockList.add("watch-vrecH");
|
bufferBlockList.add("watch-vrecH");
|
||||||
|
Loading…
Reference in New Issue
Block a user