From 50e6a27ca6f2f0a7b7e3c09aaebdcbac704235d3 Mon Sep 17 00:00:00 2001 From: Balackburn Date: Tue, 10 Oct 2023 13:03:28 +0200 Subject: [PATCH 01/21] Remove 3 Broken Options --- Source/Settings.xm | 30 ------------- YTLitePlus.xm | 45 ------------------- .../ar.lproj/Localizable.strings | 5 +-- .../en.lproj/Localizable.strings | 3 -- .../pt.lproj/Localizable.strings | 3 -- .../ro.lproj/Localizable.strings | 3 -- .../ru.lproj/Localizable.strings | 3 -- .../template.lproj/Localizable.strings | 3 -- .../tr.lproj/Localizable.strings | 3 -- 9 files changed, 1 insertion(+), 97 deletions(-) diff --git a/Source/Settings.xm b/Source/Settings.xm index 79baba8..02a2e94 100644 --- a/Source/Settings.xm +++ b/Source/Settings.xm @@ -136,36 +136,6 @@ extern NSBundle *YTLitePlusBundle(); } settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_DONTEATMYCONTENT_SECTION") - titleDescription:LOC(@"APP_RESTART_DESC") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"disableDontEatMyContentSection_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableDontEatMyContentSection_enabled"]; - return YES; - } - settingItemId:0], - - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_YOUTUBERETURNDISLIKE_SECTION") - titleDescription:LOC(@"APP_RESTART_DESC") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"disableReturnYouTubeDislikeSection_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableReturnYouTubeDislikeSection_enabled"]; - return YES; - } - settingItemId:0], - - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_YOUPIP_SECTION") - titleDescription:LOC(@"APP_RESTART_DESC") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"disableYouPiPSection_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableYouPiPSection_enabled"]; - return YES; - } - settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_AUTOPLAY_SECTION") titleDescription:LOC(@"APP_RESTART_DESC") accessibilityIdentifier:nil diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 747ec02..4df5ce9 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -336,42 +336,6 @@ static BOOL IsEnabled(NSString *key) { %end %end -%group gDisableDontEatMyContentSection -%hook YTSettingsSectionItemManager -- (void)updateDEMCSectionWithEntry:(id)arg1 { // DontEatMyContent - %orig; - NSMutableArray *sectionItems = [self valueForKey:@"_sectionItems"]; - NSPredicate *predicate = [NSPredicate predicateWithFormat:@"title == %@", @"DontEatMyContent"]; - NSArray *itemsToRemove = [sectionItems filteredArrayUsingPredicate:predicate]; - [sectionItems removeObjectsInArray:itemsToRemove]; -} -%end -%end - -%group gDisableReturnYouTubeDislikeSection -%hook YTSettingsSectionItemManager -- (void)updateRYDSectionWithEntry:(id)arg1 { // Return YouTube Dislike - %orig; - NSMutableArray *sectionItems = [self valueForKey:@"_sectionItems"]; - NSPredicate *predicate = [NSPredicate predicateWithFormat:@"title == %@", @"Return YouTube Dislike"]; - NSArray *itemsToRemove = [sectionItems filteredArrayUsingPredicate:predicate]; - [sectionItems removeObjectsInArray:itemsToRemove]; -} -%end -%end - -%group gDisableYouPiPSection -%hook YTSettingsSectionItemManager -- (void)updateYouPiPSectionWithEntry:(id)arg1 { // YouPiP - %orig; - NSMutableArray *sectionItems = [self valueForKey:@"_sectionItems"]; - NSPredicate *predicate = [NSPredicate predicateWithFormat:@"title == %@", @"YouPiP"]; - NSArray *itemsToRemove = [sectionItems filteredArrayUsingPredicate:predicate]; - [sectionItems removeObjectsInArray:itemsToRemove]; -} -%end -%end - %group gDisableAutoplaySection %hook YTSettingsSectionItemManager - (void)updateAutoplaySectionWithEntry:(id)arg1 {} // Autoplay @@ -507,15 +471,6 @@ static BOOL IsEnabled(NSString *key) { if (IsEnabled(@"disableAccountSection_enabled")) { %init(gDisableAccountSection); } - if (IsEnabled(@"disableDontEatMyContentSection_enabled")) { - %init(gDisableDontEatMyContentSection); - } - if (IsEnabled(@"disableReturnYouTubeDislikeSection_enabled")) { - %init(gDisableReturnYouTubeDislikeSection); - } - if (IsEnabled(@"disableYouPiPSection_enabled")) { - %init(gDisableYouPiPSection); - } if (IsEnabled(@"disableAutoplaySection_enabled")) { %init(gDisableAutoplaySection); } diff --git a/lang/YTLitePlus.bundle/ar.lproj/Localizable.strings b/lang/YTLitePlus.bundle/ar.lproj/Localizable.strings index e1aa0c2..5475241 100644 --- a/lang/YTLitePlus.bundle/ar.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/ar.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; @@ -86,7 +83,7 @@ "STOCK_VOLUME_HUD" = "Use iOS stock volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; -"HIDE_CAST_BUTTON" = "زر "إخفاء الإرسال"; +"HIDE_CAST_BUTTON" = "زر "إخفاء الإرسال" ; "HIDE_CAST_BUTTON_DESC" = "مطلوب إعادة تشغيل التطبيق"; "HIDE_SPONSORBLOCK_BUTTON" = "Hide iSponsorBlock button in the Navigation bar"; diff --git a/lang/YTLitePlus.bundle/en.lproj/Localizable.strings b/lang/YTLitePlus.bundle/en.lproj/Localizable.strings index f0ccd22..4040f99 100644 --- a/lang/YTLitePlus.bundle/en.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/en.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; diff --git a/lang/YTLitePlus.bundle/pt.lproj/Localizable.strings b/lang/YTLitePlus.bundle/pt.lproj/Localizable.strings index f8836bf..1931163 100644 --- a/lang/YTLitePlus.bundle/pt.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/pt.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; diff --git a/lang/YTLitePlus.bundle/ro.lproj/Localizable.strings b/lang/YTLitePlus.bundle/ro.lproj/Localizable.strings index 75ddb05..5b79024 100644 --- a/lang/YTLitePlus.bundle/ro.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/ro.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; diff --git a/lang/YTLitePlus.bundle/ru.lproj/Localizable.strings b/lang/YTLitePlus.bundle/ru.lproj/Localizable.strings index 58bb3c7..5a4c3dd 100644 --- a/lang/YTLitePlus.bundle/ru.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/ru.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; diff --git a/lang/YTLitePlus.bundle/template.lproj/Localizable.strings b/lang/YTLitePlus.bundle/template.lproj/Localizable.strings index 17f38b4..7d79018 100644 --- a/lang/YTLitePlus.bundle/template.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/template.lproj/Localizable.strings @@ -39,9 +39,6 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; diff --git a/lang/YTLitePlus.bundle/tr.lproj/Localizable.strings b/lang/YTLitePlus.bundle/tr.lproj/Localizable.strings index 2a01d1b..4490690 100644 --- a/lang/YTLitePlus.bundle/tr.lproj/Localizable.strings +++ b/lang/YTLitePlus.bundle/tr.lproj/Localizable.strings @@ -24,9 +24,6 @@ "APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options"; "HIDE_ACCOUNT_SECTION" = "Hide `Account` Section"; -"HIDE_DONTEATMYCONTENT_SECTION" = "Hide `DontEatMyContent` Section"; -"HIDE_YOUTUBERETURNDISLIKE_SECTION" = "Hide `YouTube Return Dislike` Section"; -"HIDE_YOUPIP_SECTION" = "Hide `YouPiP` Section"; "HIDE_AUTOPLAY_SECTION" = "Hide `Autoplay` Section"; "HIDE_TRYNEWFEATURES_SECTION" = "Hide `Try New Features` Section"; "HIDE_VIDEOQUALITYPREFERENCES_SECTION" = "Hide `Video quality preferences` Section"; From c6eeb27451446f569b02474bff7937b771010c12 Mon Sep 17 00:00:00 2001 From: Balackburn Date: Tue, 10 Oct 2023 13:13:40 +0200 Subject: [PATCH 02/21] updated buildapp.yml --- .github/workflows/buildapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index 23069db..ce387eb 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -18,7 +18,7 @@ on: type: string ytliteplus_version: description: "The version of YTLitePlus" - default: "2.2" + default: "2.3.1" required: true type: string bundle_id: From b15f94ba49ec78f9577b2b866c96bd2c26d8006b Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Thu, 12 Oct 2023 22:20:56 -0500 Subject: [PATCH 03/21] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don’t know, I randomly updated it here, enjoy Balackburn? --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f37bb04..1d897c0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ ## YTLite with more features! - -

IMAGE_YTLITEPLUS_PREVIEW @@ -46,7 +44,7 @@ Special thanks to these developer(s) for maintaining and improving YTLitePlus - +
arichorn @@ -65,6 +63,7 @@ Special thanks to these developer(s) for maintaining and improving YTLitePlus
ssuesskind + Special thanks to all the developers who have contributed to uYouPlus/YTLitePlus! (YTLite is an original tweak by @dayanch96)
@@ -259,7 +258,7 @@ any many more... | **Tweaks/App** | **Developer** | **Version** | **Open source** | | - | - | :-: | :-: | -| **YouTube** | Google Inc | 18.39.1 | ✖︎ | +| **YouTube** | Google Inc | 18.40.1 | ✖︎ | | **YTLite** | Dayanch96 | 2.3.1 |✔︎| | **Open in YouTube** | [CokePokes](https://github.com/CokePokes/) | 1.2 | ✖︎ | | **iSponsorBlock** | [Galactic-Dev](https://github.com/Galactic-Dev) | 1.2 | [✔︎](https://github.com/Galactic-Dev/iSponsorBlock) | From 5e86bf7b59a7bc3e9d4171eacc904878d60e9424 Mon Sep 17 00:00:00 2001 From: Balackburn Date: Thu, 26 Oct 2023 13:33:09 +0200 Subject: [PATCH 04/21] Updated YTNoModernUI @arichorn --- YTLitePlus.xm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 4df5ce9..10bcc0a 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -174,22 +174,21 @@ static BOOL IsEnabled(NSString *key) { - (BOOL)cxClientEnableModernizedActionSheet { return NO; } - (BOOL)enableClientShortsSheetsModernization { return NO; } - (BOOL)enableTimestampModernizationForNative { return NO; } -- (BOOL)mainAppCoreClientIosEnableModernOssPage { return NO; } - (BOOL)modernizeElementsTextColor { return NO; } - (BOOL)modernizeElementsBgColor { return NO; } - (BOOL)modernizeCollectionLockups { return NO; } -- (BOOL)uiSystemsClientGlobalConfigEnableEpUxUpdates { return NO; } - (BOOL)uiSystemsClientGlobalConfigEnableModernButtonsForNative { return NO; } -- (BOOL)uiSystemsClientGlobalConfigEnableModernButtonsForNativeLongTail { return NO; } -- (BOOL)uiSystemsClientGlobalConfigEnableModernTabsForNative { return NO; } +- (BOOL)uiSystemsClientGlobalConfigIosEnableModernTabsForNative { return NO; } +- (BOOL)uiSystemsClientGlobalConfigIosEnableEpUxUpdates { return NO; } +- (BOOL)uiSystemsClientGlobalConfigIosEnableSheetsUxUpdates { return NO; } - (BOOL)uiSystemsClientGlobalConfigIosEnableSnackbarModernization { return NO; } // Disable Rounded Content - YTNoModernUI - (BOOL)iosDownloadsPageRoundedThumbs { return NO; } - (BOOL)iosRoundedSearchBarSuggestZeroPadding { return NO; } +- (BOOL)uiSystemsClientGlobalConfigEnableRoundedDialogForNative { return NO; } - (BOOL)uiSystemsClientGlobalConfigEnableRoundedThumbnailsForNative { return NO; } - (BOOL)uiSystemsClientGlobalConfigEnableRoundedThumbnailsForNativeLongTail { return NO; } - (BOOL)uiSystemsClientGlobalConfigEnableRoundedTimestampForNative { return NO; } -- (BOOL)uiSystemsClientGlobalConfigEnableRoundedDialogForNative { return NO; } // Disable Darker Dark Mode - YTNoModernUI - (BOOL)enableDarkerDarkMode { return NO; } - (BOOL)useDarkerPaletteBgColorForElements { return NO; } @@ -202,12 +201,13 @@ static BOOL IsEnabled(NSString *key) { - (BOOL)enableCinematicContainerOnClient { return NO; } - (BOOL)enableCinematicContainerOnTablet { return NO; } - (BOOL)iosCinematicContainerClientImprovement { return NO; } +- (BOOL)iosEnableFullScreenAmbientMode { return NO; } - (BOOL)iosEnableGhostCardInlineTitleCinematicContainerFix { return NO; } - (BOOL)iosUseFineScrubberMosaicStoreForCinematic { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicPlaylists { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicPlaylistsPostMvp { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicTablets { return NO; } -// 16.xx.x Styled YouTube Channel Page Interface - YTNoModernUI +// 16.42.3 Styled YouTube Channel Page Interface - YTNoModernUI - (BOOL)channelsClientConfigIosChannelNavRestructuring { return NO; } - (BOOL)channelsClientConfigIosMultiPartChannelHeader { return NO; } // Disable Optional Content - YTNoModernUI @@ -215,6 +215,9 @@ static BOOL IsEnabled(NSString *key) { - (BOOL)supportElementsInMenuItemSupportedRenderers { return NO; } - (BOOL)isNewRadioButtonStyleEnabled { return NO; } - (BOOL)uiSystemsClientGlobalConfigEnableButtonSentenceCasingForNative { return NO; } +- (BOOL)mainAppCoreClientEnableClientYouTab { return NO; } +- (BOOL)mainAppCoreClientEnableClientYouLatency { return NO; } +- (BOOL)mainAppCoreClientEnableClientYouTabTablet { return NO; } %end %hook YTHotConfig From 74c425ac9a1001d80863481ecc22fc197e51cb04 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:18:03 -0500 Subject: [PATCH 05/21] Update Release Template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hey @Balackburn there is another issue I’ve added and now the Dislike Counter on the Shorts Dislike Button won’t show the counter but this issue won’t happen since YTLite is spoofed to v18.14.1 --- .github/RELEASE_TEMPLATE/Release.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/RELEASE_TEMPLATE/Release.md b/.github/RELEASE_TEMPLATE/Release.md index 882b604..117c0a8 100644 --- a/.github/RELEASE_TEMPLATE/Release.md +++ b/.github/RELEASE_TEMPLATE/Release.md @@ -1,6 +1,6 @@ # YTLitePlus Features -**YTNoModernUI:** This tweak changes and removes some newer UI elements from the app such as Rounded Buttons, Red Progress Bar, Gray Buffer Progress & the v17.38.10 App Version Number. (Tweak made by arichorn) +**YTNoModernUI:** This tweak changes and removes some newer ui elements from the app such as Some Rounded Buttons, Red Progress Bar, Gray Buffer Progress & 17.38.10 App Version Number. (Tweak made by arichorn)
More Features... @@ -36,7 +36,13 @@ Current App Compatibility: `iOS/iPadOS 14.0` or later - Updated Youtube from `` to `%youtube_version%` - Updated YTLite from `` to `%ytliteplus_version%` ### Issues in this Release: -- LowContrastMode does not work (Compatible only with YouTube v16.05.7-v17.38.10) -- Shorts are not hidden everywhere (problem with YTLite tweak) -- VersionSpoofer (Lite) doesn't work with YTLite (as the version is already spoofed by YTLite to fix YTClassicVideoQuality) -- Age-restricted videos don't load correctly #29 (enable "Skip content warning" in YTlite settings to resolve this issue) +- LowContrastMode does not work *(Compatible only with YouTube v16.05.7-v17.38.10)* +- Shorts are not hidden everywhere *(problem with YTLite tweak)* +- VersionSpoofer (Lite) doesn't work with YTLite *(as the version is already spoofed by YTLite to fix YTClassicVideoQuality)* +- Age-restricted videos don't load correctly #29 *(enable "Skip content warning" in YTlite settings to resolve this issue)* +- Options Hide `Super Thanks button` & `Hide Description` will make shorts crash +-
+

YouTube Return Dislikes does not show the dislike counter on the Shorts Dislike Button (This issue isn't in YouTube v16.xx.x-v18.20.3)

+ SHORTS_DISLIKE_BUTTON +
+ From 432390505f42fdc3e1816d1ecb0f9662fbb71253 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 29 Oct 2023 00:39:47 +0000 Subject: [PATCH 06/21] updated submodules --- Tweaks/YTUHD | 2 +- Tweaks/YTVideoOverlay | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tweaks/YTUHD b/Tweaks/YTUHD index ed71ce0..c927059 160000 --- a/Tweaks/YTUHD +++ b/Tweaks/YTUHD @@ -1 +1 @@ -Subproject commit ed71ce0dbbcb2246defdd2198014846572baea35 +Subproject commit c927059e0ddb0413c87480e5cea8039c0fab1d9e diff --git a/Tweaks/YTVideoOverlay b/Tweaks/YTVideoOverlay index 8819484..8f226f5 160000 --- a/Tweaks/YTVideoOverlay +++ b/Tweaks/YTVideoOverlay @@ -1 +1 @@ -Subproject commit 8819484325534edf41bb7425d7341b551d62501b +Subproject commit 8f226f5f8ce6724cfba31eaea9ab845c7b69daf6 From 21843e056825c9e50a03a7ddb12a1e2831c996c1 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 5 Nov 2023 00:40:49 +0000 Subject: [PATCH 07/21] updated submodules --- Tweaks/YTLite | 2 +- Tweaks/YouTubeHeader | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tweaks/YTLite b/Tweaks/YTLite index 21a960d..245baff 160000 --- a/Tweaks/YTLite +++ b/Tweaks/YTLite @@ -1 +1 @@ -Subproject commit 21a960dff7f141b2a62d31bd06c9640e042f8090 +Subproject commit 245baff41d5486d9391132c43bfe3208355e060b diff --git a/Tweaks/YouTubeHeader b/Tweaks/YouTubeHeader index 99bb00e..3b39d5a 160000 --- a/Tweaks/YouTubeHeader +++ b/Tweaks/YouTubeHeader @@ -1 +1 @@ -Subproject commit 99bb00ebbf77267567938787cb8bd775a07641de +Subproject commit 3b39d5adbbe7e6e3f81fb2ec984d2ad5263137a6 From 11f41a1b1f4268ac54b67fb05fd4b4845e050e68 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 6 Nov 2023 00:38:55 +0000 Subject: [PATCH 08/21] updated submodules --- Tweaks/Return-YouTube-Dislikes | 2 +- Tweaks/YTUHD | 2 +- Tweaks/YTVideoOverlay | 2 +- Tweaks/YouPiP | 2 +- Tweaks/YouTubeHeader | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tweaks/Return-YouTube-Dislikes b/Tweaks/Return-YouTube-Dislikes index 91fc25a..12db9fd 160000 --- a/Tweaks/Return-YouTube-Dislikes +++ b/Tweaks/Return-YouTube-Dislikes @@ -1 +1 @@ -Subproject commit 91fc25a8504faa62eca55dae451fe11ac7d1602d +Subproject commit 12db9fda642541db399d1fbee89af49f778d52c6 diff --git a/Tweaks/YTUHD b/Tweaks/YTUHD index c927059..adf6ba1 160000 --- a/Tweaks/YTUHD +++ b/Tweaks/YTUHD @@ -1 +1 @@ -Subproject commit c927059e0ddb0413c87480e5cea8039c0fab1d9e +Subproject commit adf6ba1446aeb2077ea10e32b6ae5c453e6acd7d diff --git a/Tweaks/YTVideoOverlay b/Tweaks/YTVideoOverlay index 8f226f5..f4938e9 160000 --- a/Tweaks/YTVideoOverlay +++ b/Tweaks/YTVideoOverlay @@ -1 +1 @@ -Subproject commit 8f226f5f8ce6724cfba31eaea9ab845c7b69daf6 +Subproject commit f4938e9a44ca125adbbeb3d9fd1b386f5ebe6a92 diff --git a/Tweaks/YouPiP b/Tweaks/YouPiP index 327d272..df99bc5 160000 --- a/Tweaks/YouPiP +++ b/Tweaks/YouPiP @@ -1 +1 @@ -Subproject commit 327d272a36988ae22ad1d118e67e72ee434127b8 +Subproject commit df99bc5b06e0f007aaf694d7d7676cae37fd8b49 diff --git a/Tweaks/YouTubeHeader b/Tweaks/YouTubeHeader index 3b39d5a..a9b2431 160000 --- a/Tweaks/YouTubeHeader +++ b/Tweaks/YouTubeHeader @@ -1 +1 @@ -Subproject commit 3b39d5adbbe7e6e3f81fb2ec984d2ad5263137a6 +Subproject commit a9b2431308a8a562b78d744207ce8c507ab4f39b From d4ef95fb5a18951b199d64480b4b6a563ba70736 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 10 Nov 2023 00:38:05 +0000 Subject: [PATCH 09/21] updated submodules --- Tweaks/YTHoldForSpeed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/YTHoldForSpeed b/Tweaks/YTHoldForSpeed index a37869c..a5eb4af 160000 --- a/Tweaks/YTHoldForSpeed +++ b/Tweaks/YTHoldForSpeed @@ -1 +1 @@ -Subproject commit a37869cee7ecb8803d5466bcdf25f95827f0d391 +Subproject commit a5eb4af9c582c7fb0671fd5feea8ec6bc87f1232 From 9980ffed9224ba618408c8a7230f0668a7737033 Mon Sep 17 00:00:00 2001 From: Balackburn <93828569+Balackburn@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:56:16 +0100 Subject: [PATCH 10/21] Update buildapp.yml with new 2.4 YTLite Version --- .github/workflows/buildapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index ce387eb..c2162cd 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -18,7 +18,7 @@ on: type: string ytliteplus_version: description: "The version of YTLitePlus" - default: "2.3.1" + default: "2.4" required: true type: string bundle_id: From ca06c12e6f55702f02a2926c1bd9ed26755529fc Mon Sep 17 00:00:00 2001 From: Balackburn <93828569+Balackburn@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:13:45 +0100 Subject: [PATCH 11/21] Update Release.md --- .github/RELEASE_TEMPLATE/Release.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/RELEASE_TEMPLATE/Release.md b/.github/RELEASE_TEMPLATE/Release.md index 117c0a8..ff9c083 100644 --- a/.github/RELEASE_TEMPLATE/Release.md +++ b/.github/RELEASE_TEMPLATE/Release.md @@ -34,7 +34,8 @@ Current App Compatibility: `iOS/iPadOS 14.0` or later **RELEASE %youtube_version%-%ytliteplus_version%:** (%date%) - Updated Youtube from `` to `%youtube_version%` -- Updated YTLite from `` to `%ytliteplus_version%` +- Updated YTLite from `` to `%ytliteplus_version%` + ### Issues in this Release: - LowContrastMode does not work *(Compatible only with YouTube v16.05.7-v17.38.10)* - Shorts are not hidden everywhere *(problem with YTLite tweak)* From dfe7c5930b965492e19feadeafad4f7937a5ae4a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 10 Nov 2023 20:48:24 +0000 Subject: [PATCH 12/21] updated submodules --- Tweaks/YTLite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/YTLite b/Tweaks/YTLite index 245baff..dff35cb 160000 --- a/Tweaks/YTLite +++ b/Tweaks/YTLite @@ -1 +1 @@ -Subproject commit 245baff41d5486d9391132c43bfe3208355e060b +Subproject commit dff35cbb43675fade8772de651a83e1cccca7487 From 48f4f2c338761d82a6f15f76a548d7d036aa5e24 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 12 Nov 2023 00:40:57 +0000 Subject: [PATCH 13/21] updated submodules --- Tweaks/YTHoldForSpeed | 2 +- Tweaks/YTLite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tweaks/YTHoldForSpeed b/Tweaks/YTHoldForSpeed index a5eb4af..6a8dce9 160000 --- a/Tweaks/YTHoldForSpeed +++ b/Tweaks/YTHoldForSpeed @@ -1 +1 @@ -Subproject commit a5eb4af9c582c7fb0671fd5feea8ec6bc87f1232 +Subproject commit 6a8dce915e3cd54c066f4ad79d27f18cb90cee96 diff --git a/Tweaks/YTLite b/Tweaks/YTLite index dff35cb..3a64da3 160000 --- a/Tweaks/YTLite +++ b/Tweaks/YTLite @@ -1 +1 @@ -Subproject commit dff35cbb43675fade8772de651a83e1cccca7487 +Subproject commit 3a64da39d62ed2eb92a56c02c75368afb281c95a From 3e3ee236bd2e0eb32a1b714923868e8e8cfdbd8a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 13 Nov 2023 00:39:24 +0000 Subject: [PATCH 14/21] updated submodules --- Tweaks/YTLite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/YTLite b/Tweaks/YTLite index 3a64da3..66802f0 160000 --- a/Tweaks/YTLite +++ b/Tweaks/YTLite @@ -1 +1 @@ -Subproject commit 3a64da39d62ed2eb92a56c02c75368afb281c95a +Subproject commit 66802f049e420b1db5f6a1870814f8e8f2b7a243 From 46930780536fb4adb2f6a29e308b546d9313f12f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 14 Nov 2023 00:38:14 +0000 Subject: [PATCH 15/21] updated submodules --- Tweaks/YouTubeHeader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/YouTubeHeader b/Tweaks/YouTubeHeader index a9b2431..dffb3fd 160000 --- a/Tweaks/YouTubeHeader +++ b/Tweaks/YouTubeHeader @@ -1 +1 @@ -Subproject commit a9b2431308a8a562b78d744207ce8c507ab4f39b +Subproject commit dffb3fd293351319833a24fc0cd9819be2691c6f From 6ae65420faaf394928ce9dc0097509389e672ae0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 15 Nov 2023 00:38:42 +0000 Subject: [PATCH 16/21] updated submodules --- Tweaks/DontEatMyContent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/DontEatMyContent b/Tweaks/DontEatMyContent index c8f209d..71ff14e 160000 --- a/Tweaks/DontEatMyContent +++ b/Tweaks/DontEatMyContent @@ -1 +1 @@ -Subproject commit c8f209db230cc58b5fe12eb589cc8b2bcdeeaae2 +Subproject commit 71ff14ed02e53624654f3b8b01585be125d2af1b From c3a663a941dc5f0f73beb5304d08e18341fe9a77 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:44:47 -0600 Subject: [PATCH 17/21] New Flags for YTNoModernUI Hey Balackburn. YouTube added new flags related to Ambient mode so I fixed that! And I did add a new option for users that only ambient mode disabled. I hope it helps? --- YTLitePlus.xm | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 10bcc0a..a34424c 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -137,7 +137,7 @@ static BOOL IsEnabled(NSString *key) { + (NSString *)appVersion { return @"17.38.10"; } %end -%hook YTSettingsCell // made by Dayanch96 +%hook YTSettingsCell // Remove v17.38.10 Version Number - @Dayanch96 - (void)setDetailText:(id)arg1 { NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; NSString *appVersion = infoDictionary[@"CFBundleShortVersionString"]; @@ -148,24 +148,24 @@ static BOOL IsEnabled(NSString *key) { } %end -%hook YTInlinePlayerBarContainerView // Red Progress Bar - YTNoModernUI - made by Dayanch96 +%hook YTInlinePlayerBarContainerView // Red Progress Bar - YTNoModernUI - (id)quietProgressBarColor { return [UIColor redColor]; } %end -%hook YTSegmentableInlinePlayerBarView // Gray Buffer Progress - YTNoModernUI - made by Dayanch96 +%hook YTSegmentableInlinePlayerBarView // Gray Buffer Progress - YTNoModernUI - (void)setBufferedProgressBarColor:(id)arg1 { [UIColor colorWithRed:1.00 green:1.00 blue:1.00 alpha:0.90]; } %end -%hook YTQTMButton -- (BOOL)buttonModernizationEnabled { return NO; } +%hook YTQTMButton // No Modern/Rounded Buttons - YTNoModernUI ++ (BOOL)buttonModernizationEnabled { return NO; } %end -%hook YTSearchBarView -- (BOOL)_roundedSearchBarEnabled { return NO; } +%hook YTBubbleHintView // No Modern/Rounded Hints - YTNoModernUI ++ (BOOL)modernRoundedCornersEnabled { return NO; } %end %hook YTColdConfig @@ -200,13 +200,15 @@ static BOOL IsEnabled(NSString *key) { - (BOOL)enableCinematicContainer { return NO; } - (BOOL)enableCinematicContainerOnClient { return NO; } - (BOOL)enableCinematicContainerOnTablet { return NO; } +- (BOOL)enableTurnOffCinematicForFrameWithBlackBars { return YES; } +- (BOOL)enableTurnOffCinematicForVideoWithBlackBars { return YES; } - (BOOL)iosCinematicContainerClientImprovement { return NO; } -- (BOOL)iosEnableFullScreenAmbientMode { return NO; } - (BOOL)iosEnableGhostCardInlineTitleCinematicContainerFix { return NO; } - (BOOL)iosUseFineScrubberMosaicStoreForCinematic { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicPlaylists { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicPlaylistsPostMvp { return NO; } - (BOOL)mainAppCoreClientEnableClientCinematicTablets { return NO; } +- (BOOL)iosEnableFullScreenAmbientMode { return NO; } // 16.42.3 Styled YouTube Channel Page Interface - YTNoModernUI - (BOOL)channelsClientConfigIosChannelNavRestructuring { return NO; } - (BOOL)channelsClientConfigIosMultiPartChannelHeader { return NO; } @@ -221,12 +223,31 @@ static BOOL IsEnabled(NSString *key) { %end %hook YTHotConfig -- (BOOL)liveChatIosUseModernRotationDetectiom { return NO; } // Disable Modern Content (YTHotConfig) +- (BOOL)liveChatIosUseModernRotationDetection { return NO; } // Disable Modern Content (YTHotConfig) +- (BOOL)liveChatModernizeClassicElementizeTextMessage { return NO; } - (BOOL)iosShouldRepositionChannelBar { return NO; } - (BOOL)enableElementRendererOnChannelCreation { return NO; } %end %end +%group gDisableAmbientMode +%hook YTColdConfig +- (BOOL)disableCinematicForLowPowerMode { return NO; } +- (BOOL)enableCinematicContainer { return NO; } +- (BOOL)enableCinematicContainerOnClient { return NO; } +- (BOOL)enableCinematicContainerOnTablet { return NO; } +- (BOOL)enableTurnOffCinematicForFrameWithBlackBars { return YES; } +- (BOOL)enableTurnOffCinematicForVideoWithBlackBars { return YES; } +- (BOOL)iosCinematicContainerClientImprovement { return NO; } +- (BOOL)iosEnableGhostCardInlineTitleCinematicContainerFix { return NO; } +- (BOOL)iosUseFineScrubberMosaicStoreForCinematic { return NO; } +- (BOOL)mainAppCoreClientEnableClientCinematicPlaylists { return NO; } +- (BOOL)mainAppCoreClientEnableClientCinematicPlaylistsPostMvp { return NO; } +- (BOOL)mainAppCoreClientEnableClientCinematicTablets { return NO; } +- (BOOL)iosEnableFullScreenAmbientMode { return NO; } +%end +%end + // Hide YouTube Heatwaves in Video Player (YouTube v17.19.2-present) - @level3tjg - https://www.reddit.com/r/jailbreak/comments/v29yvk/ %group gHideHeatwaves %hook YTInlinePlayerBarContainerView @@ -465,6 +486,9 @@ static BOOL IsEnabled(NSString *key) { if (IsEnabled(@"ytNoModernUI_enabled")) { %init(gYTNoModernUI); } + if (IsEnabled(@"disableAmbientMode_enabled")) { + %init(gDisableAmbientMode); + } if (IsEnabled(@"ytSpeed_enabled")) { %init(gYTSpeed); } From 40290e8e98510398da36ec3723faa8762c57f780 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 16 Nov 2023 00:39:38 +0000 Subject: [PATCH 18/21] updated submodules --- Tweaks/DontEatMyContent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/DontEatMyContent b/Tweaks/DontEatMyContent index 71ff14e..fe65d50 160000 --- a/Tweaks/DontEatMyContent +++ b/Tweaks/DontEatMyContent @@ -1 +1 @@ -Subproject commit 71ff14ed02e53624654f3b8b01585be125d2af1b +Subproject commit fe65d50f16e978e97dc0c0022133235d5cebab80 From f4309db6eb700a71b7590c912e5222f31ff99f1c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 17 Nov 2023 00:39:25 +0000 Subject: [PATCH 19/21] updated submodules --- Tweaks/YouPiP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/YouPiP b/Tweaks/YouPiP index df99bc5..519a898 160000 --- a/Tweaks/YouPiP +++ b/Tweaks/YouPiP @@ -1 +1 @@ -Subproject commit df99bc5b06e0f007aaf694d7d7676cae37fd8b49 +Subproject commit 519a8988bca40aeb00ee3c3ecef4a1c4ba350e51 From 9296989aacbc603c576ccbf8587b74e5ab42aad6 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 21 Nov 2023 00:40:19 +0000 Subject: [PATCH 20/21] updated submodules --- Tweaks/iSponsorBlock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/iSponsorBlock b/Tweaks/iSponsorBlock index 74f8265..532853e 160000 --- a/Tweaks/iSponsorBlock +++ b/Tweaks/iSponsorBlock @@ -1 +1 @@ -Subproject commit 74f8265ed22e829146a01b0d5c0bb1c4980599f5 +Subproject commit 532853e234f92cb47088c6a6ba8704c6efea229c From 927cf812dc002ee8c98cd554cb2faa9c1e86a361 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 24 Nov 2023 00:38:20 +0000 Subject: [PATCH 21/21] updated submodules --- Tweaks/Return-YouTube-Dislikes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tweaks/Return-YouTube-Dislikes b/Tweaks/Return-YouTube-Dislikes index 12db9fd..c7bf1fa 160000 --- a/Tweaks/Return-YouTube-Dislikes +++ b/Tweaks/Return-YouTube-Dislikes @@ -1 +1 @@ -Subproject commit 12db9fda642541db399d1fbee89af49f778d52c6 +Subproject commit c7bf1fa8e5821f14f318a94c12c8c076acc88ff9