Skip to content

Commit

Permalink
fixes, including #2019
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube committed Feb 18, 2024
1 parent 20b3169 commit 9d1d6cd
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 22 deletions.
5 changes: 3 additions & 2 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"browserAccountSync": {"message":"Sync (Browser Account)"},
"ARROWDOWN":{"message":""},
"ARROWLEFT":{"message":""},
"ARROWRIGHT":{"message":""},
Expand Down Expand Up @@ -212,8 +213,8 @@
"icons":{"message":"Icons"},
"iconsOnly":{"message":"Icon only"},
"importSettings":{"message":"Import settings"},
"pushSyncSettings":{"message":"push settings to sync"},
"pullSyncSettings":{"message":"pull synced settings"},
"pushSyncSettings":{"message":"Push"},
"pullSyncSettings":{"message":"Pull"},
"improveLogo":{"message":"Improve logo"},
"improvedtubeButtons":{"message":"ImprovedTube buttons"},
"improvedtubeIconOnYoutube":{"message":"ImprovedTube icon on YouTube"},
Expand Down
3 changes: 1 addition & 2 deletions _locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,5 @@
"youtubeHeaderRight":{"message":"유튜브 헤더 (오른쪽)"},
"youtubeHomePage":{"message":"유튜브 홈페이지"},
"youtubeLanguage":{"message":"유튜브 언어"},
"youtubeLimitsVideoQualityTo1080pForH264Codec":{"message":"유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다."},
"softwareInformation":{"message":"소프트웨어 정보"}
"youtubeLimitsVideoQualityTo1080pForH264Codec":{"message":"유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다."}
}
1 change: 0 additions & 1 deletion _locales/pt_PT/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"compactTheme":{"message":"Tema compacto"},
"activate":{"message":"Ativar"},
"activateCaptions":{"message":"Ativar legendas"},
"Buttons":{"message":"Activate fullscreen"},
"shortcut_screenshot":{"message":"Foto do ecrân"},
"activateFullscreen":{"message":"Ativar ecrã completo"},
"language_closed_caption":{"message":"Padrão de Idioma - Legendas de videos"},
Expand Down
4 changes: 2 additions & 2 deletions js&css/web-accessible/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ ImprovedTube.videoPageUpdate = function () {
ImprovedTube.upNextAutoplay();
ImprovedTube.playerAutofullscreen();
ImprovedTube.playerSize();
if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat = function ();};
if( this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat();};
ImprovedTube.playerScreenshotButton();
ImprovedTube.playerRepeatButton();
ImprovedTube.playerRotateButton();
Expand Down Expand Up @@ -357,7 +357,7 @@ ImprovedTube.initPlayer = function () {
ImprovedTube.subtitlesBackgroundOpacity();
ImprovedTube.playerQuality();
ImprovedTube.playerVolume();
if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat = function ();};
if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat();};
ImprovedTube.playerScreenshotButton();
ImprovedTube.playerRepeatButton();
ImprovedTube.playerRotateButton();
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"short_name" : "ImprovedTube",
"name": "'Improve YouTube!' 🎧 (for YouTube & Videos)",
"description": "__MSG_description_ext__",
"version": "4.615",
"version": "4.642",
"default_locale": "en",
"icons": {
"16": "stuff/icons/16.png",
Expand Down
6 changes: 3 additions & 3 deletions menu/skeleton-parts/appearance.js
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ extension.skeleton.main.layers.section.appearance.on.click.comments = {
comments_sidebar: {
component: "switch",
text: "sidebar",
id: "comments-sidebar"
id: 'comments-sidebar'
},
comments_sidebar_scrollbars: {
component: "switch",
Expand All @@ -705,13 +705,13 @@ extension.skeleton.main.layers.section.appearance.on.click.comments = {
comments_sidebar_simple: {
component: "switch",
text: 'Sidebar_simple_alternative',
id: "comments-sidebar-simple
id: 'comments-sidebar-simple'
},
columns: {
component: "switch",
text: "toggleColumnComments",
value: true
}
},
squared_user_images: {
component: 'switch',
text: 'squaredUserImages',
Expand Down
4 changes: 0 additions & 4 deletions menu/skeleton-parts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,10 +973,6 @@ extension.skeleton.main.layers.section.player.on.click = {
storage: 'player_SDR'
}
},
player_always_repeat: {
component: 'switch',
text: 'alwaysActive'
},
section_2: {
component: 'section',
variant: 'card',
Expand Down
2 changes: 1 addition & 1 deletion menu/skeleton-parts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSecti
sync: {
component: 'section',
variant: 'card',
title: 'sync',
title: 'browserAccountSync',

pushSyncSettings: {
component: 'button',
Expand Down
2 changes: 1 addition & 1 deletion menu/styles/appearance.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
.satus-section--appearance .satus-button--player {
top: 53px;
left: 16px;
left: 8px;
width: calc(70% - 32px);
height: 96px;
min-height: auto;
Expand Down
8 changes: 3 additions & 5 deletions menu/styles/sub-options.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*-----------------
/*-----------------
NESTED (CONDITIONAL) SWITCHES
-----------------*/
#remove-home-page-shorts:not([data-value='true']) + .satus-switch,
Expand All @@ -12,16 +12,16 @@ NESTED (CONDITIONAL) SWITCHES
/*-DURATION WITH SPEED-*/
#show-remaining-duration:not([data-value='true']) + .satus-switch,
/*-comment sidebar scrollbars-*/
/* #comments-sidebar:not([data-value='true']) + .satus-switch */
#comments-sidebar:not([data-value='true']) + .satus-switch + #comments-sidebar-simple:not([data-value='true']) + .satus-switch,
/* #comments-sidebar:not([data-value='true']) + .satus-switch, */
/*--------------------------------------------------------------
>>> PLAYER
--------------------------------------------------------------*/
#forced-volume:not([data-value='true']) + .satus-slider,
#forced-playback-speed:not([data-value='true']) + .satus-switch,
#forced-playback-speed:not([data-value='true']) + .satus-switch + .satus-switch,
#forced-playback-speed:not([data-value='true']) + .satus-switch + .satus-switch + .satus-slider,
#player_repeat_button:not([data-value='true']) + .satus-switch,
/* #player_repeat_button:not([data-value='true']) + .satus-switch, */
#player_screenshot_button:not([data-value='true']) + .satus-switch,
#player_screenshot_button:not([data-value='true']) + .satus-switch + .satus-select,
/*--------------------------------------------------------------
Expand All @@ -35,8 +35,6 @@ NIGHT MODE
#activate:not([data-value='sunset_to_sunrise']) + * + .satus-time--to
/*====================================*/
{display: none !important;}



#remove-home-page-shorts[data-value='true'] + .satus-switch,
#remove-home-page-shorts[data-value='true'] + .satus-switch + .satus-switch,
Expand Down

0 comments on commit 9d1d6cd

Please sign in to comment.