Hacker Newsnew | past | comments | ask | show | jobs | submit | Pawamoy's favoriteslogin

uBlock Origin static filters to the rescue!

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 element content with regex with the `: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))
Bonus content: Ever tried getting rid of Medium's obnoxious cookie notification? Just nuke it from orbit on all domains:

    *##body>div:has(div:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i))

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: