I initially blocked that popup with ublock origin, but I've since turned it back off and let it block me instead. It's a fantastic way to prevent you from mindlessly watching videos. Now I just use yt-dlp to download videos I know I care about and subscribe to.