mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
added YTUnShorts https://github.com/PoomSmart/YTUnShorts
This commit is contained in:
@@ -468,6 +468,16 @@ extern NSBundle *YTLitePlusBundle();
|
|||||||
}
|
}
|
||||||
settingItemId:0],
|
settingItemId:0],
|
||||||
|
|
||||||
|
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"UN_SHORTS")
|
||||||
|
titleDescription:LOC(@"UN_SHORTS_DESC")
|
||||||
|
accessibilityIdentifier:nil
|
||||||
|
switchOn:IsEnabled(@"UnShorts_enabled")
|
||||||
|
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||||
|
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"UnShorts_enabled"];
|
||||||
|
return YES ;
|
||||||
|
}
|
||||||
|
settingItemId:0],
|
||||||
|
|
||||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CAST_BUTTON")
|
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CAST_BUTTON")
|
||||||
titleDescription:LOC(@"HIDE_CAST_BUTTON_DESC")
|
titleDescription:LOC(@"HIDE_CAST_BUTTON_DESC")
|
||||||
accessibilityIdentifier:nil
|
accessibilityIdentifier:nil
|
||||||
|
@@ -316,6 +316,24 @@ static BOOL IsEnabled(NSString *key) {
|
|||||||
- (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; }
|
- (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// YTUnShorts - https://github.com/PoomSmart/YTUnShorts
|
||||||
|
%hook YTIElementRenderer
|
||||||
|
- (NSData *)elementData {
|
||||||
|
NSString *description = [self description];
|
||||||
|
if (IsEnabled(@"UnShorts_enabled")) {
|
||||||
|
if ([description containsString:@"shorts_shelf.eml"] ||
|
||||||
|
[description containsString:@"#shorts"] ||
|
||||||
|
[description containsString:@"shorts_video_cell.eml"] ||
|
||||||
|
[description containsString:@"6Shorts"]) {
|
||||||
|
if (![description containsString:@"history*"]) {
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return %orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
||||||
%group Main
|
%group Main
|
||||||
%hook YTWatchMiniBarView
|
%hook YTWatchMiniBarView
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "تمكين FLEX";
|
"ENABLE_FLEX" = "تمكين FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "تمكين FLEX للتصحيح (غير مستحسن). اترك هذا إلا إذا كنت تعرف ما تفعله";
|
"ENABLE_FLEX_DESC" = "تمكين FLEX للتصحيح (غير مستحسن). اترك هذا إلا إذا كنت تعرف ما تفعله";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Enable FLEX";
|
"ENABLE_FLEX" = "Enable FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Habilitar FLEX";
|
"ENABLE_FLEX" = "Habilitar FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Habilitar FLEX para depuración (no recomendado). Déjelo desactivado a menos que sepa lo que está haciendo";
|
"ENABLE_FLEX_DESC" = "Habilitar FLEX para depuración (no recomendado). Déjelo desactivado a menos que sepa lo que está haciendo";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Activar App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Activar App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Active esta opción para utilizar Version Spoofer (Lite) y seleccione su versión preferida a continuación. Es necesario reiniciar la aplicación.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Active esta opción para utilizar Version Spoofer (Lite) y seleccione su versión preferida a continuación. Es necesario reiniciar la aplicación.";
|
||||||
|
@@ -98,6 +98,9 @@
|
|||||||
"ENABLE_FLEX" = "Activer FLEX";
|
"ENABLE_FLEX" = "Activer FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Activez FLEX pour le débogage (non recommandé). Laissez cette option désactivée, sauf si vous savez ce que vous faites.";
|
"ENABLE_FLEX_DESC" = "Activez FLEX pour le débogage (non recommandé). Laissez cette option désactivée, sauf si vous savez ce que vous faites.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Activer le Spoofer de Version de l'Application (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Activer le Spoofer de Version de l'Application (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Activez cette option pour utiliser le Spoofer de Version de l'Application (Lite) et sélectionnez votre version préférée ci-dessous. Un redémarrage de l'application est requis.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Activez cette option pour utiliser le Spoofer de Version de l'Application (Lite) et sélectionnez votre version préférée ci-dessous. Un redémarrage de l'application est requis.";
|
||||||
|
@@ -98,6 +98,9 @@
|
|||||||
"ENABLE_FLEX" = "FLEXを有効化";
|
"ENABLE_FLEX" = "FLEXを有効化";
|
||||||
"ENABLE_FLEX_DESC" = "デバッグ用のFLEXを有効化します(推奨しません) \n何をやっているのか分からない場合はオフにしてください";
|
"ENABLE_FLEX_DESC" = "デバッグ用のFLEXを有効化します(推奨しません) \n何をやっているのか分からない場合はオフにしてください";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "アプリのバージョン偽装(Lite)を有効にする";
|
"APP_VERSION_SPOOFER_LITE" = "アプリのバージョン偽装(Lite)を有効にする";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "バージョン偽装(Lite)を使用するにはこれを有効にし、以下からお好みのバージョンを選択してください。アプリの再起動が必要です。";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "バージョン偽装(Lite)を使用するにはこれを有効にし、以下からお好みのバージョンを選択してください。アプリの再起動が必要です。";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Enable FLEX";
|
"ENABLE_FLEX" = "Enable FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Activare FLEX";
|
"ENABLE_FLEX" = "Activare FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Activați FLEX pentru depanare (nerecomandat). Lăsați această opțiune dezactivată dacă nu știți ce faceți.";
|
"ENABLE_FLEX_DESC" = "Activați FLEX pentru depanare (nerecomandat). Lăsați această opțiune dezactivată dacă nu știți ce faceți.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Activare Spoofer Versiune Aplicație (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Activare Spoofer Versiune Aplicație (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Activați pentru a utiliza Version Spoofer (Lite) și alegeți versiunea preferată. Este necesară repornirea aplicației.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Activați pentru a utiliza Version Spoofer (Lite) și alegeți versiunea preferată. Este necesară repornirea aplicației.";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Enable FLEX";
|
"ENABLE_FLEX" = "Enable FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -110,6 +110,9 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap
|
|||||||
"ENABLE_FLEX" = "Enable FLEX";
|
"ENABLE_FLEX" = "Enable FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -95,6 +95,9 @@
|
|||||||
"ENABLE_FLEX" = "Enable FLEX";
|
"ENABLE_FLEX" = "Enable FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
"ENABLE_FLEX_DESC" = "Enable FLEX for debugging (not recommended). Leave this off unless you know what you are doing.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
// Version Spoofer
|
// Version Spoofer
|
||||||
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
"APP_VERSION_SPOOFER_LITE" = "Enable App Version Spoofer (Lite)";
|
||||||
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
"APP_VERSION_SPOOFER_LITE_DESC" = "Enable this to use the Version Spoofer (Lite) and select your perferred version below. App restart is required.";
|
||||||
|
@@ -130,6 +130,9 @@
|
|||||||
"ENABLE_FLEX" = "Kích hoạt FLEX";
|
"ENABLE_FLEX" = "Kích hoạt FLEX";
|
||||||
"ENABLE_FLEX_DESC" = "Bật FLEX để gỡ lỗi (không khuyến nghị). Bỏ qua điều này trừ khi bạn biết những gì bạn đang làm.";
|
"ENABLE_FLEX_DESC" = "Bật FLEX để gỡ lỗi (không khuyến nghị). Bỏ qua điều này trừ khi bạn biết những gì bạn đang làm.";
|
||||||
|
|
||||||
|
"UN_SHORTS" = "Hide Shorts (YTUnShorts)"
|
||||||
|
"UN_SHORTS_DESC" = "Remove Shorts from YouTube feed."
|
||||||
|
|
||||||
"FIX_GOOGLE_SIGNIN" = "Sửa lỗi Đăng nhập bằng Google (chỉ dành cho người dùng TrollStore)";
|
"FIX_GOOGLE_SIGNIN" = "Sửa lỗi Đăng nhập bằng Google (chỉ dành cho người dùng TrollStore)";
|
||||||
"FIX_GOOGLE_SIGNIN_DESC" = "Chỉ bật tùy chọn này khi bạn không thể đăng nhập bằng tài khoản Google của mình và ứng dụng đã được cài đặt qua TrollStore. Nếu bạn có thể đăng nhập bình thường, hãy tắt nó đi. Khởi động lại ứng dụng là bắt buộc.";
|
"FIX_GOOGLE_SIGNIN_DESC" = "Chỉ bật tùy chọn này khi bạn không thể đăng nhập bằng tài khoản Google của mình và ứng dụng đã được cài đặt qua TrollStore. Nếu bạn có thể đăng nhập bình thường, hãy tắt nó đi. Khởi động lại ứng dụng là bắt buộc.";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user