aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2022-11-04 15:41:51 -0400
committerGitHub <[email protected]>2022-11-04 15:41:51 -0400
commit4b4743f1f7109bb3412da79b26d83a81d6de56cb (patch)
tree4571066871e69a28544c266d9c820a5f94b3e1e1
parent7719ca7ecaa30df61fb10e22a300947885dc32da (diff)
parent784c1db0c101a7b21b21db82c5edaa338d492066 (diff)
downloadSponsorBlock-4b4743f1f7109bb3412da79b26d83a81d6de56cb.tar.gz
SponsorBlock-4b4743f1f7109bb3412da79b26d83a81d6de56cb.zip
Merge pull request #1531 from mchangrh/music-progressbar
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 b74c9d11..6b87ddd9 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -508,6 +508,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
}
];