diff options
author | Ajay <[email protected]> | 2024-05-24 03:20:21 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2024-05-24 03:20:21 -0400 |
commit | 0dbb6474b841e6ad49616f0b28e4a0668fa2e7fe (patch) | |
tree | 396959e2675238de05b42389e0a102605affcee9 /src/content.ts | |
parent | c974c2a6d66ba1313a62201b8574006b15eb3b3c (diff) | |
download | SponsorBlock-0dbb6474b841e6ad49616f0b28e4a0668fa2e7fe.tar.gz SponsorBlock-0dbb6474b841e6ad49616f0b28e4a0668fa2e7fe.zip |
Fix preview bar on mobile
Fixes #2021
Diffstat (limited to 'src/content.ts')
-rw-r--r-- | src/content.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content.ts b/src/content.ts index 4098d8fe..873c52dc 100644 --- a/src/content.ts +++ b/src/content.ts @@ -511,6 +511,10 @@ function getPreviewBarAttachElement(): HTMLElement | null { selector: ".YtProgressBarProgressBarLine", isVisibleCheck: true }, { + // For newer mobile YouTube (May 2024) + selector: ".YtmProgressBarProgressBarLine", + isVisibleCheck: true + }, { // For desktop YouTube hover play // Priority is given to the hover play progress bar over the main progress bar // for miniplayer + hover preview case |