3 ms·
uBlock Origin static filters to the rescue! Block results from specific domains on Google or DDG: google.*##.g:has(a[href*="thetopsites.com"]) duckduc
by krono 5y ago
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))
- Inviz 5y agowell that leaves blanks, right?
- krono 5y agoNo, these completely remove any matched results
- smusamashah 5y agoIf first page is all filtered links, we will get an empty first page.
- Kiro 5y agoYes, and creates blanks. Not visually but where it would be 10 results there are now 9.
- rg111 5y agoI received an ivite withing half an hour. So, I guess it varies.
- samcrawford 5y agoFiltering out the spam results is only half the problem. In my experience, a legitimate site's content is cloned by a spam site, and that one appears in a Google search and the legitimate one does not. The example that keeps hitting me is GitHub Issues. Filtering out the spam only removes the clones; it doesn't get the good results back in.
- 3np 5y agoHost a personal (potentially shared with friends) searx (for multi-engine) or whoogle (google only) instance. Filter out some domains completely, rewrite others. The rewrite part is what allows you to substitute spam clone sites for the real deal. At least searx does dedupe already. The time spent (including maintenance) will be paid back faster than you might expect. Optionally rewrite some sites to altfronts like nitter/scribe/piped. If you care about spending time on privacy and decoupling searches from visits, you can set up arbitrary proxying rules. One benefit among others over browser extensions is that it's a one-time setup for all your devices and clients. All you need to do on reinstall is to change the default search engine.
- krono 5y agoSure, but at least it prevents you from accidentally clicking those unwanted results - something I kept doing all the time. Either way, OP's ask was for a way to blacklist results, and I'm providing a method to accomplish exactly that. Edit: The rest is up to Google.
- jccalhoun 5y agoit isn't even just 'clones' because so many sites will just summarize an article from somewhere else and give a link to it. Sometimes it is a game of telephone with one site summarizing a 2nd site which is a summary of a 3rd and so on. I want a search engine to show me the original source not the one with the best SEO
- james2doyle 5y agoNice! I've used HTML attributes as targets as well. They aren't random so they are also easy to target. I use this one on Twitter: twitter.*##div[aria-label="Timeline: Trending now"] This will hide the trending tweets box. You can see it's targeting the `aria-label` attribute on the `div` element