To block results from specific domains on Google or DDG:
google.*##.g:has(a[href*="thetopsites.com"])
duckduckgo.*##.results > div:has(a[href*="thetopsites.com"])
And it's even possible to target an element's text content with a `:has-text(/regex/)` selector: google.*##.g:has(*:has-text(/bye topic of noninterest/i))
duckduckgo.*##.results > div:has(*:has-text(/bye topic of noninterest/i))
As a bonus, here's how to get rid of Medium's obnoxious cookie notification across all domains: *##body > div > div:has(*:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i))