Compare commits

..

3 Commits
6.1.1 ... 6.1.2

Author SHA1 Message Date
Ajay
3974231895 bump version 2025-12-16 21:34:05 -05:00
Ajay
a58bec2ebb Fix chapter text sometimes being hidden 2025-12-16 21:33:56 -05:00
Ajay
2c019468a7 Fix typings on isFirefox 2025-12-12 03:42:12 -05:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "SponsorBlock",
"version": "6.1.1",
"version": "6.1.2",
"default_locale": "en",
"description": "__MSG_Description__",
"homepage_url": "https://sponsor.ajay.app",

View File

@@ -950,7 +950,7 @@ class PreviewBar {
chapterButton.disabled = false;
}
const chapterTitle = chaptersContainer.querySelector(".ytp-chapter-title-content") as HTMLDivElement;
const chapterTitle = chaptersContainer.querySelector(".ytp-chapter-title-content:not(.sponsorChapterText)") as HTMLDivElement;
chapterTitle.style.display = "none";
const chapterCustomText = (chapterTitle.parentElement.querySelector(".sponsorChapterText") || (() => {