![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/h1ChnLuBHr.png)
Honestly haven’t had that issue at all yet. If that happens, this userscript can be a solution (with something like grease monkey) https://greasyfork.org/en/scripts/477725-youtube-iframe-adblocker. Using NoScript to turn off JS should also work. As a last resort you can use a script that redirects YouTube videos to invidious or some other alternative.
Regarding music, there’s also the slavart discord and their bot which allows you to download music from different streaming services in lossless formats