I would like to do a search query and filter out all results from www.foo.com. How do I do that?
This may help: (From this site: https://web.archive.org/web/20141223223234/http://www.greghughes.net/rant/HowToExcludeADomainFromYourGoogleSearchResults.aspx)
"Note the "minus sign" that precedes the
site: search operator in this case. That's how we tell Google to exclude the site/domain specified.
So there you have it. Want to exclude a domain from your search term? Just specify the domain with "-site:" and you're all set.
But what if you don't want to specify the domain to exclude every time by hand? In that case, set up a Google Custom Search Engine (http://www.google.com/coop/cse/) and specify during setup that you want your custom search engine to include results from the entire Internet. Then, after your search engine has been created, go to the Control Panel, choose the "Sites" tab, and from there you can specify as many domains as you like to exclude from every search. You'll get a custom search engine that you can tweak to your heart's content."
Firefox addon Hide Unwanted Results of Google Search — is my choice.
You need to use Firefox.
Addon successful works for me in:
- Windows 10 Enterprise LTSB 64-bit EN,
- Firefox 54.0.1 (64-bit).
SERP without filters:
For example, I want to exclude YouTube and IMDb. Right-click to link of YouTube and IMDb in SERP → select
Add This site to Hide Results → results hide:
You can see and manage excluded domains.
about:addons → find
Hide Unwanted Results of Google Search →
You can temporarily turn on excluded sites, if you unchecked mark.
- You can forever hide results from unexpected site(s). If you use
-site:, operator from @Su answer, you need wrote
-site:operator each time, as you want exclude site. It may take a lot of time.
- Multiple sites excluding support,
- Regular expressions supports for excluding parts of domains.