mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix(Skip Disliked Song): updated querySelector (#3667)
Co-authored-by: Joel Carlos <joel.carlos@merkle.com>
This commit is contained in:
@ -21,9 +21,7 @@ export default createPlugin<
|
||||
this.observer = new MutationObserver(() => {
|
||||
if (dislikeBtn?.getAttribute('like-status') == 'DISLIKE') {
|
||||
document
|
||||
.querySelector<HTMLButtonElement>(
|
||||
'tp-yt-paper-icon-button.next-button',
|
||||
)
|
||||
.querySelector<HTMLButtonElement>('yt-icon-button.next-button')
|
||||
?.click();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user