DEV Community

Peter Franken
Peter Franken

Posted on

Exclude domains from Google/DDG search results permanently (bye bye "thetopsites")

Add the following to your favourite adblocker's filter list:

// Google flavour
google.*##.g:has(a[href*="codegrepper.com"])
google.*##.g:has(a[href*="developreference.com"])
google.*##.g:has(a[href*="javascriptio.com"])
google.*##.g:has(a[href*="thetopsites.com"])

// DuckDuckGo flavour
duckduckgo.*##.results > div:has(a[href*="codegrepper.com"])
duckduckgo.*##.results > div:has(a[href*="developreference.com"])
duckduckgo.*##.results > div:has(a[href*="javascriptio.com"])
duckduckgo.*##.results > div:has(a[href*="thetopsites.com"])

Anyone else getting an increasing amount of Italian domains that redirect to spam/scam sites when searching for obscure stuff? Suffer no longer:

google.*##.g:has(a[href*=".it"][href$=".html"]) 

Warning: this targets every single .it domain with a URL ending in .html.

Top comments (0)

πŸ‘‹ Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay