mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-17 13:08:54 +03:00
Compare commits
8 Commits
ci/oss_att
...
6.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3974231895 | ||
|
|
a58bec2ebb | ||
|
|
2c019468a7 | ||
|
|
b020704c1c | ||
|
|
71efda2033 | ||
|
|
654e969131 | ||
|
|
f92aad5ac2 | ||
|
|
a097ed7caf |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "__MSG_fullName__",
|
||||
"short_name": "SponsorBlock",
|
||||
"version": "6.1.0",
|
||||
"version": "6.1.2",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_Description__",
|
||||
"homepage_url": "https://sponsor.ajay.app",
|
||||
|
||||
@@ -12,5 +12,10 @@
|
||||
"64": "icons/SafariIconSponsorBlocker64px.png",
|
||||
"128": "icons/SafariIconSponsorBlocker128px.png"
|
||||
}
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"safari": {
|
||||
"strict_min_version": "14.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Submodule maze-utils updated: 49dad0e67b...b036b7c006
Submodule public/_locales updated: d1f95394ca...432840948c
@@ -950,13 +950,14 @@ 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") || (() => {
|
||||
const elem = document.createElement("div");
|
||||
chapterTitle.parentElement.insertBefore(elem, chapterTitle);
|
||||
elem.classList.add("sponsorChapterText");
|
||||
elem.classList.add("ytp-chapter-title-content");
|
||||
if (document.location.host === "tv.youtube.com") {
|
||||
elem.style.lineHeight = "initial";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user