From 5394bf7241a8bcea1e3fc5ff3e5541dfb70f5302 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:19:20 -0400 Subject: [PATCH] fix(YouTube - Hide ads): Hide new types of ads --- .../extension/youtube/patches/components/AdsFilter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/AdsFilter.java b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/AdsFilter.java index 0bf9e9c3fd..8b2c5465bb 100644 --- a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/AdsFilter.java +++ b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/AdsFilter.java @@ -101,7 +101,9 @@ public AdsFilter() { final var viewProducts = new StringFilterGroup( Settings.HIDE_PRODUCTS_BANNER, "product_item", - "products_in_video" + "products_in_video", + "shopping_overlay.eml", // Video player overlay shopping links. + "shopping_carousel.eml" // Channel profile shopping shelf. ); shoppingLinks = new StringFilterGroup(