Fix #3621 #3774
No reviewers
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3774
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This closes #3621
Initially I was trying to use CSS and Mutation Observer to remove the popup and the
inset
attribute it was adding, but after testing for some days by running from the source code, it turns out the problematic line was this:It's this popup which it blocks and hence why the UI becomes unreactive:

I don't think there's a need to write extra CSS or a JS script to block the
inset
attribute because this is a useful popup. And from my last few days of testing, I haven't seen any other annoying popups coming up, so this should be good to go.However I would also suggest some people to test it and report because ads popups vary from region to region
Pull Request Overview
This PR fixes issue #3621 by removing CSS that was blocking YouTube Music promotional popups, which was causing UI responsiveness issues. The problematic CSS rule was hiding
ytmusic-mealbar-promo-renderer
elements, but this was preventing legitimate and useful popups from appearing and making the interface unresponsive.Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.