mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 12:37:05 +03:00
@@ -512,12 +512,8 @@ function handleMobileControlsMutations(): void {
|
||||
|
||||
function getPreviewBarAttachElement(): HTMLElement | null {
|
||||
const progressElementOptions = [{
|
||||
// For new mobile YouTube (#1287)
|
||||
selector: ".progress-bar-line",
|
||||
isVisibleCheck: true
|
||||
}, {
|
||||
// For newer mobile YouTube (Jan 2024)
|
||||
selector: ".YtProgressBarProgressBarLine",
|
||||
// For newer mobile YouTube (Sept 2024)
|
||||
selector: ".YtChapteredProgressBarHost",
|
||||
isVisibleCheck: true
|
||||
}, {
|
||||
// For newer mobile YouTube (May 2024)
|
||||
|
||||
@@ -197,7 +197,6 @@ class PreviewBar {
|
||||
|
||||
if (this.onMobileYouTube) {
|
||||
this.container.style.transform = "none";
|
||||
this.container.style.height = "var(--yt-progress-bar-height)";
|
||||
} else if (!this.onInvidious) {
|
||||
this.container.classList.add("sbNotInvidious");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user