Compare commits

...

6 Commits

Author SHA1 Message Date
Ajay
44941acb38 bump version 2025-10-29 02:24:54 -04:00
Ajay
8dbd566b13 update translations 2025-10-29 02:24:43 -04:00
Ajay
145463ef2e Remove annoying gif from help page 2025-10-28 15:53:18 -04:00
Ajay
8882b1d912 Fix preview bar scaling on new youtube layout 2025-10-28 15:50:51 -04:00
Ajay
75288da07a Show inspect button when only when time selected 2025-10-28 15:22:35 -04:00
Ajay
eed5de9d41 Don't auto skip on music videos if non music category disabled 2025-10-27 23:40:38 -04:00
8 changed files with 9 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "SponsorBlock",
"version": "6.0.3",
"version": "6.1.0",
"default_locale": "en",
"description": "__MSG_Description__",
"homepage_url": "https://sponsor.ajay.app",

View File

@@ -25,7 +25,7 @@
pointer-events: none;
height: 100%;
transform: scaleY(0.6) translateY(-30%) translateY(1.5px);
transform: scaleY(0.667) translateY(-30%) translateY(1.5px);
z-index: 42;
transition: transform .1s cubic-bezier(0,0,0.2,1);

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -71,7 +71,7 @@
__MSG_helpPageHowSkippingWorks2__
</p>
<div class="center"><img src="images/voting on notice.gif"></div>
<div class="center"><img src="images/notice.png"></div>
<p class="projectPreview">
__MSG_helpPageHowSkippingWorks1__

View File

@@ -312,7 +312,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
</span>
): ""}
{(!isNaN(segment[1]) && this.state.selectedActionType != ActionType.Full) ? (
{(!isNaN(segment[0]) && this.state.selectedActionType != ActionType.Full) ? (
<span id={"sponsorTimeInspectButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={this.inspectTime.bind(this)}>

View File

@@ -1959,7 +1959,8 @@ function shouldAutoSkip(segment: SponsorTime): boolean {
return (!getSkipProfileBool("manualSkipOnFullVideo") || !sponsorTimes?.some((s) => s.category === segment.category && s.actionType === ActionType.Full))
&& (getCategorySelection(segment)?.option === CategorySkipOption.AutoSkip ||
(getSkipProfileBool("autoSkipOnMusicVideos") && canSkipNonMusic && sponsorTimes?.some((s) => s.category === "music_offtopic")
(getSkipProfileBool("autoSkipOnMusicVideos") && canSkipNonMusic
&& sponsorTimes?.some((s) => s.category === "music_offtopic" && getCategorySelection(segment)?.option === CategorySkipOption.AutoSkip)
&& segment.actionType === ActionType.Skip)
|| sponsorTimesSubmitting.some((s) => s.segment === segment.segment))
|| isLoopedChapter(segment);
@@ -1968,7 +1969,8 @@ function shouldAutoSkip(segment: SponsorTime): boolean {
function shouldSkip(segment: SponsorTime): boolean {
return segment.hidden === SponsorHideType.Visible && (segment.actionType !== ActionType.Full
&& getCategorySelection(segment)?.option > CategorySkipOption.ShowOverlay)
|| (getSkipProfileBool("autoSkipOnMusicVideos") && sponsorTimes?.some((s) => s.category === "music_offtopic")
|| (getSkipProfileBool("autoSkipOnMusicVideos")
&& sponsorTimes?.some((s) => s.category === "music_offtopic" && getCategorySelection(segment)?.option === CategorySkipOption.AutoSkip)
&& segment.actionType === ActionType.Skip)
|| isLoopedChapter(segment);
}