mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-15 07:57:09 +03:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fa24dbae4 | ||
|
|
975b876a74 | ||
|
|
557e2ea2df |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "__MSG_fullName__",
|
"name": "__MSG_fullName__",
|
||||||
"short_name": "SponsorBlock",
|
"short_name": "SponsorBlock",
|
||||||
"version": "5.10.2",
|
"version": "5.10.3",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_Description__",
|
"description": "__MSG_Description__",
|
||||||
"homepage_url": "https://sponsor.ajay.app",
|
"homepage_url": "https://sponsor.ajay.app",
|
||||||
|
|||||||
@@ -669,7 +669,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
|
|||||||
const skipButtonStates = this.state.skipButtonStates;
|
const skipButtonStates = this.state.skipButtonStates;
|
||||||
const skipButtonCallbacks = this.state.skipButtonCallbacks;
|
const skipButtonCallbacks = this.state.skipButtonCallbacks;
|
||||||
if (buttonIndex === null) {
|
if (buttonIndex === null) {
|
||||||
for (let i = 0; i < this.segments.length; i++) {
|
for (let i = 0; i < skipButtonStates.length; i++) {
|
||||||
skipButtonStates[i] = skipButtonState;
|
skipButtonStates[i] = skipButtonState;
|
||||||
skipButtonCallbacks[i] = this.reskip.bind(this);
|
skipButtonCallbacks[i] = this.reskip.bind(this);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -519,7 +519,7 @@ function handleMobileControlsMutations(): void {
|
|||||||
function getPreviewBarAttachElement(): HTMLElement | null {
|
function getPreviewBarAttachElement(): HTMLElement | null {
|
||||||
const progressElementOptions = [{
|
const progressElementOptions = [{
|
||||||
// For newer mobile YouTube (Sept 2024)
|
// For newer mobile YouTube (Sept 2024)
|
||||||
selector: ".YtProgressBarLineHost, .YtChapteredProgressBarHost",
|
selector: ".ytChapteredProgressBarHost, .YtProgressBarLineHost, .YtChapteredProgressBarHost",
|
||||||
isVisibleCheck: true
|
isVisibleCheck: true
|
||||||
}, {
|
}, {
|
||||||
// For newer mobile YouTube (May 2024)
|
// For newer mobile YouTube (May 2024)
|
||||||
@@ -2694,7 +2694,7 @@ function showTimeWithoutSkips(skippedDuration: number): void {
|
|||||||
// YouTube player time display
|
// YouTube player time display
|
||||||
const selector =
|
const selector =
|
||||||
isOnInvidious() ? ".vjs-duration" :
|
isOnInvidious() ? ".vjs-duration" :
|
||||||
isOnMobileYouTube() ? ".YtwPlayerTimeDisplayContent" :
|
isOnMobileYouTube() ? ".ytwPlayerTimeDisplayContent" :
|
||||||
".ytp-time-display.notranslate .ytp-time-wrapper";
|
".ytp-time-display.notranslate .ytp-time-wrapper";
|
||||||
const display = document.querySelector(selector);
|
const display = document.querySelector(selector);
|
||||||
if (!display) return;
|
if (!display) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user