aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-07-28 18:34:05 -0400
committerAjay <[email protected]>2023-07-28 18:34:05 -0400
commit3ac170ad0143c8fdcdf3f2451eab906f3407bf08 (patch)
tree9948329eb02ea75fbb9372515dd811c3afc7f8b9 /src/utils
parent40695456032c420e25663c025a6901eba50a0361 (diff)
downloadSponsorBlock-3ac170ad0143c8fdcdf3f2451eab906f3407bf08.tar.gz
SponsorBlock-3ac170ad0143c8fdcdf3f2451eab906f3407bf08.zip
Fix skip to highlight button on live update
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/pageCleaner.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pageCleaner.ts b/src/utils/pageCleaner.ts
index 9ddb17a6..684bdf36 100644
--- a/src/utils/pageCleaner.ts
+++ b/src/utils/pageCleaner.ts
@@ -1,6 +1,6 @@
export function cleanPage() {
// For live-updates
- for (const element of document.querySelectorAll("#categoryPillParent, .playerButton, .sponsorThumbnailLabel, #submissionNoticeContainer, .sponsorSkipNoticeContainer, #sponsorBlockPopupContainer")) {
+ for (const element of document.querySelectorAll("#categoryPillParent, .playerButton, .sponsorThumbnailLabel, #submissionNoticeContainer, .sponsorSkipNoticeContainer, #sponsorBlockPopupContainer, .skipButtonControlBarContainer")) {
element.remove();
}
} \ No newline at end of file