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

Commit af86dd8

Browse files
committed
fix(youtube/general-ads-patch): revert reducing filter exclusions
1 parent 2ebadaf commit af86dd8

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public GeneralBytecodeAdsPatch() {
214214
//"full_width_square_image_layout",
215215
"video_display_full_buttoned_layout",
216216
"_ad",
217-
"ad_badge",
217+
"ad_",
218218
"ads_video_with_context",
219219
"banner_text_icon",
220220
"cell_divider",
@@ -258,12 +258,18 @@ public GeneralBytecodeAdsPatch() {
258258
public boolean filter(final String path, final String identifier) {
259259
// Do not block on these
260260
if (ReVancedUtils.containsAny(path,
261-
"comment_thread",
262261
"home_video_with_context",
263262
"related_video_with_context",
264263
"search_video_with_context",
265-
"horizontal_shelf",
266-
"playlist_add_to_option_wrapper"
264+
"comment_thread", // skip blocking anything in the comments
265+
"download_",
266+
"library_recent_shelf",
267+
"menu",
268+
"root",
269+
"-count",
270+
"-space",
271+
"-button",
272+
"playlist_add_to_option_wrapper" // do not block on "add to playlist" flyout menu
267273
)) return false;
268274

269275
for (var rule : register) {

0 commit comments

Comments
 (0)