mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Fix skip to highlight button on live update
This commit is contained in:
parent
4069545603
commit
3ac170ad01
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue