mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-16 07:43:56 +00:00
Compare commits
8 Commits
v5.47.0-de
...
v5.47.0-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
144e6e2694 | ||
|
|
847ee189a9 | ||
|
|
dc813fe617 | ||
|
|
02831a6069 | ||
|
|
5228fd4b58 | ||
|
|
6bd7dca75b | ||
|
|
22ed7bfbb3 | ||
|
|
a7c220a4ae |
28
CHANGELOG.md
28
CHANGELOG.md
@@ -1,3 +1,31 @@
|
||||
# [5.47.0-dev.13](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.12...v5.47.0-dev.13) (2025-12-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **Peacock TV:** Add `Hide ads` patch ([#6348](https://github.com/ReVanced/revanced-patches/issues/6348)) ([847ee18](https://github.com/ReVanced/revanced-patches/commit/847ee189a971e6d4a99823998569f8e561b8319c))
|
||||
|
||||
# [5.47.0-dev.12](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.11...v5.47.0-dev.12) (2025-12-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **YouTube - Hide layout components:** Add "Hide Join button" and "Hide Subscribe button" options for channel page ([#6345](https://github.com/ReVanced/revanced-patches/issues/6345)) ([02831a6](https://github.com/ReVanced/revanced-patches/commit/02831a6069fc30ffa3a87f8e4de653d003a2187e))
|
||||
|
||||
# [5.47.0-dev.11](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.10...v5.47.0-dev.11) (2025-12-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **Disney+:** Add `Skip ads` patch ([#6343](https://github.com/ReVanced/revanced-patches/issues/6343)) ([6bd7dca](https://github.com/ReVanced/revanced-patches/commit/6bd7dca75bd2ea335a596aa93a8b767d39be5f83))
|
||||
|
||||
# [5.47.0-dev.10](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.9...v5.47.0-dev.10) (2025-12-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **YouTube - Hide Shorts components:** Add "Hide auto-dubbed label" and "Hide live preview" options ([#6334](https://github.com/ReVanced/revanced-patches/issues/6334)) ([a7c220a](https://github.com/ReVanced/revanced-patches/commit/a7c220a4aea93ea7ae7005b5760443d7571c4228))
|
||||
|
||||
# [5.47.0-dev.9](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.8...v5.47.0-dev.9) (2025-12-08)
|
||||
|
||||
|
||||
|
||||
@@ -63,19 +63,19 @@ public final class LayoutComponentsFilter extends Filter {
|
||||
|
||||
// Identifiers.
|
||||
|
||||
final var cellDivider = new StringFilterGroup(
|
||||
Settings.HIDE_CELL_DIVIDER,
|
||||
"cell_divider"
|
||||
);
|
||||
|
||||
final var chipsShelf = new StringFilterGroup(
|
||||
Settings.HIDE_CHIPS_SHELF,
|
||||
"chips_shelf"
|
||||
);
|
||||
|
||||
final var visualSpacer = new StringFilterGroup(
|
||||
Settings.HIDE_VISUAL_SPACER,
|
||||
"cell_divider"
|
||||
);
|
||||
|
||||
addIdentifierCallbacks(
|
||||
cellDivider,
|
||||
chipsShelf
|
||||
chipsShelf,
|
||||
visualSpacer
|
||||
);
|
||||
|
||||
// Paths.
|
||||
@@ -266,12 +266,20 @@ public final class LayoutComponentsFilter extends Filter {
|
||||
);
|
||||
channelProfileBuffer = new ByteArrayFilterGroupList();
|
||||
channelProfileBuffer.addAll(new ByteArrayFilterGroup(
|
||||
Settings.HIDE_VISIT_STORE_BUTTON,
|
||||
"header_store_button"
|
||||
Settings.HIDE_STORE_BUTTON,
|
||||
"store_button"
|
||||
),
|
||||
new ByteArrayFilterGroup(
|
||||
Settings.HIDE_VISIT_COMMUNITY_BUTTON,
|
||||
Settings.HIDE_COMMUNITY_BUTTON,
|
||||
"community_button"
|
||||
),
|
||||
new ByteArrayFilterGroup(
|
||||
Settings.HIDE_JOIN_BUTTON,
|
||||
"sponsor_button"
|
||||
),
|
||||
new ByteArrayFilterGroup(
|
||||
Settings.HIDE_SUBSCRIBE_BUTTON_IN_CHANNEL_PAGE,
|
||||
"subscribe_menu"
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -44,9 +44,10 @@ public final class ShortsFilter extends Filter {
|
||||
private final StringFilterGroup useTemplateButton;
|
||||
private final ByteArrayFilterGroup useTemplateButtonBuffer;
|
||||
|
||||
private final StringFilterGroup autoDubbedLabel;
|
||||
private final StringFilterGroup subscribeButton;
|
||||
private final StringFilterGroup joinButton;
|
||||
private final StringFilterGroup paidPromotionButton;
|
||||
private final StringFilterGroup paidPromotionLabel;
|
||||
private final StringFilterGroup shelfHeader;
|
||||
|
||||
private final StringFilterGroup suggestedAction;
|
||||
@@ -161,6 +162,18 @@ public final class ShortsFilter extends Filter {
|
||||
"participation_bar.e"
|
||||
);
|
||||
|
||||
StringFilterGroup livePreview = new StringFilterGroup(
|
||||
Settings.HIDE_SHORTS_LIVE_PREVIEW,
|
||||
// Live Shorts preview that can popup while scrolling through Shorts player.
|
||||
// Can be removed if a way to disable live Shorts is found.
|
||||
"live_preview_page_vm.e"
|
||||
);
|
||||
|
||||
autoDubbedLabel = new StringFilterGroup(
|
||||
Settings.HIDE_SHORTS_AUTO_DUBBED_LABEL,
|
||||
"badge."
|
||||
);
|
||||
|
||||
joinButton = new StringFilterGroup(
|
||||
Settings.HIDE_SHORTS_JOIN_BUTTON,
|
||||
"sponsor_button"
|
||||
@@ -171,9 +184,10 @@ public final class ShortsFilter extends Filter {
|
||||
"subscribe_button"
|
||||
);
|
||||
|
||||
paidPromotionButton = new StringFilterGroup(
|
||||
paidPromotionLabel = new StringFilterGroup(
|
||||
Settings.HIDE_PAID_PROMOTION_LABEL,
|
||||
"reel_player_disclosure.e"
|
||||
"reel_player_disclosure.e",
|
||||
"shorts_disclosures.e"
|
||||
);
|
||||
|
||||
shortsActionBar = new StringFilterGroup(
|
||||
@@ -219,10 +233,10 @@ public final class ShortsFilter extends Filter {
|
||||
);
|
||||
|
||||
addPathCallbacks(
|
||||
shortsCompactFeedVideo, joinButton, subscribeButton, paidPromotionButton,
|
||||
shortsCompactFeedVideo, joinButton, subscribeButton, paidPromotionLabel, autoDubbedLabel,
|
||||
shortsActionBar, suggestedAction, pausedOverlayButtons, channelBar, previewComment,
|
||||
fullVideoLinkLabel, videoTitle, useSoundButton, reelSoundMetadata, soundButton, infoPanel,
|
||||
stickers, likeFountain, likeButton, dislikeButton
|
||||
stickers, likeFountain, likeButton, dislikeButton, livePreview
|
||||
);
|
||||
|
||||
//
|
||||
@@ -250,6 +264,12 @@ public final class ShortsFilter extends Filter {
|
||||
// Suggested actions.
|
||||
//
|
||||
suggestedActionsBuffer.addAll(
|
||||
new ByteArrayFilterGroup(
|
||||
Settings.HIDE_SHORTS_PREVIEW_COMMENT,
|
||||
// Preview comment that can popup while a Short is playing.
|
||||
// Uses no bundled icons, and instead the users profile photo is shown.
|
||||
"shorts-comments-panel"
|
||||
),
|
||||
new ByteArrayFilterGroup(
|
||||
Settings.HIDE_SHORTS_SHOP_BUTTON,
|
||||
"yt_outline_bag_"
|
||||
@@ -322,7 +342,8 @@ public final class ShortsFilter extends Filter {
|
||||
boolean isFiltered(String identifier, String path, byte[] buffer,
|
||||
StringFilterGroup matchedGroup, FilterContentType contentType, int contentIndex) {
|
||||
if (contentType == FilterContentType.PATH) {
|
||||
if (matchedGroup == subscribeButton || matchedGroup == joinButton || matchedGroup == paidPromotionButton) {
|
||||
if (matchedGroup == subscribeButton || matchedGroup == joinButton
|
||||
|| matchedGroup == paidPromotionLabel || matchedGroup == autoDubbedLabel) {
|
||||
// Selectively filter to avoid false positive filtering of other subscribe/join buttons.
|
||||
return path.startsWith(REEL_CHANNEL_BAR_PATH) || path.startsWith(REEL_METAPANEL_PATH);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,6 @@ public class Settings extends BaseSettings {
|
||||
// Feed
|
||||
public static final BooleanSetting HIDE_ALBUM_CARDS = new BooleanSetting("revanced_hide_album_cards", FALSE, true);
|
||||
public static final BooleanSetting HIDE_ARTIST_CARDS = new BooleanSetting("revanced_hide_artist_cards", FALSE);
|
||||
public static final BooleanSetting HIDE_CELL_DIVIDER = new BooleanSetting("revanced_hide_cell_divider", TRUE);
|
||||
public static final BooleanSetting HIDE_CHIPS_SHELF = new BooleanSetting("revanced_hide_chips_shelf", TRUE);
|
||||
public static final BooleanSetting HIDE_COMMUNITY_POSTS = new BooleanSetting("revanced_hide_community_posts", FALSE);
|
||||
public static final BooleanSetting HIDE_COMPACT_BANNER = new BooleanSetting("revanced_hide_compact_banner", TRUE);
|
||||
@@ -117,6 +116,7 @@ public class Settings extends BaseSettings {
|
||||
public static final BooleanSetting HIDE_UPLOAD_TIME = new BooleanSetting("revanced_hide_upload_time", FALSE, "revanced_hide_upload_time_user_dialog_message");
|
||||
public static final BooleanSetting HIDE_VIDEO_RECOMMENDATION_LABELS = new BooleanSetting("revanced_hide_video_recommendation_labels", TRUE);
|
||||
public static final BooleanSetting HIDE_VIEW_COUNT = new BooleanSetting("revanced_hide_view_count", FALSE, "revanced_hide_view_count_user_dialog_message");
|
||||
public static final BooleanSetting HIDE_VISUAL_SPACER = new BooleanSetting("revanced_hide_visual_spacer", TRUE);
|
||||
|
||||
// Alternative thumbnails
|
||||
public static final EnumSetting<ThumbnailOption> ALT_THUMBNAIL_HOME = new EnumSetting<>("revanced_alt_thumbnail_home", ThumbnailOption.ORIGINAL);
|
||||
@@ -138,11 +138,13 @@ public class Settings extends BaseSettings {
|
||||
parentsAny(HIDE_KEYWORD_CONTENT_HOME, HIDE_KEYWORD_CONTENT_SUBSCRIPTIONS, HIDE_KEYWORD_CONTENT_SEARCH));
|
||||
|
||||
// Channel page
|
||||
public static final BooleanSetting HIDE_COMMUNITY_BUTTON = new BooleanSetting("revanced_hide_community_button", TRUE);
|
||||
public static final BooleanSetting HIDE_FOR_YOU_SHELF = new BooleanSetting("revanced_hide_for_you_shelf", FALSE);
|
||||
public static final BooleanSetting HIDE_JOIN_BUTTON = new BooleanSetting("revanced_hide_join_button", FALSE);
|
||||
public static final BooleanSetting HIDE_LINKS_PREVIEW = new BooleanSetting("revanced_hide_links_preview", TRUE);
|
||||
public static final BooleanSetting HIDE_MEMBERS_SHELF = new BooleanSetting("revanced_hide_members_shelf", TRUE);
|
||||
public static final BooleanSetting HIDE_VISIT_COMMUNITY_BUTTON = new BooleanSetting("revanced_hide_visit_community_button", TRUE);
|
||||
public static final BooleanSetting HIDE_VISIT_STORE_BUTTON = new BooleanSetting("revanced_hide_visit_store_button", TRUE);
|
||||
public static final BooleanSetting HIDE_STORE_BUTTON = new BooleanSetting("revanced_hide_store_button", TRUE);
|
||||
public static final BooleanSetting HIDE_SUBSCRIBE_BUTTON_IN_CHANNEL_PAGE = new BooleanSetting("revanced_hide_subscribe_button_in_channel_page", FALSE);
|
||||
|
||||
// Player
|
||||
public static final BooleanSetting COPY_VIDEO_URL = new BooleanSetting("revanced_copy_video_url", FALSE);
|
||||
@@ -231,11 +233,11 @@ public class Settings extends BaseSettings {
|
||||
public static final BooleanSetting HIDE_HYPE_BUTTON = new BooleanSetting("revanced_hide_hype_button", FALSE);
|
||||
public static final BooleanSetting HIDE_LIKE_DISLIKE_BUTTON = new BooleanSetting("revanced_hide_like_dislike_button", FALSE);
|
||||
public static final BooleanSetting HIDE_PROMOTE_BUTTON = new BooleanSetting("revanced_hide_promote_button", FALSE);
|
||||
public static final BooleanSetting HIDE_REMIX_BUTTON = new BooleanSetting("revanced_hide_remix_button", TRUE);
|
||||
public static final BooleanSetting HIDE_REMIX_BUTTON = new BooleanSetting("revanced_hide_remix_button", FALSE);
|
||||
public static final BooleanSetting HIDE_REPORT_BUTTON = new BooleanSetting("revanced_hide_report_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SAVE_BUTTON = new BooleanSetting("revanced_hide_save_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHARE_BUTTON = new BooleanSetting("revanced_hide_share_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHOP_BUTTON = new BooleanSetting("revanced_hide_shop_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHOP_BUTTON = new BooleanSetting("revanced_hide_shop_button", TRUE);
|
||||
public static final BooleanSetting HIDE_STOP_ADS_BUTTON = new BooleanSetting("revanced_hide_stop_ads_button", TRUE);
|
||||
public static final BooleanSetting HIDE_THANKS_BUTTON = new BooleanSetting("revanced_hide_thanks_button", TRUE);
|
||||
|
||||
@@ -295,6 +297,7 @@ public class Settings extends BaseSettings {
|
||||
public static final BooleanSetting DISABLE_RESUMING_SHORTS_PLAYER = new BooleanSetting("revanced_disable_resuming_shorts_player", FALSE);
|
||||
public static final BooleanSetting DISABLE_SHORTS_BACKGROUND_PLAYBACK = new BooleanSetting("revanced_shorts_disable_background_playback", FALSE);
|
||||
public static final EnumSetting<ShortsPlayerType> SHORTS_PLAYER_TYPE = new EnumSetting<>("revanced_shorts_player_type", ShortsPlayerType.SHORTS_PLAYER);
|
||||
public static final BooleanSetting HIDE_SHORTS_AUTO_DUBBED_LABEL = new BooleanSetting("revanced_hide_shorts_auto_dubbed_label", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_CHANNEL_BAR = new BooleanSetting("revanced_hide_shorts_channel_bar", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_COMMENTS_BUTTON = new BooleanSetting("revanced_hide_shorts_comments_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_DISLIKE_BUTTON = new BooleanSetting("revanced_hide_shorts_dislike_button", FALSE);
|
||||
@@ -309,11 +312,12 @@ public class Settings extends BaseSettings {
|
||||
public static final BooleanSetting HIDE_SHORTS_JOIN_BUTTON = new BooleanSetting("revanced_hide_shorts_join_button", TRUE);
|
||||
public static final BooleanSetting HIDE_SHORTS_LIKE_BUTTON = new BooleanSetting("revanced_hide_shorts_like_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_LIKE_FOUNTAIN = new BooleanSetting("revanced_hide_shorts_like_fountain", TRUE);
|
||||
public static final BooleanSetting HIDE_SHORTS_LIVE_PREVIEW = new BooleanSetting("revanced_hide_shorts_live_preview", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_LOCATION_LABEL = new BooleanSetting("revanced_hide_shorts_location_label", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_NAVIGATION_BAR = new BooleanSetting("revanced_hide_shorts_navigation_bar", FALSE, true);
|
||||
public static final BooleanSetting HIDE_SHORTS_PAUSED_OVERLAY_BUTTONS = new BooleanSetting("revanced_hide_shorts_paused_overlay_buttons", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_PREVIEW_COMMENT = new BooleanSetting("revanced_hide_shorts_preview_comment", TRUE);
|
||||
public static final BooleanSetting HIDE_SHORTS_REMIX_BUTTON = new BooleanSetting("revanced_hide_shorts_remix_button", TRUE);
|
||||
public static final BooleanSetting HIDE_SHORTS_REMIX_BUTTON = new BooleanSetting("revanced_hide_shorts_remix_button", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_SAVE_SOUND_BUTTON = new BooleanSetting("revanced_hide_shorts_save_sound_button", TRUE);
|
||||
public static final BooleanSetting HIDE_SHORTS_SEARCH = new BooleanSetting("revanced_hide_shorts_search", FALSE);
|
||||
public static final BooleanSetting HIDE_SHORTS_SEARCH_SUGGESTIONS = new BooleanSetting("revanced_hide_shorts_search_suggestions", TRUE);
|
||||
|
||||
@@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M
|
||||
org.gradle.parallel = true
|
||||
android.useAndroidX = true
|
||||
kotlin.code.style = official
|
||||
version = 5.47.0-dev.9
|
||||
version = 5.47.0-dev.13
|
||||
|
||||
@@ -188,6 +188,10 @@ public final class app/revanced/patches/crunchyroll/ads/HideAdsPatchKt {
|
||||
public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
public final class app/revanced/patches/disneyplus/ads/SkipAdsPatchKt {
|
||||
public static final fun getSkipAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
public final class app/revanced/patches/duolingo/ad/DisableAdsPatchKt {
|
||||
public static final fun getDisableAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
@@ -569,6 +573,10 @@ public final class app/revanced/patches/pandora/misc/EnableUnlimitedSkipsPatchKt
|
||||
public static final fun getEnableUnlimitedSkipsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
public final class app/revanced/patches/peacocktv/ads/HideAdsPatchKt {
|
||||
public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
public final class app/revanced/patches/photomath/detection/deviceid/SpoofDeviceIdPatchKt {
|
||||
public static final fun getGetDeviceIdPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package app.revanced.patches.disneyplus.ads
|
||||
|
||||
import app.revanced.patcher.fingerprint
|
||||
|
||||
internal val insertionGetPointsFingerprint = fingerprint {
|
||||
returns("Ljava/util/List")
|
||||
custom { method, _ ->
|
||||
method.name == "getPoints" &&
|
||||
method.definingClass == "Lcom/dss/sdk/internal/media/Insertion;"
|
||||
}
|
||||
}
|
||||
|
||||
internal val insertionGetRangesFingerprint = fingerprint {
|
||||
returns("Ljava/util/List")
|
||||
custom { method, _ ->
|
||||
method.name == "getRanges" &&
|
||||
method.definingClass == "Lcom/dss/sdk/internal/media/Insertion;"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package app.revanced.patches.disneyplus.ads
|
||||
|
||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
||||
import app.revanced.patcher.patch.bytecodePatch
|
||||
|
||||
@Suppress("unused")
|
||||
val skipAdsPatch = bytecodePatch(
|
||||
name = "Skip ads",
|
||||
description = "Automatically skips ads.",
|
||||
) {
|
||||
compatibleWith("com.disney.disneyplus")
|
||||
|
||||
execute {
|
||||
arrayOf(insertionGetPointsFingerprint, insertionGetRangesFingerprint).forEach {
|
||||
it.method.addInstructions(
|
||||
0,
|
||||
"""
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
return-object v0
|
||||
""",
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package app.revanced.patches.peacocktv.ads
|
||||
|
||||
import app.revanced.patcher.fingerprint
|
||||
import com.android.tools.smali.dexlib2.AccessFlags
|
||||
|
||||
internal val mediaTailerAdServiceFingerprint = fingerprint {
|
||||
accessFlags(AccessFlags.PUBLIC)
|
||||
returns("Ljava/lang/Object")
|
||||
strings("Could not build MT Advertising service")
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package app.revanced.patches.peacocktv.ads
|
||||
|
||||
import app.revanced.patcher.patch.bytecodePatch
|
||||
import app.revanced.util.returnEarly
|
||||
|
||||
@Suppress("unused")
|
||||
val hideAdsPatch = bytecodePatch(
|
||||
name = "Hide ads",
|
||||
description = "Hides all video ads.",
|
||||
) {
|
||||
compatibleWith("com.peacocktv.peacockandroid")
|
||||
|
||||
execute {
|
||||
mediaTailerAdServiceFingerprint.method.returnEarly(false)
|
||||
}
|
||||
}
|
||||
@@ -215,16 +215,17 @@ val hideLayoutComponentsPatch = bytecodePatch(
|
||||
PreferenceScreenPreference(
|
||||
key = "revanced_channel_screen",
|
||||
preferences = setOf(
|
||||
SwitchPreference("revanced_hide_community_button"),
|
||||
SwitchPreference("revanced_hide_for_you_shelf"),
|
||||
SwitchPreference("revanced_hide_join_button"),
|
||||
SwitchPreference("revanced_hide_links_preview"),
|
||||
SwitchPreference("revanced_hide_members_shelf"),
|
||||
SwitchPreference("revanced_hide_visit_community_button"),
|
||||
SwitchPreference("revanced_hide_visit_store_button"),
|
||||
SwitchPreference("revanced_hide_store_button"),
|
||||
SwitchPreference("revanced_hide_subscribe_button_in_channel_page"),
|
||||
),
|
||||
),
|
||||
SwitchPreference("revanced_hide_album_cards"),
|
||||
SwitchPreference("revanced_hide_artist_cards"),
|
||||
SwitchPreference("revanced_hide_cell_divider"),
|
||||
SwitchPreference("revanced_hide_chips_shelf"),
|
||||
SwitchPreference("revanced_hide_community_posts"),
|
||||
SwitchPreference("revanced_hide_compact_banner"),
|
||||
@@ -247,6 +248,7 @@ val hideLayoutComponentsPatch = bytecodePatch(
|
||||
SwitchPreference("revanced_hide_upload_time"),
|
||||
SwitchPreference("revanced_hide_video_recommendation_labels"),
|
||||
SwitchPreference("revanced_hide_view_count"),
|
||||
SwitchPreference("revanced_hide_visual_spacer"),
|
||||
SwitchPreference("revanced_hide_doodles"),
|
||||
)
|
||||
|
||||
|
||||
@@ -101,6 +101,7 @@ private val hideShortsComponentsResourcePatch = resourcePatch {
|
||||
SwitchPreference("revanced_hide_shorts_effect_button"),
|
||||
SwitchPreference("revanced_hide_shorts_green_screen_button"),
|
||||
SwitchPreference("revanced_hide_shorts_hashtag_button"),
|
||||
SwitchPreference("revanced_hide_shorts_live_preview"),
|
||||
SwitchPreference("revanced_hide_shorts_new_posts_button"),
|
||||
SwitchPreference("revanced_hide_shorts_shop_button"),
|
||||
SwitchPreference("revanced_hide_shorts_tagged_products"),
|
||||
@@ -109,6 +110,7 @@ private val hideShortsComponentsResourcePatch = resourcePatch {
|
||||
SwitchPreference("revanced_hide_shorts_stickers"),
|
||||
|
||||
// Bottom of the screen.
|
||||
SwitchPreference("revanced_hide_shorts_auto_dubbed_label"),
|
||||
SwitchPreference("revanced_hide_shorts_location_label"),
|
||||
SwitchPreference("revanced_hide_shorts_channel_bar"),
|
||||
SwitchPreference("revanced_hide_shorts_info_panel"),
|
||||
|
||||
@@ -223,9 +223,6 @@ However, enabling this will also log some user data such as your IP address."</s
|
||||
<string name="revanced_hide_artist_cards_title">Hide artist cards</string>
|
||||
<string name="revanced_hide_artist_cards_summary_on">Artist cards are hidden</string>
|
||||
<string name="revanced_hide_artist_cards_summary_off">Artist cards are shown</string>
|
||||
<string name="revanced_hide_cell_divider_title">Hide cell divider</string>
|
||||
<string name="revanced_hide_cell_divider_summary_on">Cell divider (Visual space) is hidden</string>
|
||||
<string name="revanced_hide_cell_divider_summary_off">Cell divider (Visual space) is shown</string>
|
||||
<string name="revanced_hide_chips_shelf_title">Hide chips shelf</string>
|
||||
<string name="revanced_hide_chips_shelf_summary_on">Chips shelf is hidden</string>
|
||||
<string name="revanced_hide_chips_shelf_summary_off">Chips shelf is shown</string>
|
||||
@@ -289,6 +286,9 @@ However, enabling this will also log some user data such as your IP address."</s
|
||||
<string name="revanced_hide_video_recommendation_labels_title">Hide video recommendation labels</string>
|
||||
<string name="revanced_hide_video_recommendation_labels_summary_on">\'People also watched\' and \'You might also like\' labels in search results are hidden</string>
|
||||
<string name="revanced_hide_video_recommendation_labels_summary_off">\'People also watched\' and \'You might also like\' labels in search results are shown</string>
|
||||
<string name="revanced_hide_visual_spacer_title">Hide visual spacer</string>
|
||||
<string name="revanced_hide_visual_spacer_summary_on">Visual spacer is hidden</string>
|
||||
<string name="revanced_hide_visual_spacer_summary_off">Visual spacer is shown</string>
|
||||
<!-- https://logos.fandom.com/wiki/YouTube/Yoodles -->
|
||||
<string name="revanced_hide_doodles_title">Hide YouTube Doodles</string>
|
||||
<string name="revanced_hide_doodles_summary_on">YouTube Doodles animation on the logo is hidden</string>
|
||||
@@ -387,24 +387,32 @@ If a Doodle is currently showing in your region and this hide setting is on, the
|
||||
|
||||
<string name="revanced_channel_screen_title">Channel page</string>
|
||||
<string name="revanced_channel_screen_summary">Hide or show channel page components</string>
|
||||
<!-- 'Community' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_community_button_title">Hide Community button</string>
|
||||
<string name="revanced_hide_community_button_summary_on">Community button is hidden</string>
|
||||
<string name="revanced_hide_community_button_summary_off">Community button is shown</string>
|
||||
<!-- 'For You' should be translated using the same localized wording YouTube displays. -->
|
||||
<string name="revanced_hide_for_you_shelf_title">Hide \'For You\' shelf</string>
|
||||
<string name="revanced_hide_for_you_shelf_summary_on">For You shelf is hidden</string>
|
||||
<string name="revanced_hide_for_you_shelf_summary_off">For You shelf is shown</string>
|
||||
<!-- 'Join' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_join_button_title">Hide Join button</string>
|
||||
<string name="revanced_hide_join_button_summary_on">Join button is hidden</string>
|
||||
<string name="revanced_hide_join_button_summary_off">Join button is shown</string>
|
||||
<string name="revanced_hide_links_preview_title">Hide links preview</string>
|
||||
<string name="revanced_hide_links_preview_summary_on">Links preview is hidden</string>
|
||||
<string name="revanced_hide_links_preview_summary_off">Links preview is shown</string>
|
||||
<string name="revanced_hide_members_shelf_title">Hide members shelf</string>
|
||||
<string name="revanced_hide_members_shelf_summary_on">Members shelf is hidden</string>
|
||||
<string name="revanced_hide_members_shelf_summary_off">Members shelf is shown</string>
|
||||
<!-- 'Visit Community' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_visit_community_button_title">Hide \'Visit Community\' button</string>
|
||||
<string name="revanced_hide_visit_community_button_summary_on">Visit Community button is hidden</string>
|
||||
<string name="revanced_hide_visit_community_button_summary_off">Visit Community button is shown</string>
|
||||
<!-- 'Visit store' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_visit_store_button_title">Hide \'Visit store\' button</string>
|
||||
<string name="revanced_hide_visit_store_button_summary_on">Visit store button is hidden</string>
|
||||
<string name="revanced_hide_visit_store_button_summary_off">Visit store button is shown</string>
|
||||
<!-- 'Store' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_store_button_title">Hide Store button</string>
|
||||
<string name="revanced_hide_store_button_summary_on">Store button is hidden</string>
|
||||
<string name="revanced_hide_store_button_summary_off">Store button is shown</string>
|
||||
<!-- 'Subscribe' should be translated with the same localized wording that YouTube displays. -->
|
||||
<string name="revanced_hide_subscribe_button_in_channel_page_title">Hide Subscribe button</string>
|
||||
<string name="revanced_hide_subscribe_button_in_channel_page_summary_on">Subscribe button is hidden</string>
|
||||
<string name="revanced_hide_subscribe_button_in_channel_page_summary_off">Subscribe button is shown</string>
|
||||
|
||||
<string name="revanced_comments_screen_title">Comments</string>
|
||||
<string name="revanced_comments_screen_summary">Hide or show comments section components</string>
|
||||
@@ -547,11 +555,11 @@ This feature is only available for older devices"</string>
|
||||
<string name="revanced_share_copy_url_success">URL copied to clipboard</string>
|
||||
<string name="revanced_share_copy_url_timestamp_success">URL with timestamp copied</string>
|
||||
<string name="revanced_copy_video_url_title">Show copy video URL button</string>
|
||||
<string name="revanced_copy_video_url_summary_on">Button is shown. Tap to copy video URL. Tap and hold to copy with timestamp</string>
|
||||
<string name="revanced_copy_video_url_summary_off">Button is not shown</string>
|
||||
<string name="revanced_copy_video_url_summary_on">Copy video URL button is shown. Tap to copy video URL. Tap and hold to copy with timestamp</string>
|
||||
<string name="revanced_copy_video_url_summary_off">Copy video URL button is not shown</string>
|
||||
<string name="revanced_copy_video_url_timestamp_title">Show copy timestamp URL button</string>
|
||||
<string name="revanced_copy_video_url_timestamp_summary_on">Button is shown. Tap to copy video URL with timestamp. Tap and hold to copy without timestamp</string>
|
||||
<string name="revanced_copy_video_url_timestamp_summary_off">Button is not shown</string>
|
||||
<string name="revanced_copy_video_url_timestamp_summary_on">Copy timestamp URL button is shown. Tap to copy video URL with timestamp. Tap and hold to copy without timestamp</string>
|
||||
<string name="revanced_copy_video_url_timestamp_summary_off">Copy timestamp URL button is not shown</string>
|
||||
</patch>
|
||||
<patch id="interaction.dialog.removeViewerDiscretionDialogPatch">
|
||||
<string name="revanced_remove_viewer_discretion_dialog_title">Remove viewer discretion dialog</string>
|
||||
@@ -560,7 +568,7 @@ This feature is only available for older devices"</string>
|
||||
<string name="revanced_remove_viewer_discretion_dialog_user_dialog_message">This does not bypass the age restriction. It just accepts it automatically.</string>
|
||||
</patch>
|
||||
<patch id="layout.hide.signintotv.disableSignInToTvPopupPatch">
|
||||
<string name="revanced_disable_signin_to_tv_popup_title">Disable Sign in to TV popup</string>
|
||||
<string name="revanced_disable_signin_to_tv_popup_title">Disable \'Sign in to TV\' popup</string>
|
||||
<string name="revanced_disable_signin_to_tv_popup_summary_on">Sign in to TV popup is disabled</string>
|
||||
<string name="revanced_disable_signin_to_tv_popup_summary_off">Sign in to TV popup is enabled</string>
|
||||
</patch>
|
||||
@@ -692,7 +700,7 @@ Adjust volume by swiping vertically on the right side of the screen"</string>
|
||||
<string name="revanced_hide_download_button_summary_on">Download button is hidden</string>
|
||||
<string name="revanced_hide_download_button_summary_off">Download button is shown</string>
|
||||
<!-- 'Hype' should be translated with the same localized wording that YouTube displays.
|
||||
This button only shows on videos uploaded by the logged in user. -->
|
||||
This button only shows on videos uploaded by the logged-in user. -->
|
||||
<string name="revanced_hide_hype_button_title">Hide Hype</string>
|
||||
<string name="revanced_hide_hype_button_summary_on">Hype button is hidden</string>
|
||||
<string name="revanced_hide_hype_button_summary_off">Hype button is shown</string>
|
||||
@@ -893,13 +901,16 @@ To show the Audio track menu, change \'Spoof video streams\' to \'Android No SDK
|
||||
<string name="revanced_hide_shorts_history_title">Hide Shorts in watch history</string>
|
||||
<string name="revanced_hide_shorts_history_summary_on">Hidden in watch history</string>
|
||||
<string name="revanced_hide_shorts_history_summary_off">Shown in watch history</string>
|
||||
<string name="revanced_hide_shorts_super_thanks_button_title">Hide Buy Super Thanks button</string>
|
||||
<string name="revanced_hide_shorts_auto_dubbed_label_title">Hide \'Auto-dubbed\' label</string>
|
||||
<string name="revanced_hide_shorts_auto_dubbed_label_summary_on">Auto-dubbed label is hidden</string>
|
||||
<string name="revanced_hide_shorts_auto_dubbed_label_summary_off">Auto-dubbed label is shown</string>
|
||||
<string name="revanced_hide_shorts_super_thanks_button_title">Hide \'Buy Super Thanks\' button</string>
|
||||
<string name="revanced_hide_shorts_super_thanks_button_summary_on">Buy Super Thanks button is hidden</string>
|
||||
<string name="revanced_hide_shorts_super_thanks_button_summary_off">Buy Super Thanks button is shown</string>
|
||||
<string name="revanced_hide_shorts_effect_button_title">Hide Effect button</string>
|
||||
<string name="revanced_hide_shorts_effect_button_summary_on">Effect button is hidden</string>
|
||||
<string name="revanced_hide_shorts_effect_button_summary_off">Effect button is shown</string>
|
||||
<string name="revanced_hide_shorts_green_screen_button_title">Hide Green screen button</string>
|
||||
<string name="revanced_hide_shorts_green_screen_button_title">Hide \'Green screen\' button</string>
|
||||
<string name="revanced_hide_shorts_green_screen_button_summary_on">Green screen button is hidden</string>
|
||||
<string name="revanced_hide_shorts_green_screen_button_summary_off">Green screen button is shown</string>
|
||||
<string name="revanced_hide_shorts_hashtag_button_title">Hide Hashtag button</string>
|
||||
@@ -909,10 +920,13 @@ To show the Audio track menu, change \'Spoof video streams\' to \'Android No SDK
|
||||
<string name="revanced_hide_shorts_join_button_title">Hide Join button</string>
|
||||
<string name="revanced_hide_shorts_join_button_summary_on">Join button is hidden</string>
|
||||
<string name="revanced_hide_shorts_join_button_summary_off">Join button is shown</string>
|
||||
<string name="revanced_hide_shorts_live_preview_title">Hide live preview</string>
|
||||
<string name="revanced_hide_shorts_live_preview_summary_on">Live preview is hidden</string>
|
||||
<string name="revanced_hide_shorts_live_preview_summary_off">Live preview is shown</string>
|
||||
<string name="revanced_hide_shorts_location_label_title">Hide location label</string>
|
||||
<string name="revanced_hide_shorts_location_label_summary_on">Location label is hidden</string>
|
||||
<string name="revanced_hide_shorts_location_label_summary_off">Location label is shown</string>
|
||||
<string name="revanced_hide_shorts_new_posts_button_title">Hide New posts button</string>
|
||||
<string name="revanced_hide_shorts_new_posts_button_title">Hide \'New posts\' button</string>
|
||||
<string name="revanced_hide_shorts_new_posts_button_summary_on">New posts button is hidden</string>
|
||||
<string name="revanced_hide_shorts_new_posts_button_summary_off">New posts button is shown</string>
|
||||
<string name="revanced_hide_shorts_paused_overlay_buttons_title">Hide paused overlay buttons</string>
|
||||
@@ -921,7 +935,7 @@ To show the Audio track menu, change \'Spoof video streams\' to \'Android No SDK
|
||||
<string name="revanced_hide_shorts_preview_comment_title">Hide preview comment</string>
|
||||
<string name="revanced_hide_shorts_preview_comment_summary_on">Preview comment is hidden</string>
|
||||
<string name="revanced_hide_shorts_preview_comment_summary_off">Preview comment is shown</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_title">Hide Save music button</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_title">Hide \'Save music\' button</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save music button is hidden</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save music button is shown</string>
|
||||
<string name="revanced_hide_shorts_search_suggestions_title">Hide search suggestions</string>
|
||||
@@ -942,10 +956,10 @@ To show the Audio track menu, change \'Spoof video streams\' to \'Android No SDK
|
||||
<string name="revanced_hide_shorts_upcoming_button_title">Hide Upcoming button</string>
|
||||
<string name="revanced_hide_shorts_upcoming_button_summary_on">Upcoming button is hidden</string>
|
||||
<string name="revanced_hide_shorts_upcoming_button_summary_off">Upcoming button is shown</string>
|
||||
<string name="revanced_hide_shorts_use_sound_button_title">Hide Use this sound button</string>
|
||||
<string name="revanced_hide_shorts_use_sound_button_title">Hide \'Use this sound\' button</string>
|
||||
<string name="revanced_hide_shorts_use_sound_button_summary_on">Use this sound button is hidden</string>
|
||||
<string name="revanced_hide_shorts_use_sound_button_summary_off">Use this sound button is shown</string>
|
||||
<string name="revanced_hide_shorts_use_template_button_title">Hide Use this template button</string>
|
||||
<string name="revanced_hide_shorts_use_template_button_title">Hide \'Use this template\' button</string>
|
||||
<string name="revanced_hide_shorts_use_template_button_summary_on">Use this template button is hidden</string>
|
||||
<string name="revanced_hide_shorts_use_template_button_summary_off">Use this template button is shown</string>
|
||||
<string name="revanced_hide_shorts_like_fountain_title">Hide Like button fountain animation</string>
|
||||
@@ -1606,13 +1620,13 @@ Enabling this can unlock higher video qualities"</string>
|
||||
</patch>
|
||||
<patch id="video.speed.button.playbackSpeedButtonPatch">
|
||||
<string name="revanced_playback_speed_dialog_button_title">Show speed dialog button</string>
|
||||
<string name="revanced_playback_speed_dialog_button_summary_on">Button is shown. Tap and hold to reset playback speed to default</string>
|
||||
<string name="revanced_playback_speed_dialog_button_summary_off">Button is not shown</string>
|
||||
<string name="revanced_playback_speed_dialog_button_summary_on">Speed dialog button is shown. Tap and hold to reset playback speed to default</string>
|
||||
<string name="revanced_playback_speed_dialog_button_summary_off">Speed dialog button is not shown</string>
|
||||
</patch>
|
||||
<patch id="video.quality.button.videoQualityDialogButtonPatch">
|
||||
<string name="revanced_video_quality_dialog_button_title">Show video quality button</string>
|
||||
<string name="revanced_video_quality_dialog_button_summary_on">Button is shown. Tap and hold to reset quality to default</string>
|
||||
<string name="revanced_video_quality_dialog_button_summary_off">Button is not shown</string>
|
||||
<string name="revanced_video_quality_dialog_button_summary_on">Video quality button is shown. Tap and hold to reset quality to default</string>
|
||||
<string name="revanced_video_quality_dialog_button_summary_off">Video quality button is not shown</string>
|
||||
</patch>
|
||||
<patch id="video.speed.custom.customPlaybackSpeedPatch">
|
||||
<string name="revanced_custom_speed_menu_title">Custom playback speed menu</string>
|
||||
|
||||
Reference in New Issue
Block a user