Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SackJabbit

macrumors member
Original poster
Aug 21, 2011
90
16
Hello,

I use Safari as my main browser. I would like to prevent certain domains from appearing in the search result. How do I go about to do this?

Thanks!
 
I don't think you can. The search results are determined by your default search engine, usually Google.

What you can do is prevent those links from loading when you click on them by editing your hosts file, but you can't prevent the actual links from appearing in the search.
 
  • Like
Reactions: SackJabbit
Hello,

I use Safari as my main browser. I would like to prevent certain domains from appearing in the search result. How do I go about to do this?

Thanks!
Are you talking about searches from the address bar?

What you can do is install the Safari extension CustomSearch. Then in the settings add the string below for Google search then select that as the default search engine in the extension. In my example, all the sites listed after #TEXT# will be excluded from the search results.

http://www.google.com/search?q=#TEXT#+-site:ehow.com+-site:answers.yahoo.com+-site:about.com

Once you get the extension installed, let me know if you cant figure out how to set this up and I can help. Just tell me what search engine you want to use and what sites to exclude from the results.
 
  • Like
Reactions: Brian33 and 997440
Thanks for the replies.

What I meant is what JohnDS referred to. I don't want search results appearing on the main body page.

For example, if I'm searching for say "top news of the day", I don't want certain popular news portals to appear on the search result from Google.

I guess there isn't a way to do that, but thanks. :)
 
Thanks for the replies.

What I meant is what JohnDS referred to. I don't want search results appearing on the main body page.

For example, if I'm searching for say "top news of the day", I don't want certain popular news portals to appear on the search result from Google.

I guess there isn't a way to do that, but thanks. :)
What I described will do exactly what you want. If you list the sites you do not want in the results like I explained, they will not be included in the Google page that shows the search results.

Look at my two examples here using USA Today as a test if that was one you did not want in the results. You can customize this however you want using that extension to apply the customization to the Safari search box.

Screen Shot 2016-02-08 at 9.51.24 AM.png
Screen Shot 2016-02-08 at 9.52.08 AM.png
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.