aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael C <[email protected]>2022-10-13 00:55:55 -0400
committerMichael C <[email protected]>2022-10-13 00:55:55 -0400
commit784c1db0c101a7b21b21db82c5edaa338d492066 (patch)
tree4d18b5e48e1083868b20e06ef7e5dd8b598ccf44
parent97fc8174b9df72d7e2c87b97b72de9e053b7356c (diff)
downloadSponsorBlock-784c1db0c101a7b21b21db82c5edaa338d492066.tar.gz
SponsorBlock-784c1db0c101a7b21b21db82c5edaa338d492066.zip
add YT Music progress bar selector
-rw-r--r--src/content.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content.ts b/src/content.ts
index 8f75954f..761307a1 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -499,6 +499,11 @@ function createPreviewBar(): void {
// For Invidious/VideoJS
selector: ".vjs-progress-holder",
isVisibleCheck: false
+ }, {
+ // For Youtube Music
+ // there are two sliders, one for volume and one for progress - both called #progressContainer
+ selector: "#progress-bar>#sliderContainer>div>#sliderBar>#progressContainer",
+ isVisibleCheck: false
}
];