Skip to content

Commit

Permalink
hide useless buttons under the video player by @PoomSmart
Browse files Browse the repository at this point in the history
  • Loading branch information
qnblackcat committed Feb 26, 2024
1 parent 4c34416 commit 88ac43d
Show file tree
Hide file tree
Showing 25 changed files with 261 additions and 50 deletions.
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "السماح بالمشغل المصغّر لكل فيديوهات يوتيوب";
"YT_MINIPLAYER_DESC" = "عند تصغير فيديوهات الأطفال مثلاً (قبل إغلاق المقطع).";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "استخدام مؤشر تغيير الصوت الخاص بالنظام";
"STOCK_VOLUME_HUD_DESC" = "إظهار مؤشر تغيير الصوت الرسمي الخاص بـ iOS بدلاً من مؤشر يوتيوب";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Povolit Minipřehrávač pro všechna videa";
"YT_MINIPLAYER_DESC" = "Například u videa pro děti";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Miniplayer für alle YouTube-Videos aktivieren";
"YT_MINIPLAYER_DESC" = "z.B. bei Videos für Kinder.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Standard iOS Lautstärke HUD aktivieren";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/el.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Ενεργοποιήστε το miniplayer για όλα τα βίντεο του YouTube";
"YT_MINIPLAYER_DESC" = "Τα παιδικά βίντεο για παράδειγμα.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Enable miniplayer for all videos";
"YT_MINIPLAYER_DESC" = "The miniplayer cannot be activated for certain videos (e.g., kids videos). This option bypasses that";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Activar el minirreproductor para todos los vídeos de YouTube";
"YT_MINIPLAYER_DESC" = "Vídeos infantiles por ejemplo.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Utiliza el HUD de volumen de iOS";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Activer le mini-lecteur pour toutes les vidéos YouTube";
"YT_MINIPLAYER_DESC" = "Vidéos pour enfants par exemple";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Utiliser l'affichage iOS du volume par défaut";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/he.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "אפשר את הנגן הקטן עבור כל הסרטונים ב-YouTube";
"YT_MINIPLAYER_DESC" = "סרטוני ילדים לדוגמה.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Engedélyezze a Minilejátszót az összes YouTube-videóhoz";
"YT_MINIPLAYER_DESC" = "Például gyermekvideók.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use iOS stock volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Abilita il Miniplayer su tutti i video di YouTube";
"YT_MINIPLAYER_DESC" = "Video YouTube Kids per esempio.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use iOS stock volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "すべての動画でミニプレーヤーを有効にする";
"YT_MINIPLAYER_DESC" = "ミニプレーヤーが使えない動画(子ども向けの動画など)がありますが、このオプションでバイパスできます。";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "iOSのstockボリュームHUDを利用する";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "모든 YouTube 영상에서 미니 플레이어 활성화";
"YT_MINIPLAYER_DESC" = "유튜브 키즈의 영상 같은 경우.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "iOS 기본 음량 표시기 사용";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Schakel de Mini Speler in voor alle video's";
"YT_MINIPLAYER_DESC" = "Video's voor kinderen bijvoorbeeld.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Włącz miniodtwarzach dla wszystkich filmów";
"YT_MINIPLAYER_DESC" = "Np. filmów dla dzieci.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Ative o Miniplayer para todos os vídeos do YouTube";
"YT_MINIPLAYER_DESC" = "Vídeos infantis, por exemplo.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Usar o HUD de volume padrão do iOS";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Activare Miniplayer pentru toate videoclipurile YouTube";
"YT_MINIPLAYER_DESC" = "De exemplu, videoclipurile destinate pentri copii";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Мини-плеер для всех видео";
"YT_MINIPLAYER_DESC" = "Принудительно активирует мини-плеер для всех видео, включая видео, предназначенное для детей.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Использовать стоковый слайдер грмкости iOS";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap
"YT_MINIPLAYER" = "Enable miniplayer for all videos";
"YT_MINIPLAYER_DESC" = "The miniplayer cannot be activated for certain videos (e.g., kids videos). This option bypasses that";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Use stock iOS volume HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/tr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Tüm YouTube videoları için Mini Oynatıcıyı etkinleştir";
"YT_MINIPLAYER_DESC" = "Örneğin çocuk videoları.";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Mevcut iOS baş yukarı göstergesi(HUD) alanını kullan";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "Cho phép sử dụng trình phát thu nhỏ với mọi video";
"YT_MINIPLAYER_DESC" = "Ví dụ: Video cho trẻ em.";

"HIDE_REMIX_BUTTON" = "Ẩn nút Phối lại";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Ẩn nút Tạo đoạn video";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Ẩn nút Tải xuống";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "Sử dụng thanh âm lượng mặc định của iOS";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "为所有 YouTube 视频启用迷你播放器";
"YT_MINIPLAYER_DESC" = "例如:面向儿童的视频。";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "使用 iOS 自带音量指示";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
9 changes: 9 additions & 0 deletions Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
"YT_MINIPLAYER" = "為所有 YouTube 影片啟用迷你播放器";
"YT_MINIPLAYER_DESC" = "例如兒童影片";

"HIDE_REMIX_BUTTON" = "Hides Remix button";
"HIDE_REMIX_BUTTON_DESC" = "";

"HIDE_CLIP_BUTTON" = "Hide Clip button";
"HIDE_CLIP_BUTTON_DESC" = "";

"HIDE_DOWNLOAD_BUTTON" = "Hide Download button";
"HIDE_DOWNLOAD_BUTTON_DESC" = "";

"STOCK_VOLUME_HUD" = "使用 iOS 內建的音量 HUD";
"STOCK_VOLUME_HUD_DESC" = "";

Expand Down
5 changes: 5 additions & 0 deletions Sources/uYouPlus.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
#import <YouTubeHeader/YTAppDelegate.h> // Activate FLEX
#import <YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h>

// Hide buttons under the video player by @PoomSmart
#import <YouTubeHeader/ASCollectionElement.h>
#import <YouTubeHeader/ASCollectionView.h>
#import <YouTubeHeader/ELMNodeController.h>

// #import <YouTubeHeader/YTISectionListRenderer.h> // Hide search ads by @PoomSmart - https://github.com/PoomSmart/YouTube-X

#define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil]
Expand Down
Loading

0 comments on commit 88ac43d

Please sign in to comment.