Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit f96dc38

Browse files
authored
fix: revert consolidating ad filters
This reverts commit 8a39551.
1 parent 481b8d6 commit f96dc38

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ private static boolean containsLithoAd(String value, ByteBuffer buffer) {
3232
List<String> bufferBlockList = new ArrayList<>();
3333

3434
if (SettingsEnum.ADREMOVER_AD_REMOVAL.getBoolean()) {
35-
bufferBlockList.add("/ads.");
36-
bufferBlockList.add("/googleads.");
37-
bufferBlockList.add("/pagead/");
38-
35+
blockList.add("_ad");
36+
blockList.add("ad_badge");
37+
blockList.add("ads_video_with_context");
3938
blockList.add("cell_divider");
4039
blockList.add("reels_player_overlay");
4140
blockList.add("shelf_header");
41+
blockList.add("text_search_ad_with_description_first");
4242
blockList.add("watch_metadata_app_promo");
43+
blockList.add("video_display_full_layout");
44+
45+
bufferBlockList.add("ad_cpn");
4346
}
4447
if (SettingsEnum.ADREMOVER_SUGGESTED_FOR_YOU_REMOVAL.getBoolean()) {
4548
bufferBlockList.add("watch-vrecH");

0 commit comments

Comments
 (0)