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