From a847d17c0d97b2c46533984c0bd05fddbe3ddb44 Mon Sep 17 00:00:00 2001 From: lance-gemini Date: Sun, 10 Sep 2023 15:47:02 +0800 Subject: [PATCH 1/2] remove shorts from homepage --- _locales/am/messages.json | 3 +++ _locales/ar/messages.json | 3 +++ _locales/bg/messages.json | 3 +++ _locales/bn/messages.json | 3 +++ _locales/ca/messages.json | 3 +++ _locales/cs/messages.json | 3 +++ _locales/da/messages.json | 3 +++ _locales/de/messages.json | 3 +++ _locales/el/messages.json | 3 +++ _locales/en/messages.json | 3 +++ _locales/en_GB/messages.json | 3 +++ _locales/en_US/messages.json | 3 +++ _locales/es/messages.json | 3 +++ _locales/es_419/messages.json | 3 +++ _locales/et/messages.json | 3 +++ _locales/fa/messages.json | 3 +++ _locales/fi/messages.json | 3 +++ _locales/fil/messages.json | 3 +++ _locales/fr/messages.json | 3 +++ _locales/gu/messages.json | 3 +++ _locales/he/messages.json | 3 +++ _locales/hi/messages.json | 3 +++ _locales/hr/messages.json | 3 +++ _locales/hu/messages.json | 3 +++ _locales/id/messages.json | 3 +++ _locales/it/messages.json | 3 +++ _locales/ja/messages.json | 3 +++ _locales/kn/messages.json | 3 +++ _locales/ko/messages.json | 3 +++ _locales/lt/messages.json | 3 +++ _locales/lv/messages.json | 3 +++ _locales/ml/messages.json | 3 +++ _locales/mr/messages.json | 3 +++ _locales/ms/messages.json | 3 +++ _locales/nb_NO/messages.json | 3 +++ _locales/nl/messages.json | 3 +++ _locales/no/messages.json | 3 +++ _locales/pl/messages.json | 3 +++ _locales/pt_BR/messages.json | 3 +++ _locales/pt_PT/messages.json | 3 +++ _locales/ro/messages.json | 3 +++ _locales/ru/messages.json | 3 +++ _locales/si/messages.json | 3 +++ _locales/sk/messages.json | 3 +++ _locales/sl/messages.json | 3 +++ _locales/sr/messages.json | 3 +++ _locales/sv/messages.json | 3 +++ _locales/sw/messages.json | 3 +++ _locales/ta/messages.json | 3 +++ _locales/te/messages.json | 3 +++ _locales/th/messages.json | 3 +++ _locales/tr/messages.json | 3 +++ _locales/uk/messages.json | 3 +++ _locales/vi/messages.json | 3 +++ _locales/zh_CN/messages.json | 3 +++ _locales/zh_TW/messages.json | 3 +++ js&css/extension/www.youtube.com/general/general.css | 9 +++++++++ menu/skeleton-parts/general.js | 4 ++++ 58 files changed, 181 insertions(+) diff --git a/_locales/am/messages.json b/_locales/am/messages.json index 2f52c6cfd..ec070ef3b 100644 --- a/_locales/am/messages.json +++ b/_locales/am/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "የታጠቡት የመጀመሪያ ጭምርን አርምያ" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json index 03b6a2f66..9d809aa94 100644 --- a/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -818,6 +818,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "إزالة الشورت من الصفحة الرئيسية" + }, "removeRelatedSearchResults": { "message": "إزالة عمليات بحث مرتبطة بـ" }, diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json index f34a9f13a..e845a3753 100644 --- a/_locales/bg/messages.json +++ b/_locales/bg/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Премахни Shorts от началната страница" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/bn/messages.json b/_locales/bn/messages.json index 1c5f6aab9..c49ff9290 100644 --- a/_locales/bn/messages.json +++ b/_locales/bn/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "মুখপৃষ্ঠের শর্ট মুছে দিন" + }, "removeRelatedSearchResults": { "message": "সম্পর্কিত অনুসন্ধান ফলাফল সরান" }, diff --git a/_locales/ca/messages.json b/_locales/ca/messages.json index f34a9f13a..6c159d37c 100644 --- a/_locales/ca/messages.json +++ b/_locales/ca/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Elimina els Shorts de la pàgina d'inici" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json index f34a9f13a..f1f71821a 100644 --- a/_locales/cs/messages.json +++ b/_locales/cs/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Odebrat Shorts z úvodní stránky" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/da/messages.json b/_locales/da/messages.json index f34a9f13a..36bed891e 100644 --- a/_locales/da/messages.json +++ b/_locales/da/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Fjern Shorts fra hjemmesiden" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 21546d558..3216b9277 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Auf TV abspielen" }, + "removeHomePageShorts": { + "message": "Startseite Shorts entfernen" + }, "removeRelatedSearchResults": { "message": "Ähnliche Suchergebnisse entfernen" }, diff --git a/_locales/el/messages.json b/_locales/el/messages.json index 720281c22..b94611557 100644 --- a/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Κατάργηση Shorts από την αρχική σελίδα" + }, "removeRelatedSearchResults": { "message": "Αφαίρεσε σχετικά αποτελέσματα αναζήτησης" }, diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 7460ed505..260c24165 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -830,6 +830,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Remove home page's Shorts" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/en_GB/messages.json b/_locales/en_GB/messages.json index a4da0f97e..8b2821a87 100644 --- a/_locales/en_GB/messages.json +++ b/_locales/en_GB/messages.json @@ -788,6 +788,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Remove home page's Shorts" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json index a4da0f97e..8b2821a87 100644 --- a/_locales/en_US/messages.json +++ b/_locales/en_US/messages.json @@ -788,6 +788,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Remove home page's Shorts" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/es/messages.json b/_locales/es/messages.json index c0731f5bc..b7b438294 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Reproducir en el televisor" }, + "removeHomePageShorts": { + "message": "Eliminar Shorts de la página de inicio" + }, "removeRelatedSearchResults": { "message": "Quitar resultados relacionados" }, diff --git a/_locales/es_419/messages.json b/_locales/es_419/messages.json index a051e0b78..1e24d736a 100644 --- a/_locales/es_419/messages.json +++ b/_locales/es_419/messages.json @@ -788,6 +788,9 @@ "remote": { "message": "Reproducir en el televisor" }, + "removeHomePageShorts": { + "message": "Eliminar Shorts de la página de inicio" + }, "removeRelatedSearchResults": { "message": "Quitar resultados relacionados" }, diff --git a/_locales/et/messages.json b/_locales/et/messages.json index f34a9f13a..26b012b85 100644 --- a/_locales/et/messages.json +++ b/_locales/et/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Eemalda kodulehe Shortsid" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/fa/messages.json b/_locales/fa/messages.json index f34a9f13a..c08cffd0b 100644 --- a/_locales/fa/messages.json +++ b/_locales/fa/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "حذف کردن شورت‌های صفحه اصلی" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json index f34a9f13a..3cb46421f 100644 --- a/_locales/fi/messages.json +++ b/_locales/fi/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Poista etusivun Shorts" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/fil/messages.json b/_locales/fil/messages.json index f34a9f13a..b9b4bf413 100644 --- a/_locales/fil/messages.json +++ b/_locales/fil/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Alisin ang Shorts mula sa homepage" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 14d936886..ea9994ef1 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Supprimer les Shorts de la page d'accueil" + }, "removeRelatedSearchResults": { "message": "Supprimer les résultats de recherche associés" }, diff --git a/_locales/gu/messages.json b/_locales/gu/messages.json index f34a9f13a..4ce9f670b 100644 --- a/_locales/gu/messages.json +++ b/_locales/gu/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "મુખ્ય પેજના શોર્ટ્સ કાઢો" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/he/messages.json b/_locales/he/messages.json index f34a9f13a..34596f584 100644 --- a/_locales/he/messages.json +++ b/_locales/he/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "הסר Shorts מהדף הראשי" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/hi/messages.json b/_locales/hi/messages.json index 55748793a..8909938cf 100644 --- a/_locales/hi/messages.json +++ b/_locales/hi/messages.json @@ -806,6 +806,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "मुखपृष्ठ के शॉर्ट्स हटाएं" + }, "removeRelatedSearchResults": { "message": "संबंधित खोज परिणाम निकालें" }, diff --git a/_locales/hr/messages.json b/_locales/hr/messages.json index 9a7e3eed2..6d533ecbf 100644 --- a/_locales/hr/messages.json +++ b/_locales/hr/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Uklonite Shorts s početne stranice" + }, "removeRelatedSearchResults": { "message": "Uklonite slične rezultate pretraživanja" }, diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json index f34a9f13a..2655e3d69 100644 --- a/_locales/hu/messages.json +++ b/_locales/hu/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Shorts eltávolítása a főoldalról" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/id/messages.json b/_locales/id/messages.json index 7829ba9f5..7e5958c82 100644 --- a/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Hapus Shorts dari halaman beranda" + }, "removeRelatedSearchResults": { "message": "Hapus hasil pencarian terkait" }, diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 07017091d..04ec672c6 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Riproduci su tv" }, + "removeHomePageShorts": { + "message": "Rimuovi Shorts dalla pagina iniziale" + }, "removeRelatedSearchResults": { "message": "Rimuovi risultati di ricerca correlati" }, diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index 5b1df834c..dc2a35515 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "ホームページのショートを削除" + }, "removeRelatedSearchResults": { "message": "関連動画を検索結果から削除する" }, diff --git a/_locales/kn/messages.json b/_locales/kn/messages.json index f34a9f13a..d3a4d445c 100644 --- a/_locales/kn/messages.json +++ b/_locales/kn/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "ಮುಖ್ಯ ಪೇಜಿನ ಶಾರ್ಟ್ಸ್ ಅನ್ನು ತೆಗೆದುಹಾಕಿ" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index e5b8a210d..56defe891 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -815,6 +815,9 @@ "remote": { "message": "TV에서 재생" }, + "removeHomePageShorts": { + "message": "홈 페이지의 쇼츠 제거" + }, "removeRelatedSearchResults": { "message": "관련 검색 결과 제거" }, diff --git a/_locales/lt/messages.json b/_locales/lt/messages.json index f34a9f13a..84a308da5 100644 --- a/_locales/lt/messages.json +++ b/_locales/lt/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Pašalinkite Shorts iš pagrindinio puslapio" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/lv/messages.json b/_locales/lv/messages.json index f34a9f13a..cd488c9ac 100644 --- a/_locales/lv/messages.json +++ b/_locales/lv/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Noņem Shorts no sākumlapas" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/ml/messages.json b/_locales/ml/messages.json index f34a9f13a..4af02368e 100644 --- a/_locales/ml/messages.json +++ b/_locales/ml/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "ഹോം പേജിന്റെ ഷോർട്ട് നീക്കം" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/mr/messages.json b/_locales/mr/messages.json index f34a9f13a..f56a7b489 100644 --- a/_locales/mr/messages.json +++ b/_locales/mr/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "मुख्य पृष्ठाच्या शॉर्ट्स काढा" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/ms/messages.json b/_locales/ms/messages.json index f34a9f13a..8e235840f 100644 --- a/_locales/ms/messages.json +++ b/_locales/ms/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Alihkan Shorts dari laman utama" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/nb_NO/messages.json b/_locales/nb_NO/messages.json index 28e3cd6e6..3ede538b0 100644 --- a/_locales/nb_NO/messages.json +++ b/_locales/nb_NO/messages.json @@ -806,6 +806,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Fjern Shorts fra hjemmesiden" + }, "removeRelatedSearchResults": { "message": "Fjern relaterte søkeresultater" }, diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index 296218f25..89b7100f6 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Speel af op TV" }, + "removeHomePageShorts": { + "message": "Verwijder Shorts van de startpagina" + }, "removeRelatedSearchResults": { "message": "Verwijder resultaten van gerelateerde videos" }, diff --git a/_locales/no/messages.json b/_locales/no/messages.json index ee65d6bf5..e8b5fcd77 100644 --- a/_locales/no/messages.json +++ b/_locales/no/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Fjern Shorts fra hjemmesiden" + }, "removeRelatedSearchResults": { "message": "Fjern relaterte søkeresultater" }, diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 621200578..513a3dd53 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Odtwarzaj na telewizorze" }, + "removeHomePageShorts": { + "message": "Usuń Shorts z głównej strony" + }, "removeRelatedSearchResults": { "message": "Usuń powiązane wyniki wyszukiwania" }, diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index e0007b9fd..2252e90f1 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Assistir na TV" }, + "removeHomePageShorts": { + "message": "Remover Shorts da página inicial" + }, "removeRelatedSearchResults": { "message": "Remover os respectivos resultados de pesquisa" }, diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index 48c14ad62..1a66a9a94 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Remover Shorts da página inicial" + }, "removeRelatedSearchResults": { "message": "Remove resultados relacionado com a pesquisa" }, diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json index e7e62c762..fd65b6c49 100644 --- a/_locales/ro/messages.json +++ b/_locales/ro/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Eliminați Shorts de pe pagina de start" + }, "removeRelatedSearchResults": { "message": "Elimină rezultatele asemănătoare a căutării" }, diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 34942ebb1..7be169405 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -818,6 +818,9 @@ "remote": { "message": "Удаленное воспроизведение" }, + "removeHomePageShorts": { + "message": "Удалить Shorts с главной страницы" + }, "removeRelatedSearchResults": { "message": "Удалять связанные результаты поиска" }, diff --git a/_locales/si/messages.json b/_locales/si/messages.json index 3186a471e..3e6faafe8 100644 --- a/_locales/si/messages.json +++ b/_locales/si/messages.json @@ -806,6 +806,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "මුල් පිටුවේ ෂෝට් ඉවත් කරනවා" + }, "removeRelatedSearchResults": { "message": "Related search results කොටස ඉවත් කරන්න" }, diff --git a/_locales/sk/messages.json b/_locales/sk/messages.json index 894b0b708..a151b121e 100644 --- a/_locales/sk/messages.json +++ b/_locales/sk/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Odstrániť Shorts zo začiatočnej stránky" + }, "removeRelatedSearchResults": { "message": "Odstránte príbuzné výsledky vyhľadávania" }, diff --git a/_locales/sl/messages.json b/_locales/sl/messages.json index f34a9f13a..9be6843f6 100644 --- a/_locales/sl/messages.json +++ b/_locales/sl/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Odstrani Shorts s prve strani" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/sr/messages.json b/_locales/sr/messages.json index f34a9f13a..acb693c6e 100644 --- a/_locales/sr/messages.json +++ b/_locales/sr/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Уклоните Shorts са почетне стране" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index 5f89c2041..92c3370ce 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Spela på TV" }, + "removeHomePageShorts": { + "message": "Ta bort Shorts från startsidan" + }, "removeRelatedSearchResults": { "message": "Ta bort relaterade sökresultat" }, diff --git a/_locales/sw/messages.json b/_locales/sw/messages.json index f34a9f13a..ef31ee113 100644 --- a/_locales/sw/messages.json +++ b/_locales/sw/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Ondoa Shorts kutoka ukurasa wa nyumbani" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/ta/messages.json b/_locales/ta/messages.json index f34a9f13a..70bae48bb 100644 --- a/_locales/ta/messages.json +++ b/_locales/ta/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "முகப்பு பக்கத்தின் ஷார்ட்ஸ் அகற்று" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/te/messages.json b/_locales/te/messages.json index f34a9f13a..2ee1fa25c 100644 --- a/_locales/te/messages.json +++ b/_locales/te/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "ముఖ్య పేజీని షార్ట్స్ తొలగించండి" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/th/messages.json b/_locales/th/messages.json index f34a9f13a..d75cf2d58 100644 --- a/_locales/th/messages.json +++ b/_locales/th/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "ลบ Shorts ออกจากหน้าแรก" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json index a4cacd779..823f9cc37 100644 --- a/_locales/tr/messages.json +++ b/_locales/tr/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "TV'de oynat" }, + "removeHomePageShorts": { + "message": "Ana sayfa Shorts'ları kaldır" + }, "removeRelatedSearchResults": { "message": "İlgili arama sonuçlarını kaldır" }, diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json index bd86135c5..c60753090 100644 --- a/_locales/uk/messages.json +++ b/_locales/uk/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "Видалити Shorts з головної сторінки" + }, "removeRelatedSearchResults": { "message": "Remove related search results" }, diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json index a9be85f14..1b2169b83 100644 --- a/_locales/vi/messages.json +++ b/_locales/vi/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Phát trên TV" }, + "removeHomePageShorts": { + "message": "Xóa Shorts trên trang chủ" + }, "removeRelatedSearchResults": { "message": "Xóa kết quả tìm kiếm có liên quan" }, diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 5437dea00..33a281b73 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "Play on TV" }, + "removeHomePageShorts": { + "message": "移除主页的 Shorts" + }, "removeRelatedSearchResults": { "message": "隐藏搜索相关结果" }, diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 88bba6ca4..37a304e70 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -812,6 +812,9 @@ "remote": { "message": "於電視上播放" }, + "removeHomePageShorts": { + "message": "移除主頁的 Shorts" + }, "removeRelatedSearchResults": { "message": "移除搜尋相關結果" }, diff --git a/js&css/extension/www.youtube.com/general/general.css b/js&css/extension/www.youtube.com/general/general.css index 5fb1872a3..b53e48864 100644 --- a/js&css/extension/www.youtube.com/general/general.css +++ b/js&css/extension/www.youtube.com/general/general.css @@ -60,6 +60,15 @@ html[it-pathname='/'][it-youtube-home-page='search'] ytm-searchbox>form { } +/*-------------------------------------------------------------- +# REMOVE HOMEPAGE SHORTS +--------------------------------------------------------------*/ + +html[it-pathname='/'][it-remove-home-page-shorts="true"] ytd-rich-section-renderer:has(ytd-rich-grid-slim-media[is-short]) { + display: none !important +} + + /*-------------------------------------------------------------- # COLLAPSE OF SUBSCRIPTION SECTIONS --------------------------------------------------------------*/ diff --git a/menu/skeleton-parts/general.js b/menu/skeleton-parts/general.js index d5fb4f9a0..f12ffed4b 100644 --- a/menu/skeleton-parts/general.js +++ b/menu/skeleton-parts/general.js @@ -1090,6 +1090,10 @@ extension.skeleton.main.layers.section.general = { component: 'switch', text: 'collapseOfSubscriptionSections' }, + remove_home_page_shorts: { + component: 'switch', + text: 'removeHomePageShorts' + }, remove_related_search_results: { component: 'switch', text: 'removeRelatedSearchResults' From 3ee3a9444d2242363d217231e9f8c134269a68d2 Mon Sep 17 00:00:00 2001 From: lance-gemini Date: Sun, 10 Sep 2023 16:13:20 +0800 Subject: [PATCH 2/2] remove shorts reel from search page --- _locales/am/messages.json | 3 +++ _locales/ar/messages.json | 3 +++ _locales/bg/messages.json | 3 +++ _locales/bn/messages.json | 3 +++ _locales/ca/messages.json | 3 +++ _locales/cs/messages.json | 3 +++ _locales/da/messages.json | 3 +++ _locales/de/messages.json | 3 +++ _locales/el/messages.json | 3 +++ _locales/en/messages.json | 3 +++ _locales/es_419/messages.json | 3 +++ _locales/et/messages.json | 3 +++ _locales/fa/messages.json | 3 +++ _locales/fi/messages.json | 3 +++ _locales/fil/messages.json | 3 +++ _locales/fr/messages.json | 3 +++ _locales/gu/messages.json | 3 +++ _locales/hi/messages.json | 3 +++ _locales/hr/messages.json | 3 +++ _locales/hu/messages.json | 3 +++ _locales/id/messages.json | 3 +++ _locales/it/messages.json | 3 +++ _locales/ja/messages.json | 3 +++ _locales/kn/messages.json | 3 +++ _locales/ko/messages.json | 3 +++ _locales/lt/messages.json | 3 +++ _locales/lv/messages.json | 3 +++ _locales/ml/messages.json | 3 +++ _locales/mr/messages.json | 3 +++ _locales/ms/messages.json | 3 +++ _locales/nl/messages.json | 3 +++ _locales/no/messages.json | 3 +++ _locales/pl/messages.json | 3 +++ _locales/pt_PT/messages.json | 3 +++ _locales/ro/messages.json | 3 +++ _locales/ru/messages.json | 3 +++ _locales/si/messages.json | 3 +++ _locales/sk/messages.json | 3 +++ _locales/sl/messages.json | 3 +++ _locales/sr/messages.json | 3 +++ _locales/sv/messages.json | 3 +++ _locales/sw/messages.json | 3 +++ _locales/ta/messages.json | 3 +++ _locales/te/messages.json | 3 +++ _locales/th/messages.json | 3 +++ _locales/tr/messages.json | 3 +++ _locales/uk/messages.json | 3 +++ _locales/vi/messages.json | 3 +++ _locales/zh_CN/messages.json | 3 +++ _locales/zh_TW/messages.json | 3 +++ js&css/extension/www.youtube.com/general/general.css | 8 ++++++++ menu/skeleton-parts/general.js | 4 ++++ 52 files changed, 162 insertions(+) diff --git a/_locales/am/messages.json b/_locales/am/messages.json index ec070ef3b..289e1363e 100644 --- a/_locales/am/messages.json +++ b/_locales/am/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "የፈረሰኞች ዝግጅት ከስልክ ፍርቂ አውርድ" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json index 9d809aa94..22f22bf94 100644 --- a/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -824,6 +824,9 @@ "removeRelatedSearchResults": { "message": "إزالة عمليات بحث مرتبطة بـ" }, + "removeShortsReelSearchResults": { + "message": "إزالة لفة Shorts من نتائج البحث" + }, "repeat": { "message": "تكرار" }, diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json index e845a3753..b7060646e 100644 --- a/_locales/bg/messages.json +++ b/_locales/bg/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Премахнете ролката Shorts от резултатите от търсенето" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/bn/messages.json b/_locales/bn/messages.json index c49ff9290..f0ffbd83f 100644 --- a/_locales/bn/messages.json +++ b/_locales/bn/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "সম্পর্কিত অনুসন্ধান ফলাফল সরান" }, + "removeShortsReelSearchResults": { + "message": "অনুসন্ধানের ফলাফল থেকে শর্টস রিল সরান" + }, "repeat": { "message": "পুনরাবৃত্তি" }, diff --git a/_locales/ca/messages.json b/_locales/ca/messages.json index 6c159d37c..d1ce3e109 100644 --- a/_locales/ca/messages.json +++ b/_locales/ca/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Elimineu el carrossel de Shorts dels resultats de cerca" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json index f1f71821a..cf489e097 100644 --- a/_locales/cs/messages.json +++ b/_locales/cs/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Odstraňte karuselu Shorts z výsledků vyhledávání" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/da/messages.json b/_locales/da/messages.json index 36bed891e..8359fd35f 100644 --- a/_locales/da/messages.json +++ b/_locales/da/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Fjern Shorts-rulle fra søgeresultaterne" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 3216b9277..0f4db2bb4 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Ähnliche Suchergebnisse entfernen" }, + "removeShortsReelSearchResults": { + "message": "Shorts-Reel aus den Suchergebnissen entfernen" + }, "repeat": { "message": "Repeat (Wiederholen)" }, diff --git a/_locales/el/messages.json b/_locales/el/messages.json index b94611557..cdf025ff3 100644 --- a/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Αφαίρεσε σχετικά αποτελέσματα αναζήτησης" }, + "removeShortsReelSearchResults": { + "message": "Αφαιρέστε τη λίστα Shorts από τα αποτελέσματα αναζήτησης" + }, "repeat": { "message": "Επανάληψη" }, diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 260c24165..b5ecef9cc 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -836,6 +836,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Remove Shorts reel from search results" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/es_419/messages.json b/_locales/es_419/messages.json index 1e24d736a..e5d6acffe 100644 --- a/_locales/es_419/messages.json +++ b/_locales/es_419/messages.json @@ -794,6 +794,9 @@ "removeRelatedSearchResults": { "message": "Quitar resultados relacionados" }, + "removeShortsReelSearchResults": { + "message": "Eliminar el carrusel de Shorts de los resultados de búsqueda" + }, "repeat": { "message": "Repetir" }, diff --git a/_locales/et/messages.json b/_locales/et/messages.json index 26b012b85..1f3d8cdd3 100644 --- a/_locales/et/messages.json +++ b/_locales/et/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Eemaldage Shorts-rull otsingutulemustest" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/fa/messages.json b/_locales/fa/messages.json index c08cffd0b..b8af073f4 100644 --- a/_locales/fa/messages.json +++ b/_locales/fa/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "حذف کردن ریل Shorts از نتایج جستجو" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json index 3cb46421f..c8f8d1656 100644 --- a/_locales/fi/messages.json +++ b/_locales/fi/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Poista Shorts-reel hakutuloksista" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/fil/messages.json b/_locales/fil/messages.json index b9b4bf413..46aa56a2b 100644 --- a/_locales/fil/messages.json +++ b/_locales/fil/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Alisin ang Shorts reel mula sa mga resulta ng paghahanap" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index ea9994ef1..ba805378c 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Supprimer les résultats de recherche associés" }, + "removeShortsReelSearchResults": { + "message": "Supprimer la liste de Shorts des résultats de recherche" + }, "repeat": { "message": "Lire en boucle" }, diff --git a/_locales/gu/messages.json b/_locales/gu/messages.json index 4ce9f670b..7f545c453 100644 --- a/_locales/gu/messages.json +++ b/_locales/gu/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "શોધના પરિણામોમાંથી શોર્ટસ રીલ કાઢી નાખો" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/hi/messages.json b/_locales/hi/messages.json index 8909938cf..a6546d615 100644 --- a/_locales/hi/messages.json +++ b/_locales/hi/messages.json @@ -812,6 +812,9 @@ "removeRelatedSearchResults": { "message": "संबंधित खोज परिणाम निकालें" }, + "removeShortsReelSearchResults": { + "message": "खोज परिणामों से शॉर्ट्स रील को हटाएं" + }, "repeat": { "message": "दोहराना" }, diff --git a/_locales/hr/messages.json b/_locales/hr/messages.json index 6d533ecbf..db473a78d 100644 --- a/_locales/hr/messages.json +++ b/_locales/hr/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Uklonite slične rezultate pretraživanja" }, + "removeShortsReelSearchResults": { + "message": "Uklonite Shorts kolut iz rezultata pretrage" + }, "repeat": { "message": "Ponovi" }, diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json index 2655e3d69..15e8b5811 100644 --- a/_locales/hu/messages.json +++ b/_locales/hu/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Távolítsa el a Shorts karusellt a keresési találatokból" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/id/messages.json b/_locales/id/messages.json index 7e5958c82..2a3d6b417 100644 --- a/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Hapus hasil pencarian terkait" }, + "removeShortsReelSearchResults": { + "message": "Hapus gulungan Shorts dari hasil pencarian" + }, "repeat": { "message": "Putar ulang" }, diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 04ec672c6..f9dd828f3 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Rimuovi risultati di ricerca correlati" }, + "removeShortsReelSearchResults": { + "message": "Rimuovi il carosello di Shorts dai risultati di ricerca" + }, "repeat": { "message": "Ripeti" }, diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index dc2a35515..17dbc1eef 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "関連動画を検索結果から削除する" }, + "removeShortsReelSearchResults": { + "message": "検索結果からショートリールを削除" + }, "repeat": { "message": "リピート" }, diff --git a/_locales/kn/messages.json b/_locales/kn/messages.json index d3a4d445c..a2d7ef6da 100644 --- a/_locales/kn/messages.json +++ b/_locales/kn/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "ಹುಡುಕಾಟದ ಫಲಿತಾಂಶಗಳಿಂದ ಷಾರ್ಟ್ಸ್ ರೀಲ್ ಅನ್ನು ತೆಗೆದುಹಾಕಿ" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index 56defe891..45172280e 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -821,6 +821,9 @@ "removeRelatedSearchResults": { "message": "관련 검색 결과 제거" }, + "removeShortsReelSearchResults": { + "message": "검색 결과에서 Shorts 리얼 제거" + }, "repeat": { "message": "반복" }, diff --git a/_locales/lt/messages.json b/_locales/lt/messages.json index 84a308da5..147335a71 100644 --- a/_locales/lt/messages.json +++ b/_locales/lt/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Pašalinkite Shorts ritinį iš paieškos rezultatų" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/lv/messages.json b/_locales/lv/messages.json index cd488c9ac..503239ee4 100644 --- a/_locales/lv/messages.json +++ b/_locales/lv/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Noņemiet Shorts rullīti no meklēšanas rezultātiem" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/ml/messages.json b/_locales/ml/messages.json index 4af02368e..afef9c8f8 100644 --- a/_locales/ml/messages.json +++ b/_locales/ml/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "തിരച്ചില്‍ ഫലങ്ങളില്‍നിന്ന് ഷോര്‍ട്സ് റീല്‍ നീക്കം" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/mr/messages.json b/_locales/mr/messages.json index f56a7b489..ec814fbc7 100644 --- a/_locales/mr/messages.json +++ b/_locales/mr/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "शोध निकाला लावा परिणामातील शॉर्ट्स रील" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/ms/messages.json b/_locales/ms/messages.json index 8e235840f..4cbc54c84 100644 --- a/_locales/ms/messages.json +++ b/_locales/ms/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Alihkan gulungan Shorts dari hasil carian" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index 89b7100f6..6d946cdcb 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Verwijder resultaten van gerelateerde videos" }, + "removeShortsReelSearchResults": { + "message": "Verwijder Shorts-reel uit de zoekresultaten" + }, "repeat": { "message": "Herhalen" }, diff --git a/_locales/no/messages.json b/_locales/no/messages.json index e8b5fcd77..d5327c4dc 100644 --- a/_locales/no/messages.json +++ b/_locales/no/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Fjern relaterte søkeresultater" }, + "removeShortsReelSearchResults": { + "message": "Fjern Shorts-rullen fra søkeresultatene" + }, "repeat": { "message": "Gjenta" }, diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 513a3dd53..0959b8ffe 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Usuń powiązane wyniki wyszukiwania" }, + "removeShortsReelSearchResults": { + "message": "Usuń karuzelę Shorts z wyników wyszukiwania" + }, "repeat": { "message": "Powtarzaj" }, diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index 1a66a9a94..4e84c1a56 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove resultados relacionado com a pesquisa" }, + "removeShortsReelSearchResults": { + "message": "Remover o carrossel de Shorts dos resultados de pesquisa" + }, "repeat": { "message": "Repetir" }, diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json index fd65b6c49..363945386 100644 --- a/_locales/ro/messages.json +++ b/_locales/ro/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Elimină rezultatele asemănătoare a căutării" }, + "removeShortsReelSearchResults": { + "message": "Eliminați roata de Shorts din rezultatele căutării" + }, "repeat": { "message": "Repetă" }, diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 7be169405..5d495a02c 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -824,6 +824,9 @@ "removeRelatedSearchResults": { "message": "Удалять связанные результаты поиска" }, + "removeShortsReelSearchResults": { + "message": "Удалить карусель Shorts из результатов поиска" + }, "repeat": { "message": "Повтор" }, diff --git a/_locales/si/messages.json b/_locales/si/messages.json index 3e6faafe8..728525aff 100644 --- a/_locales/si/messages.json +++ b/_locales/si/messages.json @@ -812,6 +812,9 @@ "removeRelatedSearchResults": { "message": "Related search results කොටස ඉවත් කරන්න" }, + "removeShortsReelSearchResults": { + "message": "සෙවා ප්‍රතිඵල සෙයානක් ඉවත් කරන්න" + }, "repeat": { "message": "Repeat කරන්න" }, diff --git a/_locales/sk/messages.json b/_locales/sk/messages.json index a151b121e..0beafcb16 100644 --- a/_locales/sk/messages.json +++ b/_locales/sk/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Odstránte príbuzné výsledky vyhľadávania" }, + "removeShortsReelSearchResults": { + "message": "Odstráňte karusel Shorts z výsledkov vyhľadávania" + }, "repeat": { "message": "Opakovať" }, diff --git a/_locales/sl/messages.json b/_locales/sl/messages.json index 9be6843f6..28733eb33 100644 --- a/_locales/sl/messages.json +++ b/_locales/sl/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Odstrani Shorts kolut iz rezultatov iskanja" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/sr/messages.json b/_locales/sr/messages.json index acb693c6e..9d05811eb 100644 --- a/_locales/sr/messages.json +++ b/_locales/sr/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Уклоните каруселу Shorts из резултата претраге" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index 92c3370ce..4b9860911 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Ta bort relaterade sökresultat" }, + "removeShortsReelSearchResults": { + "message": "Ta bort Shorts-reel från sökresultaten" + }, "repeat": { "message": "Repetera" }, diff --git a/_locales/sw/messages.json b/_locales/sw/messages.json index ef31ee113..1ba70e310 100644 --- a/_locales/sw/messages.json +++ b/_locales/sw/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Ondoa gurudumu la Shorts kutoka kwenye matokeo ya utafutaji" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/ta/messages.json b/_locales/ta/messages.json index 70bae48bb..d1b1af3d2 100644 --- a/_locales/ta/messages.json +++ b/_locales/ta/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "தேடல் முடிவுகளிலிருந்து ஷார்ட்ஸ் ரீலை அகற்று" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/te/messages.json b/_locales/te/messages.json index 2ee1fa25c..33ac68b05 100644 --- a/_locales/te/messages.json +++ b/_locales/te/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "శోర్ట్స్ రీల్‌ను సెర్చ్ ఫలితాల నుండి తీసుకోండి" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/th/messages.json b/_locales/th/messages.json index d75cf2d58..0ac99c7b5 100644 --- a/_locales/th/messages.json +++ b/_locales/th/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "ลบ Shorts reel ออกจากผลการค้นหา" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json index 823f9cc37..99a729cdb 100644 --- a/_locales/tr/messages.json +++ b/_locales/tr/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "İlgili arama sonuçlarını kaldır" }, + "removeShortsReelSearchResults": { + "message": "Arama sonuçlarından Shorts reelini kaldır" + }, "repeat": { "message": "Tekrarla" }, diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json index c60753090..7a8d951a2 100644 --- a/_locales/uk/messages.json +++ b/_locales/uk/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Remove related search results" }, + "removeShortsReelSearchResults": { + "message": "Видаліть карусель Shorts з результатів пошуку" + }, "repeat": { "message": "Repeat" }, diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json index 1b2169b83..de12a36ad 100644 --- a/_locales/vi/messages.json +++ b/_locales/vi/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "Xóa kết quả tìm kiếm có liên quan" }, + "removeShortsReelSearchResults": { + "message": "Xóa vòng lặp Shorts khỏi kết quả tìm kiếm" + }, "repeat": { "message": "Lặp lại" }, diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 33a281b73..f3379767a 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "隐藏搜索相关结果" }, + "removeShortsReelSearchResults": { + "message": "删除搜索结果中的 Shorts 轮播" + }, "repeat": { "message": "循环" }, diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 37a304e70..3c924d3ef 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -818,6 +818,9 @@ "removeRelatedSearchResults": { "message": "移除搜尋相關結果" }, + "removeShortsReelSearchResults": { + "message": "刪除搜尋結果中的 Shorts 輪播" + }, "repeat": { "message": "重複播放" }, diff --git a/js&css/extension/www.youtube.com/general/general.css b/js&css/extension/www.youtube.com/general/general.css index b53e48864..7f27d0ecd 100644 --- a/js&css/extension/www.youtube.com/general/general.css +++ b/js&css/extension/www.youtube.com/general/general.css @@ -122,6 +122,14 @@ html[it-pathname='/results'][it-remove-related-search-results='true'] ytd-shelf- } +/*-------------------------------------------------------------- +# REMOVE SHOTS RELATED SEARCH RESULTS +--------------------------------------------------------------*/ + +html[it-pathname='/results'][it-remove-shorts-reel-search-results="true"] ytd-reel-shelf-renderer { + display: none !important +} + /*-------------------------------------------------------------- # SCROLL BAR --------------------------------------------------------------*/ diff --git a/menu/skeleton-parts/general.js b/menu/skeleton-parts/general.js index f12ffed4b..e02fc7790 100644 --- a/menu/skeleton-parts/general.js +++ b/menu/skeleton-parts/general.js @@ -1097,6 +1097,10 @@ extension.skeleton.main.layers.section.general = { remove_related_search_results: { component: 'switch', text: 'removeRelatedSearchResults' + }, + remove_shorts_reel_search_results: { + component: 'switch', + text: 'removeShortsReelSearchResults' } }, embed: {