>>176437This blocks youtube popup dialogs about terms and conditions/cookie policy or that "Log In into your account right now" popup
!youtube
www.youtube.com###dialog
youtube.com##.ytd-popup-container
youtube.com##.ytd-consent-bump-lightbox
youtube.com##.opened
youtube.com##+js(set, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer.isVisible, false)
youtube.com##+js(set, ytInitialData.overlay.upsellDialogRenderer.isVisible, false)
youtube.com##+js(json-prune, [].playerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer)
youtube.com##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRenderer)
youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false)
youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
youtube.com##.opened
youtube.com###consent-bump
youtube.com##+js(json-prune, topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
The following filters do what the comments say:
! blocks homepage
youtube.com##ytd-browse[page-subtype="home"]
! blocks recommended section
www.youtube.com##ytd-watch-next-secondary-results-renderer
! blocks comment section
www.youtube.com##ytd-comments
And here is a set of filters for Google's search popup about terms/cookie policy or whatever(usually appears if you have some strange cookie settings, same for youtube i think):
!google
google.*##+js(aeld, DOMContentLoaded, CONSENT)
news.google.*##div[data-cbh^="consent.google."]
news.google.*##html[class*="gb"]:style(overflow: visible !important;)
www.google.*##body.QVCmK:style(position: static !important; overflow-y: visible !important;)
www.google.*##html.QVCmK:style(overflow-y: visible !important;)
www.google.*###lb > div[id^="_"] > div[class*=" "]:not([id]):empty:matches-css(opacity: 0.7)
www.google.*###lb > div[id^="_"] > div[class*=" "]:not([id]):has( > span > div[role="dialog"] > #cnsw > iframe[src*="://consent.google.com"])
These are the filters I use, but if you spend some time searching or asking the guys on lainchan, I'm sure you will find more that might be useful to you.